- -- thank you to danielaity for offering the script on a v3rm post
- -- Locals
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local left = game:GetService("Workspace")["NIGHT-6"].DoorButtons1.DoorButton.ClickDetector --change the number in night6 to whatever night you are on
- local right = game:GetService("Workspace")["NIGHT-6"].DoorButtons2.DoorButton.ClickDetector --change the number in night6 to whatever night you are on
- local lightleft = game:GetService("Workspace")["NIGHT-6"].DoorButtons1.LightButton.ClickDetector --change the number in night6 to whatever night you are on
- local lightright = game:GetService("Workspace")["NIGHT-6"].DoorButtons2.LightButton.ClickDetector --change the number in night6 to whatever night you are on
- -- Settings
- bindleft = "q" -- has to be lowercase change them to whatever you are comfortable with
- bindright = "r" -- has to be lowercase change them to whatever you are comfortable with
- bindlightleft = "o" -- has to be lowercase change them to whatever you are comfortable with
- bindlightright = "p" -- has to be lowercase change them to whatever you are comfortable with
- -- Scripts
- mouse.KeyDown:connect(function(key)
- if key == bindleft then
- fireclickdetector(left)
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == bindright then
- fireclickdetector(right)
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == bindlightleft then
- fireclickdetector(lightleft)
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == bindlightright then
- fireclickdetector(lightright)
- end
- end)
- --
- game:GetService("Workspace").Status.Jumpscares.Value = false
- game:GetService("Players").LocalPlayer.PlayerGui.Scripts.JumpscareEvent:Destroy()