Advertisement
Guest User

ci

a guest
Apr 4th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. -- this scripts teleports you to all the Appas on the map
  2. -- place link (https://www.roblox.com/games/990566015/UFO-Cursed-Islands)
  3. plr = game.Players.LocalPlayer
  4. hum = plr.Character.HumanoidRootPart
  5. startPos = hum.CFrame
  6. local modelList = game.Workspace.Lobby.AppaSpawns:GetChildren()
  7. for i = 1, #modelList do
  8.     if modelList[i]:FindFirstChild("Appa") ~= nil then -- checks if the spawn has something at it
  9.         hum.CFrame = modelList[i].CFrame
  10.         hum.CFrame = hum.CFrame + Vector3.new(0,1,0)
  11.         wait(.2)
  12.     end
  13. end
  14. hum.CFrame = startPos -- brings player back to spawn
  15. -- made by fleebmans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement