Advertisement
Burkino

Untitled

Apr 8th, 2020
2,203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. game.ReplicatedStorage.RemoteEvents.BattleEvents.QuestGet:InvokeServer("Easter Event 2020")
  2. while wait() do
  3. spawn(function()
  4. game.ReplicatedStorage.RemoteEvents.BattleEvents.QuestComplete:InvokeServer("Easter Event 2020")
  5. if game:GetService("ReplicatedStorage").PlayerFolder[game.Players.LocalPlayer.Name]:FindFirstChild('CurrentBattle') == nil then
  6. wait(5)
  7. game.ReplicatedStorage.RemoteEvents.BattleEvents['BattleInitiate']:InvokeServer("Owol")
  8. wait(2)
  9. end
  10. if game:GetService("ReplicatedStorage").PlayerFolder[game.Players.LocalPlayer.Name]:FindFirstChild('CurrentBattle') then
  11. local CurrentBattle = game:GetService("ReplicatedStorage").PlayerFolder[game.Players.LocalPlayer.Name].CurrentBattle
  12. local EnemyTable = {}
  13. local CoinDrop = workspace['EnemyModels'].Drops
  14. for i = 1, 5 do
  15. if CurrentBattle:FindFirstChild('Enemy'..i) then
  16. if CurrentBattle['Enemy'..i].Health.Value > 0 then
  17. EnemyTable[#EnemyTable+1] = CurrentBattle['Enemy'..i]
  18. end
  19. end
  20. end
  21. --attack
  22. local A_2 = EnemyTable[1]
  23. local Event = game:GetService("ReplicatedStorage").RemoteEvents.BattleEvents.BattleClick
  24. Event:InvokeServer(A_2)
  25. --auto drop pickup
  26. local Event2 = game.ReplicatedStorage.RemoteEvents.BattleEvents['BattlePickup']
  27. for i,v in pairs(CoinDrop:GetChildren()) do
  28. Event2:FireServer(v.Name)
  29. end
  30. --gem pickup
  31. game.ReplicatedStorage.RemoteEvents.BattleEvents['BattlePickup']:FireServer("Easter Egg/Rare")
  32. wait(.1)
  33. end
  34. end)
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement