Jump to content

How would I prevent people from teleporting to me while im in vanish?

Recommended Posts

23 minutes ago, alecj0217 said:

I have a variable that says when im in vanish all I want to do is if someone teleports to me while im vanished i want to cancel it.

on teleport:
	if {Vanished.%player%} = true:
		cancel event
		send "&4Player is not online!" to player





Owner of Lifestealed, Labs, Encore, UNOfficially and Observed

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present


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