of     1   

RealPersa
#141243309Wednesday, July 23, 2014 4:45 AM GMT

-- BRICK BlastPart = Instance.new("Part") BlastPart.Parent = game.Workspace BlastPart.FormFactor = "Custom" BlastPart.Size = Vector3.new(1,1,1) BlastPart.Transparency = 1 BlastPart.Anchored = true BlastPart.CanCollide = false BlastPart.Position = Player.Character.Torso.Position print("omg why won't this work") -- MESH BlastMesh = Instance.new('SpecialMesh', BlastPart) BlastMesh.MeshId = 'http://www.roblox.com/asset/?id=1080954' BlastMesh.TextureId = 'http://www.roblox.com/asset/?id=37856148' -- FLASH Flash= Instance.new('PointLight', BlastPart) Flash.Parent = BlastPart Flash.Enabled = true Flash.Brightness = 100 Flash.Range = 100 Flash.Color = Color3.new (255/255, 170/255, 0/255) -- EXPLOSION Explosion = Instance.new('Explosion', BlastPart) Explosion.BlastPressure = 0 Explosion.BlastRadius = 0 Explosion.Position = Player.Character.Torso.Position It doesn't seem to do any of that, but there are no script errors. I even put in a print, which comes out on the output, even though it doesn't do any of the functions. I don't see any brick being made in the Workspace, or any lights or explosions following it. ~ !دست از سرم بردار ~ مانند یک گانگستر واقعی ~
RealPersa
#141243468Wednesday, July 23, 2014 4:47 AM GMT

Oh, and what it's supposed to do is create a part and put a mesh, explosion, and pointlight into it and put it where the torso is when you click a GUI button. It does some other things after that, but I didn't include it because those things work. ~ !دست از سرم بردار ~ مانند یک گانگستر واقعی ~
RealPersa
#141303212Wednesday, July 23, 2014 8:12 PM GMT

b ~ !دست از سرم بردار ~ مانند یک گانگستر واقعی ~
KEVEKEV77
#141303372Wednesday, July 23, 2014 8:14 PM GMT

try making it... visible first?
KEVEKEV77
#141303439Wednesday, July 23, 2014 8:15 PM GMT

BlastPart.Transparency = 1; change to BlastPart.Transparency = 0;
RealPersa
#141303476Wednesday, July 23, 2014 8:15 PM GMT

The brick doesn't even appear in the explorer ~ !دست از سرم بردار ~ مانند یک گانگستر واقعی ~
KEVEKEV77
#141303561Wednesday, July 23, 2014 8:16 PM GMT

can I see the GUI code?
KEVEKEV77
#141303624Wednesday, July 23, 2014 8:17 PM GMT

I don't see any definitions of Player. Explosion.Position = Player.Character.Torso.Position Please post the full script.
truman89
#141303726Wednesday, July 23, 2014 8:18 PM GMT

First of all, you need to have a function. Second, you need a way of calling that function. For the sake of simplicity, I'll demonstrate with the Touched event. function onTouch() -- BRICK BlastPart = Instance.new("Part") BlastPart.Parent = game.Workspace BlastPart.FormFactor = "Custom" BlastPart.Size = Vector3.new(1,1,1) BlastPart.Transparency = 1 BlastPart.Anchored = true BlastPart.CanCollide = false BlastPart.Position = Player.Character.Torso.Position print("omg why won't this work") -- MESH BlastMesh = Instance.new('SpecialMesh', BlastPart) BlastMesh.MeshId = 'http://www.roblox.com/asset/?id=1080954' BlastMesh.TextureId = 'http://www.roblox.com/asset/?id=37856148' -- FLASH Flash= Instance.new('PointLight', BlastPart) Flash.Parent = BlastPart Flash.Enabled = true Flash.Brightness = 100 Flash.Range = 100 Flash.Color = Color3.new (255/255, 170/255, 0/255) -- EXPLOSION Explosion = Instance.new('Explosion', BlastPart) Explosion.BlastPressure = 0 Explosion.BlastRadius = 0 Explosion.Position = Player.Character.Torso.Position end game.Workspace.ExamplePart.Touched:connect(onTouch) When you touch the brick ExamplePart, you'll get results. Just make sure you put a part in the game and name it ExamplePart.
truman89
#141303783Wednesday, July 23, 2014 8:19 PM GMT

And also do what KEV said. You need to define the player as well.
TreeLineUser
#141303807Wednesday, July 23, 2014 8:19 PM GMT

ie yie yie
KEVEKEV77
#141304260Wednesday, July 23, 2014 8:24 PM GMT

RealPersa
#141304485Wednesday, July 23, 2014 8:26 PM GMT

It's not any of that. I already said that this wasn't the entire script, I already have a way of calling it. The problem was that I had it delete the brick immediately after it made it, so I just put a wait in it and it works now. ~ !دست از سرم بردار ~ مانند یک گانگستر واقعی ~
KEVEKEV77
#141304925Wednesday, July 23, 2014 8:31 PM GMT

You NEVER said that this wasnt the whole script. Plus I got mine to work too.
RealPersa
#141306394Wednesday, July 23, 2014 8:47 PM GMT

"It does some other things after that, but I didn't include it because those things work." ~ !دست از سرم بردار ~ مانند یک گانگستر واقعی ~

    of     1