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

" 12 is not a valid member of IntValue" ?

idk what to do

local Dad = game.ServerStorage.PlayerData:WaitForChild("Dadithan", 20)
local F = Dad.Inventory


function si()
	if F["12"].Value == 1 then
		F["12"].Value = 100
		F["12"].Metal.Value = 14
		F["12"].Wood.Value = 15	
		F["12"].Name = "40"
	end
end

si()

2 comments

0

Please explain your question.

0

you don't even have the number 12 in that

1 answer

Create an instance of IntValue:

local i = Instance.new("IntValue")

Then apply it to your script.

1 comment

0

Use the number of your script with the Instance.

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