Advertisement
martinnaj

dasfasdfdfs

Jan 10th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. --Re-Released by J2 Dare (No credit for editing/creating this script| Just reposted)\n--Vehicle Simulator AFK money / miles\n--edited by poey582, take no credit for making this script, just added a few lines\n--How to use\n--Load into the game then execute the script\n--Get in your car then type '/e racingmode' into chat\n--Then go as fast as you can,then once you're at a good speed\n--have this phrase copied '/e stop' and paste it into chat\n--scuffed but works enjoy\n\nlocal plr = game.Players.LocalPlayer\nlocal inftoggle = false\nfunction getvehicle()\nfor i,v in pairs(game.Workspace.Vehicles:GetChildren()) do\nif v:IsA('Model') then\nif v.owner.Value == plr.Name then\nreturn v\nend\nend\nend\nreturn nil\nend\nfunction hint(txt, t)\nif t then\nlocal h = Instance.new('Hint',plr.PlayerGui)\nh.Text = txt\nwait(t)\nh:remove()\nelse\nlocal h = Instance.new('Hint',plr.PlayerGui)\nh.Text = txt\nwait(2)\nh:remove()\nend\nend\n\nplr.Chatted:connect(function(msg)\nif msg:lower():sub(1,10) == '/e toggle:' then\nlocal ins = msg:lower():sub(11)\nlocal vehicle = getvehicle()\nif vehicle then\nif ins == 'infnitro' then\nif inftoggle == true then\ninftoggle = false\nhint('(-)Disabled Infinite Nitro!(-)')\nelse\ninftoggle = true\nhint('(+)Enabled Infinite Nitro!(+)')\nend\nend\nelse\nhint('(-)You do not have a vehicle spawned!(-)')\nend\nelseif msg:lower():sub(1,14) == '/e nitrospeed:' then\nlocal num = msg:sub(15)\nlocal vehicle = getvehicle()\nif vehicle then\nvehicle.Handling.Nitro.NitroSpeed.Value = tonumber(num)\nelse\nhint('(-)You do not have a vehicle spawned!(-)')\nend\nelseif msg:lower():sub(1,14) == '/e stop' then\nlocal num = msg:sub(1,15)\nlocal vehicle = getvehicle()\nif vehicle then\nvehicle.Chassis.VehicleSeat.Anchored = true\nelse\nhint('(-)You do not have a vehicle spawned!(-)')\nend\nelseif msg:lower():sub(1,14) == '/e nitroforce:' then\nlocal num = msg:sub(1,15)\nlocal vehicle = getvehicle()\nif vehicle then\nvehicle.Handling.Nitro.NitroForce.Value = tonumber(num)\nelse\nhint('(-)You do not have a vehicle spawned!(-)')\nend\nelseif msg:lower():sub(1,12) == '/e maxspeed:' then\nlocal num = msg:sub(13)\nlocal vehicle = getvehicle()\nif vehicle then\nvehicle.Handling.MaxSpeed.Value = tonumber(num)\nelse\nhint('(-)You do not have a vehicle spawned!(-)')\nend\nelseif msg:lower():sub(1,10) == '/e torque:' then\nlocal num = msg:sub(11)\nlocal vehicle = getvehicle()\nif vehicle then\nvehicle.Handling.Torque.Value = tonumber(num)\nelse\nhint('(-)You do not have a vehicle spawned!(-)')\nend\nelseif msg:lower():sub(1,12) == '/e friction:' then\nlocal num = msg:sub(13)\nlocal vehicle = getvehicle()\nif vehicle then\nvehicle.Handling.FrictionOffroad.Value = tonumber(num)\nvehicle.Handling.FrictionRoad.Value = tonumber(num)\nelse\nhint('(-)You do not have a vehicle spawned!(-)')\nend\nelseif msg:lower():sub(1,13) == '/e racingmode' then\nlocal vehicle = getvehicle()\nif vehicle then\nhan = vehicle.Handling\nhan.MaxSpeed.Value = 10000\nhan.Torque.Value = 30000\nhan.SteeringRadiusConstant.Value = 12000\nhan.FrictionOffroad.Value = 200\nhan.FrictionRoad.Value = 1000\nhan.Nitro.NitroSpeed.Value = 300\nhan.Nitro.NitroForce.Value = 8000\nhan.TurboJump.TurboJumpHeight.Value = 300\ninftoggle = true\nelse\nhint('(-)Me name is jeff!(-)')\nend\nend\nend)\nwait(0.5)\nwhile inftoggle == true do\nwait(0.02)\nlocal vehicle = getvehicle()\nif vehicle then\nvehicle.Handling.Nitro.NitroAmount.Value = 250\nend\nend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement