I was wondering if it was possible to trigger an event through the leaderboard? Example: if leaderboard = 4 points then door opens. something like that.
✓ ANSWER ACCEPTED
Trigger event through leaderboard?
1 answer
✓ Accepted answer
IntValue.Changed event is triggered every time value of this value changes, every time it changes you can check if the value is 4:
leaderstats.Points.Changed:Connect(function(value)
if value == 4 then
print("value changed to 4")
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks for the help! Worked great!