So I am creating a custom cross hair, which is in a frame, the idea was to just put the crosshair where the players mouse is, which uh, yeah it just wont go there
For whatever reason it’s usually above the mouse, so I just started subtracting a certain offset from the position to get it at the mouse’s position, but guess what? Now the crosshair for absolutely no reason what so ever keeps going back to the original position and ignoring the fact that I am subtracting a number from it, thus causing this bobbing effect which is really annoying.
I found out that by setting the ScreenInsets property to CoreUISafeInsets it works fine, but it squashes the other UI elements that are in the ScreenGui, I can take them out, but its much cleaner having it all in one GUI, so I was wondering if anyone knows how to fix this, thanks!
CrosshairConnections['Mouse'] = Mouse.Move:Connect(function()
if not CameraModule:IsFirstPerson() then
Crosshair.Position = UDim2.fromOffset(Mouse.X, Mouse.Y + 50)
end
end)
Crosshair refers to a Frame that is well, the Crosshair. Mouse is the players Mouse.