So I am wondering how to change a players mouse position when a function is called and it doesn't seem to work. I've tried this myself and looked on the developer.roblox.com articles about this and haven't found anything. I guessed it would be something like this but it doesn't work. Anyone have any guesses?
local player = game.Players.LocalPlayer local mouse = player:GetMouse() script.Parent.MouseEnter:Connect(function() mouse.Position = Vector2.new(0,0) end)