So I’m trying to clone a sound object into the players torso (so when they press a button it will play), but I don’t know how to clone it. I have the sound object in replicated storage, but I don’t know what to do. I tried doing local clone = script.Parent:Clone() clone.Parent = player.Character (function and variables included) but it didn’t work. i really need help fast.
try clone:Play()
, maybe that will help
It’s not the playing issue that’s the problem. I just cant get it to clone into the player.
Any errors? Hate this stupid symbol limit
not that I know of. Just asking for a script to clone it into the player.
Into player or player’s character?
the players character, please.
Where’s your script placed? .,
inside the sound which is inside replicated storage. its also a local script forgot to mention that
Server scripts don’t work in replicated storage, you should place script into serverscriptservice and do game.Players.PlayerAdded: Connect (function (plr) plr.CharacterAdded: Connect (function (chr) local clone = sound's path:Clone() clone.Parent = chr end) end)
But keep script not in sound .,
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.