Advertisement
Scriptorz5

Treasure Hunt Simulator chest tp script

Jun 18th, 2018
4,370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. while true do
  2. wait(5)
  3. for _,v in pairs(game.Workspace.SandBlocks:GetChildren()) do
  4. if v:FindFirstChild("BasicChest") or v:FindFirstChild("EpicChest") or v:FindFirstChild("RareChest") then
  5. v.CanCollide = false
  6. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(0,0),0,math.random(0,0))
  7. end
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement