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

How to make muzzle effect for gun??

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)

4 comments

0

kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535kirda#6535 pls add :sob:

0

In the script no where do I see the script activating the effect

0

@theking66hayday what?

0

^ beam.Enabled = true

1 answer

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

beam.Parent = workspace

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