I tried to optimize my dodging game using local parts. When u leave level - scripts are stopping for you, but when i using this localscript script inside model don't working. How can i fix it?

``local model = game.ReplicatedStorage:WaitForChild("ModelTest")

if not workspace.CurrentCamera:FindFirstChild("ModelTest") then local clientModel = model:Clone() clientModel.Parent = workspace.CurrentCamera end``

2 comments

0

Are you trying to clone a model for only the player?

0

Yea