The script now works in a way, It does part of what I want but I have another frame in the GUI that I also want faded, I can't put the script in both frames because it only works for the second one for some reason, I also need to change the text transparency of text labels that are children of the frames, using the same script but with text transparency won't work at all.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent")
local TweenService = game:GetService('TweenService')
local function guitween()
wait(7)
TweenService:Create( script.Parent, TweenInfo.new(2), {BackgroundTransparency = 1}):Play()
end
RemoteEvent.OnClientEvent:Connect(guitween)

1 comment
you didnt even put any code to receive the remote call!!