Hey there. I am certain your question has probably been asked before, however here is the issue with your script. Text.Transparency can be a value that is equakl to an integer between 0 and 1. Instead of -=-1 for the visible
do 0
script.Parent.Credits.TextTransparency = 1
for loop = 10, 1,-1
do
wait(0.1)
script.Parent.Credits.TextTransparency = 0
print(“works”)
end
You need to fix the part that is
script.Parent.Credits.TextTransparency -= 1
To this:
script.Parent.Credits.TextTransparency = - 1
I think that is your error.
Make sure you are also adjusting TextStrokeTransparency.
Just add a new line below the other two, and make sure to adjust it. Otherwise, I have very little context regarding where the script is, whether it is a local script, etc…
You said, you want the text to “appear not fade”, however you have it in a loop that is meant to fade it in and out. Which one are you trying to do? Fading text or just appear disappear no transition?
script.Parent.Credits.TextTransparency = 1
local Trans = 1
for I = 1, 10 do
wait(0.1)
Trans = Trans - 0.1
script.Parent.Credits.TextTransparency = Trans
end
print("Ran")
Change the wait for longer or shorter times.
Use TweenService if you want smooth transitions.
script.Parent.Credits.TextTransparency = 1
local Trans = 1
for I = 1, 10 do
wait(0.1)
Trans = Trans - 0.1
script.Parent.Credits.TextTransparency = Trans
end
print("Ran")
Try that again, check the output (F9) for other information
Yes this is it
Until now, I’d been ioperating under the principle, as his original post stated that the OP didn’t want it to fade. Yes the issue is that there is no shorthand operator for x = x-y. You have to type it all the way out.