Started by
sl0wra1n
on
Topic category: User side tutorials
Hello, i want to know how to make a armor (not full armor wear) give the wearer potion effects whenever it is night and not day
Topic category: User side tutorials
Hello, i want to know how to make a armor (not full armor wear) give the wearer potion effects whenever it is night and not day
Just make your Armor normally.
After that just create an Procedure that you use for each Tick Update inside of your Custom Armor Element check with the if Procedure Block and check if is not Day in the provided World. And then add potion Effects.
Hi, sl0wra1n i made some tests and i found this code, maybe it is what you are looking for https://imgur.com/a/2MSwZZ3
@Hiena12 This what I said without using Images :)
thank you all! <3
if someone would look at this and feel dumb cus of it's not working bro i understand you. i needed same stuff for my RP server with powers and stuff like a darkness character and night vision in night with his crown and it didn't worked for me soo :

SOLUTION : i just did instead of day = false , day ≠ true.