|
| 10 Feb 2017 03:44 PM |
Hello, I can't seem to figure why this script won't work. It took me days to make this work, and presently I'm upset because ROBLOX broke my script.
game.Workspace.Part.Transparency = 0.1 wait(0.1) game.Workspace.Part.Transparency = 0.2 wait(0.1) game.Workspace.Part.Transparency = 0.3 wait(0.1) game.Workspace.Part.Transparency = 0.4 wait(0.1) game.Workspace.Part.Transparency = 0.5 wait(0.1) game.Workspace.Part.Transparency = 0.6 wait(0.1) game.Workspace.Part.Transparency = 0.7 wait(0.1) game.Workspace.Part.Transparency = 0.8 wait(0.1) game.Workspace.Part.Transparency = 0.9 wait(0.1) game.Workspace.Part.Transparency = 0.10
P.S. I've been studying a lot of grammar and my friend evilbagelnoob (who is American and Peruvian) translated my Spanish to English.
- evildonutnoob |
|
|
| Report Abuse |
|
|
| |
|
JoshRBX
|
  |
| Joined: 19 May 2012 |
| Total Posts: 8778 |
|
|
| 10 Feb 2017 03:47 PM |
for i=.1,1,.1 do wait(.1) workspace.Part.Transparency = i end
|
|
|
| Report Abuse |
|
|
|
| 10 Feb 2017 03:49 PM |
@JoshRBX thank you for posting a new code but can i see steps to fix it so I become a better scripter and the mistake i do wrong. Sorry if I waste your time or anything
- evildonutnoob |
|
|
| Report Abuse |
|
|
| |
|
JoshRBX
|
  |
| Joined: 19 May 2012 |
| Total Posts: 8778 |
|
|
| 10 Feb 2017 03:51 PM |
http://wiki.roblox.com/index.php?title=Loops&redirect=no#For
|
|
|
| Report Abuse |
|
|
edenDeden
|
  |
| Joined: 29 Jul 2016 |
| Total Posts: 370 |
|
|
| 10 Feb 2017 03:52 PM |
try making the 0.1 to 1 maybe until you join the part is already transperant
|
|
|
| Report Abuse |
|
|
|
| 10 Feb 2017 03:52 PM |
| # for-loop can have 3 arguments, with the third being optional. for i = a,b,c do # is the initial value for "i" b is the value for i that will make the loop stop. # ## how much "i" will be incremented in each iteration, if it is not given, it becomes 1 by default. |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2017 03:53 PM |
| Why Roblox, do you delete all my line breaks and indentations?! |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2017 03:53 PM |
@JoshRBX i dont understand at all i am not at this part of tutorial yet Sorry @edenDeden change 0.1 to 1 wont work because 9+1 is 10 |
|
|
| Report Abuse |
|
|
edenDeden
|
  |
| Joined: 29 Jul 2016 |
| Total Posts: 370 |
|
|
| 10 Feb 2017 03:55 PM |
the wait change it to wait(1)
|
|
|
| Report Abuse |
|
|
JoshRBX
|
  |
| Joined: 19 May 2012 |
| Total Posts: 8778 |
|
|
| 10 Feb 2017 03:56 PM |
@eden I can see you're trying to help but you might also want to take a look at for loops.
|
|
|
| Report Abuse |
|
|
edenDeden
|
  |
| Joined: 29 Jul 2016 |
| Total Posts: 370 |
|
|
| 10 Feb 2017 03:56 PM |
make a veriable time = 1 wait(time) will save you some time...but using their loops will save even more time
|
|
|
| Report Abuse |
|
|
edenDeden
|
  |
| Joined: 29 Jul 2016 |
| Total Posts: 370 |
|
|
| 10 Feb 2017 03:57 PM |
yeah ik this but he dont understant for loops iam talking in his understanding step by step...
|
|
|
| Report Abuse |
|
|
|
| 10 Feb 2017 03:57 PM |
@edenDeden i change into wait(0.1)(1) but it wont work properly and give me error. please i need someone and fix it if this will be too much to ask
- evildonutnoob |
|
|
| Report Abuse |
|
|
edenDeden
|
  |
| Joined: 29 Jul 2016 |
| Total Posts: 370 |
|
|
| 10 Feb 2017 03:59 PM |
you know that 0.1 and 0.10 is the same thing -_-
|
|
|
| Report Abuse |
|
|
|
| 10 Feb 2017 04:02 PM |
@edenDeden 0.1 and 0.10 are not same 0.10 has extra zero type on calculator and they look differently if you dont believe i am start to think you want to fool me with all your trick's
-evildonutnoob |
|
|
| Report Abuse |
|
|
edenDeden
|
  |
| Joined: 29 Jul 2016 |
| Total Posts: 370 |
|
| |
|
JoshRBX
|
  |
| Joined: 19 May 2012 |
| Total Posts: 8778 |
|
| |
|
|
| 10 Feb 2017 04:58 PM |
calculate difference:
number1 - numberb = difference
0.10 - 0.1 = 0
therefore, there is no difference between 0.10 and 0.1
Honestly, I don't know why your script wouldn't work. Is there a part called "Part" in workspace? What does the output say? |
|
|
| Report Abuse |
|
|
LukeLua
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 3179 |
|
|
| 10 Feb 2017 05:00 PM |
Just use a simple for loop dude. and change the value by 0.1 each time.
|
|
|
| Report Abuse |
|
|
Treeecow
|
  |
| Joined: 10 Jun 2011 |
| Total Posts: 5161 |
|
|
| 10 Feb 2017 05:41 PM |
"@edenDeden 0.1 and 0.10 are not same 0.10 has extra zero type on calculator and they look differently if you dont believe i am start to think you want to fool me with all your trick's"
ok what lol |
|
|
| Report Abuse |
|
|