enum roblox studio code example
Example: enum roblox
local player = game.Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then
return end
if input.KeyCode == Enum.KeyCode.F then
print("Congrats you pressed the Key F")
end
end)