Virtuex
|
  |
| Joined: 23 Mar 2011 |
| Total Posts: 4056 |
|
|
| 24 Sep 2011 09:07 PM |
the output says:
Sat Sep 24 22:06:10 2011 - Workspace.Script:13: 'end' expected (to close 'function' at line 1) near 'eof'
Script:
function onClicked() for i = 1,10 do print("Script Loaded")
g = game.StarterGui.Crafting.Gui.CRAFT
if g:Clicked() then do Gui2.Transparency = 0
tab tab tab| end tab tab| end tab| end
-VX, Virtuex |
|
|
| Report Abuse |
|
|
Virtuex
|
  |
| Joined: 23 Mar 2011 |
| Total Posts: 4056 |
|
|
| 24 Sep 2011 09:08 PM |
Gui2 consists of 24 text buttons
-VX, Virtuex |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2011 09:09 PM |
| It is very obvious what the problem is if you just read the output. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 24 Sep 2011 09:09 PM |
"if g:Clicked() then do"
wut?
f g:Clicked() then
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2011 09:10 PM |
Your first problem is that your script makes no sense at all.
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and breaker of combos::]- |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 24 Sep 2011 09:10 PM |
Gui2.Transparency BackgroundTransparency
g:Clicked
g.MouseButton1Down:connect(function() print("click") end)
??
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 24 Sep 2011 09:10 PM |
Gui2.Transparency BackgroundTransparency
g:Clicked
g.MouseButton1Down:connect(function() print("click") end)
??
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2011 09:10 PM |
@nate
do print("freaking rabbits") end
>freaking rabits |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 24 Sep 2011 09:12 PM |
@King, I'm aware of that, but why is 'do' even needed in that case?
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2011 09:13 PM |
| It's not, I'm just saying that you can do that without error (as long as you close it!) |
|
|
| Report Abuse |
|
|