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
Where is this script located?
its a serverscript in workspace inside a part
can you tell us what the error says specifically?
Workspace.Model.LowerJaw.Script:7: invalid argument #3 (NumberSequence expected, got number)