Hey im trying to implement a fake mouse cursor to put over your original mouse cursor, though when i move it around it just moves you’re whole camera like when you’re right clicking. this is a bigger deal because im making a first person game and it keeps doing this and its annoying. Any help is appreciated.
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Frame = script.Parent
RunService.PreRender:Connect(function()
UserInputService.MouseIconEnabled = false
local MouseX = Frame.Position.X.Offset + UserInputService:GetMouseDelta().X*2
local MouseY = Frame.Position.Y.Offset + UserInputService:GetMouseDelta().Y*2
Frame.Position = UDim2.new(0, MouseX, 0, MouseY)
end)