I have a script that uses a RemoteEvent to cause the transparency of some TextLabels to fade out, I can get the first one to, but when it comes onto the second, nothing happens, it doesn't even continue on after the first fade, I am finding the second TextLabel using instances and I tested if it actually finds the second TextLabel and it does. Could someone point out what I'm doing wrong?
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEventTest")
local StarterGui = game:GetService("StarterGui")
local Menu = StarterGui:FindFirstChild("Menu")
local Text2 = Menu:FindFirstChild("Text2")
local TweenService = game:GetService('TweenService')
local function guitween()
wait(3)
TweenService:Create( script.Parent, TweenInfo.new(2), {BackgroundTransparency = 1}):Play()
TweenService:Create( script.Parent, TweenInfo.new(2), {TextTransparency = 1}):Play()
wait(7)
TweenService:Create( Text2, TweenInfo.new(2), {BackgroundTransparency = 1}):Play()
TweenService:Create( Text2, TweenInfo.new(2), {TextTransparency = 1}):Play()
end
RemoteEvent.OnClientEvent:Connect(guitween)
