
Key Required VerifiedUniversal

local replicatedStorage = game:GetService("ReplicatedStorage")
local zzzSleepEvent = replicatedStorage:WaitForChild("ZZZZZZZSleep")
local userInputService = game:GetService("UserInputService")
userInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if gameProcessedEvent then return end -- ignore keys that are already being used by Roblox
if input.KeyCode == Enum.KeyCode.R then
zzzSleepEvent:FireServer()
end
end)No comments yet for this script.


