How do you you play a local sound on spawn and stop a local sound on a gui button? PLEASE HELP
COMMUNITY QUESTION
How do you you play a local sound on spawn and stop a local sound on a gui button? PLEASE HELP
1 answer
These are the basics
Line 1 waits for a player to be added inside of Players service and then it waits for the players character (the person they control in a 3d space) to load/spawn
Use game.Players.PlayerAdded for things relating to players or characters
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
-- do stuff
end)
also this isnt a request site
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Please take the advice of LoganboyInCO and progress from there. Scripting Helpers isn't for request questions and we advise you to take a look at our help section prior to making further posts. https://scriptinghelpers.org/help Thank you!
#REQUEST