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: Can you spot the problem? I sure cant..HALP

Previous Thread :: Next Thread 
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 10:44 PM
script.Parent.MouseButton1Down:connect(function()
ex = Instance.new("Explosion")
ex.Position = game.Workspace.Explode1
ex.Parent = game.Workspace.Explode1
ex.BlastRadius = 5
ex.BlastPressure = 500
end)



Spot the problem if you've got teh brainz
Report Abuse
ROBLOXTHEMOVIEs is not online. ROBLOXTHEMOVIEs
Joined: 11 Jun 2012
Total Posts: 5895
22 Mar 2014 10:46 PM
ex.Position = game.Workspace.Explode1.Position

I won a math debate
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 10:50 PM
Nope didnt work :(


Anyone else?
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 10:53 PM
Bump
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 10:56 PM
Bumpy Bump Bum BUMP
Report Abuse
zomg44 is not online. zomg44
Joined: 30 Sep 2008
Total Posts: 5678
22 Mar 2014 10:57 PM
the function part seems off.From what i know its used as a starting sequence for variables.
Report Abuse
crocidile345 is not online. crocidile345
Joined: 01 Sep 2010
Total Posts: 633
22 Mar 2014 10:57 PM
ex = Instance.new("Explosion", game.Workspace)
Report Abuse
crocidile345 is not online. crocidile345
Joined: 01 Sep 2010
Total Posts: 633
22 Mar 2014 10:58 PM
oopss wth did i just do O,o
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 11:17 PM
Bump
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
22 Mar 2014 11:33 PM
"game.Workspace.Explode1"
What is this exactly?

According to this:
ex.Position = game.Workspace.Explode1
ex.Parent = game.Workspace.Explode1
It has to be an object and a Vector3 value.
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 11:35 PM
I KNEW IT
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
22 Mar 2014 11:42 PM
you didn't set the parent of "ex"
ex.Parent = Workspace
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 11:44 PM
What do you meen?
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
22 Mar 2014 11:49 PM
script.Parent.MouseButton1Down:connect(function()
ex = Instance.new("Explosion",Workspace)
ex.Position = game.Workspace.Explode1.Value
ex.Parent = game.Workspace.Explode1
ex.BlastRadius = 5
ex.BlastPressure = 500
end)
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
22 Mar 2014 11:57 PM
I'll try it tomorrow I have to go to bed ):
Report Abuse
SuperiorEternal is not online. SuperiorEternal
Joined: 22 Aug 2009
Total Posts: 2365
23 Mar 2014 12:30 AM
function onClicked()
ex = Instance.new("Explosion")
ex.Position = game.Workspace.Explode1
ex.Parent = game.Workspace.Explode1
ex.BlastRadius = 5
ex.BlastPressure = 500
end)
script.Parent.ClickDetector.MouseClick:connect(onClicked)

If this is bricks, that should help, because you need a ClickDetector
Report Abuse
crocidile345 is not online. crocidile345
Joined: 01 Sep 2010
Total Posts: 633
23 Mar 2014 01:46 PM
He's working on the guisurface not the clickdetector
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
23 Mar 2014 07:08 PM
None of those worked... what should I add as a vector?
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
23 Mar 2014 07:14 PM
Any one?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Mar 2014 07:15 PM
ex.Position = game.Workspace.Explode1.Position
ex.Parent = game.Workspace.Explode1
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
23 Mar 2014 07:41 PM
It was already tried it didnt work
Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
23 Mar 2014 09:22 PM
BUMP
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
23 Mar 2014 09:30 PM
What exactly is Explode1?
Report Abuse
roboslayer10 is not online. roboslayer10
Joined: 08 Aug 2011
Total Posts: 206
23 Mar 2014 09:33 PM
ok first off, script.Parent.mouseButton1Down:connect(function() end) is for TEXTBUTTONS!

So you have to have a textbutton for it to work.

Second, you have to set the position to a Vector3 value.

ie: ex.Position = Vector3.new(0,0,0)

Third, if you want the position to be at a specific part, then do the following:

ex.Position = game.Workspace.PARTNAME.Position

Report Abuse
JelloJoeBuscus is not online. JelloJoeBuscus
Joined: 10 Sep 2013
Total Posts: 129
23 Mar 2014 09:36 PM
What do I put for image buttons xD
Ive done this before but its still vague to me
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