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: Lightning Code

Previous Thread :: Next Thread 
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 06:00 PM
How would I do this I want it to look like it is running down your character. It is for a SB script I am working on.
Report Abuse
Vuva is not online. Vuva
Joined: 22 Jan 2010
Total Posts: 1102
16 Jun 2014 06:01 PM
Your question is too ambiguous.
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 06:34 PM
No it isn't
Report Abuse
sonicdiablo is not online. sonicdiablo
Joined: 05 Feb 2009
Total Posts: 1661
16 Jun 2014 06:36 PM
What do you mean by "running down"?

Does it "run down" in a straight line?
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 06:47 PM
I mean it starts at the head and travels down to the legs then it gets removed.
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 06:56 PM
Help me.
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 07:07 PM
bump
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
16 Jun 2014 07:17 PM
We don't write scripts for you. Write one yourself and we'll fix it.

-The [Guy]
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 07:19 PM
@busy





I don't want I a script. I never said I wanted a script I said I wanted to learn how. If you can read then you can help me.
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
16 Jun 2014 07:20 PM
I don't understand what the heck you mean by "Lightning running down your character from head to toe". What? That doesn't even mean anything... lightning is electricity in the sky...

-The [Guy]
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 07:21 PM
Lol. Not always. It doesn't just come from the sky.
Report Abuse
Vuva is not online. Vuva
Joined: 22 Jan 2010
Total Posts: 1102
16 Jun 2014 07:22 PM
"Lightning" isn't an existing class so we still don't know exactly what you are asking...
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
16 Jun 2014 07:23 PM
You're missing the point. Describe what you mean by lightning running down someone, because that literally means nothing...
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 07:25 PM
Parts that are touching to form different paths they have to touch each other. It randomizes the "Path" of one limb to the other while traveling torwards the feat.
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
16 Jun 2014 07:26 PM
Ok, that's more difficult than anyone can just explain here with text.

-The [Guy]
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 07:27 PM
Can anyone explain how to make the lightning's path change randomly around the body?
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 07:41 PM
Bump1
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
16 Jun 2014 07:42 PM
I told you, nobody can explain it with text so simply.

-The [Guy]
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 07:49 PM
Atleast try.
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
16 Jun 2014 07:52 PM
Use Instance.new() for the parts, randomize the CFrames, to an extent, depending on wherever the body parts are, change the color, transparency, blah blah blah, then add the parts to Debris after the amount of time you want.
If you are new to scripting, I don't suggest you start here!

(Hey sonic!)
Report Abuse
sonicdiablo is not online. sonicdiablo
Joined: 05 Feb 2009
Total Posts: 1661
16 Jun 2014 07:52 PM
you would have to use math.random multiple times to choose the direction at which the lightning should go(Left,Right or down), and you would have make sure your lightning bolt doesn't go too far depending on the height.
Something around that.
If the lightning bolt reach the lowest point on the arms, then it should move to the legs;
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
16 Jun 2014 08:19 PM
I see

could I have a function that creates a lightning bolt no meshes or anything?
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
16 Jun 2014 08:23 PM
There shouldn't be a mesh unless you were to create one.
Report Abuse
GlaciesRex is not online. GlaciesRex
Joined: 22 Oct 2011
Total Posts: 1100
17 Jun 2014 11:46 AM
I just saw someone have one on sb. It isn't ambitious.
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
17 Jun 2014 11:48 AM
He means lightning that starts from the top of the body and strikes down/courses through the body.
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