Realistic Street Soccer
97.2k Views
144 Executions

Infinite sprint its bad and has many bugs

Realistic Street Soccer
Tr00bscript
Tr00bscriptFirst script
2 years ago
Please login to perform these actions:

Infinite sprint its bad and has many bugs is a Realistic Street Soccer script for Roblox, uploaded to ScriptBlox on Aug 7, 2024.

Does it work?

No reports yet

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

Also noticed:

Description

Infinite sprint

Updates

  1. Script edited: Create script

View Raw
-- Function to create or re-create the GUI
local function createGui()
    local player = game.Players.LocalPlayer
    local playerGui = player:WaitForChild("PlayerGui")

    -- Remove existing GUI if it exists
    local existingGui = playerGui:FindFirstChild("SpeedGui")
    if existingGui then
        existingGui:Destroy()
    end

    -- Create the ScreenGui
    local screenGui = Instance.new("ScreenGui")
    screenGui.Name = "SpeedGui"
    screenGui.Parent = playerGui

    -- Create the Frame (initially hidden)
    local frame = Instance.new("Frame")
    frame.Size = UDim2.new(0, 250, 0, 150)
    frame.Position = UDim2.new(1, -250, 0.5, -75)  -- Positioned off-screen to the right
    frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
    frame.BorderSizePixel = 0
    frame.ClipsDescendants = true
    frame.Visible = false
    frame.Parent = screenGui

    -- Add a UICorner for rounded corners
    local uiCorner = Instance.new("UICorner")
    uiCorner.CornerRadius = UDim.new(0, 12)
    uiCorner.Parent = frame

    -- Add a UIStroke for a border effect
    local uiStroke = Instance.new("UIStroke")
    uiStroke.Color = Color3.fromRGB(100, 100, 100)
    uiStroke.Thickness = 2
    uiStroke.Parent = frame

    -- Create the TextButton inside the Frame
    local textButton = Instance.new("TextButton")
    textButton.Size = UDim2.new(0.8, 0, 0.4, 0)


Comments

1
Log in to join the conversation. Login
Jamjam0139's profile picture
Jamjam01392 years ago(edited)

Where is the hookmetatable?

1