So, i made a localscript that plays a sound after touching a part, but it plays the sound for everyone, and i made a local script just because i wanted it to do that. Here's the script:
local part = game.Workspace.elevatorsong
part.Touched:Connect(function(hit)
if not hit.Parent:FindFirstChild("Humanoid") then return end
spawn(function()
wait(0)
game.Workspace.elevatorsong.CanTouch = false
game.Workspace.elevsongg.elevsong:Play()
wait(31.88)
game.Workspace.elevatorsong.CanTouch = true
end)
end)

1 comment
Thank you so much! It works now