SythicalScripts

Sythical | Script

Jun 11th, 2023
2,506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. --antiafk
  2. task.spawn(function()
  3. local vu = game:GetService("VirtualUser")
  4. game:GetService("Players").LocalPlayer.Idled:connect(function()
  5. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  6. wait(1)
  7. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  8. end)
  9. end)
  10. -- i x 300 = money
  11. local i = 50
  12. -- find car
  13. local name = game.Players.LocalPlayer
  14. for _, v in pairs (game:GetService("Workspace").Vehicles:GetDescendants()) do
  15. if v:IsA("StringValue") and v.Value == tostring(name) and v.Name == 'Owner' then
  16. print(v.Parent)
  17. car = v.Parent
  18. end
  19. end
  20. car:SetPrimaryPartCFrame(CFrame.new(7732, 89, -9410, 0, 10, 0, 1.7))
  21. -- function
  22. local function dollas()
  23. car.Weight.Anchored = false
  24. car:SetPrimaryPartCFrame(CFrame.new(7732, 89, -9410, 0, 10, 0, 1))
  25. car.Weight.Velocity = Vector3.new(0,0,600)
  26. wait(4)
  27. end
  28. -- loop
  29. while i > 0 and car.Weight.Anchored == false do
  30. dollas()
  31. i = i - 1
  32. print(i)
  33. end
  34. -- stop
  35. car.Weight.Anchored = true
Add Comment
Please, Sign In to add comment