Universal Script πŸ“Œ
2.0k Views
77 Executions

It catches the head

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

πŸ˜‡

View Raw
--[[ Head/Waist Follow Mouse/Camera Script with Camera Tilt Effect + Handles Player Death Gracefully + Run Shake ]]

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()

--[Character Setup Function]:
local function Setup()
	local Body = Plr.Character or Plr.CharacterAdded:Wait()
	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:FindFirstChild("Waist")

	return {
		Body = Body, Head = Head, Hum = Hum, Core = Core,
		IsR6 = IsR6, Trso = Trso, Neck = Neck, Waist = Waist,
		NeckOrgnC0 = Neck.C0,
		WaistOrgnC0 = Waist and Waist.C0
	}
end

--[Rebind on Respawn]:
local characterData = Setup()

local function RebindOnCharacterAdded()
	Plr.CharacterAdded:Connect(function(char)
		char:WaitForChild("Humanoid").Died:Connect(function()
			characterData = nil


Comments

1
Log in to join the conversation. Login
illorsm's profile picture
illorsm2 years ago

Pretty cool :)

1

More universal scripts

See all
Script hub
149
987
Bumped 32 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 51 minutes ago
Key System
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
306
978
Bumped 5 hours ago