That's all there is, I'm just typing so I can post this question
Really simple problem; If PlayerMouse.Target is nil then it's pointing at nothing; which is sky/void.
local player = game:GetService("Players").LocalPlayer local mouse = player:GetMouse() while wait() do if mouse.Target == nil then --if mouse is pointing to nothing else --if mouse is pointing to something end end