Advertisement
michaelishot666

car tycoon script

Aug 24th, 2021
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. getgenv().Enabled = true --Enabled/Disable the Autofarm
  2.  
  3. local function createplatform()
  4. local platform = Instance.new("Part", game:GetService("Workspace"))
  5. platform.Size = Vector3.new(2048, 1, 2048)
  6. platform.CFrame = CFrame.new(-3966.61011, 608.327026, -4139.58984, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7. platform.Anchored = true
  8. platform.Name = "Platform69"
  9. print("Platform created")
  10. end
  11.  
  12.  
  13. if game:GetService("Workspace"):FindFirstChild("Platform69") then
  14. print("Platform69 is there")
  15. else
  16. createplatform()
  17. end
  18.  
  19. local model = game:GetService("Workspace")[game.Players.LocalPlayer.Name.. "'s car"]:GetDescendants()
  20. local car = game:GetService("Workspace")[game.Players.LocalPlayer.Name.. "'s car"].Stats
  21.  
  22. while getgenv().Enabled == true do
  23.  
  24. game.Workspace[game.Players.LocalPlayer.Name.."'s car"].Stats.MaxSpeed.Value=math.huge
  25. game.Workspace[game.Players.LocalPlayer.Name.."'s car"].Stats.Torque.Value=math.huge
  26.  
  27. wait(3) --[TP INTERVAL] (In seconds) change this to how often you want to be TP'ed
  28.  
  29. for index, descendant in pairs(model) do
  30. if descendant:IsA("BasePart") then
  31. descendant.CFrame = CFrame.new(-3904.37183, 618.744934, -5148.86719, -0.999841809, -3.16823168e-09, 0.0177878682, -2.6610929e-09, 1, 2.85340409e-08, -0.0177878682, 2.84821908e-08, -0.999841809)
  32. end
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement