----------------------------------------------------------------------------
---  Functionality Loop  ---------------------------------------------------
----------------------------------------------------------------------------

math.randomseed(tick())
while true do
	wait(1 / script.Rate.Value)
	--Only render droplets if:
		--Camera isn't looking down
		--Render settings are high enough
		--Camera isn't under an awning or roof or something

	if CanShow and ScreenBlockCFrame.LookVector.Y > -0.4 and not UnderObject(ScreenBlockCFrame.Position) then
		CreateDroplet()
	end
end
