#im trying to find out how to make a script like this one

1 messages · Page 1 of 1 (latest)

solid mountain
#

basically i have a meter on the side and i want it to stop at a certain point in the meter and i can change it using a slider but i dont really know how to make a script like this ive tried for a bit but none of them worked ( basically hold E then stop at a certain point)

solid mountain
#

😭

#

like i have this

#

it doesnt even work

azure prawn
#

sick ui

solid mountain
#

Thank You

#

Yeah but do you think u could help?

azure prawn
#

just utilize the dimensions of the green line and plug a number/max number on scale?

solid mountain
#

like

#

let me show you

#

what im talking about then u will understand

#

u see this meter

#

and u see the little transparent part

azure prawn
#

yea

solid mountain
#

im trying to make it where i can hold E and it will stop at the part

#

then i can change the slider

#

depending on your ping

azure prawn
#

well while e is being pressed

#

use runservice to divide the scale of it

#

like

solid mountain
#

idk what you mean

#

like i can create the slider and the button

#

but when it comes to all that scripting

azure prawn
#
GuiLinething.Scale.Position = UDim2.new(0.5,0,((var + delta/10000) - 0.5),0)
solid mountain
#

i mean ik thats scripting aswell

azure prawn
#

damn, it's soo hard to explain but soo easy to visualize what to do

solid mountain
#

btw

wooden sentinelBOT
#

studio** You are now Level 1! **studio

solid mountain
#

this isnt mines

#

just so yk

azure prawn
#

basically you just take the scale for X or Y and divide a number off a larger number

solid mountain
#

i have never been this lost in my life

#

😭

#

so rn this is all i have

azure prawn
#

i did this before

solid mountain
#

but it doesnt work

azure prawn
#
function displayEntityData(mob)
    local TagInfo = mob:FindFirstChild("gui_port"):FindFirstChild("TagInfo")
    local mob_health, mob_maxhealth;
    
    mob_health = mob:FindFirstChild("Hitbox").Health.Value
    mob_maxhealth = mob:FindFirstChild("Hitbox").Max_Health.Value
    TagInfo.Main.Scale.Position = UDim2.new(((mob_health/mob_maxhealth) - 0.5),0,0.5,0)
end
#

one of my functions

#

mob_health is how much it is at vs the max health

solid mountain
#

isnt mob health for a fighting game

#

or am i just dum

azure prawn
#

when i hit it the current health goes down

#

so does the bar when it is calculated

solid mountain
#

but wouldnt that be a health bar

#

the bar i showed you isnt a health bar

azure prawn
#

it's the same premise

#

you hold e, bar goes down no?

solid mountain
#

no

#

only up

#

its a basketball game

#

u ever played one?

azure prawn
#

reverse the formula

solid mountain
#
    local TagInfo = mob:FindFirstChild("gui_port"):FindFirstChild("TagInfo")
    local mob_health, mob_maxhealth;

    mob_health = mob:FindFirstChild("Hitbox").Health.Value
    mob_maxhealth = mob:FindFirstChild("Hitbox").Max_Health.Value
    TagInfo.Main.Scale.Position = UDim2.new(0.5 - (mob_health / mob_maxhealth), 0, 0.5, 0)
end
#

like this?

solid mountain
# azure prawn reverse the formula

is there no way where i can make it where on the bar depending on the slider number like if its 1 it will stop holding E automatically then it will stop 60 at a different time

azure prawn
#

are you level 1 scripter? no offense

solid mountain
#

yes

solid mountain
#

if u could help me with this one

#

if not i will do the math one

#

@azure prawn

azure prawn
#

no cap

#

i can't explain it

#

maybe

#

@cedar gull

solid mountain
wooden sentinelBOT
#

studio** You are now Level 2! **studio

solid mountain
#

and i can prolly do something with the scripts

azure prawn
#

it's simple with it in my face

solid mountain
azure prawn
#

but explaining it

solid mountain
#

want me to just send u the script?

azure prawn
#

i am like a noob

#

yea

solid mountain
#

i need to fix this key system

#

it looks bad

#

key system was rushed

#

ill make it later

azure prawn
#

is it more performant to create frames in a local script?

#

i never understood that lol

solid mountain
#

btw

#

idk if ur willing to help when i say this

#

but this isnt for a game

azure prawn
#

doesn't matter, but i can't read this

solid mountain
#

..

solid mountain
azure prawn
#

nothing

#

i'm like trash at reading

solid mountain
#

oh

azure prawn
#

i'm like a genius that says just kick the ball and whoosh and swoosh but without the genius part 🙂

solid mountain
#

i can remove all the key stuff and it should be easy to read

#
local Window = Library:Window({
    Text = "YUKI HUB"
})

local Tab = Window:Tab({
    Text = "Main"
})

local Section = Tab:Section({
    Text = "Auto Time"
})

local enabled = false
Section:Toggle({
    Text = "Enable Auto Time",
    Default = false,
    Callback = function(value)
        enabled = value
        print("Auto Time Enabled:", enabled)
    end
})

local sliderValue = 1
Section:Slider({
    Text = "Duration (seconds)",
    Min = 0.1,
    Max = 100,
    Default = sliderValue,
    Float = 0.1,
    Callback = function(value)
        sliderValue = value
        print("Slider set to:", sliderValue)
    end
})

Tab:Select() ```
#

ther

#

let me know if its easier

azure prawn
#

hmm

solid mountain
#

ill just work on the setting tab as im waiting for you to respond ig

azure prawn
#

no cap bro

#

i'm not sure how i can assist, we need a pro

solid mountain
solid mountain
#

i got something u could help with

solid mountain
#

help bypassing speed

#

well i made oen

lean flint
#

just use math ngl

solid mountain
#

BUT ITS TO FAST

lean flint
#

Oh I cant use gifs

azure prawn
solid mountain
#

cs u not me

lean flint
#

Should have used a low tier god gif ngl

solid mountain
#

i dont understand this math conccept

#

man

lean flint
#

idk man. I've been using pre calc in my coding for the past 2 weeks idk the advanced wizardry required for this

azure prawn
lean flint
solid mountain
lean flint
#

If not then boy do I got some news for you

solid mountain
#

yes bro

#

😭

lean flint
#

THEN USE THE MATH

solid mountain
#

its the scripting part i need help with

solid mountain
azure prawn
#

perchance are you one of those people who thought math was useless?

solid mountain
solid mountain
azure prawn
#

serious take

#

no rage bait

#

no cap

#

no curveball

solid mountain
#

brodie i can do math

lean flint
#

This isnt rage bait. It's literally just math

solid mountain
#

perfectly fine

lean flint
#

Then why arent you doing math?

lean flint
#

Oh I see the issue here

#

Do the math inside your script

solid mountain
#

😵‍💫

wooden sentinelBOT
#

studio** You are now Level 3! **studio

lean flint
#

Are you perchance using someone elses script and ui?

solid mountain
lean flint
#

and do you know how to code?

solid mountain
#

a little

lean flint
#

but you dont know how to divide?

solid mountain
#

i do know how to divide

lean flint
#

Why arent you dividing then?

solid mountain
#

dividing where

lean flint
#

Let me see your script so far

solid mountain
#

well ive been switching it

lean flint
#

Give me the one that's worked best

solid mountain
#

alright

#

1 sec

solid mountain
lean flint
#

Also where do you want it to stop on the bar?

wooden sentinelBOT
#

studio** You are now Level 2! **studio

solid mountain
#

do you see it

lean flint
#

Uhhh

#

At the top or that the yellow based through?

solid mountain
lean flint
#

Okay

solid mountain
#

i think i fixed this speed thing

#

hold on

lean flint
#

Did you not have studio open?

#

Or is ctrl + c ctrl + v a difficult command?

solid mountain
lean flint
#

I asked for your script so far and you uh

#

taking a long ass time

solid mountain
#

mb

#

well imj texting you

#

and working on the speed

#
local Window = Library:Window({
    Text = "YUKI HUB"
})

local Tab = Window:Tab({
    Text = "Main"
})

local Section = Tab:Section({
    Text = "Auto Time"
})

local enabled = false
Section:Toggle({
    Text = "Enable Auto Time",
    Default = false,
    Callback = function(value)
        enabled = value
        print("Auto Time Enabled:", enabled)
    end
})

local sliderValue = 1
Section:Slider({
    Text = "Duration (seconds)",
    Min = 0.1,
    Max = 100,
    Default = sliderValue,
    Float = 0.1,
    Callback = function(value)
        sliderValue = value
        print("Slider set to:", sliderValue)
    end
})

Tab:Select()```
#

it was litterally

#

in chat

#
local Window = Library:Window({
    Text = "YUKI HUB"
})

local Tab = Window:Tab({
    Text = "Main"
})

local Section = Tab:Section({
    Text = "Auto Time"
})

Tab:Select()```
#

but it would be this ^

lean flint
#

So the bar rises while holding E. and you want it to stop if it reaches that transparent part? correct?

solid mountain
#

yes'

lean flint
#

So it doesnt go above it right? And what should happen if you stop holding E

solid mountain
#

either it stops when im holding e

#

OR

#

nothing

#

but i wanted it to be wheer if i hold E it will stop at the transparent part

#

and it stops by itself

lean flint
#

Okay. Imma just make a basic gui that does this and then you just switch up some small things to match your gui

solid mountain
#

alr

lean flint
#

Should it stop at the top, bottom, or center of the transparent part?

solid mountain
#

the center of the transparent opart

lean flint
#

alr

#

When you release E when it's stopped at the transparent thing should it stay there?

solid mountain
#

yes

wooden sentinelBOT
#

studio** You are now Level 4! **studio

lean flint
#

K

solid mountain
lean flint
#

uhhh. Im trying to make it so it stops in the center of the transparent thing since that's what you wanted but you could just size it down so it stops at the top and the top is the center of the transparent thing

#

which would be

#

much

#

easier

lean flint
#

Why

solid mountain
#

its my friends game

#

im just playing it

lean flint
#

?? Can you tell him to size it down?

solid mountain
#

nah

#

idk him

lean flint
#

brother what

solid mountain
#

oh we dont know each other

solid mountain
lean flint
#

ngl I wasnt reading all that

solid mountain
#

LOL

lean flint
#

I saw two fat chats, not reading it

solid mountain
#

well yeah

#

i cant size it down

lean flint
#

Why dont you just make your own gui?

#

It's be

#

so much easier

#

not just for right now but for tweaking it in the future

solid mountain
lean flint
#

just uh. Ui corners ui strokes. Or just like make the images in ms paint and make it an image gui.

solid mountain
#

so u think u could still make that script

lean flint
#

Yer. but im not making the max height the center position of the transparency gui since that's like 15 more minutes for me to figure out why it didnt work the first 3 times

solid mountain
#

alr

lean flint
#

Also I made the gui in literally 5 minutes while switching tabs to talk to you and it's not that bad. Not amazing or spectacular, pretty simple but it's not ugly:

solid mountain
#

nice

lean flint
#

Here's the script. It could use some changes or tweaks but I want to watch youtube. Pretty much you hold E and it resizes to make it look like it's growing or rising up. If you let go of it then it starts to shrink back to 0,0. Once it reaches it's maximum height it stops there, and if you let go of E it stays there:

local UserInputService = game:GetService("UserInputService")

local barThing = script.Parent:WaitForChild("BarThing")
local front = barThing:WaitForChild("Front")
local stroke = front:FindFirstChildWhichIsA("UIStroke")

local originalPosition = front.Position
local maxHeight = front.Size.Y.Offset
front.Size = UDim2.new(front.Size.X.Scale, front.Size.X.Offset, 0, 0)
if stroke then stroke.Transparency = 1 end

local growing = false
local currentHeight = 0

UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.E then
        growing = true
    end
end)

UserInputService.InputEnded:Connect(function(input, gameProcessed)
    if input.KeyCode == Enum.KeyCode.E then
        growing = false
    end
end)

game:GetService("RunService").RenderStepped:Connect(function(dt)
    if growing then
        currentHeight = math.min(currentHeight + 300 * dt, maxHeight)
    elseif currentHeight < maxHeight then
        currentHeight = math.max(currentHeight - 300 * dt, 0)
    end

    front.Size = UDim2.new(front.Size.X.Scale, front.Size.X.Offset, 0, currentHeight)
    front.Position = UDim2.new(
        originalPosition.X.Scale,
        originalPosition.X.Offset,
        originalPosition.Y.Scale,
        originalPosition.Y.Offset + (maxHeight - currentHeight)
    )

    if stroke then
        stroke.Transparency = currentHeight <= 0 and 1 or 0
    end
end)
wooden sentinelBOT
#

studio** You are now Level 3! **studio

lean flint
#

And obviously you have to change the name of the gui according to yours

#

I literally called the screengui BarThing

solid mountain
#

wym

lean flint
#

wdym wdim?

#
local barThing = script.Parent:WaitForChild("BarThing")
local front = barThing:WaitForChild("Front")
local stroke = front:FindFirstChildWhichIsA("UIStroke")

That's the name of my guis, yours will be different im assuming

solid mountain
#

i dont think this would work

#

with what im tying to do

lean flint
#

Yes because you're using a pastebin link

#

That's why I said to make you're own. You'd have to change the script in the pastebin to get this to work

solid mountain
lean flint
#

mb

#

a github link

solid mountain
#
local Window = Library:Window({
    Text = "Snow Hub"
})

-- Main Tab
local Tab = Window:Tab({
    Text = "Main"
})

local Section = Tab:Section({
    Text = "Auto Time"
})

-- Auto Time Toggle
local enabled = false
Section:Toggle({
    Text = "Enable Auto Time",
    Default = false,
    Callback = function(value)
        enabled = value
        print("Auto Time Enabled:", enabled)
    end
})

-- Auto Time Slider
local sliderValue = 1
Section:Slider({
    Text = "Duration (seconds)",
    Min = 0.1,
    Max = 10,
    Default = sliderValue,
    Float = 0.1,
    Callback = function(value)
        sliderValue = value
        print("Slider set to:", sliderValue)
    end
})

Tab:Select()

-- Character Tab
local CharacterTab = Window:Tab({
    Text = "Character"
})

local CharSection = CharacterTab:Section({
    Text = "Player Movement"
})


-- Settings Tab
local SettingsTab = Window:Tab({
    Text = "Settings"
})

local SettingsSection = SettingsTab:Section({
    Text = "General"
})


#

this my script rn

#

so what do i do with your script

lean flint
#

With that script that you have you can't fix the issue that you're having

#

You have to make you're own gui if you wanted to do that

solid mountain
#

yo bro

#

u understand

#

im creating a exploit hub for a game

#

correct

lean flint
#

yer

#

i aint a snitch

#

i just assumed it was because it was github link and it said hub

solid mountain
#

that bar gui i showed u with the transparent thing

#

isnt made by me

#

its for the game that im trying to hack in

lean flint
#

Oh if it's game specific-

#

what game is it?

solid mountain
#

rh2

lean flint
#

the freak is that

#

what's rh2 an acronym for

solid mountain
#

its a roblox game

#

just look up rh2

lean flint
#

oh basketball

#

so like an auto perfect?

solid mountain
#

yes

lean flint
#

erm

#

this is infinitely more difficult

lean flint
#

uhhhhhhh

#

ngl

#

this is all you. just smth

solid mountain
#

nah

#

come back

solid mountain
#

alone

lean flint
#

use chatgpt or smth

#

i aint doing all that

solid mountain
#

chatgpt havent been working

lean flint
#

welp i aint working either

lean flint
#

just look up a script and use it or soemthing

solid mountain
#

there isnt no free scripts

#

for this game..

#

so im creating one

#

if i showed u a script do you tghibk u could coopk up

#

surely u can cook sum like this

lean flint
#

erm this is cheating

#

Jiminy Christmas I would never!

solid mountain
#

cmon man

wooden sentinelBOT
#

studio** You are now Level 5! **studio

solid mountain
#

😍

lean flint
#

So y'know I'm busy, booked for the week

solid mountain
#

this is 5 mins of chat gpt

#

cmon man

lean flint
#

Then you do it man

azure prawn
#

no way you want to exploit and can't write the script

#

how'd you make the injector then?

lean flint
#

that;s what i msaying bruh

#

lmao

#

I'd rather just pay for the script

solid mountain
lean flint
#

which executor do you use?

#

This heavily determines my decision

wooden sentinelBOT
#

studio** You are now Level 4! **studio

solid mountain
#

BUT NOW

#

give me a drum roll

lean flint
#

....

solid mountain
#

volcano, jjsploit swift OR velocity

#

or delta

#

am i cookin

lean flint
#

you just listed every answer

#

that aint how this works

#

say your favorite

solid mountain
#

no i didnt

lean flint
#

"I didnt say xeno tho" ah response

solid mountain
#

mmm

#

favorite velocity cs its keyless

#

BUT

#

i use volcano

#

😏

azure prawn
#

are you guys kids?

solid mountain
#

a - b convo

#

here

#

u couldnt help

lean flint
solid mountain
#

AH

#

dang it

#

💔

azure prawn
#

couldn't help you understand basic math

#

that's not my job

lean flint
#

lol

#

Rx has a point tho

azure prawn
#

plus how do you expect to find the exact function running the skill?

#

you can't even read what you're pasting

solid mountain
#

I CAN DO MATH

#

math aint scripting

solid mountain
lean flint
#

You need to atleast understand code to make an exploit. Even if your just copy and pasting it

azure prawn
#

addition, subtraction, basic arithmetic

#

everything with numbers is math

solid mountain
#

i could do allat

lean flint
azure prawn
#

imagine exploiting

lean flint
solid mountain
#

im sayin right

lean flint
lean flint
lean flint
#

Have you tried letting go of E when it goes over the transparent part in game?

solid mountain
#

if so yes

lean flint
#

yes

#

just get better at it

#

dont script

solid mountain
#

Nah

#

im not making the script for me

#

im trying to sell it

#

i can play just fine

lean flint
#

Only accetable times to script are single player games or to fling other exploiters ruining the game

solid mountain
#

read

lean flint
#

oh wow. im gonna be drowning in dosh

#

cheddar

#

green

#

money

#

gold

solid mountain
#

LOL

#

US*

lean flint
#

even if I wanted to make an exploit why would I give it to you for you to market and not just sell it myself

solid mountain
#

cs we besties

lean flint
#

this is a terrible argument

solid mountain
#

nah

lean flint
#

at least say your good at marketing or something

solid mountain
#

25 / 75%

#

oh i am

#

i used to sell

lean flint
#

lmao

solid mountain
#

alot

#

WHAT

#

in roblox

#

fiscf

#

fisch

#

back when it was good

#

at last

#

least

#

@lean flint

#

wher you go

#

💔

lean flint
#

i never played fisch

#

swear on a better game

#

matter of fact, just for you saying fisch

#

the game that had one mechanic ripped from stardew valley and that was the entire gameplay?

solid mountain
#

help me out 😏

lean flint
#

how much does it cost to buy the scriptsw already made for the game? Like about how much?

solid mountain
#

eh

#

like 10-20

#

sum cheap

#

thats literally like the only hard part to make

#

is the auto perfect

lean flint
#

I will make you that for 30 dollars

solid mountain
#

no

lean flint
#

darn

#

welp

#

imma have to walk away

solid mountain
#

this is no investment

#

;brok

lean flint
#

cya

solid mountain
#

alr

lean flint
#

actually stop pinging me tho since im not helping make an exploit

solid mountain
#

i said alr

cedar gull
cedar gull
#

oh good op left, and nothing of value went with them.