i wanted to make a tool that will show "screengui" (i already put a frame) that i place inside my tool. so i planned to make the "screengui" appeared when i equip it and disappeared when i unequp it. here the script that i wrote
function set1()
if dimension == false then
local c = script.Parent.ScreenGui:Clone()
c.Parent = game.Players.PlayerGui
end
end
script.Parent.Equipped:connect(set1)
is something wrong?

1 comment
thx for the help!