Categories > Coding > Lua >

how to use Drawing.new("Square") ?

Posts: 798

Threads: 54

Joined: Sep, 2021

Reputation: 21

Posted

im trying to make an universal esp and everything was good until i ran into a problem.

the size and the position properties.

how can i set the position to the humanoid and set its size?

any help is appreciated. thx

  • 0

dead inside

Syraxes_

Web Developer

vip

Posts: 1072

Threads: 30

Joined: Jul, 2021

Reputation: 63

Replied

Read the Krnl, Synapse docs:

 

Krnl docs

Synapse X docs

  • 0

I'm not lazy, I'm just highly motivated to do nothing. #I💚Dogs.

Posts: 798

Threads: 54

Joined: Sep, 2021

Reputation: 21

Replied

@Syraxes_ synapse may be the best exploit but its docs are the worst. thx for the krnl docs tho. just gotta figure out how to convert smth to vector2

  • 0

dead inside

Syraxes_

Web Developer

vip

Posts: 1072

Threads: 30

Joined: Jul, 2021

Reputation: 63

Replied

@crazy_cat

 

Yeah, Although not the official docs of Krnl is a very complete documentation.

  • 0

I'm not lazy, I'm just highly motivated to do nothing. #I💚Dogs.

tar

CoolNickname

Posts: 119

Threads: 11

Joined: Jul, 2021

Reputation: 1

Replied

local square = Drawing.new("Square")
square.Position = Vector2.new(x,y)
square.Size = Vector2.new(x,y)
square.Color = Color3
square.Visible = true
square.Filled = true or false -- Does not works with krnl
-- When you want to destroy square, square:Remove()
-- For get Vector2 screen position with Vector3 world position:
https://developer.roblox.com/en-us/api-reference/function/Camera/WorldToViewportPoint
  • 0

https://imgur.com/a/oOomuUo

Users viewing this thread:

( Members: 0, Guests: 3, Total: 3 )