Advertisement
Gerard_games

Car crushers 2 auto farm (auto next car)

Jan 29th, 2019
6,747
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. _G.Enabled = true --"true" = on "false" = off (Duh)
  2.  
  3. local info = game.ReplicatedStorage.VehicleInformation
  4. for i, v in pairs(info:GetChildren()) do
  5. if v.GroupOnly.Value then
  6. print("Deleted: " .. v.Name .. " (Group Only)")
  7. v:Destroy()
  8. elseif
  9. v.VipOnly.Value then
  10. print("Deleted: " .. v.Name .. " (VIP Only)")
  11. v:Destroy()
  12. end
  13. end
  14.  
  15.  
  16. while _G.Enabled do
  17. local info = game.ReplicatedStorage.VehicleInformation
  18. local plr = game.Players.LocalPlayer
  19. local money = plr.Money.Value
  20.  
  21. local bestName, bestPrice = nil, 0
  22. for i, car in pairs(info:GetChildren()) do
  23. local name = car.Name
  24. local price = car.Price.Value
  25. if price > bestPrice and price <= money then
  26. bestName, bestPrice = name, price
  27. end
  28. end
  29.  
  30.  
  31. _G.VehicleName = bestName
  32. wait()
  33. local Arguments = {
  34. [1] = "Save",
  35. [2] = {
  36. ["BodyColor"] = "Institutional white",
  37. ["BodyMaterial"] = "Platinum"
  38. },
  39. [3] = _G.VehicleName
  40. }
  41. game.ReplicatedStorage.rF['LoadSaveCustoms']:InvokeServer(unpack(Arguments))
  42. game:GetService("ReplicatedStorage").rF.SpawnVehicle:InvokeServer(_G.VehicleName)
  43. for i=1,10 do
  44. wait(0.5)
  45. game.Workspace["All crushers"]["Stair Fall"].Wall.CFrame = CFrame.new(0,900,0)
  46. game.Workspace["All crushers"]["Stair Fall"].Wall.Size = Vector3.new(10000,1,10000)
  47. game.Workspace["All crushers"]["Stair Fall"].Wall.CanCollide = false
  48. game.Workspace.CarCollection[plr.Name].Car:MoveTo(Vector3.new(0,910,0))
  49. end
  50. end
  51. print("Huge Thanks To byte-chanβ„’#5250 <3 ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement