Universal Script πŸ“Œ
3.9k Views
82 Executions

script to check health of models or name, click on a model

Universal Script πŸ“Œ
samiencarmona
samiencarmonaFirst 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

literally just check the health of any model with no humanoid

Updates

  1. Script edited: Create script

View Raw
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()

local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
local hoverLabel = Instance.new("TextLabel", gui)

-- GUI Styling
hoverLabel.Size = UDim2.new(0, 200, 0, 50)
hoverLabel.Position = UDim2.new(0, 10, 0, 10)  -- Starting position
hoverLabel.BackgroundColor3 = Color3.new(0, 0, 0)
hoverLabel.TextColor3 = Color3.new(1, 1, 1)
hoverLabel.TextSize = 16
hoverLabel.Font = Enum.Font.SourceSans
hoverLabel.TextWrapped = true
hoverLabel.Visible = true  -- Always visible

-- Make the label draggable
local dragging = false
local dragInput, dragStart, startPos

hoverLabel.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = hoverLabel.Position

        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)

hoverLabel.InputChanged:Connect(function(input)
    if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
        local delta = input.Position - dragStart
        hoverLabel.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script πŸ“Œ
2.3k
24.6k
Bumped 56 minutes ago
Universal Script πŸ“Œ
6.5k
30.8k
Bumped 3 hours ago
Script hub
17.0k
112.3k
Bumped 3 hours ago
Key System

Script hub

Kronos New

Script hub
5.6M
1.2M
Bumped 7 hours ago
Key System
Universal Script πŸ“Œ
1.9k
6.8k
Bumped 9 hours ago
Script hub
23.4k
5.0k
Bumped 11 hours ago
Key System
Paid
High QualityΒ Offering
Script hub
4.1M
547.7k
Bumped 11 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow #1 *OP*