RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make that when a player touches a part called "Lasagna" he goes to the team "BlackAnts""
-- server script local part = script.Parent function onTouch(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then player.Team = game.Teams.BlackAnts end end part.Touched:Connect(onTouch)