#Clear effects
1 messages · Page 1 of 1 (latest)
slowness -50?
man im new to skript
i dont know how to clear certain effects with a command
basically
You can clear the effect with a command
yeah but like to make it automatic
like with the /unfreeze command i'd like to do it
i know i can just do /effect clear name effect
but is there a way to do it with a custom command?
yeah just make the console execute that command
execute console command "/effect blabla"
Did you get it to work?
No problem
💀
tell me you aren't good without telling me
don't use console commands in skript, 99% of the time its not needed at all
yes they need good ones and good tips
go ahead then
this is one way
remove slowness from player
remove jump boost from player```
this is another way
clear all the potion effects of player```
@void musk Use my examples, don't use console commands
np
is there something called like
I also recommend using https://skripthub.net/docs/
Its a great site for beginners to learn skript
set player's health to 20?
yes
oh i use that sometimes
oh
whats the uhh
how do i do it?
cuz for the heal command i just gave instant health
i mean it works but i think it could be better
this is a way
set player's health to 20 hearts```
wont work?
this should also work
or 20hp
thank you :)
oh that i know
set player's max health to 50
bruh shut
you can clear specific effect from a player
thank god ur here
no problem man, we have to stay stong and defend newbies from bad skripters
just set walk speed of arg-1 to 0 🤷
or
trigger:
set {freeze::%arg's uuid%} to true
on move:
if {freeze::%player's uuid%} is true:
cancel event```
do somethiing like this
create a /unfreeze command and set {freeze::%arg-1's uuid%} to false
^, but with a metadata tag
also, on move: accounts for yaw/pitch changes too, so it gets triggered a lot and might be laggy. i would use on player step: instead
also isn't it on player move and not on move
wiggity wah