Advertisement
Guest User

Car speed script

a guest
Jun 9th, 2021
3,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.32 KB | None | 0 0
  1. --Car speed script jump and get in car to make it work
  2. --Work on all game kinda
  3. --Made by Cipher#3569 and Ridermcds#8452
  4.  
  5. local Material = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
  6.  
  7. local X = Material.Load({
  8.     Title = "Sus",
  9.     Style = 3,
  10.     SizeX = 500,
  11.     SizeY = 350,
  12.     Theme = "Dark"
  13. })
  14.  
  15. local Y = X.New({
  16.     Title = "1"
  17. })
  18.  
  19. _G.Horsepower = 900
  20.  
  21. local C = Y.Slider({
  22.     Text = "Horsepower",
  23.     Callback = function(Value)
  24.  _G.Horsepower = Value
  25.     end,
  26.     Min = 900,
  27.     Max = 9000,
  28.     Def = 900
  29. })
  30. _G.PeakRPM = 12000
  31. local C = Y.Slider({
  32.     Text = "PeakRPM",
  33.     Callback = function(Value)
  34.  _G.PeakRPM = Value
  35.     end,
  36.     Min = 12000,
  37.     Max = 120000,
  38.     Def = 12000
  39. })
  40. _G.Redline = 12500
  41. local C = Y.Slider({
  42.     Text = "Redline",
  43.     Callback = function(Value)
  44.  _G.Redline = Value
  45.     end,
  46.     Min = 12500,
  47.     Max = 125000,
  48.     Def = 12500
  49. })
  50.  
  51. local newreq = require
  52. local oldreq = function(...)
  53.    print({...})
  54.    local returnval = newreq(...)
  55.    if tostring(...) == 'A-Chassis Tune' then
  56.        for i,v in pairs(returnval) do
  57.            if _G[i] then
  58.                returnval[i] = _G[i]
  59.                end
  60.        end
  61.    end
  62.  
  63.    return returnval
  64. end
  65. getgenv().require = oldreq
  66. getrenv().require = oldreq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement