Universal Script 📌
4.2k Views
317 Executions

Reset button Beta testing

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Reset

Updates

  1. Script edited: Create script

View Raw
local ScreenGui = Instance.new("ScreenGui")
local ResetButton = Instance.new("TextButton")
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer

ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

ResetButton.Name = "ResetButton"
ResetButton.Parent = ScreenGui
ResetButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
ResetButton.Position = UDim2.new(0.5, -75, 0.9, -25)
ResetButton.Size = UDim2.new(0, 150, 0, 50)
ResetButton.Font = Enum.Font.GothamBold
ResetButton.Text = "Reset Character"
ResetButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ResetButton.TextSize = 14.000

UserInputService.InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.V then
        UserInputService.MouseBehavior = 
            UserInputService.MouseBehavior == Enum.MouseBehavior.Default 
            and Enum.MouseBehavior.LockCenter 
            or Enum.MouseBehavior.Default
    end
end)

ResetButton.MouseButton1Click:Connect(function()
    local character = player.Character
    if character then
        local humanoid = character:FindFirstChild("Humanoid")
        if humanoid then
            humanoid.Health = 0
        end
        task.wait(0.1)
        player:LoadCharacter()
    end
end)



Comments

2
Log in to join the conversation. Login
logs_7's profile picture
logs_72 years ago(edited)

Thank you for making this script. I was stuck and could not reset no matter what I tried. It was frustrating, but now, with your script, I can finally reset. It took me 18 years just to reset, thank you for making this script.

1
Nooby's profile picture
NoobyUploader2 years ago(edited)

ur welcome :)

-1

More universal scripts

See all
Script hub
2.9M
1.1M
Bumped 4 hours ago
Key System

Script hub

#9 today

CanHub V2 200 GAMES KEYLESS

Script hub
5.5M
1.0M
Bumped 5 hours ago
Key System
Script hub
1.7M
2.2M
Bumped 5 hours ago
Key System

Script hub

#16 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
14.7k
83.0k
Bumped 5 hours ago
Key System

Script hub

Kronos New

Script hub
3.2M
753.8k
Bumped 8 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
536
1.2k
Bumped 10 hours ago
Key System
Universal Script 📌
7.3k
142.9k
Bumped 11 hours ago