Advertisement
NeonFox__

SKYWARS GET COINS / MINE ORES

Jun 28th, 2020
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. -- i did not make this script
  2.  
  3. local cpos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  4.  
  5. local stuff = workspace:getDescendants()
  6. for i=1,#stuff do
  7. if stuff[i].Name == "Block" and stuff[i].Parent.Name == "Ores" then
  8. repeat
  9. wait()
  10. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = stuff[i].CFrame
  11. game.Players.LocalPlayer.Character.Axe.RemoteEvent:FireServer(stuff[i])
  12. until stuff[i].Name ~= "Block" or not game.Players.LocalPlayer.Character:findFirstChild("Axe")
  13. end
  14. end
  15.  
  16. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cpos
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement