- game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.W or Enum.KeyCode.A or Enum.KeyCode.S or Enum.KeyCode.D then --Also, could be written as [[inputObject.KeyCode == "R"]]
- game:GetService("Workspace").Living[game.Players.LocalPlayer.Name].Status.Running.Value = true
- end
- end)