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

Should this clone?

Asked by 10 years ago
game.Players.PlayerAdded:connect(function(plr)
    model=script.Parent.Sound:Clone()
    model.Parent=plr
    model.Name=Sound7

end)

It doesn't I want to make sure I did it correctly.

1 answer

Log in to vote
0
Answered by
KAAK82 16
10 years ago
game.Players.PlayerAdded:connect(function(plr)
    model=script.Parent.Sound:clone()
    model.Parent=plr
    model.Name='Sound7' --U forgot '' cos u can only use something without '' if it already exists (A Variable with the SAME Name EXISTS) else do 'Name'
end)
0
Ha yeah I found that just after I posted this. Thanks though! Tempestatem 884 — 10y
0
NP ;) KAAK82 16 — 10y
Ad

Answer this question