Jump to content

How to make afk rewards Skript


BirdOftheBlack

Recommended Posts

Its basically really simple:

every 10 minutes:

#you can edit this to be 20 minutes or even 100!

loop all players:

if "%region at loop-player%" contains "afk":

#you can edit the region to be like "box":  or whatever your afk region is named

give air named "Name it smth" to loop-player

#replace air with the block you want the player to get and "Name it Smth" to the name of the item

 send "&6&lYou got a  reward for being afk!"

# edit the message to what you want

broadcast "&a&lALL THE PLAYER'S IN THE AFK POOL GOT A REWARD!"

# again you can edit all the messages here

 

# it might  give erros saying you need 4 spaces not 2 or smth thats a easy fix!

 

 

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...