So, in my game I'm trying to make it so when you click with this item, you get a gui that pops up with a few buttons on it. The script I wrote below has an error indexing nil with "playergui".
script.Parent.Activated:Connect(function()
local ItemGui = script.Parent.AlertGui
ItemGui:Clone().Parent = game.Players.LocalPlayer.PlayerGui
end)

1 comment
Works, TY