doxifieq Posted April 30, 2022 Share Posted April 30, 2022 on damage: attacker is a player victim is a player set damage to 0 set {attacker::%uuid of victim%} to attacker on death: if {attacker::%uuid of player%} is set: broadcast "{@logo} &b%player% &7was knocked into the void by &b%{attacker::%uuid of player%}%" delete {attacker::%uuid of player%} else: broadcast "{@logo} &b%player% &7died" delete {attacker::%uuid of player%} the script above works perfectly fine, however i'm greeted with this message upon reloading the script. is there a way to prevent this? Link to comment Share on other sites More sharing options...
doxifieq Posted April 30, 2022 Author Share Posted April 30, 2022 i figured it out, you can go into config.sk inside skript and set "disable variable will not be saved warnings" to true. Link to comment Share on other sites More sharing options...
Checkmate128 Posted May 11, 2022 Share Posted May 11, 2022 It’s just a warning. Your code should still work fine. I wouldn’t disable it because sometimes warning can help you know why something doesn’t work. Owner of oldgaffle.minehut.gg. (my paintball server) Owner of karted.minehut.gg. (my mario kart server) Advocate of individual freedom, especially freedom of speech. Cooler than Stalemate128. Link to comment Share on other sites More sharing options...
Pryzmm Posted May 11, 2022 Share Posted May 11, 2022 the entity wont be saved in the variable when the server stops or restarts. Owner of Lifestealed, Exploratory, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present 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