Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fix TextTransparency problem intro gui. Any fixes?

Asked by 5 years ago

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

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

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.
0
Thank you! brooks06 4 — 5y
0
np :) MaximumOverdriven 152 — 5y
Ad

Answer this question