I was just making a simple click button script. The player has a folder called leaderstats inside it but this is the error.
The script:
In game:
All help is appreciated. Thanks!
I was just making a simple click button script. The player has a folder called leaderstats inside it but this is the error.
Try using a :WaitForChild()
for ‘leaderstats’.
-- e.g.
local atoms = player:WaitForChild("leaderstats"):FindFirstChild("Atoms").Value
Oh sorry. My mistake. The script was a server script not a local script. lol
Thanks anyways though. charscharschars
You do realise mousbutton1click doesnt work on the server right?
Yes, I realised that. charcyter limit os lame