The script isn't adding the items to the inventory as asked and there's no output errors!
There's probably something way wrong with this script but here it is!
--//ITS A LOCAL SCRIPT\--
local player = game.Players.LocalPlayer
local template = script.Parent.Parent.Template
wait(player.CharacterAdded)
function addItems()
local invItems = player.Inventory:GetChildren()
if invItems == "TestItem" then
local clonedTemp = template:Clone()
clonedTemp.Parent = script.Parent
clonedTemp.InfoValues.Gives.Value = 1
clonedTemp.InfoValues.Name.Value = "TestItem"
clonedTemp.Visible = true
end
end
addItems()

5 comments
It's not working
is there a child in Inventory called TestItem and are there any errors?
changed line 9, my bad. try now unless there are different errors
i'm just better than u and i'm not high
It works now