Advertisement
stinkpotato

tp all boxes miners haven

Dec 27th, 2017
639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. --tp all boxes
  2.  
  3. for _,v in pairs(game.Workspace:GetChildren()) do
  4. if string.match(v.Name, "DiamondCrate") or string.match(v.Name, "ResearchCrate") or string.match(v.Name, "GoldenCrate") or string.match(v.Name, "ShadowCrate") or string.match(v.Name, "CrystalCrate") then
  5. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(0,0),0,math.random(0,0))
  6. end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement