So basically what this does is just that there’s supposed to be a crosshair tracking the mouse, but then it offsets depending on the window size?? I don’t know how to explain it, it’s weird.
- Maybe “counter” offseting the crosshair depending on the window size back to the mouse would fix it.
- I want to make it so the crosshair is actually on the mouse and not offset.
https://gyazo.com/594c0b7ef32bb12b6587ede7c78df26d
local Player = game:GetService("Players").LocalPlayer
local MainHolder = script.Parent:FindFirstChild("MainHolder") MainHolder.Visible = true
local MainFrame = MainHolder:FindFirstChild("Main") MainFrame.Visible = true
local Mouse = Player:GetMouse()
Mouse.Move:Connect(function()
MainHolder.Position = UDim2.new(0, Mouse.X, 0.05, Mouse.Y)
end)