i know how to make a gui appear when a part is touched, but i want the gui to fade in and then fade out but i'm not sure how to add that? would it work with the script i have?
this is the script i currently have, but it doesnt fade
Popup = script.Parent.ScreenGui
Ready = true
function onTouch(hit)
local h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil and Ready == true then
Ready = false
local plyr = game.Players:FindFirstChild(h.Parent.Name)
local c = Popup:clone()
c.Parent = plyr.PlayerGui
wait(3)
c:remove()
wait(1)
Ready = true
end
end
