A sequel to my original question So, I am making a game where something happens when the player looks at a monster(weeping angel,etc) but I can't seem to find the right code. What I want is that when the player's mouse is over the monster, it registers that. here is some very limited sudo code
if mouse target = monster then
print("seen monster")
Edit: so now my code looks like this: Local script:
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
while true do
if mouse.Target:IsDescendantOf(workspace.Monster) then
print("pointing at monster")
end
wait()
end
And now it Edit: I am an idiot. sorry, everyone. I thought I tried the script, but I didn't do it correctly. I apologize. I will try to avoid do that again.

2 comments
mouse.Target will be a part or nil, not a model
targificate comment incap:)