#Help with table,invokeserver and dummyclone()

1 messages · Page 1 of 1 (latest)

round dune
#

so bassicly i want clone model from server insert into table and send it to client, and i dont know why its doesnt work.

server

RemoteFolder.GetTroopsModel.OnServerInvoke = function(player, data,x)
    local x = {}
    for i,v in pairs(game.ServerStorage.Troops:GetChildren()) do
        table.insert(x,i,v:Clone())
    end
    print(x) -- has output
    return  x
end```

Client
```cc
local GetTroopsModel = game.ReplicatedStorage.Assets.Remotes.GetTroopsModel:InvokeServer(1)
    print(GetTroopsModel)``` no output
gusty flume
#

You should just send changed thing

round dune
gusty flume
#

Have like a remote event told the client to change it table

#

Replicate one time first before

#

It’s not that hard think a little

hot bough
#

Not hard for you maybe

#

Also you really said something completely random

hot bough
gusty flume
#

How is that supposed to be hard

#

He have it all

gusty flume
round dune