Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Fix Error isnt a valid member of intvalue?

Asked by 4 years ago

it keeps saying bucks isnt a valid member of intvalue

game.Players.PlayerAdded:Connect(function(player)

    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    local bucks = Instance.new("IntValue")
    bucks.Name = "bucks"
    bucks.value = 0
    bucks.Parent = leaderstats
end)
0
Line 9, bucks.Value Azarth 3141 — 4y
0
yea its line 9 but i dont have a clue what to do about it Eyelesstiamat 7 — 4y
0
Nvm Eyelesstiamat 7 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

i had to cap Value

Ad

Answer this question