#I need to find out how many coins the player has

7 messages · Page 1 of 1 (latest)

fiery flint
#

The script is in a part inside of a folder inside of workspace. The "collectedCoins" value is directly in the workspace itself. I tried using "workspace.collectedCoins.Value" and "game.Workspace.collectedCoins.Value" but both showed the value as 0 even when it shouldn't be 0.

abstract parrot
#

so whats the issue

#

the script is printing the value, and you havnt provided the script

#

so id assume u arnt changing/updating the coins

fiery flint
#

the coins are changing cause I have another script in starterplayerscripts that shows that it's changing in some way, but it's not changing in the other script
even though it should be the same value

#

wait, I think it's because the one that's changing the value is a local script
I'll have to fix that

#

ok, I figured out the issue and managed to fix it