CosmicCraft422 Posted December 19, 2023 Share Posted December 19, 2023 Hi I need a skript so when the player does /afk then they are in afk mode and if they dont move for 20 minutes then after the 20 minutes they get a sum of money (essentials). if they move then it cancels the afk mode and then it tells them you are unafk. and commands to set the variables for the afk time and afk reward amount of money Thank you! Link to comment Share on other sites More sharing options...
enawec Posted January 14 Share Posted January 14 (edited) command /afk: trigger: set {%player%.afk} to true every 20 minutes: if {%player%.afk} is true: execute console command "pay %player% [amount]" on any movement: set {%player%.afk} to false send "&l&4You are no longer afk" to player should work Edited January 14 by enawec IGN: enalecks Discord: enalecks Hobbies: Gaming (Minecraft, Apex Legends, and some other irrelevant ones,) Guitar (Electric), Watching YouTube, Playing Strucid (yes on Roblox but it's fun), Skateboarding, owning Discord servers, and Listening to Music (Avenged Sevenfold, Slipknot, and Five Finger Death Punch.)</> I might have forgotten some but I'll add them when they dawn on me. -ALEX- Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now