Yodamaster Posted July 21, 2021 Share Posted July 21, 2021 (edited) command /hug <player>: cooldown: 30 seconds cooldown message: This command in on cooldown for another %remaining% trigger: if arg-1 is online: if arg-1 is player: send "&ayou &5&l&ka&r&d&lHUGGED&5&l&ka &r&ayourself..." to player play sound "entity.experience_orb.pickup" with volume 100 to player else: send "&ayou &5&l&ka&r&d&lHUGGED&5&l&ka &r&a%player% &aawww how sweat" to player send "&a%player% &5&l&ka&r&d&lHUGGED&5&l&ka &r&ayou what a sweat person" to arg-1 play sound "entity.experience_orb.pickup" with volume 100 to player and arg-1 Edited July 23, 2021 by Yodamaster Link to comment Share on other sites More sharing options...
Fusezion Posted July 22, 2021 Share Posted July 22, 2021 9 hours ago, Yodamaster said: command /hug <player>: trigger: if arg-1 is online: if {%player%.hugcd} is not set: set {%player%.hugcd} to false if {%player%.hugcd} is false: if arg-1 is player: send "&ayou &5&l&ka&r&d&lHUGGED&5&l&ka &r&ayourself..." to player play sound "entity.experience_orb.pickup" with volume 100 to player else: send "&ayou &5&l&ka&r&d&lHUGGED&5&l&ka &r&a%player% &aawww how sweat" to player send "&a%player% &5&l&ka&r&d&lHUGGED&5&l&ka &r&ayou what a sweat person" to arg-1 play sound "entity.experience_orb.pickup" with volume 100 to player and arg-1 set {%player%.hugcd} to true wait 30 seconds set {%player%.hugcd} to false Not going to hate after all we all do need hugs but there it a slightly better way to do your cooldown and that's simply doing command /exaple <player>: cooldown: 30 seconds cooldown message: This command is on cooldown for another %remaining% # message and bypass are optional cooldown bypass: skript.admin # message and bypass are optional trigger: if arg-1 is player send "Example Message 1" cancel cooldown else: send "Example Message 2" I'm a guy yes but I am also human just like any female so why do you believe it's so wrong to cry too? 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