Universal Script šŸ“Œ
8.4k Views
593 Executions

Smooth Camera

Universal Script šŸ“Œ
Project_Remorse
Project_Remorse10K executions
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

This script make your camera movement smooth and improve your gameplay experience. Smooth Camera V2 : • Imoroved Smooth Camera Motion • added Smooth FOV transition (lerp) • added Camera Shake - it will triggered if on damage, Landing (fall) and nearby explosions • Subtle head bobbing effect for immersion (W.I.P) [FULLY OPTIMIZED PC & MOBILE]

View Raw
local a=game:GetService("Players")local b=game:GetService("RunService")local c=game:GetService("StarterGui")local d=a.LocalPlayer local e=workspace.CurrentCamera
local f=15.0 local g=10.0 local h=70.0 local i=e.CFrame local j=h local k=0.0 local l=5.0 local m

local function n(o)k=math.clamp(k+o,0,2)end

local function p(q)m=q:WaitForChild("Humanoid")
m.HealthChanged:Connect(function(r)if r<m.MaxHealth then n(0.6)end end)
m.StateChanged:Connect(function(_,s)if s==Enum.HumanoidStateType.Landed then n(0.8)end end)
end

local function t(u)p(u)end

d.CharacterAdded:Connect(t)if d.Character then p(d.Character)end

b.RenderStepped:Connect(function(v)local w=e.CFrame
i=i:Lerp(w,f*v)
if k>0 then
local x=Vector3.new(math.random(-100,100)/100*k,math.random(-100,100)/100*k,math.random(-100,100)/100*k)
i=i*CFrame.new(x)
k=math.max(k-l*v,0)
end
local y=tick()
local z=Vector3.new(math.sin(y*2)*0.05,math.abs(math.cos(y*2))*0.03,0)
i=i*CFrame.new(z)
e.FieldOfView=e.FieldOfView+(j-e.FieldOfView)*g*v
e.CFrame=i
end)

workspace.ChildAdded:Connect(function(_)
if _:IsA("Explosion")then
if (_.Position-e.CFrame.Position).Magnitude<40 then
n(1.2)
end end
end)

local aa={"āœ… Smo","oth Cam","era Loa","ded | Cr","edits: ","project","_remorse"}
print(table.concat(aa))
local ab={"proj","ect_re","morse"}local ac={"Smoo","th Cam","era Loa","ded āœ…"}
c:SetCore("SendNotification",{Title=table.concat(ab);Text=table.concat(ac);Duration=5})


Comments

7
Log in to join the conversation. Login
XIAN_PRO250's profile picture
XIAN_PRO2508 months ago

Hi

1
XIAN_PRO250's profile picture
XIAN_PRO2508 months ago

Hi

1
Project_Remorse's profile picture
Project_RemorseUploader2 years ago

Thanks for your feedback i will fix the problem.

1
Docks's profile picture
Docks2 years ago

Also found that if you have bad fps and you move camera it will be bugged, and until your fps will be normal ( 60-90, and higher ) it will be unbugged and normal

1
Docks's profile picture
Docks2 years ago

I looked you script, actually I liked it, but you need upgrading it and making the camera more controllable, maybe also add mobile support. The script very good, rtx too.

1
Project_Remorse's profile picture
Project_RemorseUploader2 years ago

Use Graphic Enchancr Script for more gameplay improvement https://scriptblox.com/script/Universal-Script-Graphic-Enchance-41296

1
Project_Remorse's profile picture
Project_RemorseUploader2 years ago

This work best with FOV 120 or 90

1

More universal scripts

See all
Script hub
2.0M
627.3k
Bumped 1 hour ago
Key System
Script hub
202.4k
2.3M
Bumped 3 hours ago
Key System

Script hub

#20 this week

Verified script badgeAirflow HUB

Universal Script šŸ“Œ
57.4k
270.8k
Bumped 5 hours ago
Key System
Script hub
2.2M
2.5M
Bumped 8 hours ago
Key System
Universal Script šŸ“Œ
33.4k
481.4k
Bumped 8 hours ago
Script hub
4.0M
2.7M
Bumped 8 hours ago

Script hub

Hall of Fame #5

KeylessVerified script badge[KEYLESS] Moondiety Script | 30+ supported Games