So I was trying to make a loading screen for my game (which is working fine) but when I am tweening the transparency of the loading screen gui it just doesn’t work and I don’t now why, The Parent of the script is ReplicatedFirst and the child of the script is the loading gui.
Script (Local Script):
local TS = game:GetService("TweenService")
local LoadingGui = script.LoadingGui
local MainMenuGui = script.MainMenuGui
ReplicatedFirst:RemoveDefaultLoadingScreen()
local clonedGui = LoadingGui:Clone()
clonedGui.IgnoreGuiInset = true
clonedGui.Parent = game:GetService("Players").LocalPlayer.PlayerGui
if not game:IsLoaded() then
game.Loaded:Wait()
end
wait(1) --shorten currently
clonedGui.TextLabel.Text = "Loaded!"
wait(1)
TS:Create(clonedGui.LoadingFrame, TweenInfo.new(1), {Transparency = 1})
TS:Create(clonedGui.TextLabel, TweenInfo.new(1), {Transparency = 1})