Jump to content

Can Anyone Make Me A /prestige Skript?


Macky

Recommended Posts

Hey can someone make me a /prestige Skript? I would like it to have all the things listed below.

 

- /prestige

- 10% Chance to give a key just leave the quotes blank ill fill the key command in.

- gives player +1 prestige

- /prestige Costs 100k

- I'm using Vault as well

 

 

Is there anyway to make it so it shows the number of prestiges you have in chat I'm using Essentials Chat If that's possible can you also integrate that in as well thank you .😄

 

Link to comment
Share on other sites

here you go!

 

options:
	p: &c&lPrestige &7



command /prestige:
	trigger:
		if player's balance is more than or equal to 100000:
			remove 100000 from player's balance
			add 1 to {p.%player%}
			send "{@p}You have prestiged"
			chance of 10%:
				make console execute command "/"
				send "{@p}You have got a key"
		else:
			send "{@p}You need 100k to do this"
			
			
			
		
on chat:
	if {p.%player%} is not set:
		set {p.%player%} to 0
		set the chat format to "&7[&c%{p.%player%}%&7] %player's prefix%%player% &8>>&7 %message%"
	else:
		set the chat format to "&7[&c%{p.%player%}%&7] %player's prefix%%player% &8>>&7 %message%"
		
		
		
#can remove
on join:
	if {joins::*} does not contain uuid of player:
		add uuid of player to {joins::*}
		set {p.%player%} to 0
		
		
		
command resetjoinslist:
	permission: reset.joins
	trigger:
		delete {joins::*}

 

Edited by Boxmonkey
added code
Link to comment
Share on other sites

59 minutes ago, Boxmonkey said:

here you go!

 

options:
	p: &c&lPrestige &7



command /prestige:
	trigger:
		if player's balance is more than or equal to 100000:
			remove 100000 from player's balance
			add 1 to {p.%player%}
			send "{@p}You have prestiged"
			chance of 10%:
				make console execute command "/"
				send "{@p}You have got a key"
		else:
			send "{@p}You need 100k to do this"
			
			
			
		
on chat:
	if {p.%player%} is not set:
		set {p.%player%} to 0
		set the chat format to "&7[&c%{p.%player%}%&7] %player's prefix%%player% &8>>&7 %message%"
	else:
		set the chat format to "&7[&c%{p.%player%}%&7] %player's prefix%%player% &8>>&7 %message%"
		
		
		
#can remove
on join:
	if {joins::*} does not contain uuid of player:
		add uuid of player to {joins::*}
		set {p.%player%} to 0
		
		
		
command resetjoinslist:
	permission: reset.joins
	trigger:
		delete {joins::*}

 

Thank you for making this for me. And also is there anyway whenever your free to maybe add like a command like "/prestigetimes <amount of times you want to prestige>" 

And also how would I go about like say you won 200 Prestiges in a Crate what command would that be to add prestiges to someon.

Edited by Macky
Link to comment
Share on other sites

9 hours ago, Macky said:

Thank you for making this for me. And also is there anyway whenever your free to maybe add like a command like "/prestigetimes <amount of times you want to prestige>" 

I havent tested this but here:

 

command /prestigetimes:
    trigger:
        send "&7You have prestiged &a%{p.%player%}% &7times!" to player

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

Link to comment
Share on other sites

9 hours ago, Macky said:

Thank you for making this for me. And also is there anyway whenever your free to maybe add like a command like "/prestigetimes <amount of times you want to prestige>" 

Sorry I read that incorrectly. I dont think I can do it, but someone else prob can

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

Link to comment
Share on other sites

12 hours ago, Macky said:

Thank you for making this for me. And also is there anyway whenever your free to maybe add like a command like "/prestigetimes <amount of times you want to prestige>" 

And also how would I go about like say you won 200 Prestiges in a Crate what command would that be to add prestiges to someon.

yea here you go

i put it in a pastebin because it is kind of long

Prestige Skript - Pastebin.com

 

i  added the prestige <amount> on to the original command so make it a little be easier and i can always add a perm to it

 

Link to comment
Share on other sites

5 hours ago, Boxmonkey said:

yea here you go

i put it in a pastebin because it is kind of long

Prestige Skript - Pastebin.com

 

i  added the prestige <amount> on to the original command so make it a little be easier and i can always add a perm to it

 

Sorry for all these requests but now that I think about it if someone has a lot of prestiges chats gonna be such a mess.

So I was wondering if it would be possible to maybe add like formats to them for example:

1 Thousand Prestiges = [1k]

1 Million Prestiges = [1M]

1 Billion Prestiges = [1B]

etc.

Also is it possible so when you get over 1k prestiges the format goes into like how its listed below.

For example: I have 1,550 Prestiges so that would format like this [1.55k]

For example: I have 1 Billion and 50 thousand prestiges so that would format like this [1.50B]

ETC if you have any questions just tell me ik its kinda confusing

and ty so much for this

Link to comment
Share on other sites

3 hours ago, Macky said:

Sorry for all these requests but now that I think about it if someone has a lot of prestiges chats gonna be such a mess.

So I was wondering if it would be possible to maybe add like formats to them for example:

1 Thousand Prestiges = [1k]

1 Million Prestiges = [1M]

1 Billion Prestiges = [1B]

etc.

Also is it possible so when you get over 1k prestiges the format goes into like how its listed below.

For example: I have 1,550 Prestiges so that would format like this [1.55k]

For example: I have 1 Billion and 50 thousand prestiges so that would format like this [1.50B]

ETC if you have any questions just tell me ik its kinda confusing

and ty so much for this

i had no idea how to do this but i knew someone else was doing this and after some looking i found it

 

new new skript

new one - Pastebin.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...