Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 1224212277 then
- function tppos(...)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = ...
- end
- while wait() do
- if not workspace.ObjectSelection:FindFirstChild("MessageBottle") then game:service'TeleportService':Teleport(game.PlaceId) end
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Map") and not game.Players.LocalPlayer.Character:FindFirstChild("Map") and workspace.ObjectSelection.MessageBottle:FindFirstChild("MessageBottle") then
- tppos(workspace["ObjectSelection"]["MessageBottle"]["MessageBottle"].CFrame)
- wait(.3)
- workspace["ObjectSelection"]["MessageBottle"]["MessageBottle"]["MessageBottle"]["Event"]:FireServer()
- end
- wait(1)
- for i = 1, 3 do
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Golden Key") then
- tppos(workspace["ObjectSelection"]["DigSpot"..i]["DigSpot"..i].CFrame)
- wait(.3)
- workspace["ObjectSelection"]["DigSpot"..i]["DigSpot"..i]["DigSpot"..i]["Event"]:FireServer()
- end
- end
- tppos(workspace.ObjectSelection.PirateTreasure.PirateTreasure.CFrame)
- wait(.3)
- workspace.ObjectSelection.PirateTreasure.PirateTreasure.PirateTreasure.Event:FireServer()
- end
- end
Add Comment
Please, Sign In to add comment