local rs = game:GetService("RunService")
local lp = game:GetService("Players").LocalPlayer
local fps = 8
local tickRate = 1 / fps
local function applyRetro(char)
local motors = {}
local transforms = {}
local timer = 0
for _, v in char:GetDescendants() do
if v:IsA("Motor6D") then
table.insert(motors, v)
transforms[v] = v.Transform
end
end
char.DescendantAdded:Connect(function(v)
if v:IsA("Motor6D") then
table.insert(motors, v)
transforms[v] = v.Transform
end
end)
local loop
loop = rs.Stepped:Connect(function(_, dt)
if not char or not char.Parent then
loop:Disconnect()
return
end
timer += dt
if timer >= tickRate then
for _, m in motors do
if m.Parent then
transforms[m] = m.Transform
end
end
timer = 0
else
for _, m in motors do
if m.Parent and transforms[m] then
m.Transform = transforms[m]
end
end
end
end)
end
if lp.Character then
applyRetro(lp.Character)
end
lp.CharacterAdded:Connect(applyRetro)
Comments
It's so peak🥹