Universal Script 📌
749 Views
563 Executions

Realistic First Person Script non dizzy version

Universal Script 📌
allr359
allr359First script
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

It's the same as the other one but it's not dizzy. Realistic version: https://scriptblox.com/script/Universal-Script-Realistic-First-Person-Script-111413

View Raw
local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
local runService = game:GetService("RunService")
local userInput = game:GetService("UserInputService")

camera.CameraType = Enum.CameraType.Scriptable
player.CameraMode = Enum.CameraMode.Classic

local sensitivity = 0.15
local pitch = 0
local yaw = 0

local function hideHead(character)
	for _, obj in pairs(character:GetDescendants()) do
		if obj:IsA("BasePart") and obj.Name == "Head" then
			obj.LocalTransparencyModifier = 1
		end

		if obj:IsA("Accessory") then
			local handle = obj:FindFirstChild("Handle")
			if handle then
				handle.LocalTransparencyModifier = 1
			end
		end
	end
end

local function setupCharacter(character)
	local humanoid = character:WaitForChild("Humanoid")
	local root = character:WaitForChild("HumanoidRootPart")
	local head = character:WaitForChild("Head")

	humanoid.AutoRotate = false
	hideHead(character)

	userInput.MouseBehavior = Enum.MouseBehavior.LockCenter
	userInput.MouseIconEnabled = false

	userInput.InputChanged:Connect(function(input)
		if input.UserInputType == Enum.UserInputType.MouseMovement then


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
46.4k
11.5k
Bumped 2 hours ago
Key System
Paid
Script hub
2.5M
798.8k
Bumped 3 hours ago
Key System

Script hub

#9 today

Verified script badgeLumin Hub | #1 | Insta Steal