Universal Script 📌
3.0k Views
5.0k Executions

Undertale GUI

Universal Script 📌
Localscript
Localscript10K executions
10 months 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

A simple script It adds hp bar from undertale, Sounds for healing and damage, Your nickname, Soul for you

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")
local TweenService = game:GetService("TweenService")
local Debris = game:GetService("Debris")

local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

local SOUND_DAMAGE_ID = "rbxassetid://4735718618"
local SOUND_HEAL_ID   = "rbxassetid://1655262564"
local SOUND_DEATH_ID  = "rbxassetid://18950593618"
local HP_DIVIDER = 5

task.spawn(function()
    while true do
        pcall(function() StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false) end)
        task.wait(1)
    end
end)

local ScreenGui = PlayerGui:FindFirstChild("UndertaleHUD_Final")
if ScreenGui then ScreenGui:Destroy() end

ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "UndertaleHUD_Final"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = PlayerGui

local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MainFrame.BackgroundTransparency = 1
MainFrame.Position = UDim2.new(0, 20, 0, 10)
MainFrame.Size = UDim2.new(0, 200, 0, 50)
MainFrame.Visible = false

local NameLabel = Instance.new("TextLabel")
NameLabel.Parent = MainFrame


Comments

3
Log in to join the conversation. Login
AintPlayin's profile picture
AintPlayin10 months ago

Yo dude awl make this into loadstring if u want

1
AintPlayin's profile picture
AintPlayin10 months ago

Since some scripts are too long for delta

1
Marshadow's profile picture
Marshadow10 months ago

awesome script tbh

1