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: I'm a beginner in scripting.. (This script wont work?!)

Previous Thread :: Next Thread 
rahmi2008 is not online. rahmi2008
Joined: 05 Jul 2010
Total Posts: 212
01 Apr 2012 08:47 AM
f = Instance.new("Explosion") f.Parent = Workspace.rahmi2008.Torso

Someone plzzz tell me what I am doing wrong?!

lolz. explosion..
Report Abuse
kirkyturky12 is not online. kirkyturky12
Joined: 30 Apr 2010
Total Posts: 1915
01 Apr 2012 08:49 AM
f = Instance.new("Explosion") f.Parent = Workspace.rahmi2008.Torso f.position = Workspace.rahmi2008.Torso.Position
Report Abuse
rahmi2008 is not online. rahmi2008
Joined: 05 Jul 2010
Total Posts: 212
01 Apr 2012 08:51 AM
That didn't work either?! :O
Report Abuse
jaybejay is not online. jaybejay
Joined: 24 Oct 2010
Total Posts: 594
01 Apr 2012 09:12 AM
Really, i only know scripting when i got studio, but mines broke, try:

f = Instance.new("Explosion").Parent = Workspace.rahmi2008.Torso --Line1
f.position = Workspace.rahmi2008.Torso.Position --New line2


Thanks,
Jaybejay :)
~JMail I like :3
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
01 Apr 2012 09:13 AM
Correct but you need a capital P for Position. Even scripts are grammar sensitive :3
Report Abuse
jaybejay is not online. jaybejay
Joined: 24 Oct 2010
Total Posts: 594
01 Apr 2012 09:15 AM
I had a capital P - We all did :3

Thanks,
Jaybejay :)
~JMail I like :3
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
01 Apr 2012 09:18 AM
You are a bad liar.

f = Instance.new("Explosion")
f.Parent = Workspace.rahmi2008.Torso
f.Position = Workspace.rahmi2008.Torso.Position

Your script failed because you did this:

f = Instance.new("Explosion").Parent = Workspace.rahmi2008.Torso
Report Abuse
tehepicford is not online. tehepicford
Joined: 26 Aug 2011
Total Posts: 1486
01 Apr 2012 09:20 AM
Or save time



f = Instance.new("Explosion", Workspace.tehepicford.Head
f.Position = Workspace.tehepicford.Head.Position
Report Abuse
tehepicford is not online. tehepicford
Joined: 26 Aug 2011
Total Posts: 1486
01 Apr 2012 09:20 AM
Forgot the closing brackets.
Report Abuse
jaybejay is not online. jaybejay
Joined: 24 Oct 2010
Total Posts: 594
01 Apr 2012 10:14 AM
Oooops - Told ya i needed studio - the computer i was on didnt have it.
Report Abuse
jaybejay is not online. jaybejay
Joined: 24 Oct 2010
Total Posts: 594
01 Apr 2012 10:15 AM
game.Workspace.jaybejay:remove()

--Im embarresed!
Report Abuse
43max43 is not online. 43max43
Joined: 05 Mar 2012
Total Posts: 191
01 Apr 2012 11:24 AM
game.Workspace.jaybejay:DESTROY()

--Your embarresed. AND DESTORYED >:)
Report Abuse
jode6543 is not online. jode6543
Joined: 16 Jun 2009
Total Posts: 5363
01 Apr 2012 11:25 AM
@Max
a) :Destroy()
b) :remove() Still works, it is just deprecated. :P
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