Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Security Tag Script Not Working? I Need Help With The Script, Please help!

I Made A Script Where If A Player is on team runners and gets touched by security, they become security by changing into the security team, but it isn't working! please help

local runner = game.Teams.Runners
local security = game.Teams.Security

if runner.Touched.TeamColor = BrickColor.new('Really Blue') -- Don't change the brick color please.
	then Player.runner.TeamColor = ('Really Blue')
	
end


1 answer

Hello. You were defining the colors incorrectly;You need to use `BrickColor.new()'.

For example:

TeamColor = BrickColor.new('Really Blue')

You also incorrectly referenced "runner".

This discussion is preserved as it was. New answers, comments, and votes are closed.