Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help me? Please?!

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?

3 comments

0

??? Can you explain further, please?

0

Say I wanted to run another pieece of code in a another script into this code. What would I do?

0

Well that should solve it

2 answers

✓ Accepted answer

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.

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

This discussion is preserved as it was. New answers, comments, and votes are closed.