Meliodas0_0

Phantom Forces bypassed Speed and No gunbob script

Mar 28th, 2020
137
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _G.Speed = 45
  2.  
  3. local starttime = tick()
  4. local setbasewalkspeed;
  5. local gunbobindex;
  6. local stepfunction;
  7. local isdeployed;
  8.  
  9. for i,v in next, getgc() do
  10. if type(v) == "function" then
  11. for i2,v2 in next, debug.getupvalues(v) do
  12. if type(v2) == "table" and rawget(v2, "setbasewalkspeed") then
  13. setbasewalkspeed = v2.setbasewalkspeed
  14. else
  15. if type(v2) == "table" and rawget(v2, "isdeployed") then
  16. isdeployed = v2
  17. end
  18. end
  19. end
  20. end
  21. end
  22.  
  23. local index = 0;
  24. for i,v in next, getgc() do
  25. if type(v) == "function" then
  26. if debug.getinfo(v).name == "step" then
  27. for i2,v2 in next, debug.getupvalues(v) do
  28. if type(v2) == "function" then
  29. if debug.getinfo(v2).name == "gunbob" then
  30. if index == 0 then
  31. stepfunction = v;
  32. gunbobindex = i2;
  33. index = -1;
  34. end
  35. end
  36. end
  37. end
  38. end
  39. end
  40. end
  41.  
  42. spawn(function()
  43. repeat wait()
  44. setbasewalkspeed(_G.Speed, _G.Speed)
  45. until false
  46. end)
  47.  
  48. spawn(function()
  49. repeat wait()
  50. if isdeployed:isdeployed() == true then
  51. if stepfunction ~= nil then
  52. setupvalue(stepfunction, gunbobindex, function() return CFrame.new() end)
  53. end
  54. end
  55. until false
  56. end)
  57.  
  58. print(string.format("Executed XPhoenix's Phantom Forces script in %.1f seconds!", tick() - starttime))
RAW Paste Data