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
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
| |
|
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
|
  |
| Joined: 06 May 2007 |
| Total Posts: 2765 |
|
| |
|
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
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
| |
|
human
|
  |
| Joined: 06 May 2007 |
| Total Posts: 2765 |
|
| |
|
|
| 03 Aug 2012 08:59 PM |
| 'eof expected near end' means remove that end, derp. |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|