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

Attempt to compare instance to value?

Asked by
Desmondo1 121
2 years ago
Edited 2 years ago

I'm trying to make a shop system but line 35 is giving me an error.

01_G.ownedClasses = {}
02 
03function AddMoves(moveList, player)
04 
05    local playerMovesFolder = player.Backpack.Moves
06    local playerMoves = playerMovesFolder:GetChildren()
07 
08    for i, move in ipairs(playerMoves) do
09 
10        move:Destroy()
11    end
12 
13    for i, move in ipairs(moveList) do
14 
15        move.Parent = playerMovesFolder
View all 43 lines...

1 answer

Log in to vote
2
Answered by 2 years ago
1price.Value
0
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH I can't believe I missed that Desmondo1 121 — 2y
Ad

Answer this question