Random position for a object?

Hello. I am making a horror game and im making keys. to unlock doors. and i want the keys to be in certain places. when you enter the game. like piggy. is there a way i can do that?

Yes. You can have the models in the server storage in the right place and only move the ones you want into the workplace. You could have the positions they need to be in an array or something and then just move them to the right place when the round starts. You could have invisible parts in the place you want then select the place when the round starts and put the key in the parts position. There are many ways to do it.

ok but do scripts work? like using tables and using like math.random. since i was thinking of that but i dont really know how to do that
[i dont know how to do math.random for positions]

never mind i figured it out. :smiley:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.