execute if score passive_points world_upgrades matches 1 run scoreboard players add @a Points 1
execute if score passive_points world_upgrades matches 1 run tellraw @a [{"text":"[Passive Points] ","color": "#b5a06f"},{"text": "+1 Points", "color": "#fda654"}]
execute if score passive_points world_upgrades matches 2 run scoreboard players add @a Points 2
execute if score passive_points world_upgrades matches 2 run tellraw @a [{"text":"[Passive Points] ","color": "#b5a06f"},{"text": "+2 Points", "color": "#ff9a3b"}]
execute if score passive_points world_upgrades matches 3 run scoreboard players add @a Points 3
execute if score passive_points world_upgrades matches 3 run tellraw @a [{"text":"[Passive Points] ","color": "#b5a06f"},{"text": "+3 Points", "color": "#f48925"}]
execute if score passive_points world_upgrades matches 4 run scoreboard players add @a Points 4
execute if score passive_points world_upgrades matches 4 run tellraw @a [{"text":"[Passive Points] ","color": "#b5a06f"},{"text": "+4 Points", "color": "#e27a18"}]
execute if score passive_points world_upgrades matches 1.. run function kiwi2:points/update_milestones

execute if score passive_xp world_upgrades matches 1 run xp add @a 20 points
execute if score passive_xp world_upgrades matches 1 run tellraw @a [{"text": "[Passive XP] ","color": "#1da50e"},{"text": "Gained 20 XP!", "color": "#60e38e"}]
execute if score passive_xp world_upgrades matches 2 run xp add @a 30 points
execute if score passive_xp world_upgrades matches 2 run tellraw @a [{"text": "[Passive XP] ","color": "#1da50e"},{"text": "Gained 30 XP!", "color": "#41d776"}]
execute if score passive_xp world_upgrades matches 3 run xp add @a 50 points
execute if score passive_xp world_upgrades matches 3 run tellraw @a [{"text": "[Passive XP] ","color": "#1da50e"},{"text": "Gained 50 XP!", "color": "#30bc61"}]
execute if score passive_xp world_upgrades matches 4 run xp add @a 80 points
execute if score passive_xp world_upgrades matches 4 run tellraw @a [{"text": "[Passive XP] ","color": "#1da50e"},{"text": "Gained 80 XP!", "color": "#27a754"}]