Mindee-BOT

Mindee-BOT Community => Scripting => Share => Topic started by: hurt666 on March 19, 2022, 04:47:42 pm

Title: [Share] Script for doing PVP Achievement
Post by: hurt666 on March 19, 2022, 04:47:42 pm
Script for those who want to make pvp achievements.

In 'Guard' you will enter the name of the player to be attacked.


Code: [Select]
# Hurt Script's [ PvP Achievement ]

Player = 'Guard'

def onScriptActivation():
script.EnableTickEvent(2000)
script.AttackEntity(Player, True)

def onTick():
script.AttackEntity(Player, True)

def onDisconnect(info):
if "Hp/Mp" in info:
script.LogoutFor(3)