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

[SImple] Why is this text not showing up?

Asked by 10 years ago

Okay this is working yet I just need to know why the TextTransparency returns 1 insted of 0 so the Player may see the Gui's Text.

local Tween1='Out'
local Tween2='Quad'
local Tween3=1
------------------
function UpValue()
script.Parent:TweenSize(UDim2.new(0.6,0,0.5,0),Tween1,Tween2,Tween3)
local Rot=0
for i=0,1,-0.1 do
print(i)
wait(0.001)
script.Parent.Text.TextTransparency=i
script.Parent.LName.TextTransparency=i
script.Parent.ImageButton.ImageTransparency=i
end
while wait() do
Rot=Rot+1.5
if script.Parent.Rotation==360 then
print('Broke loop')
Rot=0
break
else
script.Parent.Rotation=Rot
end
end--Rot
end

wait()
UpValue()

Answer this question