I have a script already, but I want to fit in a script for teleporting to the next spawn. What script do I put in it and where?
script.Parent.Touched:Connect(function(hit)
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
if plr then
game.Workspace.Music.Stage1Lavender:Stop()
game.Workspace.Music.Stage2Sky:Play()
end
end)
Any script helps! Thanks!

1 comment
Just put the script's parent as the part, assuming it's a server script.