Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Remotes = {}
- for i, v in pairs(getgc()) do
- if type(v) == 'function' then
- if getfenv(v).script == game:GetService("ReplicatedStorage").ClientModules.Core.RouterClient.RouterClient then
- local const = debug.getconstants(v)
- if table.find(const, 'Infinite yield possible on remote ') then
- Remotes = debug.getupvalue(v, 1)
- break
- end
- end
- end
- end
- for i, v in pairs(game:GetService("ReplicatedStorage").Resources.Winter2020.IceSkating.GingerbreadMarkers:GetChildren()) do
- spawn(function()
- Remotes["EventAPI/PickUpGingerbread"]:InvokeServer(v.Name)
- end)
- end
- wait(7)
- Remotes["EventAPI/RedeemPendingGingerbread"]:FireServer()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement