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)
Not enough info to help you out here …
If I can’t past that script into a program and it works as is you need to fully explain everything about how it’s set up with a picture of the explorer and all.
what the value is is that i have a seprate script that keep track of keybinds, and it fire a event to change the value when i press a key, the script just detect the change and change accordingly.