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: Im new to scripting and I have a quick question.

Previous Thread :: Next Thread 
4erfourer is not online. 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 is not online. 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 is not online. 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
gogohappy754 is not online. gogohappy754
Joined: 10 Jan 2009
Total Posts: 1474
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
chikenugget is not online. chikenugget
Joined: 09 May 2009
Total Posts: 2552
30 Jul 2011 04:05 PM
if you accidentally did

part:clone

instead of

part:clone()

you would get that error.
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