|
| 17 Aug 2013 12:59 AM |
local bomb = Instance.new("Part") Bomb.Name = "Bomb" Bomb.BrickColor = BrickColor.new("Really black") Bomb.Anchored = false Bomb.Parent = Workspace Bomb.Position = Vector3.new(-20.6,11.3,-10.6)
How would I modify the script?
|
|
|
| Report Abuse |
|
|
|
| 17 Aug 2013 01:12 AM |
| Oh after local I changed "bomb" to "Bomb" which helps a small error I had of it not respawning at my vector3 code. |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2013 01:17 AM |
| Add an explode function that works on touch. |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 17 Aug 2013 01:19 AM |
bomb.Touched:connect(function(hit) --code --code --your a frub --code --code end) |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2013 01:19 AM |
| I went to borrowing someone's explode on touch (Humanoid) brick and changed it to explode on touch for the Baseplate. I just need to make it so after it explodes it poofs away. |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 17 Aug 2013 01:20 AM |
bomb:destroy()
oh and then since you're special:
while true do end |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2013 01:23 AM |
| Don't add in the while true do end unless you'd like to be crashed <3 |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 17 Aug 2013 01:24 AM |
@Above
I would have had him do it if it weren't for you melding kids |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Aug 2013 01:26 AM |
@Tobo
I just died.
Thank you <3 |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 17 Aug 2013 01:26 AM |
lul
-- ps I would add a wait(.5) or sumting dere to add an effect to the bomb #sweg |
|
|
| Report Abuse |
|
|
| |
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 17 Aug 2013 01:57 AM |
Nop you were going to do .6341321323812093820319283471
Pfft crazy hippies these days |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2013 02:01 AM |
| Oi ToboboT You forgot "and that dog" If you`re going to do it, Do it right. |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 17 Aug 2013 02:03 AM |
White, I haven't watched that show in about
local timesince = math.random(3,5)
print'White, I haven't watched that show in about '..timesince.." years..." |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 17 Aug 2013 02:40 AM |
| Use the on touched event, and make it to where if it touches a part (not player) it goes boom. |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2013 04:19 AM |
Try this:
script.Parent.Touched:connect(function() b = Instance.new("Explosion") b.Parent = script.Parent wait(0.5) script.Parent:remove() end) |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 17 Aug 2013 10:22 AM |
| Yoshi then he can never use it again and also don't use remove, it doesn't just "go" away. |
|
|
| Report Abuse |
|
|