Hello! I having attempt to index nil with 'Clone', would you help me?
Im doing and Admin ‘Give Gui’, for my jojo game that will be giving stands/items, but when trying to clone item it writes error that i wrote upper.
I have an Script named ‘ItemGive’ for button
In this i written:
local v1 = script.Parent.Parent.ItemTab
local bu = v1.giveButton
local v2 = v1.chosenPlayerValue
local v3 = v1.chosenItemValue
local gV2 = game.Players:FindFirstChild(v2.Value)
local gV3 = game.ServerStorage.Items:FindFirstChild(v3.Value)
bu.MouseButton1Click:Connect(function()
local g = gV3:Clone()
g.Parent = gV2.Backpack
end)
Also i have script that puts nickname and item to give in stringvalue, and this explorer of givegui.
ChosenItemValue gets when admin clicks on button that contains name of item, and it gets names from ServerStorage.Items, are there can be any other reasons?
Found some new info, its not finding value in chosenitemvalue and chosenplayervalue, thats why nil, but when i checking in explorer while clicked on nickname/item there are a value of item and player, any variants why is it going on?