enabled = false function onTouched(hit) wait(3) game.Players.LocalPlayer.PlayerGui.paint.Frame.Visible = true enabled = true if enabled == false then game.Players.LocalPlayer.PlayerGui.paint.Frame.Visible = false end end script.Parent.Touched:connect(onTouched)
Im a beginner but Imma try help. They might be wrong so no high hopes.
enabled = false function onTouched(hit) wait(3) game.Players:FindFirstChild(hit.Parent.Name).PlayerGui.paint.Frame.Visible = true enabled = true if enabled == false then game.Players:FindFirstChild(hit.Parent.Name).PlayerGui.paint.Frame.Visible = true end end script.Parent.Touched:connect(onTouched)
otherwise try this??? Place GUI into this script. Make sure the GUI is visible Then also add in the X (or close) button???
local gui1 = script.paint function onTouched(player) local newgui2 = gui1:Clone() newgui2.Parent = player.PlayerGui end script.Parent.Touched:connect(onTouched)