Right now I am trying to get a test version done of it, but no errors are coming out, and the thing wont move the canvas position, plus the selectedtool value is not working. It is a number value btw. Thanks for all and any help. Does anyone know why?

game.StarterGui:SetCoreGuiEnabled(4, false)
Player = game.Players.LocalPlayer
Mouse = Player:GetMouse()
Mouse.KeyDown:connect(function(key)
	if key == "e" and script.Parent.CanvasPosition ~= UDim2.new(1.5, 0) then
		for i = 1,5 do
		script.Parent.CanvasPosition = script.Parent.CanvasPosition +Vector2.new(0.01)
		end
		script.Parent.SelectedTool.Value =  script.Parent.SelectedTool.Value +1
	end
end)
Mouse.KeyDown:connect(function(key)
	if key == "q" and script.Parent.CanvasPosition ~= UDim2.new(0, 0) then
		for i = 1,5 do
		script.Parent.CanvasPosition = script.Parent.CanvasPosition -Vector2.new(0.01)
		end
		script.Parent.SelectedTool.Value =  script.Parent.SelectedTool.Value -1
	end
end)