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

How would I fix this loop script for texttransparency?

Here is my script

1.  Wait(23)
2.   For I = 0.1,3,+0.1
3.         Script.parent:waitforchild(“textlabel”)
4.         Script.parent.textlabel.texttransparency = I
5.         Wait(0.1)
6.   End

This script won’t work any ideas how to fix it

5 comments

0

Can you modify your script to exactly match what you have in game? This one contains numbers at the start and capitalization of keywords.

0

It’s auto correct isues

0

The hole script doesnnt work

0

hey try my answer

0

Wait I edited my answer now try it

2 answers

✓ Accepted answer

You don't need the + in the loop:

Wait(23)

for i = 0.1, 3, 0.1 do
	Script.parent:WaitForChild(“textlabel”)
	Script.parent.textlabel.TextTransparency = i
	Wait(0.1)
end

And I corrected a few capital letters. Also, the i in the loop doesn't need to be capitalized. You need a "do" at the end of the loop line.

You are Missing a few Capitals like Parent,Transparency ect

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