I was just trying to make a skript that impliments basic superpowers but Skript keeps tweaking and it doesn't want to work
Code:
#It keeps tweaking with indentation and it won't summon particles correctly
command /permissions <remove|add> <player> <permission>:
permission: op
permission message: "You must be an op to change player's permissions."
executable by: console and players
trigger:
if %arg-1% is "remove":
remove %arg-3% from %arg-2%'s permissions
else if %arg-1% is "add"
add %arg-3% to %arg-2%'s permissions
command /truepotential
Permission: Octoling
permission message:you do not have permission
trigger:
give the player 1 emerald named "&eCheese's True Potential"
command /et
permission: Alien
permission message: you do not have permission
trigger:
give the player 1 emerald named "&aAlien Strength"
command /endersgame
permission: Enderman
permission message: you do not have permission
trigger:
give the player 1 emerald named "&5End's Blessing"
command /isildur
permission: Ranger
permission message: you do not have permission
trigger:
give the player 1 emerald named "&4Ranger's Escape"
command /phasmophobia
permission: Ghost
permission message: you do not have permission
trigger:
give the player 1 emerald named "&7Spirit Crystal"
command /fireman
permission: Flame
permission message: you do not have permission
trigger:
give the player 1 emerald named "&4Flame Crystal"
command /resonance
permission: CYB
permission message: you do not have permission
trigger:
give the player 1 emerald named ""
On swap hands:
if the player is sneaking:
if name of player is "Cheesetheocto":
if the player is holding an emerald named "&eCheese's True Potential":
push the player up 10 blocks
summon 20 of crit at the player
push the player down 10 blocks
summon 50 of wax_on at the player with delta 5
loop all entities in radius 5 around player:
damage loop-entity by 10 with fake cause a falling block
On swap hands:
if the player is sneaking:
if the name of the player is "RiddleMeSilly":
if the player is holding an emerald named "&aAlien Strength":
summon 20 of glow at the player
apply strength 4 to the player for 30 seconds
apply absorption 10 to the player for 30 seconds
apply speed 2 to the player for 30 seconds
On swap hands:
if the player is sneaking:
if the name of the player is "Nerdify_":
if the player is holding an emerald named "&5End's Blessing":
summon 20 of portal at the player
teleport player 30 meters in front of the player
summon 20 of portal at the player
On swap hands:
if the player is sneaking:
if the name of the player is "Thearcherr21":
if the player is holding an emerald named "&4Ranger's Escape"
push the player up 20 blocks
make the player invisible
apply effect slow falling for 20 seconds
summon 20 of poof at the player
wait 20 seconds
make the player visible
summon 20 of poof at the player
On swap hands:
if the player is sneaking:
if the name of the player is "Gambiina_":
if the player is holding an emerald named "&7Spirit Crystal":
set the player's gamemode to spectator
summon 10 of scrape at player
wait 10 seconds
set the player's gamemode to survival
summon 10 of wax_off at player
on swap hands:
if the player is sneaking:
if the player's name is "barkbark911":
if the player is holding an emerald named "&4Flame Essence"
summon 1 fireball 1 block in front of the player
on load:
if the player is named "barkbark911":
apply fire_resistance for 1000000000000 seconds
on swap hands:
if the player is sneaking:
if the player's name is "CYB_Pendulum":
if the player is holding an emerald named "&fCYB_RESONANCE"
push player forwards at speed 2
on flight toggle:
if player is named "CYB_Pendulum"
player's gamemode is not creative:
cancel event
wait a tick
set player's flight state to false
push player upwards at speed 0.8
push player forwards at speed 0.8
on damage:
damage cause is fall:
if player is named "CYB_Pendulum":
cancel event
#1NTERLOPER
on damage:
if victim is a player:
if attacker is holding a written book named "&4Tome of Removal":
apply levitation to victim for 5 seconds
wait 3 seconds
summon 50 of totem_of_undying at victim
kill victim
make console execute command "/gamemode spectator %victim%"
broadcast "&4%victim% has been expended"
remove 1 written book named "&4Tome of Removal" from attacker's inventory
on right click:
if player is holding a written book named "&1Tome of Revival":
summon 40 of scrape at the player with delta of 10
summon 20 of totem_of_undying at player
make console execute command "/gamemode survival @a"
broadcast "&2The expended have risen"