generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

How do I fix this

Previous Thread :: Next Thread 
Virtuex is not online. 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 is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
24 Sep 2011 09:08 PM
Gui2 consists of 24 text buttons

-VX, Virtuex
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
24 Sep 2011 09:09 PM
It is very obvious what the problem is if you just read the output.
Report Abuse
nate890 is not online. 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
DihydrogenOxide is not online. DihydrogenOxide
Joined: 20 Feb 2011
Total Posts: 642
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 is not online. 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 is not online. 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
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
24 Sep 2011 09:10 PM
@nate

do
print("freaking rabbits")
end


>freaking rabits
Report Abuse
nate890 is not online. 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
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image