#could someone help me on making a points system
1 messages · Page 1 of 1 (latest)
wydm
first wdym by "survivals"
if someone dies
then give the other 39 players coins
[+5] SpaceFl1erz fell into the void
@velvet dagger
im not sure u can just say "if someone dies" or in any other way
i was just giving an example
I dont know where to start
thats why im looking for help
where will i store the points?
?
{points::%player’s uuid%}
how about team points?
Wdym team points
how will i add those points into team points
Loop all players
Then check the team they in and add their points to a list for the team points
no clue how to write that in code
Bruh
thats why i said "could someone help me on making a points system"
bro u cant just ask for help all the time, you need to learn how to skript and not ask for skripts
im not asking for skripts
i need to learn it somehow
youtube
This is Skript help. This is where you send your code and other people help you with the errors.
tutorial
mbmb
ik but its bad for him cause he will never learn how to skript this way
Does anybody here have a link to svode’s gitbook
Yes, exactly what I am saying…
💀
Anyway, try to find this and use that to learn
ok
is it this
1 second I’ll get my pc up
kk
@chilly radish
on death:
attacker is a player
add 5 to {points::%player's uuid%}
@static igloo
Please turn off reply pings
this means pings, please don't ping me
And it's literally telling you what you need to do.
You can't use %player's uuid% in an on damage event
sorry
Attacker’s uuid
how would you do it to all players?
Loop them
Then check if loop-player is not the victim
Then add points to loop-players uuid
omg i love u
how would i reset the points to all players
currently im doing
command /pointsreset:
permission: op
trigger:
loop all players:
set {points::%player's uuid%} to 0
but that doesnt work
You're looping all players. Use loop-player to refer to the looped player.
i want it to reset it to all players tho
When you loop something it does that code for each and every single thing inside the loop
So when you loop all players it will delete the points of each and every player that is online
set all points to 0 to all players
When you use loop-player atleast
yes...
like I told you...
but actually, that's weird
Instead just
delete the list
in general
Or that
delete the list?
yes
how
huh
that didnt work
command /test:
trigger:
delete {points::%player's uuid%}
yes, because you only deleted one variable
I said the entire list
{points::*} is the list
command /test:
trigger:
delete {points::}
wait 1 tick
set {points::} to 0
it just says none
on scoreboard

command /test:
trigger:
loop all offline players:
delete {points::}
wait 1 tick
set {points::} to 0
Code Blocks
code blocks?
```vb
code```
?
.
trigger:
loop all offline players:
delete {points::*}
wait 1 tick
set {points::*} to 0```
Remove the delete line and the waiting a tick
and just set {points::%uuid of loop-player%} to 0
loop-value
tysm