Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GetService, GetChildren, WaitForChild, FindFirstChild, InvokeServer
- do -- Methods
- GetService = game.GetService
- GetChildren = game.GetChildren
- WaitForChild = game.WaitForChild
- FindFirstChild = game.FindFirstChild
- InvokeServer = Instance.new("RemoteFunction").InvokeServer
- end
- local ReplicatedStorage
- do -- Services
- ReplicatedStorage = GetService(game, "ReplicatedStorage")
- end
- do -- Source
- local A = WaitForChild(WaitForChild(ReplicatedStorage, "RemoteFunctions"), "RedeemTwitterCode")
- for B, C in ipairs(GetChildren(WaitForChild(ReplicatedStorage, "Objects"))) do
- local D = FindFirstChild(C, "TwitterCode")
- if D then
- InvokeServer(A, D.Value)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement