local p = script.Parent.Parent.Parent.Parent.Parent.Name local Camera = game.Workspace.Camera 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)
What's wrong with my script? I make this script so when I click for example red team I will change to red team and spawn at the red team with the camera on custom.( camera like we usually play ) But I'm still stuck at the camera manipulation. And I also "change to red team and spawn at the red team" because I have ( red,blue,neutral ) neutral is the assigned team when joining the game so we pick the team later after main menu. By the way the camera manipulation is for the main menu.
Isnt it workspace.CurrentCamera? Not workspace.Camera.