--This is just some simple server script that moves the object around every frame
--The kinematics module handles the rest


game["Run Service"].Heartbeat:Connect(function(deltaTime)
	
	local speed = script:GetAttribute("speed") or Vector3.zero
	local size = script:GetAttribute("size") or 3
	total+=deltaTime
	part.CFrame = startPos * CFrame.new(Vector3.new(math.sin(total*speed.x)*size,math.sin(total*speed.y)*size, math.sin(total*speed.z)*size))
	
end)
