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

Im moving a cloned model what is wrong here?

Asked by 2 years ago
Edited 2 years ago
game.Players.PlayerAdded:Connect(function()
    repeat
wait(4)
local clm = game.Workspace.Noob:Clone()
    local cl = clm.Torso
cl:MoveTo(65,24,-19)
until
script.Disabled == true
end)

Thats the code. I cannot script positions very well.

0
okay thanks blackcatbabydragon 12 — 2y
0
It works but i need it to happen more than once, its like a tycoon dropper blackcatbabydragon 12 — 2y

1 answer

Log in to vote
1
Answered by
Lagfss 36
2 years ago

Idk what exactly your issue at hand here is but I can see something wrong with the code. I'm pretty sure whenever you have to clone something you have to set the parent to something

example:

local clm = game.Workspace.Noob:Clone()
clm.Parent = workspace

or whatever you're trying to have it parented to

0
i need it to work multiple times now blackcatbabydragon 12 — 2y
Ad

Answer this question