Advertisement
Guest User

Untitled

a guest
Feb 24th, 2022
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. getgenv().tog = true-- turns it on or off, false means it will be turned off, true means it will be on, you can change it to turn it on and vice versa
  2. while getgenv().tog == true do wait()
  3. for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  4. if v.Name == "ResourceNode" then
  5. while v.NodeType.Value ~= 0 do wait()
  6. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  7. root.CFrame = CFrame.new(v.Position)
  8. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  9. end
  10. end
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement