RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"script which locks you in first person view and only allows you to see your hands"
-- local script local player = game:GetService("Players").LocalPlayer local humanoid = player.Character:WaitForChild("Humanoid") local firstPerson = false local function lockFirstPerson() if firstPerson then firstPerson = false humanoid.CameraOffset = Vector3.new(0,0,0) humanoid.Head.Transparency = 0 else firstPerson = true humanoid.CameraOffset = Vector3.new(0,0,5) humanoid.Head.Transparency = 1 end end player:GetMouse().KeyDown:Connect(function(key) if key == 'f' then lockFirstPerson() end end) -- Note: Press 'f' to switch between first person and normal view. This script makes the player's head invisible when in first person view. It doesn't show hands as showing hands in first person view is complex and requires custom animations and models which can't be scripted.