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

How do i make it so when my humanoid Moves a particle emitter size changes?

local Humanoid = script.Parent.Parent:WaitForChild("Humanoid")
local emiiter = script.Parent:WaitForChild("ParticleEmitter")
Humanoid.Running:Connect(function(speed)
	if speed > 0 then
		emiiter.Size = 2
	elseif speed < 1 then
		emiiter.Size = 0.8
		
	end
	
end)

this is the script and when i run it it says invalid argument but i dont excatly know how to fix

4 comments

0

Where is this script located?

0

its a serverscript in workspace inside a part

0

can you tell us what the error says specifically?

0

Workspace.Model.LowerJaw.Script:7: invalid argument #3 (NumberSequence expected, got number)

1 answer

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