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

How to make muzzle effect for gun??

Asked by
Xyternal 247 Moderation Voter
2 years ago

I'm trynna create a realistic muzzle effect, but when ever I shoot, I don't see any smoke. In fact, I don't even know if this is the most efficient way of doing this. Please help me, and if there are any better ways of doing muzzle effects, then please tell me as well. smoke script


local tool = script.Parent local muzzel = script.Parent.Muzzel.Position tool.Equipped:Connect(function(mouse) mouse.Button1Down:Connect(function() local beam = Instance.new("Smoke") beam.Parent = "Workspace" beam.CFrame = CFrame.new(tool.Muzzel.CFrame.p) end) end)
0
kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535 pls add :sob: imKirda 4491 — 2y
0
In the script no where do I see the script activating the effect theking66hayday 841 — 2y
0
@theking66hayday what? Xyternal 247 — 2y
0
^ beam.Enabled = true blowup999 659 — 2y

1 answer

Log in to vote
0
Answered by
Puppynniko 1059 Moderation Voter
2 years ago

why are you setting the parent to a string???? just add

beam.Parent = workspace
Ad

Answer this question