I can't figure out how to do it. I can get the part to kill on touch, but it won't change the team. Here's what i have so far:
local player= game.Players.LocalPlayer
function onTouch(part) player.TeamColor = BrickColor.new ("Dark stone grey") local humanoid = part.Parent:FindFirstChild("Humanoid") if (humanoid ~= nil) then humanoid.Health = 0 end end
script.Parent.Touched:connect(onTouch)

2 comments
Explain your code a bit more, I assume there are a few new concepts in there that he should learn.
Got it.