Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do I make magic, like lightning, or fire?

Asked by 10 years ago

I want something like Skyrim or Elder Scrolls Online; something of that nature. I can make the simple little fire and such, but how do I make this go into place?

0
I believe I may have said this incorrectly. I meant something that is like, blasted out of a staff or something and deals damage. NizarTheCruel 0 — 10y

5 answers

Log in to vote
1
Answered by 10 years ago

If you wanted to make a ray out of a staff, you could use raycasting http://wiki.roblox.com/index.php/Raycasting or, the lightning would depend on all of the angles (if its detailed). If you wanted to make it a straight line with a random position, you could do this

function lightning()
b = Instance.new("Part", Workspace)
b.Size = Vector3.new(2,100,2)
b.Anchored = true
b.TopSurface = 0
b.BottomSurface = 0
b.BrickColor = BrickColor.new("Bright yellow")
b.Transparency = 0.4
b.CFrame = CFrame.new(math.random(60), 0, math.random(60)) 
end

while wait(5) do
lightning()
end
Ad
Log in to vote
0
Answered by 10 years ago

i only know how to make fire.

To make fire - right click on your model/brick (ON ROBLOX STUDIO) and go on Insert basic object, then look for the fire, add it and done!

Maybe someone will help you with the lightning

Log in to vote
-1
Answered by
Nickoakz 231 Moderation Voter
10 years ago

A fire is simple, its not even required to be a script. Simply go into your Basic Objects tab and insert a fire to a part. You can then go on your properties tab and then edit the fire settings.

Log in to vote
-1
Answered by 10 years ago

x = Instance.new("Fire") x.Parent = script.Parent

Log in to vote
-3
Answered by 10 years ago

You could go into studio, and have a plugin installed, you can click decerations It would show Sparkles Fire

And 1 more thing

LINK TO THE PLUGIN : http://www.roblox.com/Building-Tools-by-F3X-Plugin-item?id=144950355

Answer this question