Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You also need to use the correct format or no one will listen to you.This a script request, not a help one.
you must move this to "Request" forums.
Go to the requests section and go to the sticky thread at the top then make a new thread and fill out the format for you.I am a noob. Help !
I will post my old combattag skript after you use the format!I am a noob. Help !
on damage of player:
if attacker is a player:
if {tagged::%uuid of attacker%} is not uuid of victim:
send "You have tagged %victim%." to attacker
if {tagged::%uuid of victim%} is not set:
send "You have been tagged by %attacker%." to victim
set {tagged::%uuid of attacker%} to uuid of victim
set {tagged.time::%uuid of attacker%} to 15
if {tagged.while::%uuid of attacker%} is not set:
set {tagged.while::%uuid of attacker%} to true
while {tagged.while::%uuid of attacker%} is set:
remove 1 from {tagged.time::%uuid of attacker%}
if {tagged.time::%uuid of attacker%} is 0:
delete {tagged.while::%uuid of attacker%}
delete {tagged::%uuid of attacker%}
delete {tagged.time::%uuid of attacker%}
send "You are no longer in combat." to attacker
wait 1 second
set {tagged::%uuid of victim%} to uuid of attacker
set {tagged::%uuid of victim%} to 15
if {tagged.while::%uuid of victim%} is not set:
set {tagged.while::%uuid of victim%} to true
while {tagged.while::%uuid of victim%} is set:
remove 1 from {tagged.time::%uuid of victim%}
if {tagged.time::%uuid of victim%} is 0:
delete {tagged.while::%uuid of victim%}
delete {tagged::%uuid of victim%}
delete {tagged.time::%uuid of victim%}
send "You are no longer in combat." to victim
wait 1 second
on quit:
if {tagged::%uuid of player%} is set:
kill the player
broadcast "%player% has been killed for logging out while in combat."
delete {tagged.while::%uuid of player%}
delete {tagged::%uuid of player%}
delete {tagged.time::%uuid of player%}
command /combattag:
trigger:
if {tagged::%uuid of player%} is set:
send "You are currently in combat with %{tagged::%uuid of player%}% and must wait another %{tagged.time::%uuid of player%}% before you are no longer in combat."
stop
send "You are not in combat."
Only bump 24 hours AFTER the last post.Hm.. It does not work. When i get tagged by my alt acc, and type in /combattag, it says i am not in combat. Also i don't die when i quit and log in again
[doublepost=1486061879,1486051367][/doublepost]
i did use the format in the other post
[doublepost=1486067720][/doublepost]bump
@mathhulk
@KingAlterIV
@BrettPlayMC
Follow the rules if you want help.I am bumping cus i need help lmao
I will fix it and test it today.Hm.. It does not work. When i get tagged by my alt acc, and type in /combattag, it says i am not in combat. Also i don't die when i quit and log in again
[doublepost=1486061879,1486051367][/doublepost]
i did use the format in the other post
[doublepost=1486067720][/doublepost]bump
@mathhulk
@KingAlterIV
@BrettPlayMC