Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Should this clone?

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

✓ Accepted answer
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)

2 comments

0

Ha yeah I found that just after I posted this. Thanks though!

0

NP ;)

This discussion is preserved as it was. New answers, comments, and votes are closed.