Why doesn't this LocalScript work? [Still unanswered]
I have tried everything to make this GUI function, but it never does. What exactly is the problem, really? Seems impossible to fix.
(LocalScript updated, which still won't work)
01 | local bootup = game.Players.LocalPlayer.PlayerGui.CyborgVision.PowerAndHealth.EmergencyReboot.BootUpLabel.Visible |
02 | local shutdown = game.Players.LocalPlayer.PlayerGui.CyborgVision.PowerAndHealth.EmergencyReboot.ShutDownLabel.Visible |
03 | local frame = game.Players.LocalPlayer.PlayerGui.CyborgVision.PowerAndHealth.EmergencyReboot.Visible |
05 | if game.Players.LocalPlayer.Character.Humanoid.Health < = 10 then |
06 | mouse = game.Players.LocalPlayer:GetMouse() |
07 | mouse.KeyDown:connect( function (key) |
08 | if key:lower() = = "z" then |
10 | game.Players.LocalPlayer.Character.Humanoid.AutoRotate = false |
11 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 |
20 | game.Players.LocalPlayer.Character.Humanoid.AutoRotate = true |
21 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 |
22 | game.Players.LocalPlayer.Character.Humanoid.Health = 100 |