
Key Required

if game.PlaceId~=130526233138543 then print("unsupported game")return end
-- auto tag everyone
-- tags u first, then tags everyone
local rteam = {}
local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
local function start()
for _, plr in pairs(game.Players:GetPlayers()) do
if plr.Team.Name == "Blue" then
hrp.CFrame = plr.Character.HumanoidRootPart.CFrame
end
task.wait(.2)
end
end
if game.Players.LocalPlayer.Team.Name ~= "Red" then
for _, plr in pairs(game.Players:GetPlayers()) do
if plr.Team.Name == "Red" then
table.insert(rteam, plr)
print("debug: "..plr.Name.." is on red team")
end
end
end
if #rteam > 0 then
hrp.CFrame = rteam[math.random(1,#rteam)].Character.HumanoidRootPart.CFrame
task.wait(1)
start()
else
task.wait(1)
start()
endNo comments yet for this script.
