function sound() wait(20) script.MUSIC:Play(1) Players.PlayerAdded:connect(sound) end
its not working at all :(
function sound() wait(20) script.MUSIC:Play(1) Players.PlayerAdded:connect(sound) end
You have the PlayerAdded caller in a function. Try this..
function sound() wait(10) script.MUSIC:Play(1) end Players.PlayerAdded:connect(sound)
Also make sure that there is the MUSIC inside the script.
function sound() wait(5) script.MUSIC:Play(1) end Players.PlayerAdded:connect(sound)
You have to call the function when a player enters.
function sound() wait(5) script.MUSIC:Play(1) end Players.PlayerAdded:connect(sound)