Advertisement
_Thanh_Thy_Cute_

Timber TREE CUTTING AURA

Aug 22nd, 2021
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. getgenv().ChopTrees = true
  2. while wait(0.1) and getgenv().ChopTrees do
  3. for _,v in pairs(game:GetService("Workspace").Plots[tostring(game.Players.LocalPlayer.Plot.Value)]:GetDescendants()) do
  4. if v:IsA("Model") and v.Name:lower():find("tree") then
  5. if (v.Base.CFrame.p - game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p).magnitude < 10 then
  6. game:GetService("ReplicatedStorage").Communication.Remotes.HitTree:FireServer(game.Players.LocalPlayer.Plot.Value, v.Parent.Name, ({v.Name:gsub("Tree_","")})[1])
  7. end
  8. end
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement