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 » Scripters
Home Search
 

Re: so explosions

Previous Thread :: Next Thread 
Coinman001 is not online. Coinman001
Joined: 10 Apr 2012
Total Posts: 56149
08 Mar 2015 07:15 PM
so im using instance.new to bring in an explosion into a part

but the explosion is only occuring in the middle of the map

send trades!!!
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
08 Mar 2015 07:16 PM
did you parent it into the part


those four years of wumbology are really paying off
Report Abuse
Coinman001 is not online. Coinman001
Joined: 10 Apr 2012
Total Posts: 56149
08 Mar 2015 07:17 PM
ye

send trades!!!
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
08 Mar 2015 07:19 PM
obviously wrongly

script now


those four years of wumbology are really paying off
Report Abuse
Coinman001 is not online. Coinman001
Joined: 10 Apr 2012
Total Posts: 56149
08 Mar 2015 07:20 PM
wait so here it is

local self = script.Parent
function ontouch(plr)
if plr.Name == "missilepart" then
local explo = Instance.new("Explosion", plr)
explo.
wait(0.5)
plr:Destroy()
end
end
self.Touched:connect(ontouch)

send trades!!!
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
08 Mar 2015 07:22 PM
explo. wait what

parent it inside the torso or somewhere on the player


those four years of wumbology are really paying off
Report Abuse
lordrex12345 is not online. lordrex12345
Joined: 15 Oct 2008
Total Posts: 310
08 Mar 2015 07:23 PM
You have to set the position of the explosion. Here's an example of an explosion located at a part.

wait(5)
boom = Instance.new("Explosion")
boom.Parent = script.Parent
boom.BlastPressure = 500
boom.BlastRadius = 4
boom.Position = script.Parent.Position -- This is important
Report Abuse
Coinman001 is not online. Coinman001
Joined: 10 Apr 2012
Total Posts: 56149
08 Mar 2015 07:23 PM
o explo was nothing i was just tryna figure out wat was wrong

send trades!!!
Report Abuse
memorycode is not online. memorycode
Joined: 24 Sep 2011
Total Posts: 3322
08 Mar 2015 07:30 PM
i meant to say position not parent i couldn't remember it qq

seriously


those four years of wumbology are really paying off
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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