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: Explosion Position

Previous Thread :: Next Thread 
Afr1c4n is not online. Afr1c4n
Joined: 12 Jul 2011
Total Posts: 223
13 Apr 2014 05:42 AM
I've made an explosion in a script using this:



Instance.new ("Explosion" , Player.Character.Torso).BlastPressure = 0

It explodes fine but it doesn't explode where the torso is. Its not in theright position. Could someone help me with this?


Report Abuse
Spongocardo is not online. Spongocardo
Joined: 06 Sep 2008
Total Posts: 2843
13 Apr 2014 05:43 AM
local ex = Instance.new("Explosion"), Player.Character.Torso)
ex.BlastPressure = 0
ex.Position = ex.Parent.Position

When life gives you lemons... BURN HIS HOUSE DOWN! >:D
Report Abuse
Spongocardo is not online. Spongocardo
Joined: 06 Sep 2008
Total Posts: 2843
13 Apr 2014 05:44 AM
Derp, here's the fixed script:

local ex = Instance.new("Explosion", Player.Character.Torso)
ex.BlastPressure = 0
ex.Position = ex.Parent.Position

When life gives you lemons... BURN HIS HOUSE DOWN! >:D
Report Abuse
Afr1c4n is not online. Afr1c4n
Joined: 12 Jul 2011
Total Posts: 223
13 Apr 2014 06:21 AM
Thanks, if I'm using a keydown function and wanted to stop it from being spammed, would I use a debounce?
Report Abuse
Spongocardo is not online. Spongocardo
Joined: 06 Sep 2008
Total Posts: 2843
13 Apr 2014 08:04 AM
Yeah.

When life gives you lemons... BURN HIS HOUSE DOWN! >:D
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