0

foxy83 15
8 years ago
function fire()
a = Instance.new("Part",Workspace)
a.Position = Workspace.deedum.Torso.Vector3.new
a.Shape = "Ball"
a.BrickColor = BrickColor.new("Cyan")
local part = Instance.new("Fire")
part.Parent = Workspace.a
a.Transparency = 1
end


I have the basics down, now how do I get another script to run into this script?

0
0
Say I wanted to run another pieece of code in a another script into this code. What would I do? foxy83 15 — 8y
0
Well that should solve it HexC3D 830 — 8y

3
HexC3D 830
8 years ago

Name the script fire(the on that you wrote about) and put in Workspace.

Then make the script called "fire" disabled property checked or true

Then make another script in Workspace and in the script put this

fire = game.Workspace.fire
fire.Disabled = false


That should run the function.

+1 if I helped and if it answered your question , then check mark :P.

0
M39a9am3R 3210
8 years ago
function fire()
a = Instance.new("Part",Workspace)
a.Position = Workspace.deedum.Torso.Position --Your problem was, you want the torso's position.
a.Shape = "Ball"
a.BrickColor = BrickColor.new("Cyan")
local part = Instance.new("Fire")
part.Parent = a --a is basically a variable, so all you had to put was that, not the Workspace.
a.Transparency = 1
end