Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local userinputservice = game:GetService("UserInputService")
- local player = game.Players.LocalPlayer
- userinputservice.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.R then
- if player.PlayerGui.Radio.Frame.Visible == true then
- player.PlayerGui.Radio.Frame.Visible = false
- else
- player.PlayerGui.Radio.Frame.Visible = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment