I've recently gotten more interest in roblox lua, and I was wondering if code review allows it. Here's an example piece of code I want to share, but I fear that it could be closed as off-topic.
function onClicked()
if script.Parent.Parent.iBusControlSystem.iBus.Enabled == true then
if script.Parent.Parent.iBusControlSystem.An.Value == 0 then
script.Parent.Parent.iBusControlSystem.DestinationChange:Play()
script.Parent.Parent.Interface.SurfaceGui.Frame.Announcement.Text = "The destination has changed. Listen for more info"
wait(7)
script.Parent.Parent.Interface.SurfaceGui.Frame.Announcement.Text = "Welcome aboard London United's bus"
for i=1, #c do
if c[i].Name == "iBusPassenger" then
c[i].SurfaceGui.iBus.Visible = true
c[i].SurfaceGui.iBus.Text = "The destination of this bus has changed"`
I got really bored one day so I decided to make it.
So anyway, is roblox lua allowed?