I’m trying to make a GUI Visible inside a scrolling frame.
I set the Visible property to true and it still doesn’t work, its visible when I set the parent to the button I’m clicking. The clone is showing up under the grid. I have tested it by just inserting UI’s into the scrolling frame and u can see them there. The Local Script for it is under the button I’m clicking outside the ScreenGui I’m cloning it to.
local cost = 50 local module = require(game.ReplicatedStorage:WaitForChild("CrateModule")) local template = game.StarterGui.Inventory.Storage:WaitForChild("Template") local grid = game.StarterGui.Inventory.Inv:WaitForChild("Grid") local function inventory(crate) local clone = template:Clone() clone.Name = crate.Name clone.Visible = true clone.Parent = grid end script.Parent.MouseButton1Click:Connect(function() local coinValue = game.Players.LocalPlayer.leaderstats.Coins if coinValue.Value >= cost then coinValue.Value = coinValue.Value - cost local crate = module.Choose() inventory(crate) print(crate) end end)