How can I make a GUI that fades in after activating a prompt?

Hi, I’m trying to make a GUI that after activating a Proximity Prompt fades in, keeps the screen black for a bit and then plays a sound effect.

I right now have the intended result using a RemoteEvent minus the fade in part which is what I am looking for help on.

How would I achieve this?

TweenService :smiley:

local TweenService = game:GetService('TweenService')
local myTween = TweenService:Create([your gui], TweenInfo.new(1), {Transparency = 0})
myTween:Play()

i forgot how to use GUIs and tweenservice already but yeah, you should take a look at TweenService

3 Likes