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: Lets say I wanted to....

Previous Thread :: Next Thread 
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
01 Feb 2012 09:19 PM
Make an explosion where the mouse clicked...and it is a tool

game.StarterPack.explode.Selected:connect(function(ms)
ms.Button1Down:connect(function(ms)
e = Instance.new("Explosion", game.Workspace).Position = -- this part
end)
end)
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
01 Feb 2012 09:25 PM
Why don't you parent the explosion to where you want it to explode? I really never used explosion that much but are you trying to parent it to a part?
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
01 Feb 2012 09:30 PM
I want it to explode where I click d:<
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
01 Feb 2012 09:31 PM
Also no, I do not care too much what the parent is, nor does that relate to where the position of the explosion is.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
01 Feb 2012 09:33 PM
OHHH I COULD SO HELP YOU IF I KNEW THAT NEW EVENT/Method!

There's a method where you can find what got cllicked. Would really help in this situation! Though, I don't know it. You'll have to find it.

Sorry :O
Report Abuse
Phellem is not online. Phellem
Joined: 04 Aug 2011
Total Posts: 1984
01 Feb 2012 09:36 PM
Lets not use a tag.
Instance.new("Explosion",workspace).Position=ms.Target.Position

I cant remember if it is mouse.Target.Position or mouse.Hit.p

Test it out and tell me the result.
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
01 Feb 2012 09:36 PM
You nob D:< fine fine, i'll ask around.
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
01 Feb 2012 09:38 PM
mouse.Hit.p worked...thanks man :D
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
01 Feb 2012 09:40 PM
You could also do that. But, meh.
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