i have this code and the transparency wont go up for some reason
wait (1)
script.Parent.Transparency + 1
wait (1)
script.Parent.Transparency + 1
wait (1)
print ("DONE")
i have this code and the transparency wont go up for some reason
wait (1)
script.Parent.Transparency + 1
wait (1)
script.Parent.Transparency + 1
wait (1)
print ("DONE")
90% sure this is a troll but heres what you're doing wrong:
You're only performing arithmetic, you should also be changing the actual Transparency property.
Here's what I mean:
wait(1)
script.Parent.Transparency = script.Parent.Transparency + 1
print("Done")
Also keep in mind that Transparency is from 0-1, so if you want to give a fading in effect, i'd use 0.1 .
Also check out tweenService or Lerp, might be better for ya.
https://developer.roblox.com/en-us/api-reference/class/TweenService
still doesn't work there was a error that said user data something
Must be a different script you have mate. The one you posted has nothing to do with UserData. Unless, script.Parent doesn't have a transparency property or something.
dude post a scrip tthat works your slowing down my developement
We do not ask for people to make scripts for us, we provide help, we don't do it for you.
now this is what I call an epic gamer moment
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Psudar's answer should've worked, it might be that the scripts parent doesn't have a transparency property.
give me the solution LUL