local part = script.Parent
part.Touched:connect(function(hit)
if hit.Parent then
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum then
local player = game.Players:GetPlayerFromCharacter(hum)
player.Parent.TeamColor = BrickColor.palette("Fossil")
end
end
end)
Title is self-explanatory.
