Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local allExotics = game:GetService("ReplicatedStorage").GoldenTierItems:GetChildren()
- for i=1, #allExotics do
- if allExotics[i].Cost.Value == 0 then
- local string_1 = "Purchase";
- local string_2 = allExotics[i].Name;
- local number_1 = 1;
- local Target = game:GetService("ReplicatedStorage").Remotes.ShopFunction;
- Target:InvokeServer(string_1, string_2, number_1);
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment