imodex

I'm mad

Feb 28th, 2019
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. if game.PlaceId == 1224212277 then
  2. function tppos(...)
  3. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = ...
  4. end
  5. while wait() do
  6. if not workspace.ObjectSelection:FindFirstChild("MessageBottle") then game:service'TeleportService':Teleport(game.PlaceId) end
  7. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Map") and not game.Players.LocalPlayer.Character:FindFirstChild("Map") and workspace.ObjectSelection.MessageBottle:FindFirstChild("MessageBottle") then
  8. tppos(workspace["ObjectSelection"]["MessageBottle"]["MessageBottle"].CFrame)
  9. wait(.3)
  10. workspace["ObjectSelection"]["MessageBottle"]["MessageBottle"]["MessageBottle"]["Event"]:FireServer()
  11. end
  12. wait(1)
  13. for i = 1, 3 do
  14. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Golden Key") then
  15. tppos(workspace["ObjectSelection"]["DigSpot"..i]["DigSpot"..i].CFrame)
  16. wait(.3)
  17. workspace["ObjectSelection"]["DigSpot"..i]["DigSpot"..i]["DigSpot"..i]["Event"]:FireServer()
  18. end
  19. end
  20. tppos(workspace.ObjectSelection.PirateTreasure.PirateTreasure.CFrame)
  21. wait(.3)
  22. workspace.ObjectSelection.PirateTreasure.PirateTreasure.PirateTreasure.Event:FireServer()
  23. end
  24. end
Add Comment
Please, Sign In to add comment