how to change Value to something specific and not add to it?

38 Views Asked by At

When I want to set the currency to "Chara" nothing happens. What to do? Here's the script:

local leaderstats = game.Players.LocalPlayer.leaderstats
script.Parent.Touched:Connect(function(hit)
    if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
        leaderstats.Character.Value = "Chara"???
        wait(3)
    end
end)

Help pls.

I tried to make my "Character" currency become "Chara", but nothing happens.

0

There are 0 best solutions below