--//Varibles\\-- local Plr = game.Players.LocalPlayer local repStorage = game:GetService("ReplicatedStorage") local RemoteFolder = repStorage:WaitForChild("RemoteEvents") local UI = Plr:WaitForChild("PlayerGui") local Gui = UI:WaitForChild("PlrUI") local function TextRemote() repeat wait(0.01) Gui.Title.TextTransparency = Gui.Title.TextTransparency - 0.01 Gui.Title.Title.TextTransparency = Gui.Title.Title.TextTransparency - 0.01 until Gui.Title.TextTransparency == 0 do end end RemoteFolder.TextRemote.OnClientEvent:Connect(TextRemote)
It keeps going until the transparancy is in the -1 and it just keeps going
I would recommend doing
until Gui.Title.TextTransparency <= 0
this way, if it by chance goes past 0, it will still stop, I have run into this problem before so this should help. and if your trying to make it become less transparent faster replace
wait(0.01)
with
wait()
this will work without crashing your game