Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

On Team remove tools script?

Asked by
steev 0
10 years ago

When the player is on a team all of their items in their backpack are gone when they spawn.

Can i have a script please?

~Steev~

1 answer

Log in to vote
1
Answered by
wazap 100
10 years ago

"Can i have a script please?"

I hate questions like this, so I'm only going to give you half

game.Players.PlayerAdded:connect(function(plr)
local conn;
plr.Changed:connect(function() if plr.TeamColor == BrickColor.new() then
pcall(function() conn:disconnect() end)
conn = plr.CharacterAdded:connect(function(char)
--put backpack clearing thing here, its only 1 line go look it up
end)
else
pcall(function() conn:disconnect() end)
end
end)
end)
0
Thanks for the script. At least i gave you a thumbs up -.- steev 0 — 10y
Ad

Answer this question