Universal Script 📌
6.1k Views
51 Executions

speed demonstrator

Universal Script 📌
battybat
battybat1M views
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

shows ur speed

View Raw
-- ServerScript veya LocalScript içinde

-- Oyuncunun GUI'sini bulun
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- ScreenGui oluşturun
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SpeedGui"  -- GUI'nin adını ayarlayın
screenGui.Parent = playerGui -- GUI'yi PlayerGui'nin altına ekleyin

-- TextLabel oluşturun
local textLabel = Instance.new("TextLabel")
textLabel.Name = "SpeedLabel"   -- Label'in adını ayarlayın
textLabel.Size = UDim2.new(0, 200, 0, 50)   -- Boyutunu ayarlayın
textLabel.Position = UDim2.new(0, 10, 0, 10)   -- Konumunu ayarlayın
textLabel.Text = "Hız: 0"  -- Başlangıçta gösterilecek metin
textLabel.TextSize = 24   -- Metin boyutunu ayarlayın
textLabel.BackgroundTransparency = 0.5   -- Arka planın yarı saydamlığını ayarlayın
textLabel.Parent = screenGui   -- Label'i ScreenGui'nin altına ekleyin

-- Hızı güncelleyen fonksiyon
local function updateSpeed()
    while true do
        local character = player.Character
        if character then
            local humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then
                local speed = humanoid.WalkSpeed
                textLabel.Text = "Hız: " .. tostring(speed)
            end
        end
        wait(0.1) -- Her 0.1 saniyede bir günceller
    end
end

-- Oyuncu karakteri yüklendiğinde hızı güncelle
player.CharacterAdded:Connect(function(character)
    updateSpeed()
end)


Comments

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

More universal scripts

See all
Universal Script 📌
15.1k
53.3k
Bumped 2 hours ago
Key System
Universal Script 📌
1.7k
5.2k
Bumped 6 hours ago
Script hub
161.3k
1.5M
Bumped 13 hours ago
Key System

Script hub

#12 this week

Verified script badgeAirflow HUB

Universal Script 📌
2.7k
1.0k
Bumped 13 hours ago
Script hub
1.6M
1.9M
Bumped 13 hours ago
Key System
Universal Script 📌
41.4k
818.6k
Bumped 15 hours ago