I've created a script that, upon click of "ClickyClick", makes a TextLabel gradually increase its transparency and all of my prints work except the text doesn't appear
function ChangeOfMoneyGui(clicker)
db = 0
print("function connected")
if db == 0 then
db = 1
print("debounce active")
local plrg = clicker:FindFirstChild("PlayerGui")
local mc = plrg.ChangeOfMoney.MoneyChangeFrame.MoneyChange
local tt = mc.TextTransparency
local st = mc.TextStrokeTransparency
visible = false
if visible == false then
print("visible = true")
visible = true
appear(tt)
appear(st)
wait(2)
disappear(tt)
disappear(st)
visible = false
end
end
end
game.Workspace.ClickyClick.ClickDetector.MouseClick:connect(ChangeOfMoneyGui)
function appear(transparency)
print("appear function called")
for i = 1, 0, .05 do
transparency = i
end
end
function disappear(transparency)
print("disappear function called")
for i = 0, 1, .05 do
transparency = i
end
end

1 comment
messed up on title, function did connect except the text just won't appear