part script:
local script(StarterGui):
video of problem:
https://gyazo.com/8b9294150f81b8c10bf088c1a20c7e15
i don’t have any errors just it not working
part script:
local script(StarterGui):
video of problem:
https://gyazo.com/8b9294150f81b8c10bf088c1a20c7e15
i don’t have any errors just it not working
I don’t think you can access the leaderstats whenever a Coin spawns in a local script, I could entirely be wrong though but try making it a regular Server Script in ServerScriptService?
my leaderboard is in Gui and i want it to give local player randomly coin every amount of time
if i put it in regular script it will give whole server coin i am wrong??
The reason why the part isn’t giving money is because the server script does not even know it’s there. Only that one client knows it is there. You will need to generate the part from a server script to work.
thank you your answer is correct