Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.Open(500, 500)
- local points = 4
- local radius = 50
- event.AddListener("OnDraw2D", "lol", function()
- surface.Color(0, 0, 0, 1)
- for i = 0, points do
- i = (i / points) * math.pi * 2
- local x = math.sin(i) * radius
- local y = math.cos(i) * radius
- surface.DrawRect(x + 256, y + 256, 4, 4)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment