Okay so I'm working with a game and currently when the user joins in the game by pressing the join game button it sets there camera mode to firstpersonlock and when they die it sets it to Classic so there mouse can be released and thereforth they can click the button again. However after the first time the player dies it wont work anymore help?
Script (To set camera mode back):
local player = script.Parent.Parent
repeat wait() until player.Character ~= nil
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
cam.CameraType = "Watch"
script.Parent.Parent.CameraMode = Enum.CameraMode.Classic
end)

1 comment
Little late to the punch but danke it works fine. I figured it out myself when I was working on the project but thanks!