Advertisement
Burkino

Untitled

Apr 6th, 2020
4,366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. local ready = false
  2. local key
  3.  
  4. repeat wait(1)
  5. for _,v in pairs(game:GetService("Workspace").Sharks:GetDescendants()) do
  6. if v.Name == "Key" then
  7. ready = true
  8. key = v
  9. end
  10. end
  11. until ready == true
  12. repeat wait() until tostring(game:GetService("Players").LocalPlayer.Team) == "Survivor"
  13.  
  14. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = key.CFrame
  15. wait(1)
  16. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").EggDoor.Base.CFrame
  17. wait(1)
  18. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").EggAward.CFrame
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement