My placement system will only follow my cursor on the top and bottom of my screen, not the center

I have a placement system, and it has a bug. the item im trying to place down will only follow my mouse if its at the bottom and top of my screen. otherwise, the item im placing just stays above my head. Does anyone have a idea on how to fix it? If you need to see the script let me know, its a longer script but I will narrow out the parts that are needed.


1 Like

if youre using raycasting then add the characters model to the raycast params
urraycastparams:AddToFilter(game.Players.LocalPlayer.Character)
or if youre using the mouse object
mouse.TargetFilter = game.Players.LocalPlayer.Character

if this doesnt work then imma have to see the script

Thanks, sorry for the late response, but the rays were hitting something, it wasn’t the player. But i made it only register to the terrain so it wouldn’t hit anything else.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.