local UserInputService = game:GetService("UserInputService") local targetKey = Enum.KeyCode.R UserInputService.InputBegan:Connect(function(input, gameProcessedEvent) if input.KeyCode == targetKey then game:GetService("ReplicatedStorage").RemoteEvents.StartedGame:FireServer() end end)