of     2   
chevron_rightchevron_rightchevron_right

Reece709
#30067038Sunday, July 25, 2010 8:51 PM GMT

Why won't my nuke explode? This is the Touch script. debounce = true function onTouch(activate) if debounce == false then return end debounce = false script.Parent.Anchored = true wait(0.05) Boom2 = Instance.new("Explosion") Boom2.BlastRadius = 70 Boom2.Parent = game.Workspace Boom2.Position = script.Parent.Position wait(0.5) Boom2:Remove() Boom = Instance.new("Part") Boom.Parent = game.Workspace Boom.formFactor = 0 Boom.Shape = 0 Boom.BrickColor = BrickColor:Yellow() Boom.Position = script.Parent.Position Boom.Transparency = 0.3 Boom.Size = Vector3.new(4, 1, 4) Boom.Anchored = true Boom.TopSurface = "Smooth" Boom.BottomSurface = "Smooth" script.Parent.Transparency = 1 Script = script.Parent.Explosion SC = Script:clone() SC.Disabled = false SC.Parent = Boom Grow = script.Parent.Grow GC = Grow:clone() GC.Disabled = false GC.Parent = Boom Stay = script.Parent.Stay SC = Stay:clone() SC.Disabled = false SC.Parent = Boom Boom2 = Instance.new("Explosion") Boom2.BlastRadius = 70 Boom2.Position = script.Parent.Position wait(0.5) Boom2:Remove() wait(5) script.Parent.Parent:Remove() wait(100) end script.Parent.onTouched:connect(activate)
Reece709
#30067223Sunday, July 25, 2010 8:54 PM GMT

BUMP
harutsedo
#30067285Sunday, July 25, 2010 8:55 PM GMT

script.Parent.onTouched:connect(activate) should be script.Parent.Touched:connect(onTouch)
harutsedo
#30067286Sunday, July 25, 2010 8:55 PM GMT

script.Parent.onTouched:connect(activate) should be script.Parent.Touched:connect(onTouch)
Reece709
#30067864Sunday, July 25, 2010 9:01 PM GMT

Still not working.
Combrad
#30067951Sunday, July 25, 2010 9:02 PM GMT

script.Parent.Touched:connect(onTouch) *Facepalm* script.Parent.Touched:connect(activate)
harutsedo
#30068082Sunday, July 25, 2010 9:04 PM GMT

*facepalm* He has no function called activate.
Reece709
#30068185Sunday, July 25, 2010 9:06 PM GMT

So what shall I change?
Reece709
#30068497Sunday, July 25, 2010 9:10 PM GMT

BUMP
Reece709
#30069198Sunday, July 25, 2010 9:20 PM GMT

BUMP
Reece709
#30069822Sunday, July 25, 2010 9:29 PM GMT

BUMP
Reece709
#30077042Sunday, July 25, 2010 10:59 PM GMT

BUMP
Reece709
#30151632Monday, July 26, 2010 8:55 PM GMT

BUMP\
Reece709
#30764281Tuesday, August 03, 2010 3:45 PM GMT

Bump
Reece709
#30958365Thursday, August 05, 2010 10:32 PM GMT

BUMP
Fabunil
#30958484Thursday, August 05, 2010 10:33 PM GMT

no output no help
Reece709
#30958569Thursday, August 05, 2010 10:35 PM GMT

Fine. I'll give you the output.
sonic87612
#30958847Thursday, August 05, 2010 10:38 PM GMT

"Boom.BrickColor = BrickColor:Yellow()" should be "Boom.BrickColor = BrickColor.Yellow()" or "Boom.BrickColor = BrickColor.new(24)", and "script.Parent.onTouched:connect(activate)" should be "script.Parent.Touched:connect(onTouch)"
Reece709
#30958980Thursday, August 05, 2010 10:40 PM GMT

This is the output. Thu Aug 05 23:38:37 2010 - Running Script 'Touch' Thu Aug 05 23:38:38 2010 - attempt to call a nil value Thu Aug 05 23:38:38 2010 - Thu Aug 05 23:38:49 2010 - Start RestoreResolution Thu Aug 05 23:38:49 2010 - Done RestoreResolution
Reece709
#30959127Thursday, August 05, 2010 10:42 PM GMT

It works!!! Thank you so much Sonic!
Reece709
#30961523Thursday, August 05, 2010 11:14 PM GMT

No, it doesn't work.
Reece709
#30961586Thursday, August 05, 2010 11:14 PM GMT

Well it works but. I need it so it can fall through an open door.
NEMESZISZ
#30961653Thursday, August 05, 2010 11:15 PM GMT

BOOMM :3
Reece709
#30961704Thursday, August 05, 2010 11:16 PM GMT

Um..... Why was that nessesary?
Mew15
#30962077Thursday, August 05, 2010 11:21 PM GMT

of course nemisis makes his first post on the the fourms spam

    of     2   
chevron_rightchevron_rightchevron_right