RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"When in first person you are able to see your body"
-- local script local player = game.Players.LocalPlayer local character = player.Character local humanoid = character:WaitForChild("Humanoid") local firstPerson = false function toggleFirstPerson() if firstPerson then firstPerson = false humanoid.CameraOffset = Vector3.new(0,1.5,0) else firstPerson = true humanoid.CameraOffset = Vector3.new(0,0,0) end end game.StarterGui:SetCore("SendNotification", { Title = "First Person Toggle", Text = "Press 'F' to toggle first person view.", }) game:GetService("UserInputService").InputBegan:Connect(function(inputObject) if inputObject.KeyCode == Enum.KeyCode.F then toggleFirstPerson() end end)