FunnyNAmeGuy3248 Posted September 21, 2021 Share Posted September 21, 2021 on join: while player is online: set {_x} to player's x velocity set {_y} to player's y velocity set {_z} to player's z velocity set {_speed} to abs({_x}) + abs({_y}) + abs({_z}) send action bar "&7SPEED: &f%{_speed}%&7 / &f2" to player wait 2 ticks Link to comment Share on other sites More sharing options...
Darth1013 Posted September 21, 2021 Share Posted September 21, 2021 3 minutes ago, FunnyNAmeGuy3248 said: on join: while player is online: set {_x} to player's x velocity set {_y} to player's y velocity set {_z} to player's z velocity set {_speed} to abs({_x}) + abs({_y}) + abs({_z}) send action bar "&7SPEED: &f%{_speed}%&7 / &f2" to player wait 2 ticks ill take a look, but im not the best... Link to comment Share on other sites More sharing options...
Darth1013 Posted September 21, 2021 Share Posted September 21, 2021 every 1 ticks: loop all players set {_x} to loop-player's x velocity set {_y} to loop-player's y velocity set {_z} to loop-player's z velocity set {_speed} to abs({_x}) + abs({_y}) + abs({_z}) send action bar "&7SPEED: &f%{_speed}%&7 / &f2" to loop-player wait 2 ticks Try this! Link to comment Share on other sites More sharing options...
FunnyNAmeGuy3248 Posted September 21, 2021 Author Share Posted September 21, 2021 4 hours ago, Darth1013 said: every 1 ticks: loop all players set {_x} to loop-player's x velocity set {_y} to loop-player's y velocity set {_z} to loop-player's z velocity set {_speed} to abs({_x}) + abs({_y}) + abs({_z}) send action bar "&7SPEED: &f%{_speed}%&7 / &f2" to loop-player wait 2 ticks Try this! didn't work Link to comment Share on other sites More sharing options...
Darth1013 Posted September 22, 2021 Share Posted September 22, 2021 8 hours ago, FunnyNAmeGuy3248 said: didn't work errors? Link to comment Share on other sites More sharing options...
ReportCards Posted September 23, 2021 Share Posted September 23, 2021 every 1 ticks: loop all players set {_x} to x of loop-player's velocity set {_y} to y of loop-player's velocity set {_z} to z of loop-player's velocity set {_speed} to abs({_x}) + abs({_y}) + abs({_z}) send action bar "&7SPEED: &f%{_speed}%&7 / &f2" to loop-player wait 2 ticks You want to use (x|y|z) of %vector% as the velocity of an entity is a vector. https://skripthub.net/docs/?id=986 Zora » Discord: @reportcards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now