I wish to play this fade animation when the Event value in replicated storage is changed to 1. I realized from debugging that it is not going in this event even when the value is 1. Any ideas on why this is happening?
replicatedStorage:WaitForChild("Event"):GetPropertyChangedSignal("Value"):Connect(function()
if replicatedStorage:WaitForChild("Event").Value == 1 then
TweenService:Create(
Frame,
TweenInfo.new(2),
{BackgroundTransparency = 0}
):Play()
end
end)

5 comments
Also, the animation itself works!
You didn't include any code with the "GetPropertyChangedSignal" event.
Sorry, I fixed it now!
Is the value being changed in a local script? Also, what type of script are you using for the code provided?
the value is being chnaged in a server script in server script service and this script is in a server script in starter gui