local S=script.Parent while true do S.BodyVelocity.velocity=Vector3.new(math.random(-100,100)*.5,math.random(-100,100)*.1,math.random(-100,100)*.5)wait(math.random(10,25)*.1)end
-- Adjust the movement of the firefly, allowing them to roam around.

local Fly = script.Parent

while true do -- Alter the flies movement direction every once a while to make it roam around
	Fly.BodyVelocity.velocity =
		Vector3.new(math.random(-100, 100) * 0.5, math.random(-100, 100) * 0.1, math.random(-100, 100) * 0.5)
	wait(math.random(10, 25) * 0.1)
end
