New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

The Money Stat Is not Updating?

Asked by 4 months ago
Edited 4 months ago

I Updated The Code


    local findhum = hit.Parent:FindFirstChild("Humanoid")

    if findhum then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)

player.leaderstats.Coins.Value = player.leaderstats.Coins.Value +  player.leaderstats.Strength.Value
player.leaderstats.Strength.Value = 0


i cant seem to find any way around this problem

What are you trying to archive? XviperIink 298 — 4mo
a sell pad UnforgivenJr3087 17 — 4mo
I assume this is a Server Script (normal script) as LocalScripts doesn't work in the Workspace, which I assume is where this script is located, and then my answer is, ServerScripts can't change or even see what is inside a player's PlayerGui. Spjureeedd 151 — 4mo
the serverscript can see the player data i can alter it but it wont update the values inside the script so it will never change UnforgivenJr3087 17 — 4mo

Answer this question