
1.2k Views
902 Executions
Realistic First Person Script
Universal Script 📌
allr359First script
9 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
This is a more realistic of my other script. The camera follows exactly how the head moves or rotates, so it can make you dizzy. Made with ChatGPT Non-dizzy version: https://scriptblox.com/script/Universal-Script-Realistic-First-Person-Script-non-dizzy-version-111423
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 hideHeadAndAccessories(character)
for _, obj in pairs(character:GetDescendants()) do
-- Hide head
if obj:IsA("BasePart") and obj.Name == "Head" then
obj.LocalTransparencyModifier = 1
end
-- Hide hair/accessories
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
hideHeadAndAccessories(character)
userInput.MouseBehavior = Enum.MouseBehavior.LockCenter
userInput.MouseIconEnabled = false
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







