|
| 11 Aug 2012 08:16 PM |
while true do game.Workspace.Part.Transparency = 1 wait(5) game.Workspace.Part.Locked = true wait(3) game.Workspace.Part.Transparency = 0 print("I did it!") --My first script!
And what would the correct script be? |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 11 Aug 2012 08:17 PM |
Put an end at the end of it.
while true do game.Workspace.Part.Transparency = 1 wait(5) game.Workspace.Part.Locked = true wait(3) game.Workspace.Part.Transparency = 0 print("I did it!") --My first script! end
For every "function", "if" or "do" in the script, you need 1 matching "end". |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2012 08:18 PM |
@dr01 She's right. You also forgot to use batch. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2012 08:20 PM |
| Oh right, I forgot about end for every function. Thanks. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 11 Aug 2012 08:20 PM |
@End: 1) I'm a boy. 2) Roblox only supports Lua. 3) Java <3. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2012 08:22 PM |
@dr01
Your avatar is misleading. Also, I know that roblox only supports lua. However, I was feeling a bit trollish with the batch today. Know what I'm sayin'?
~END OBESITY |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 11 Aug 2012 08:23 PM |
| My avatar is to look like my favourite singer, and ok... |
|
|
| Report Abuse |
|
|