Advertisement
C-H-4-0-S

Loop Netless

Oct 16th, 2024 (edited)
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. -- Function to be executed every 0.001 seconds
  2. local function executeScript()
  3. -- when you reset make sure to re-execute this or just make this execute in a loop
  4. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  5. if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
  6. game:GetService("RunService").Heartbeat:connect(function()
  7. v.Velocity = Vector3.new(-30,0,0)
  8. end)
  9. end
  10. end
  11.  
  12. print("Script executed at: " .. tostring(os.clock()))
  13. end
  14.  
  15. -- Loop to execute the script every 0.001 seconds
  16. while true do
  17. executeScript()
  18. wait(0.001) -- Wait for 0.001 seconds
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement