Universal Script 📌
9.5k Views
1.4k 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
Script hub
18
1
2 hours ago
Key System

Script hub

NEW Script Hub

Script hub
227
237
17 hours ago
Universal Script 📌
19.3k
178.7k
Bumped 44 minutes ago
Key System
Script hub
72
5
2 hours ago
Key System
Script hub
272.3k
143.3k
Bumped 58 minutes ago
Key System
Script hub
182.2k
1.8M
Bumped 2 hours ago
Key System

Script hub

#18 this week

Verified script badgeAirflow HUB

Script hub
71.3k
235.0k
Bumped 2 hours ago
Key System