Universal Script 📌
2.4k Views
28 Executions

Roblox

Universal Script 📌
vobBox
vobBoxPublished 10
2 years 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

Good 👍

View Raw
--[[ Head/Waist Follow Mouse/Camera Script with Camera Tilt Effect + Death & FirstPerson Handling ]]

wait()

--[Pre-Funcs]:
local Ang = CFrame.Angles
local aSin = math.asin
local aTan = math.atan

--[Constants]:
local Cam = workspace.CurrentCamera
local Plr = game.Players.LocalPlayer
local Mouse = Plr:GetMouse()

local function GetCharacter()
	return Plr.Character or Plr.CharacterAdded:Wait()
end

local function Setup()
	local Body = GetCharacter()
	local Head = Body:WaitForChild("Head")
	local Hum = Body:WaitForChild("Humanoid")
	local Core = Body:WaitForChild("HumanoidRootPart")
	local IsR6 = Hum.RigType.Value == 0
	local Trso = IsR6 and Body:WaitForChild("Torso") or Body:WaitForChild("UpperTorso")
	local Neck = IsR6 and Trso:WaitForChild("Neck") or Head:WaitForChild("Neck")
	local Waist = not IsR6 and Trso:WaitForChild("Waist")

	return {
		Body = Body, Head = Head, Hum = Hum, Core = Core,
		IsR6 = IsR6, Trso = Trso, Neck = Neck, Waist = Waist,
		NeckOrgnC0 = Neck.C0,
		WaistOrgnC0 = (not IsR6 and Waist and Waist.C0) or nil
	}
end

local characterData = Setup()

--[Settings]:
local MseGuide = false


Comments

1
Log in to join the conversation. Login
CS_Gh0st's profile picture
CS_Gh0st2 years ago

useless script. why would i need my character move head like in GTA?

1

More universal scripts

See all
Universal Script 📌
783
5.0k
Bumped 2 hours ago
Universal Script 📌
6.2k
54.4k
Bumped 2 hours ago
Universal Script 📌
2.4k
2.1k
Bumped 3 hours ago
Key System
Script hub
14.4k
75.0k
Bumped 5 hours ago
Universal Script 📌
97
99
Approved 6 hours ago
Key System
Universal Script 📌
97
120
Approved 7 hours ago