Polytoria Creator Tips Thread

Back
ZYECE
Join Date:
Posts:
Oct 2021
2
1 year ago | 24 • By ZYECE

Im trying to add music to my map, but don't know how, can someone explain how to add music?
Also, how do I add a script?



astronaut
Join Date:
Posts:
Dec 2020
368
1 year ago • By astronaut

Go to one of your places click edit and when in the workshop click the add sound button then you have to add the audio ID which you can find here polytoria.com/library and click on audio


and you could use something like this to make it work
game["Environment"]["Sound"]:Play()
add script the same way u add sound
docs.polytoria.com/classes/Sound/


ZYECE OP
Join Date:
Posts:
Oct 2021
2
1 year ago • By ZYECE OP

So, if i was to lock the camera from a first-person perspective, how do implement this script into the world?