I’m guessing quite alot of people that aren’t meant to see this are gonna end up seeing this anyways, so I’m just gonna explain what this post is about.
I’m applying for a rank in a Roblox group of “game developers.” In said group, I want to rank up to a rank known as “Researcher L1”, but for that rank I have to show that I have atleast basic knowledge of scripting, so I’m making this post to show that.
I will try my best to explain how the scripts work in the game I sent for my application, in an effort to boost the chances in getting the rank I want.
I am also very new to scripting, so I apologize to any scripting geniuses I have upset with my shaky explanations.
Automatic Doors:
The Image below shows the inside of each door model. The parts I have highlighted are the parts that are relevant to the scripts that the door uses, rest are just designs.
Inside the parts named “Button” there is a click detector, and inside the click detector are the scripts that run the whole thing.
The next image below will explain the script called “DoorScript”, which is the script that is used to move the induvial doors in the Automatic Door Model.
The next image below will explain the scripts called “LightScript”, which are the scripts that are used to change the color of the lights in the Automatic Door Model once the button is clicked.
Admittedly, I made much of the door script based off a tutorial I found made by EppoBot. When I made this script, I was VERY inexperienced in Lua code. I looked at their tutorial on Tween Service as well, to learn how the whole thing worked, and checked the devforum and roblox API reference manual for other terms I didn’t understand.
Lastly, I made the script which allowed the door’s button to change from green to red upon clicking, and added the ability for the door to make a sound when it opens and closes.