#can someone help me with that skript make to me a golden sword that dashes
1 messages · Page 1 of 1 (latest)
push player upwards with speed 1.5
push player forwards with speed 1.5
on right click:
if player's tool is golden sword:
if player has player's tool on cooldown:
send "&cCooldown" to player
else:
make 10 of smoke at player with extra 0
play sound "entity.blaze.shoot" with volume 1 and pitch 1 for player
set item cooldown of player's tool for player to 10 seconds
set {_v} to vector from player to location 1 in front of player
set pitch of {_v} to -30
push player {_v} with force 1.5
btw on right click on golden sword:
on right click is very bad optimization wise
doesn't matter too much if you just contain everything in one event for things like the users ask
but it triggers every time ANYONE right clicks ANYTHING
so
:/
it wont affect the server at all and if it does its negligible
It will if there’s more than 50 players
The amount of events being called per second would be wild
I want the cooldown 20sec
then make it 20s?
LOL
you cant use the object function if youre not a woman