I am currently making a game where people will be able to control my computer in roblox Here is one of the major problems The script managed to send data succusfully. But whenever the mouse was moved my cursor would go to the top of the screen

Here is my code Localscript located in gui:

local button = script.Parent.mousebutton
local mouse = game:GetService("Players").LocalPlayer:GetMouse()
dead = false
button.MouseButton1Click:Connect(function()
	dead = false
	local func = coroutine.create(function()
		while true do wait(0.1)
			if not dead then
				local x,y = mouse.X,mouse.Y
				script.Parent.ImageLabel.Position = UDim2.new(0,x,0,y)
				workspace.Mouse:FireServer(x,y)
			end
		end
	end)
	coroutine.resume(func)	
end)
mouse.KeyDown:Connect(function(key)
	if string.lower(key) == "e" then
		dead = true
	end
end)

RemoteEvent: for sending http requests

workspace.Mouse.OnServerEvent:Connect(function(plr,x,y)
	local http = game:GetService("HttpService")
	local list = "["..tostring(x)..", "..tostring(y).."]"
	http:PostAsync("http://localhost:8080",list)
end)

This is a more uncommon script to come across. So come help if you can!

Output at server:

127.0.0.1 - - [13/Nov/2020 15:18:59] "POST / HTTP/1.1" 200 -
[915, 105]

My screen resolution is 1366x768 so it maybe a problem