Here is the script that put a Gui into PlayerGui Folder when i click a block:
function boop(Player) if not Player.PlayerGui:FindFirstChild("Gui") then local gui = script.Gui:clone() gui.Parent = Player.PlayerGui gui.LocalScript.Disabled = false end end script.Parent.ClickDetector.MouseClick:connect(boop)
The Gui that appears in PlayerGui Folder is named: Gui I need to make it destroy (the ”Gui” from PlayerGui Folder) when i touch a part named: Test2000
I hope u can help me guys!

1 comment
so instead of clicking, you want it to be removed when touched?