so i have a script that switches between first person and third person, the problem is when i switch to third person after i was in first person, my character is invisible. heres the script:
local value = game.Players.LocalPlayer.Info.OTS
local OTS_CAMERA_SYSTEM = require(game.ReplicatedStorage:WaitForChild("OTSS"))
value.Changed:Connect(function(plr)
if value.Value == true then
OTS_CAMERA_SYSTEM:Enable()
OTS_CAMERA_SYSTEM:SetCharacterAlignment(true)
elseif value.Value == false then
OTS_CAMERA_SYSTEM:Disable()
plr.CameraMode = Enum.CameraMode.LockFirstPerson
end
end)
module: