Jump to content

Afk Pool Skript For A Life Steal Server


SoulzNate

Recommended Posts

options:
    server: Server #Add your server name here
    afkworld: World #World to receive the reward in
    afkcooldown: 30 minutes #Cooldown between receiving the reward
    xcoords1: -130 #first x coordinates
    ycoords1: 59 #Y coordinates
    zcoords1: -63 #First z coordinates
    xcoords2: -136 #Second x coordinates
    zcoords2: -57 #Second z coordinates
    afkitem: stone #Reward item
    
every {@afkcooldown}:
    loop all players in world "{@afkworld}":
        if loop-player's x coordinate is between {@xcoords1} and {@xcoords2}:
            if loop-player's y coordinate is {@ycoords1}:
                if loop-player's z coordinate is between {@zcoords1} and {@zcoords2}:
                    give loop-player {@afkitem}
                    send "{@server} &f>> &aYou have recieved 1 {@afkitem}!" to loop-player

This is the skript if you aren't comfortable downloading unknown files lol

Link to comment
Share on other sites

10 hours ago, LunarBurn101 said:

options:
    server: Server #Add your server name here
    afkworld: World #World to receive the reward in
    afkcooldown: 30 minutes #Cooldown between receiving the reward
    xcoords1: -130 #first x coordinates
    ycoords1: 59 #Y coordinates
    zcoords1: -63 #First z coordinates
    xcoords2: -136 #Second x coordinates
    zcoords2: -57 #Second z coordinates
    afkitem: stone #Reward item
    
every {@afkcooldown}:
    loop all players in world "{@afkworld}":
        if loop-player's x coordinate is between {@xcoords1} and {@xcoords2}:
            if loop-player's y coordinate is {@ycoords1}:
                if loop-player's z coordinate is between {@zcoords1} and {@zcoords2}:
                    give loop-player {@afkitem}
                    send "{@server} &f>> &aYou have recieved 1 {@afkitem}!" to loop-player

This is the skript if you aren't comfortable downloading unknown files lol

You could do this:

every 30 minutes:
	loop all players:
		if "%region of loop-player%" is "region name":
			give loop-player 1 stone
			send "&cYou now have one stone"

Tell me if it doesn't work

Player Stats

IGN - ES63

Rank - Pro

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

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

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

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

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