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

0 is not a valid member of Folder?

Asked by 4 years ago
Edited 4 years ago

22:54:56.060 - 0 is not a valid member of Folder

22:54:56.061 - Stack Begin

22:54:56.062 - Script 'ServerScriptService.Script', Line 43

22:54:56.062 - Stack End

22:54:56.093 - 0 is not a valid member of Folder

22:54:56.094 - Stack Begin

22:54:56.094 - Script 'Players.RobloxCGenderFluid.PlayerGui.ScreenGui.ShopFrame.Buy.LocalScript', Line 6

22:54:56.095 - Stack End

local cost = game.ServerStorage.ToolModels[item].Information.Cost.Value

local outcome = game.ReplicatedStorage.CreateTransaction:InvokeServer(modelName.Value)
0
Would be nice if you could explain some more in the description? AntoninFearless 622 — 4y
0
You need to use ModelName["0"] because 0 is a number so you have to put it in brakets parker02311 27 — 4y

1 answer

Log in to vote
0
Answered by
haba_nero 386 Moderation Voter
4 years ago

Sometimes this happens because you need to use :GetChildren() or :FindFirstChild() Try using these!

Ad

Answer this question