gabeisdumblol

bhop api

Mar 10th, 2020
17,688
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. if bhopapi then warn("Bhop api is already open.")else print("Update for performance")local setconstant=debug.setconstant or setconstant;local getconstants=debug.getconstants or getconstants;local getupvalues=debug.getupvalues or getupvalues;local setupvalue=debug.setupvalue or setupvalue;local getinfo=debug.getinfo or getinfo;local getgc=debug.getgc or getgc or get_gc_objects;local a=is_protected_closure or function()return false end;local b=false;local c;local d;local e;local f;local g;for h,i in pairs(getgc())do if b then break end;if type(i)=="function"and not a(i)then pcall(function()if not b and getinfo(i)["source"]:find("Movement")then for j,k in pairs(getconstants(i))do if k==2.7 and c==nil then c={[1]=i,[2]=j,[3]=k}elseif k==18 and d==nil then d={[1]=i,[2]=j,[3]=k}elseif k==90 and f==nil then f={[1]=i,[2]=j,[3]=k}end end;for j,k in pairs(getupvalues(i))do if(k==-50 or k==-100)and e==nil then e={[1]=i,[2]=j,[3]=k}end end;if c and d and f and e then b=true end end end)end end;b=false;for h,l in pairs(getreg())do if b then break end;if type(l)=="table"and rawget(l,"Call")then g=rawget(l,"Call")b=true end end;getgenv().setgains=function(m)setconstant(c[1],c[2],c[3]*(m or 1))end;getgenv().setwalkspeed=function(n)setconstant(d[1],d[2],n or d[3])end;getgenv().setfriction=function(m)setconstant(f[1],f[2],f[3]*(m or 1))end;getgenv().setgravity=function(m)setupvalue(e[1],e[2],e[3]*(m or 1))end;getgenv().settime=function(o)local p=game:GetService("Workspace"):FindFirstChild("MapStart",true)local q=game:GetService("Workspace"):FindFirstChild("MapFinish",true)g("LeaveZone",q,tick())g("EnterZone",p,tick())g("LeaveZone",p,tick())g("EnterZone",q,tick()+o)end;getgenv().bhopapi=true end
Add Comment
Please, Sign In to add comment