#Bounty System

1 messages · Page 1 of 1 (latest)

wanton escarp
#

Can anyone please help me make a bounty system ??
Preferably with a gui

summer vigil
#

i wont write all the scripts

wanton escarp
#

im new to this stuff

summer vigil
#

so probably learning first would be much better

#

if you even want to learn

wanton escarp
#

ive made some basic stuff
like block beoken counter

#

death and kill counter and other stuff

summer vigil
#

okay do you know js? or are you learning both?

wanton escarp
summer vigil
#

we can start with this:
how should this bounty work?

wanton escarp
#

when a player enters a command in chat a form opens up
the player has to select a person to put bounty on and select the amount of the bounty
there would be a money scoreboard and player cant set bounty higher tahn their money

summer vigil
#

okay, give me a moment

#

brb

wanton escarp
#

oki

wanton escarp
#

@summer vigil any updates ?

digital root
#

?

summer vigil
#

oh right#

#

do you knowwhat forms are?

#

@wanton escarp

wanton escarp
summer vigil
#

do you know how to create them?

wanton escarp
#

i have a code my friend made

wanton escarp
summer vigil
#

good

wanton escarp
summer vigil
#

not yet

wanton escarp
#

its almost done

#

i just needa figure out one thing

summer vigil
#

write me a code which shows every player in a actionformdata

wanton escarp
#

how to make a slider bar

#

wait

summer vigil
#

sure

wanton escarp
#

can you first see the code pls ?

summer vigil
#

sure?

wanton escarp
#

i just need one line

#

here

#

can you just tell me how to make the enter amount into a slider ?

#

with increment of 500$

digital root
#

U mean scoreboard objectives

wanton escarp
summer vigil
#

okay

#
    modalForm.slider('Slider w/o default', 0, 50, 5);
    modalForm.slider('Slider w/ default', 0, 50, 5, 30);```
#
modalForm.slider(text: string, ,minimumValue: number, maximumValue: number, valueStep: number, defaultValue?: number)```
#

where the maximumValue is put the amount of money the player has

#

minimum is just 1 or idk

wanton escarp
#

oki lemme try it out

#

@summer vigil idk why but it didnt work :(
can you pls put it in this file ?

wanton escarp
#

and like i can just name the file main.js and it will work ?

#

if possible please do it