Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.Speed = 45
- local starttime = tick()
- local setbasewalkspeed;
- local gunbobindex;
- local stepfunction;
- local isdeployed;
- for i,v in next, getgc() do
- if type(v) == "function" then
- for i2,v2 in next, debug.getupvalues(v) do
- if type(v2) == "table" and rawget(v2, "setbasewalkspeed") then
- setbasewalkspeed = v2.setbasewalkspeed
- else
- if type(v2) == "table" and rawget(v2, "isdeployed") then
- isdeployed = v2
- end
- end
- end
- end
- end
- local index = 0;
- for i,v in next, getgc() do
- if type(v) == "function" then
- if debug.getinfo(v).name == "step" then
- for i2,v2 in next, debug.getupvalues(v) do
- if type(v2) == "function" then
- if debug.getinfo(v2).name == "gunbob" then
- if index == 0 then
- stepfunction = v;
- gunbobindex = i2;
- index = -1;
- end
- end
- end
- end
- end
- end
- end
- spawn(function()
- repeat wait()
- setbasewalkspeed(_G.Speed, _G.Speed)
- until false
- end)
- spawn(function()
- repeat wait()
- if isdeployed:isdeployed() == true then
- if stepfunction ~= nil then
- setupvalue(stepfunction, gunbobindex, function() return CFrame.new() end)
- end
- end
- until false
- end)
- print(string.format("Executed XPhoenix's Phantom Forces script in %.1f seconds!", tick() - starttime))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement