But it isn't working.
player = game.Players.LocalPlayer
tool = script.Parent
tool.Activated:connect(function()
player.Character.Head = Instance.new("ParticleEmitter",player.Character.Head)
tool.Activated:connect(function()
player.Character.Torso = Instance.new("Smoke",player.Character.Torso)
Color3.new(10,10,10)
end)
end)
The particle emitter works fine. The smoke doesn't. does anyone know whats wrong?
You weren't giving the color to the smoke, just registering the color in the script.
This should work.
player = game.Players.LocalPlayer tool = script.Parent tool.Activated:connect(function() local particles = Instance.new("ParticleEmitter",player.Character.Head) --local prticles tool.Activated:connect(function() local smoke = Instance.new("Smoke",player.Character.Torso) --local smoke smoke.Color = Color3.fromRGB(10, 10, 10) --Changed from .new to .fromRGB end) end)