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: ***********************

Previous Thread :: Next Thread 
OmgFlyingSpaceCow is not online. OmgFlyingSpaceCow
Joined: 16 Dec 2009
Total Posts: 564
02 Aug 2011 01:09 PM
There is no output, nothing happens, the game was not paused.
The connecting line is fine, and there are no errors with LUA parents and LUA children.

Please tell me why the dogturd every script I write NEVER WORKS!
Oh, and explain how to fix this one too. That'd be nice.
Report Abuse
OmgFlyingSpaceCow is not online. OmgFlyingSpaceCow
Joined: 16 Dec 2009
Total Posts: 564
02 Aug 2011 01:10 PM
function Blowthecrapoutathisplace()
wait(.5)
x = Instance.new("Explosion")
x.Position = Workspace.umgh4x.Poop.Position
x.BlastRadius = 5
wait (.5)
p = Instance.new("Explosion")
p.Position = Workspace.umgh4x.Poop2.Position
p.BlastRadius = 5
wait (.5)
q = Instance.new("Explosion")
q.Position = Workspace.umgh4x.Poop3.Position
q.BlastRadius = 5
wait (.5)
h = Instance.new("Explosion")
h.Position = Workspace.umgh4x.Poop4.Position
h.BlastRadius = 5
wait (.5)
j = Instance.new("Explosion")
j.Position = Workspace.umgh4x.Poop5.Position
j.BlastRadius = 5
wait (.5)
o = Instance.new("Explosion")
o.Position = Workspace.umgh4x.Poop6.Position
o.BlastRadius = 5
wait (.5)
z = Instance.new("Explosion")
z.Position = Workspace.umgh4x.Poop7.Position
z.BlastRadius = 5
wait (.5)
y = Instance.new("Explosion")
y.Position = Workspace.umgh4x.Poop8.Position
y.BlastRadius = 5
wait (.5)
d = Instance.new("Explosion")
d.Position = Workspace.umgh4x.Poop9.Position
d.BlastRadius = 10
wait (.5)
end
script.Parent.ClickDetector.MouseClick:connect(Blowthecrapoutathisplace)
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
02 Aug 2011 01:10 PM
"Poop.Position"

This is a very immature game you're making, I'm sure.
Report Abuse
OmgFlyingSpaceCow is not online. OmgFlyingSpaceCow
Joined: 16 Dec 2009
Total Posts: 564
02 Aug 2011 01:13 PM
Don't judge me. And it's not actualy poop, it's just the name of the part. It's not a game either. I need multiple exploding bricks that go off in sequence for a film.
Report Abuse
OmgFlyingSpaceCow is not online. OmgFlyingSpaceCow
Joined: 16 Dec 2009
Total Posts: 564
02 Aug 2011 01:18 PM
Bump.

Step right up and find the oblivious error I made.
Report Abuse
Ravenshield is not online. Ravenshield
Joined: 21 Nov 2007
Total Posts: 4143
02 Aug 2011 01:21 PM
script.Parent.ClickDetector.MouseClick:connect(function()

local p = game.Workspace.umgh4x:GetChildren()

for i = 1, #p do
if p[i].Name == "Poop"..[i] then
local ex = Instance.new("Explosion")
ex.Position = p[i].Position
ex.BlastRadius = 5
wait(.5)

end
end
end)

Try that. Less .. Complicated.
Report Abuse
OmgFlyingSpaceCow is not online. OmgFlyingSpaceCow
Joined: 16 Dec 2009
Total Posts: 564
02 Aug 2011 01:24 PM
Workspace.umgh4x.Button.Script:6: unexpected symbol near '['


Can you please fix my existing script? I can't read the one you posted very well, and would be difficult for myself to edit.
Report Abuse
OmgFlyingSpaceCow is not online. OmgFlyingSpaceCow
Joined: 16 Dec 2009
Total Posts: 564
02 Aug 2011 01:35 PM
bump
Report Abuse
stoopidfaic is not online. stoopidfaic
Joined: 02 Jul 2011
Total Posts: 284
02 Aug 2011 01:37 PM
No.
Report Abuse
OmgFlyingSpaceCow is not online. OmgFlyingSpaceCow
Joined: 16 Dec 2009
Total Posts: 564
02 Aug 2011 01:37 PM
No u
Report Abuse
Ravenshield is not online. Ravenshield
Joined: 21 Nov 2007
Total Posts: 4143
02 Aug 2011 01:39 PM
You didn't define the Parent of the explosion

Can be done like this:

exp = Instance.new("Explosion", game.Workspace)

or

exp = Instance.new("Explosion")
exp.Parent = game.Workspace
Report Abuse
stoopidfaic is not online. stoopidfaic
Joined: 02 Jul 2011
Total Posts: 284
02 Aug 2011 01:44 PM
Also, you can just use x as your only variable for all the explosions.

y = workspace
local x = Instance.new("Part")
x.parent = y
local x = Instance.new("Part")
x.parent = y
local x = Instance.new("Part")
x.parent = y


That will create 3 parts.
Report Abuse
daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaang is not online. daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaang
Joined: 01 Aug 2011
Total Posts: 15
02 Aug 2011 01:46 PM
[ Content Deleted ]
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
02 Aug 2011 01:50 PM
script.Parent.ClickDetector.MouseClick:connect(function()
wait(.5)
x = Instance.new("Explosion")
x.Position = Workspace.umgh4x.Poop.Position
x.BlastRadius = 5
wait (.5)
p = Instance.new("Explosion")
p.Position = Workspace.umgh4x.Poop2.Position
p.BlastRadius = 5
wait (.5)
q = Instance.new("Explosion", workspace)
q.Position = Workspace.umgh4x.Poop3.Position
q.BlastRadius = 5
wait (.5)
h = Instance.new("Explosion", workspace)
h.Position = Workspace.umgh4x.Poop4.Position
h.BlastRadius = 5
wait (.5)
j = Instance.new("Explosion", workspace)
j.Position = Workspace.umgh4x.Poop5.Position
j.BlastRadius = 5
wait (.5)
o = Instance.new("Explosion", workspace)
o.Position = Workspace.umgh4x.Poop6.Position
o.BlastRadius = 5
wait (.5)
z = Instance.new("Explosion", workspace)
z.Position = Workspace.umgh4x.Poop7.Position
z.BlastRadius = 5
wait (.5)
y = Instance.new("Explosion", workspace)
y.Position = Workspace.umgh4x.Poop8.Position
y.BlastRadius = 5
wait (.5)
d = Instance.new("Explosion", workspace)
d.Position = Workspace.umgh4x.Poop9.Position
d.BlastRadius = 10
wait (.5)
end)


Very inefficient but whatever.
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