|
Post by goulstem on Apr 27, 2017 21:49:05 GMT
Lightning Bolt Generator
____________________________________________________________________________A function that takes in 3 arguments, and makes a lightning bolt accordingly.
| Args: | ________________________
- Starting Position - - Ending Position - - Lightning bolt segments - ________________________ _______________________________________________________________________________________________________________________________________________ Module ID: 753554957
- Usage -
local bolt = require(753554957); --Require the module local start,finish = workspace.Start,workspace.Finish; --Establish start and finish points for the lightning bolt local segments = 10; --Declare the amount of segments in the lightning bolt(sub-bolts)
bolt(start.CFrame.p,finish.CFrame.p,segments); --Draw the bolt.
|
|
|
Post by Josh on Apr 27, 2017 21:52:09 GMT
Nice module goulstem! This looks like it could be very useful!
|
|
|
Post by Bit on Apr 27, 2017 21:53:53 GMT
Made one of these a WHIIIILE ago, so seeing this was nostalgic, seems well made too, so good job.
|
|
|
Post by goulstem on Apr 27, 2017 21:58:34 GMT
Nice module goulstem! This looks like it could be very useful! Thanks! ;D I've used it for some cool effects in-game and magix. I'm sure members of the forum could find more uses for it.
|
|
|
Post by 128Gigabytes on Apr 28, 2017 0:30:15 GMT
Thats cool, does it have to draw it at the speed in the gif? I don't see a way to control the speed
|
|
omgitspenguins
Active Member
Veteran
OmgStillAPenguin
Posts: 53
ROBLOX Username: penguins113311
|
Post by omgitspenguins on Apr 28, 2017 19:12:38 GMT
That looks awesome, wish I knew how to do that!
|
|
|
Post by goulstem on Apr 28, 2017 19:32:09 GMT
Thats cool, does it have to draw it at the speed in the gif? Yeah there's no arguments to control speed.. but good idea! I'll implement some configs for speed.
|
|
sho17
New Member
Posts: 2
|
Post by sho17 on May 30, 2017 20:46:34 GMT
Dude cool XD
|
|