So this script is from TurboFusion's gun kit and what i want is to instance a smoke into the part but doesn't work how do i command it correctly ?
local Trail = Instance.new("Part")
local Trail = Instance.new ("Smoke")
So this script is from TurboFusion's gun kit and what i want is to instance a smoke into the part but doesn't work how do i command it correctly ?
local Trail = Instance.new("Part")
local Trail = Instance.new ("Smoke")
You can change:
Instance.new("Smoke")
to:
Instance.new("Smoke",Part)
And that will add the smoke into the instance "Part"
You would probably want this code:
local Trail = Instance.new("Part") --Create the part
Instance.new("Smoke",Part) --Put a smoke in it
I know this has been answered already, but if you enjoy doing it a longer route.
local p = Instance.new("Part")
local s = Instance.new("Smoke")
p.Parent = game.Workspace -- just stating that its parent is in workspace
s.Parent = p -- Stating that its parent is p, or in otherwords Part
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
i cant it first needs to add the part then the smoke or script will not work
Well yes.. He is not saying to remove the first line. He is saying change your second one, to the one he has given.
I'm showing you the method used to put the instance into another instance.
Now it worked. :D