Ad
Log in to vote
0

" 12 is not a valid member of IntValue" ? [closed]

Asked by 9 months ago

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()

0
Please explain your question. theCJarmy7 1252 — 9mo
0
you don't even have the number 12 in that Earthkingiv 55 — 9mo

Closed as Too Broad by kingdom5, SystemUnderflow, and RayCurse

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 9 months ago

Create an instance of IntValue:

local i = Instance.new("IntValue")

Then apply it to your script.

0
Use the number of your script with the Instance. MCAndRobloxUnited 689 — 9mo
Ad