#im being slow help :broken_heart:

1 messages · Page 1 of 1 (latest)

stuck oxide
#
local canFly = true

function module:guiUpdate(deltaTime: number)
    local gui = self.playerGui
    local frame = self.playerGui:FindFirstChild("Frame") :: Frame
    
    if frame.Size.X.Scale <= 0.01 then 
        module:disable()
    else
        module:activate()
    end
#

im not sure whether or not to use some kinda debounce

#

its kinda tricky because of the runservice

stuck oxide
#

ill send a video

fresh radish
#

Well for starters

#

You shouldn’t be checking its size for this kind of thing, you should be directly checking its actual percentage

#

Or value

stuck oxide
#

how can i check the percentage?

#

i want to check the x percent

fresh radish
#

How are you setting the size

stuck oxide
#

or i guess val would be easier

stuck oxide
fresh radish
#

Surely you’re just subtracting a value upon use of the jetpack

stuck oxide
#

gulp

#

uh

#

no 💔

#

thatd probably be easier

#

like

#

jetpack val

#

= 100

#

then minus the value

#

if value = 0 then..

#

ok yeah youre right

#

💔

#

i could sync it with the rate of the gui