Burkino

Untitled

Apr 7th, 2020
3,940
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. local root = game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2. local event = game:GetService("ReplicatedStorage").event
  3.  
  4. local eggfolder
  5. for i,v in next, workspace:GetDescendants() do
  6. if v:IsA("MeshPart") and v.Position.Y == 4.00 then
  7. eggfolder = v.Parent
  8. break
  9. end
  10. end
  11.  
  12. -- all coins quest
  13. for i = 1, 3 do
  14. local counter = 0
  15. for i,v in next, eggfolder:GetChildren() do
  16. if v:IsA("MeshPart") then
  17. root.CFrame = v.CFrame
  18. counter = counter + 1
  19. wait()
  20. if counter%10 == 0 then
  21. event:FireServer("sellEggs")
  22. elseif counter%1000 == 0 then
  23. break
  24. end
  25. end
  26. end
  27. end
  28.  
  29. -- pet quest
  30. for i = 0, 10 do
  31. event:FireServer("purchaseEgg", 6, "Coins")
  32. wait()
  33. end
  34.  
  35. -- rebirth
  36. event:FireServer("rebirth", "coins", 1)
  37.  
  38. -- finish some quests
  39. for i = 1, 100 do
  40. event:FireServer("claimQuest", i)
  41. end
  42.  
  43. wait(1)
  44.  
  45. -- finish clues
  46. for i = 0, 10 do
  47. event:FireServer("claimBunnyQuest", i)
  48. end
  49.  
  50. wait(1)
  51.  
  52. -- finish
  53. event:FireServer("claimBunnyReward")
Add Comment
Please, Sign In to add comment