So uh, how do I make it position where the mouse is?
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local Frame = script.Parent
RunService.RenderStepped:Connect(function()
Frame.Position = UDim2.new(0,mouse.X,0,mouse.Y)
end)
That looks like theGUIinset! You’re probably positioning your custom cursor in a ScreenGui with IgnoreGuiInset set to true. Because Mouse.X and Mouse.Y respect the GUI inset, it would be easier to just set IgnoreGuiInset to false.