of     1   

TerrainCrypt
#63715752Friday, March 02, 2012 11:25 PM GMT

No output messages ):, but here are the issues: The message time is off, and the doors don't lock/unlock. Player = script.Parent.Parent.Parent Debounce = false Up = script.Parent.Holder.Up Down = script.Parent.Holder.Down Shout = script.Parent.Holder.Shout Time_label = script.Parent.Holder.Timelabel Time = script.Parent.Holder.Time Line = script.Parent.Holder.Line Lock_button = script.Parent.Holder.LockButton Door_set = game.Workspace.StageDoors Locked = false function timeup() if Time.Value < 10 then Time.Value = Time.Value + 1 Time_label.Text = Time.Value.." Second(s)" end end function timedown() if Time.Value > 1 then Time.Value = Time.Value - 1 Time_label.Text = Time.Value.." Second(s)" end end function shoutf() if Debounce == false then Debounce = true Message = Instance.new("Message", game.Workspace) Jic = script.Parent.Holder.Safelock:Clone() Jic.Parent = Message Jic.Disabled = false Jic.Time.Value = Time.Value + .5 Message.Name = "StageMessage" Message.Text = Player.Name..": "..Line.Text Wait(Time.Value) Message:Destroy() Debounce = false elseif Debounce == true then print("Please Wait...") end end function lock() for i, v in pairs(Door_set:GetChildren()) do if not Locked then v.CanCollide = true Lock_button.Text = "Unlock Doors" Locked = true elseif Locked then v.CanCollide = false Lock_button.Text = "Lock Doors" Locked = false end end end Up.MouseButton1Click:connect(timeup) Down.MouseButton1Click:connect(timedown) Shout.MouseButton1Click:connect(shoutf) Lock_button.MouseButton1Click:connect(lock)
TerrainCrypt
#63716370Friday, March 02, 2012 11:37 PM GMT

Nobody? I may seem impatient, but this hasn't even gotten more than 5 views since it was posted >.>
epicfail22
#63716479Friday, March 02, 2012 11:40 PM GMT

Very messy. Maybe if it was rewritten I could see the error more clearly.
TerrainCrypt
#63716553Friday, March 02, 2012 11:42 PM GMT

I would better organize it if the forum allowed tabs.. Please explain how this is messy?
epicfail22
#63717320Friday, March 02, 2012 11:57 PM GMT

The way it is coded. For example . . . if Debounce == true then could be if Debounce then . . . and some others.
TerrainCrypt
#63717673Saturday, March 03, 2012 12:03 AM GMT

Well, I just rewrote it, and with better organization as you said.. So far it works well
epicfail22
#63720457Saturday, March 03, 2012 12:51 AM GMT

Sweetness. If you have any problems, feel free to let me know.

    of     1