Why can' I set my camera manipulation back to custom?
This question has been solved by the original poster.
1 | local p = script.Parent.Parent.Parent.Parent.Parent.Name |
2 | local Camera = game.Workspace.CurrentCamera |
4 | script.Parent.MouseButton 1 Click:Connect( function () |
5 | game.Players [ p ] .TeamColor = BrickColor.new( "Really red" ) |
6 | game.Workspace [ p ] .Humanoid.Health = 0 |
7 | script.Parent.Parent.Parent.Enabled = false |
8 | Camera.CameraType = "Custom" |
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.