Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

0 is not a valid member of Folder?

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)

2 comments

0

Would be nice if you could explain some more in the description?

0

You need to use ModelName["0"] because 0 is a number so you have to put it in brakets

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.