item:Clone not visible

It is in a weird spot. Dont worry about all the other stuff.
image

I have been working on this for days and it finally worked. Thank you so much.

1 Like

Np, also change the variables to these just to make sure it doesn’t error

local player = game:GetService("Players").LocalPlayer
local playerGui = script.Parent.Parent.Parent.Parent
local shopFrame = script.Parent.Parent
local itemScroller = script.Parent
local itemPreview = script.Parent.Parent.ItemPreview
local trailsFolder = game.ReplicatedStorage:WaitForChild("Trails")
local ownedTrailsFolder = player:WaitForChild("OwnedTrails")
local shopFrame = script.Parent.Parent
local invFrame = playerGui:WaitForChild("Inventory")