Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.ReplicatedStorage.RemoteEvents.BattleEvents.QuestGet:InvokeServer("Easter Event 2020")
- while wait() do
- spawn(function()
- game.ReplicatedStorage.RemoteEvents.BattleEvents.QuestComplete:InvokeServer("Easter Event 2020")
- if game:GetService("ReplicatedStorage").PlayerFolder[game.Players.LocalPlayer.Name]:FindFirstChild('CurrentBattle') == nil then
- wait(5)
- game.ReplicatedStorage.RemoteEvents.BattleEvents['BattleInitiate']:InvokeServer("Owol")
- wait(2)
- end
- if game:GetService("ReplicatedStorage").PlayerFolder[game.Players.LocalPlayer.Name]:FindFirstChild('CurrentBattle') then
- local CurrentBattle = game:GetService("ReplicatedStorage").PlayerFolder[game.Players.LocalPlayer.Name].CurrentBattle
- local EnemyTable = {}
- local CoinDrop = workspace['EnemyModels'].Drops
- for i = 1, 5 do
- if CurrentBattle:FindFirstChild('Enemy'..i) then
- if CurrentBattle['Enemy'..i].Health.Value > 0 then
- EnemyTable[#EnemyTable+1] = CurrentBattle['Enemy'..i]
- end
- end
- end
- --attack
- local A_2 = EnemyTable[1]
- local Event = game:GetService("ReplicatedStorage").RemoteEvents.BattleEvents.BattleClick
- Event:InvokeServer(A_2)
- --auto drop pickup
- local Event2 = game.ReplicatedStorage.RemoteEvents.BattleEvents['BattlePickup']
- for i,v in pairs(CoinDrop:GetChildren()) do
- Event2:FireServer(v.Name)
- end
- --gem pickup
- game.ReplicatedStorage.RemoteEvents.BattleEvents['BattlePickup']:FireServer("Easter Egg/Rare")
- wait(.1)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement