How to do Achievements

Back
Rainbowsilver Plus Deluxe
Join Date:
Posts:
Sep 2022
1406
2 months ago | 23 • By Rainbowsilver

Pls help even after reading the Polytoria Scripting Documentation, I still don't understand how to give achievements, for example if someone touches something.



u clown but u nice :)

Rainbowdiamond
Join Date:
Posts:
Feb 2023
4464
2 months ago • By Rainbowdiamond

Ask someone active who's owned a game such as Shadem, they may know



https://polytoria.com/guilds/503 join if you're COOL >:)

Rainbowsilver Plus Deluxe OP
Join Date:
Posts:
Sep 2022
1406
2 months ago • By Rainbowsilver OP

okay



u clown but u nice :)

astronaut
Join Date:
Posts:
Dec 2020
319
2 months ago • By astronaut

I dont know how to code but I think this is what your looking for


game["Environment"]["Part"].Touched:Connect(function (player)
Achievements:Award(player.UserID, 31472, function(success, error)
if success then
print("Awarded achievement")
else
print("Error awarding achievement: " .. error)
end
end)
end)