#Light
1 messages · Page 1 of 1 (latest)
On armor equip:
If player's helmet is glass:
While true:
If player's helmet is glass:
Set {_x} to location at player
make player see {_x} as light
wait 0.5 second
make player see {_x} as air
Try this but its not best solution
what addons I need?
my program can't recognize on armor equip event
Try while player's helmet is glass:
On armor change:
If player's helmet is glass:
while player's helmet is glass:
Set {_x} to location at player
make player see {_x} as light
wait 0.5 second
make player see {_x} as air
Try this
I did it
Nice
U sure your helmet is glass?
Oh
Firstly try to replace "light" with "torch"
it doesnt work ㅠㅠ
So go back to light
wait
And try to wear normal glass
So lets try to debug this code
Try to add broadcast 1 at on armor change
And next one in while players helmet is glass
lets try another solution tommorow
k
its 23:45 here
oh
good night friend
Why don't we try replacing that block to light instead of using make player see {_x} as light?
We have to add another if before changing light to air if we wanna make it server side
.-.
Hat bui Hi
Can you write the full command?
I started skript yesterday
So it is difficult for me to make command without any help.
I started skript last monday :)
Good
Every 1 tick:
Loop all players:
If loop-player's helmet is glass:
Set {_x} to location at loop-player
make loop-player see block at {_x} as dirt
wait 0.5 second
make loop-player see block at {_x} as air
Try this to see if it turns the player's block into dirt or not
If it work, replace dirt to light
I couldn't find the replace effect so I don't know if my idea worked or not, but I need to go to sleep now. Bye
every 1 tick is not a good idea, i tried to dont use it, but if you dont want to try, you can use it
(i use it sometimes too bc im lazy)
try not to give people handouts https://x8ight.gitbook.io/coding-help/spoon-feeding-handouts
you don't help, spoonfeeding is bad, but if a person doesn't know how to do anything, it's hard for him to do something on his own