local p = script.Parent.Parent.Parent.Parent.Parent.Name local Camera = game.Workspace.CurrentCamera script.Parent.MouseButton1Click:Connect(function() game.Players[p].TeamColor = BrickColor.new("Really red") game.Workspace[p].Humanoid.Health = 0 script.Parent.Parent.Parent.Enabled = false Camera.CameraType="Custom" end)
Any idea? I put this script inside a button which acts like a play button where we click the button it will bring us to our team and the play button will disappear and the camera is back with our character. I'm sure my script is correct.
Never mind I found the reason why. It's because I make it in Script not Local script.