Jump to content

kill=Money skript


cheesefrys

Recommended Posts

Options:
	killreward: 10
    # The amount money you get when you get a kill (Just a number)

death of player:
	attacker is player:
    	add {@killreward} to attacker's balance

 

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

  • 10 months later...

don't post on threads that are older than one month. (this one was made in 2019)

But to answer your question the following script would work;

On 8/24/2019 at 5:48 PM, farwl said:

Options:
	killreward: 10
    # The amount money you get when you get a kill (Just a number)

death of player:
	attacker is player:
    	add {@killreward} to attacker's balance

 

 

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

  • 1 month later...
On 8/24/2019 at 2:48 PM, farwl said:

options:
	killreward: 10
    # The amount money you get when you get a kill (Just a number)

death of player:
	attacker is player:
    	add {@killreward} to attacker's balance

 

Instead of doing it like this where it's just the same amount every time, Why not do this?
 

options:
	lowest_money: 10
    highest_money: 25
      
on death:
	attacker = player
    set {_random} to a random integer between {@lowest_money} and {@highest_money}
	add {_random} to balance of attacker

 

✘ Some stuff about me ✘

I'm 13 and my pronouns are She/Her 🙂

I first joined Minehut @ December 11 2019.

Link to comment
Share on other sites

15 hours ago, RonskiYT said:

Instead of doing it like this where it's just the same amount every time, Why not do this?
 


options:
	lowest_money: 10
    highest_money: 25
      
on death:
	attacker = player
    set {_random} to a random integer between {@lowest_money} and {@highest_money}
	add {_random} to balance of attacker

 

I guess you could do something like that if you wanted to. The condition should be attacker is a player, not attacker = player.

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

dont quote my scripts from 2019

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

  • 7 months later...

🔐 Topic locked.

Please do not reply on threads that have been inactive for over a month.

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 - 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - 12/20/22

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...