Advertisement
ProtonDev-Sys

Untitled

Feb 1st, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. getgenv().speed = 32; -- change to whatever
  2. local mt = getrawmetatable(game);
  3. local ind = mt.__index;
  4. local nmc = mt.__namecall;
  5.  
  6. setreadonly(mt,false)
  7.  
  8. local statsS = game.Players.LocalPlayer.Stats.Stamina;
  9.  
  10. mt.__index = newcclosure(function(a,b)
  11. if b == "WalkSpeed" and a.Parent == game.Players.LocalPlayer.Character then
  12. return getgenv().speed;
  13. elseif a == statsS and b == "Value" then
  14. return math.huge
  15. end;
  16.  
  17. return ind(a,b);
  18. end);
  19. local r = game:GetService("ReplicatedStorage").ClientToServer.CheckHitTarg
  20.  
  21. getgenv().s = true;
  22. mt.__namecall = newcclosure(function(a,...)
  23. if getnamecallmethod() == "FireServer" and a == r then
  24. local args = {...}
  25.  
  26. if getgenv().s == true then
  27. getgenv().s = false;
  28. spawn(function()
  29. for i = 0 , 50 , 1 do
  30. r:FireServer(args[1],args[2],args[3]);
  31. end;
  32. wait(.5)
  33. getgenv().s = true;
  34. end)
  35. end;
  36. return nmc(a,...);
  37. end;
  38. return nmc(a,...);
  39. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement