4erfourer
|
  |
| Joined: 12 Jan 2008 |
| Total Posts: 10841 |
|
|
| 30 Jul 2011 03:36 PM |
Workspace.Part.Script:1: function arguments expected near 'function'
What are arguments? |
|
|
| Report Abuse |
|
|
Spectrumz
|
  |
| Joined: 22 Mar 2011 |
| Total Posts: 4338 |
|
|
| 30 Jul 2011 03:38 PM |
function nom(num1, num2) --num1 and num2 are arguments
Instance.new("Part") --Part is an argument
Arguments are usually found inside of parenthesis. |
|
|
| Report Abuse |
|
|
dfreeze13
|
  |
| Joined: 01 Mar 2010 |
| Total Posts: 39 |
|
|
| 30 Jul 2011 03:46 PM |
| basicly, u need to put an open and closed parenthesis after your function name :) |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2011 03:50 PM |
function onTouched(hit) Hit is the argument, it's enclosed in parentheses (usually) after you name your function. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2011 04:05 PM |
if you accidentally did
part:clone
instead of
part:clone()
you would get that error. |
|
|
| Report Abuse |
|
|