HansCSia320

yar

Jan 12th, 2020
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.73 KB | None | 0 0
  1. --[[
  2.     Made by Megumu
  3.     <3
  4. ]]
  5.  
  6. -- Wait for shit to load
  7. repeat
  8.     load = pcall(function()
  9.         a = game.Players.LocalPlayer.Character.HumanoidRootPart;
  10.         b = game.Players.LocalPlayer.leaderstats.Coins;
  11.     end)
  12.     wait()
  13. until load
  14.  
  15. -- Variable
  16. local player = game.Players.LocalPlayer
  17. local coins = game.Players.LocalPlayer.leaderstats.Coins.Value
  18.  
  19. -- Get that good shit
  20. timer = 40
  21. repeat
  22.     pcall(function()
  23.         player.Character.HumanoidRootPart.CFrame = CFrame.new(-13302, -187, -14)
  24.     end)
  25.     wait(0.1)
  26. timer = timer - 1
  27. until game.Players.LocalPlayer.leaderstats.Coins.Value ~= coins or timer <= 0
  28.  
  29. -- Rejoin
  30. while wait(2.5) do
  31. game:GetService("TeleportService"):Teleport(game.PlaceId)
  32. end
Add Comment
Please, Sign In to add comment