Skript Version: Skript 2.2-Fixes-VBb
Skript Author: Njol
Minecraft Version: 1.8.8
---
Full Code:
_Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)_
_Note: If a variable is being set in another script, but not shown, please explain how they are being set_
`
`
Errors on Reload:
`
None
`
Console Errors:
`
None
`
Other Useful Info:
Addons using (including versions):
SkRayFall 1.9.7
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the Forums? Yes
What other methods have you tried to fix it? I think what is happening is that it's not updating the scoreboard, because when I relog with different health it updates it once when I join, but not any other time. I've tried doing
but it doesn't even recognize that as a effect.
Skript Author: Njol
Minecraft Version: 1.8.8
---
Full Code:
_Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)_
_Note: If a variable is being set in another script, but not shown, please explain how they are being set_
`
code_language.skript:
function updateHealth(p: player):
loop all players:
set tablist score of {_p} to ({_p}'s health*10) for loop-player
on join:
updateScore(player)
every 20 ticks:
loop all players:
updateHealth(loop-player)
Errors on Reload:
`
None
`
Console Errors:
`
None
`
Other Useful Info:
Addons using (including versions):
SkRayFall 1.9.7
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the Forums? Yes
What other methods have you tried to fix it? I think what is happening is that it's not updating the scoreboard, because when I relog with different health it updates it once when I join, but not any other time. I've tried doing
code_language.skript:
wipe {_p}'s score from tablist
Last edited: