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
 

Re: Simple problem, I think

Previous Thread :: Next Thread 
Boomboy45 is not online. Boomboy45
Joined: 12 Oct 2008
Total Posts: 3720
03 Aug 2012 08:52 PM
Simple script - I am pretty new to Lua coding.


This is lines 34-40. 40 is the last line in the script.

script.Parent.Reload.Value = false
elseif script.Parent.Reload.Value == true then
return end
end
end ------------This is 38, the problem line

script.Parent.MouseButton1Click:connect(onClik)
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
03 Aug 2012 08:53 PM
Output please.
Report Abuse
Boomboy45 is not online. Boomboy45
Joined: 12 Oct 2008
Total Posts: 3720
03 Aug 2012 08:53 PM
Whoops, forgot the Output:

Workspace.Challenger.Tank.Plane.Body.MGunnerSeat.FIRE.SmokeLauncher.SmokeScript:38: eof expected near end

It is having an error when I click post, so I am removing some symbols that may be causing it.
Report Abuse
human is not online. human
Joined: 06 May 2007
Total Posts: 2765
03 Aug 2012 08:54 PM
add another end
Report Abuse
Boomboy45 is not online. Boomboy45
Joined: 12 Oct 2008
Total Posts: 3720
03 Aug 2012 08:56 PM
Didn't work. Even with the additional end, it returns the same output.
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
03 Aug 2012 08:58 PM
remove a end
Report Abuse
human is not online. human
Joined: 06 May 2007
Total Posts: 2765
03 Aug 2012 08:59 PM
^ NOU

k nvm then :P
Report Abuse
NinjamanJosh is not online. NinjamanJosh
Joined: 13 Jan 2010
Total Posts: 445
03 Aug 2012 08:59 PM
'eof expected near end' means remove that end, derp.
Report Abuse
Boomboy45 is not online. Boomboy45
Joined: 12 Oct 2008
Total Posts: 3720
03 Aug 2012 09:02 PM
Yea, I see ninja.

As I said, I'm new to Lua writing.

Lesson learned, and it works nicely now.
Report Abuse
NinjamanJosh is not online. NinjamanJosh
Joined: 13 Jan 2010
Total Posts: 445
03 Aug 2012 09:04 PM
Ah ok.
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