Universal Script 📌
9.5k Views
1.6k Executions

Rewind GUI Script

Universal Script 📌
Kaspiersky
KaspierskyFirst script
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

Rewinds your character in time. (This one you can edit yourself.)

Updates

  1. Script edited: Update script

View Raw
-- Stolen from 0Ben1, check him out. https://github.com/0Ben1
local flashbacklength = 60 -- how long the flashback should be stored in approx seconds
local flashbackspeed = 1 -- how many frames to skip during flashback (set to 0 to disable)

local name = game:GetService("RbxAnalyticsService"):GetSessionId() -- unique id that games cannot access but does not change on subsequent executions (used for the name of the binded function)
local frames, LP, RS = {}, game:GetService("Players").LocalPlayer, game:GetService("RunService") -- set some vars

pcall(RS.UnbindFromRenderStep, RS, name) -- unbind the function if previously binded

local function getchar()
   return LP.Character or LP.CharacterAdded:Wait()
end

function gethrp(c) -- gethrp ripped from my env script and stripped of arguments
return c:FindFirstChild("HumanoidRootPart") or c.RootPart or c.PrimaryPart or c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") or c:FindFirstChildWhichIsA("BasePart")
end

local flashback = {lastinput=false, canrevert=true}

function flashback:Advance(char, hrp, hum, allowinput)
   
   if #frames>flashbacklength*60 then -- make sure we don't have too much history
       table.remove(frames, 1)
   end
   
   if allowinput and not self.canrevert then
       self.canrevert = true
   end
   
   if self.lastinput then -- make sure platformstand goes back to normal
       hum.PlatformStand = false
       self.lastinput = false
   end
   
   table.insert(frames, {
       hrp.CFrame,
       hrp.Velocity,
       hum:GetState(),
       hum.PlatformStand,
       char:FindFirstChildOfClass("Tool")


Comments

3
Log in to join the conversation. Login
bopery7's profile picture
bopery71 year ago

chatgpt script is wild

1
Sidherkus's profile picture
Sidherkus2 years ago

Does Not work

1
Irfannnnn's profile picture
Irfannnnn2 years ago(edited)

Thanks for the script, i make a gui for it & i upload it.

1

More universal scripts

See all
Universal Script 📌
54
5
Approved 2 hours ago
Key System
Script hub
128.1k
350.6k
Bumped 2 hours ago

Script hub

#7 today

KeylessVerified script badgeNo Lag Hub | KEYLESS 2026

Universal Script 📌
152
36
Approved 4 hours ago
Script hub
122
197
Approved 4 hours ago