Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » XP rewards
- JoshuaRumsey
- Scratcher
100+ posts
XP rewards
I need help with a script on where if you get a certain amount of XP you get a star (AKA Gems)
I have tried it where
Please help!
EDIT: Fixed it an alternate way,
I have tried it where
if <(XP) = [50]> thenBut this wont work
change [Stars v] by (1)
end
Please help!
EDIT: Fixed it an alternate way,
forever
if <(XP) = [50]> then
change [Stars v] by (1)
wait (2) secs
end
Last edited by JoshuaRumsey (April 22, 2017 19:09:25)
- JoshuaRumsey
- Scratcher
100+ posts
XP rewards
Fixed it, thanks though Try this:if <((XP) mod (50)) = [0]> thenThis will give a star when the XP is a multiple of 50.
change [Stars v] by (1)
end
- Discussion Forums
- » Help with Scripts
- » XP rewards