Player = game.Players.LocalPlayer Player:GetMouse() --Problem, what do you use and how do you find where the mouse is pointing towards?
You would use, mouse.Target
, and mouse.Hit
, these Properties have different and intricate usages, 1. Target is the object that the mouse is interacting, and 2. Hit is the position of the mouse.
local mouse = Player:GetMouse() if mouse.Target == workspace.Baseplate then print("hit") end