Jump to content

only invisibility doesnt work skript help!


ryaco0l

Recommended Posts

on tool change:
	if player's tool = spyglass named "&4&lSpying Blade":
	apply invisibility without any particles to the player for 100000 seconds
		
on tool change:
	if old tool = spyglass named "&4&lSpying Blade":
	remove invisibility from player's active potion effects
		
on sneak toggle:	
	if player's tool = spyglass named "&4&lSpying Blade":
	if player is not sneaking:
		apply speed of tier 20 without particles to player for 999999999999999999 minutes
	if player is sneaking:
		remove speed from player's active potion effects
		

 

Link to comment
Share on other sites

Hey, i little bit changed your spacing in skript, but when i tested on my server everything seemed to work as it should, it gave me the invisibility without particles, so maybe update your skript?
Try this with the correct spacing and tell me. If you want, add me on discord: danrub

on tool change:
    if player's tool is spyglass named "&4&lSpying Blade":
        apply invisibility without any particles to the player for 100000 seconds
		
on tool change:
    if old tool is spyglass named "&4&lSpying Blade":
        remove invisibility from player's active potion effects
		
on sneak toggle:	
    if player's tool is spyglass named "&4&lSpying Blade":
        if player is not sneaking:
            apply speed of tier 20 without particles to player for 999999999999999999 minutes
    if player is sneaking:
        remove speed from player's active potion effects
Edited by DanRub
Link to comment
Share on other sites

on tool change:
	if player's tool is spyglass named "&4&lSpying Blade":
		apply potion of invisibility without any particles to the player for 100000 seconds
		
on tool change:
	if player's tool is not spyglass named "&4&lSpying Blade":
		remove invisibility from player's active potion effects
		
on sneak toggle:	
	if player's tool is spyglass named "&4&lSpying Blade":
		if player is not sneaking:
			apply speed of tier 20 without particles to player for 999999999999999999 minutes
		else if player is sneaking:
			remove speed from player's active potion effects

Try this

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