Speed remover kit

  • Welcome to skUnity!

    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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

4bugser

Member
Mar 31, 2024
1
0
1
25
function elystra(p: player):
set {_random} to a random integer between 1 and 1
if {_random} = 1:
clear inventory of {_p}
wait 1 tick
equip {_p} with 1 diamond helmet of protection 3
equip {_p} with 1 iron leggings of protection 3
equip {_p} with 1 diamond boots of protection 3
equip {_p} with 1 elytra of protection 3
give {_p} 1 diamond sword of sharpness 3

command /elytra [<player>]:
trigger:
if arg is not set:
elystra(player)

I've tried everything jsut for it to result to a fail

remove all active potion effects from player this didint work
console command "effect clear %player%" didnt work please help me
 
...What exactly is the problem? this code isn't giving any potion effects to the player. Also theres no need for the first 2 lines of the function. Did you AI write this code or smth?

Also please properly format your code on this site.