Fix Velocity Drawing
Key RequiredUniversal

Fix Velocity Drawing

Universal Scriptz0lupo4kaz0lupo4ka 20 views 38 executesUpdated Feb 22, 2026
Unrated
00
Lua Script•23 lines (702 chars)
local ScreenSize = Vector2.new(1920, 1080)  -- Write down your screen resolution and open Roblox in full screen mode

if not getgenv().Fix then
	local obj = Drawing.new("Circle")
	local mt = getrawmetatable(obj)
	setreadonly(mt, false)
	local old_newindex = mt.__newindex

	mt.__newindex = function(self, key, value)
		if table.find({"Position", "PointA", "PointB", "PointC", "PointD", "To", "From"}, key) and typeof(value) == "Vector2" then
			local viewport = workspace.CurrentCamera.ViewportSize

			value = Vector2.new(
				value.X / viewport.X * ScreenSize.X,
				value.Y / viewport.Y * ScreenSize.Y
			)
		end

		return old_newindex(self, key, value)
	end
	obj:Destroy()
	getgenv().Fix = true
end

Features & Information

This script implements the Drawing.new function
#Velocity

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts