SHCREW

car crusher 2

Aug 22nd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. local info = game.ReplicatedStorage.VehicleInformation
  2. if not game:GetService("MarketplaceService"):UserOwnsGamePassAsync(game.Players.LocalPlayer.UserId, 2465866,2465906,5157513,2629753) then
  3. for i, v in pairs(info:GetChildren()) do
  4. if v:findFirstChild("VipOnly") then
  5. if v:findFirstChild("Price") then
  6. if v.VipOnly.Value then
  7. print("fixed " .. v.Name .. " (VIP Only)")
  8. v.Price.Value = 0
  9. end
  10. end
  11.  
  12. local info = game.ReplicatedStorage.VehicleInformation
  13. if not game.Players.LocalPlayer:IsInGroup(2726951) then
  14. for i, v in pairs(info:GetChildren()) do
  15. if v.GroupOnly.Value then
  16. if v:findFirstChild("VipOnly") then
  17. print("fixed " .. v.Name .. " (Group Only)")
  18. v.Price.Value = 0
  19. end
  20. end
  21. end
  22. end
  23. end
  24. end
  25. end
  26.  
  27. workspace["All crushers"]["Volcano Pit"].Lava.Size = Vector3.new(100,100,100)
  28. workspace["All crushers"]["Volcano Pit"].Lava.Transparency = 1
  29. workspace["All crushers"]["Volcano Pit"].PhysicsBump.Size = Vector3.new(100,100,100)
  30.  
  31.  
  32. while true do
  33. local info = game.ReplicatedStorage.VehicleInformation
  34. local plr = game.Players.LocalPlayer
  35. local money = plr.Money.Value
  36.  
  37. local bestName, bestPrice = nil, 0
  38. for i, car in pairs(info:GetChildren()) do
  39. local name = car.Name
  40. local price = car.Price.Value-5
  41. if price > bestPrice and price <= money then
  42. bestName, bestPrice = name, price
  43. end
  44. end
  45.  
  46.  
  47. game.ReplicatedStorage.rF['LoadSaveCustoms']:InvokeServer("Save","Institutional white","Platinum",bestName)
  48. wait(0.25)
  49. game:GetService("ReplicatedStorage").rF.SpawnVehicle:InvokeServer(bestName)
  50.  
  51. for i=1,10 do
  52. if game.Workspace.CarCollection:findFirstChild(game.Players.LocalPlayer.Name) then
  53. if game.Workspace.CarCollection[game.Players.LocalPlayer.Name].Car.PrimaryPart ~= nil then
  54. game.Workspace.CarCollection[game.Players.LocalPlayer.Name].Car:SetPrimaryPartCFrame(CFrame.new(130.613281, -325.787872, -439.587036, -0.0313572325, 0.984323323, -0.173563436, -7.01718506e-09, 0.173648819, 0.984807611, 0.999508262, 0.0308808442, -0.00544513995))
  55. wait()
  56. end
  57. end
  58. end
  59. for _,v in pairs(workspace:GetDescendants()) do
  60. if v.ClassName == "Part" then
  61. if v.Size == Vector3.new(2.47, 2.2, 1.21)
  62. or v.Size == Vector3.new(1, 3.125, 1) then
  63. v.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position)
  64. end
  65. end
  66. end
  67. wait()
  68. end
Add Comment
Please, Sign In to add comment