This script i got from a free model but i modified it a lot to what i'm doing with it. so its ment to when u say a command it will disable the spawn point so it dose'nt spawn ppl on that spot, so i can spawn ppl on a different map but its not working u still respawn on the spawn point.
Heres the script
game.Players.PlayerAdded:connect(function(player)
if player:GetRankInGroup(2928762) >= 254 then
player.Chatted:connect(function(msg)
if msg == "soff" then
workspace.SpawnLocation1.Enabled=false
workspace.SpawnLocation2.Enabled=false
workspace.SpawnLocation3.Enabled=false
workspace.SpawnLocation4.Enabled=false
workspace.SpawnLocation5.Enabled=false
workspace.SpawnLocation6.Enabled=false
workspace.SpawnLocation7.Enabled=false
workspace.SpawnLocation8.Enabled=false
workspace.SpawnLocation9.Enabled=false
workspace.SpawnLocation10.Enabled=false
game.Teams.PWB.AutoAssignable=false
elseif msg == "son" then
workspace.SpawnLocation1.Enabled=true
workspace.SpawnLocation2.Enabled=true
workspace.SpawnLocation3.Enabled=true
workspace.SpawnLocation4.Enabled=true
workspace.SpawnLocation5.Enabled=true
workspace.SpawnLocation6.Enabled=true
workspace.SpawnLocation7.Enabled=true
workspace.SpawnLocation8.Enabled=true
workspace.SpawnLocation9.Enabled=true
workspace.SpawnLocation10.Enabled=true
game.Teams.PWB.AutoAssignable=false
end
end)
end
end)
