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

How would I fix this loop script for texttransparency?

Asked by 5 years ago

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

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. alphawolvess 1784 — 5y
0
It’s auto correct isues Eyelesstiamat 7 — 5y
0
The hole script doesnnt work Eyelesstiamat 7 — 5y
0
hey try my answer TheRealPotatoChips 793 — 5y
0
Wait I edited my answer now try it TheRealPotatoChips 793 — 5y

2 answers

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

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.

Ad
Log in to vote
0
Answered by 5 years ago

You are Missing a few Capitals like Parent,Transparency ect

Answer this question