I made a closet hiding system a while back. I have no use for it so now it’s yours!
Code is slightly commented.
Place (you can play and edit it) - Closet Hiding System - Roblox
Place file - closet_hiding_system.rbxl (45.8 KB)
I made a closet hiding system a while back. I have no use for it so now it’s yours!
Code is slightly commented.
Place (you can play and edit it) - Closet Hiding System - Roblox
Place file - closet_hiding_system.rbxl (45.8 KB)
can we see videos of what it looks like so people can get the resource
Added a video, sorry about that.
Does it use values or it’s just a teleporter?
My opinion is that it looks really great! The only piece of feedback that I have is that it shouldn’t allow players to jump inside of closets, as Doors doesn’t allow that, and since this closet hiding system was inspired by Doors, it would be a good idea. Nevertheless however, this looks really great!
This system positions the player perfectly inside the closet when they interact with it. When they interact with it, a value called Occupant
is updated with the name of the player. If they leave the closet, that value is set to nil.
This value can be handy for monster AIs and also to check if the closet is already occupied.
Hopefully this answers your question!
Added!
This was supposed to be a feature but I had no idea they changed JumpPower
to JumpHeight
.
That sounds great! I find it cool that you are releasing this, it’s always great to help other developers out!
Wow! Amazing! I could use it for my big project.
Woah, thank you for this crazy cool and useful resource!
i have so many cool and epic ideas to create with the help of your Closet Hiding System (inspired by DOORS [Open Sourced])