I'm just going to start o with an apology. I'm so sorry if i was annoying or spamming in any way, i just couldn't seem to get a working answer, so i began to ask the question over and over again. I AM SORRY. Promise will never do something like that again. I want to actually liked on this website, so i plan on fixing my error. Once again, I AM SORRY.
Anyways,
i'm basically trying to import a function from a local script ( child of the main game script) and end up calling through the main game script(which is an average server sided script). How would i make the script below global function and end up calling it through the game script? Help is greatly appreciated! :)
Script:
function GivePlayersTools() local plr = game.Players.LocalPlayer local BoughtTools = plr.Backpack:WaitForChild("BoughtTools"):Clone():GetChildren() print("Bought tools loaded...") wait(1) for _,tool in next, BoughtTools do tool.Parent = plr.Backpack end end

6 comments
Why don't you wait before re-posting the same question? Give your question (some) time before you re-post, otherwise it's considered spamming. :/ *shm
i was just asking on how to call a global function, trying to make it as of topic as my previous question. Sorry tho
What do you mean by "Global Function"? For all scripts in the game to use, I assume?
Yes, that's exactly what i mean TheAlphaStigma.
wait wait wait wait.. You're apologizing, and STILL REPOSTING THE SAME QUESTION?
24 hours haven't even passed, and I can STILL see your previous question on the first page. If you repost it again within 24 hours, consequences may come...