I'm trying to find a script that when you touch a block a gui pops up for about (5)secs and then destroys the gui!
Thanks,
Exsius,
I tried doing
p = script.Parent
gui = p.Gui
p.Touched:connect(function(hit)
plr = game.Players:findFirstChild(hit.Parent.Name)
gui:clone().Parent = plr.PlayerGui
wait(5)
gui:Remove()
end)
but it wouldn't destroy itself and disappear...

2 comments
Thank you alot! I truly appreciate your help! Thanks for taking your time to help me!
np