Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Cloning from ReplicatedFirst breakes the server script?

Asked by
14dark14 167
4 years ago

I used a local script to clone a model from ReplicatedFirst in the workspace. The model appeared, but the scripts weren't working that was inside the model. Model had server scripts in it.

local model = game.ReplicatedFirst.Model:Clone()
model.Parent = game.Workspace

1 answer

Log in to vote
1
Answered by 4 years ago

Cloning from a local script will only clone that item for that player (client). The server won't be able to see it. I think using remote events to trigger a server script to clone that item too will solve the problem? :)

Ad

Answer this question