function onTouch(hit) if hit.Parent.Name=="Player2" or "Terrain" then game.Workspace.Bruh.BrickColor = BrickColor.new('Blue') else msg=Instance.new('Message', game.Workspace) msg.Text='You are not player one, So I'..'m '..'not '..'turning blue for you' wait(2) Message:Destroy()
end end script.Parent.Touched:connect(onTouch)~~~~~~~~~~~~~~~~~

1 comment
Please edit your post to fix your code formatting. One row of the tildes (~ symbol) should be before and one row after.