Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to fix TextTransparency problem intro gui. Any fixes?

I've been having a problem with creating intros. Everytime I do "game.StarterGui.Frame.TextLabel.TextTransparency = ("0.1") wait(1) game.StarterGui.Frame.TextLabel.TextTransparency = ("0.3")"

It only works in "Run" in roblox studio.

Any fixes?

1 answer

✓ Accepted answer

The transparency values have to be actual numbers, not in string format. MAKE SURE IT IS A LOCAL SCRIPT IN STARTERGUI OR IT WON'T WORK Also you must use the PlayerGui instead of the StarterGui. For example:

local player = game.Players.LocalPlayer
local playergui = player:WaitForChild("PlayerGui")
playergui.Frame.TextLabel.TextTransparency = 0.1 --Removed the brackets and speech marks to change it to numbers instead of string format.
wait(1) 
playergui.Frame.TextLabel.TextTransparency = 0.3 --Removed the brackets and speech marks to change it to numbers instead of string format.

2 comments

0

Thank you!

0

np :)

This discussion is preserved as it was. New answers, comments, and votes are closed.