How to make a "R" to Reset in Roblox Studio | Tutorial

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • In today's video, I will be demonstrating how to make a "R" to Reset in Roblox Studio
    hope yall liked it Subscribe for more and comment down what yall want next!
    ~Scripts~
    local player = game.Players.LocalPlayer
    local mouse = player:GetMouse()
    local char = player.Character
    local h = char:WaitForChild("Humanoid")
    mouse.KeyUp:connect(function(key)
    if key == "r" then
    h.Health = 0
    end
    end)
    My Roblox user, 0winto100win
    don't forget to check it out!
    appreciate it

Комментарии • 7

  • @exoxrs
    @exoxrs  Месяц назад

    ~Scripts~
    local player = game.Players.LocalPlayer
    local mouse = player:GetMouse()
    local char = player.Character
    local h = char:WaitForChild("Humanoid")
    mouse.KeyUp:connect(function(key)
    if key == "r" then
    h.Health = 0
    end
    end)

  • @FlintedYT
    @FlintedYT Месяц назад

    Tyy

  • @FlintedYT
    @FlintedYT Месяц назад

    And btw can you make a starting screen? Cuz mine doesnt plook good..

    • @exoxrs
      @exoxrs  Месяц назад

      starting screen you mean the main menu? like "Play" "Credits and "Settings"?

    • @FlintedYT
      @FlintedYT Месяц назад

      Yeah, sorry I wasn't able to reply quicker 😅