Universal Script 📌
974 Views
241 Executions

Sparta GUI

Universal Script 📌
T00dkiddd
T00dkidddPublished 10
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

This version might not work because I've had it for a long time. This version can play music, change the sky, change textures, give objects, and generate particles.

View Raw
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local RunService = game:GetService("RunService")

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = playerGui
ScreenGui.ResetOnSpawn = false

local Button = Instance.new("TextButton")
Button.Size = UDim2.new(0,100,0,50)
Button.Position = UDim2.new(0,10,1,-60)
Button.Text = "Sparta!"
Button.BackgroundColor3 = Color3.fromRGB(50,50,50)
Button.TextColor3 = Color3.fromRGB(255,255,255)
Button.Parent = ScreenGui

local function makeDraggable(frame)
    local dragging, dragInput, dragStart, startPos
    local function update(input)
        local delta = input.Position - dragStart
        frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
    frame.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 then
            dragging = true
            dragStart = input.Position
            startPos = frame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then
                    dragging = false
                end
            end)
        end
    end)
    frame.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement then
            dragInput = input
        end
    end)


Comments

4
Log in to join the conversation. Login
peedee's profile picture
peedee10 months ago

how do i make the script work for everyone, not appear just for myself

1
elizma4him3's profile picture
elizma4him310 months ago

yo i sent u a friend request on discord cuz it shows ur discord name

1
T00dkiddd's profile picture
T00dkidddUploader10 months ago

@elizma4him3 ok:)

1
T00dkiddd's profile picture
T00dkidddUploader10 months ago

If you want to become my friend, this is my Discord username: unrandom070243

1

More universal scripts

See all
Script hub
3.0M
15.2M
Bumped 2 hours ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM Hub KEYLESS 2026

Universal Script 📌
4.7k
13.2k
Bumped 2 hours ago
Script hub
144.0k
429.1k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Universal Script 📌
3.6k
7.5k
Bumped 4 hours ago
Script hub
166.9k
1.6M
Bumped 4 hours ago
Key System

Script hub

#14 this week

Verified script badgeAirflow HUB

Script hub
1.6M
2.0M
Bumped 4 hours ago
Key System
Universal Script 📌
5.8k
17.9k
Bumped 6 hours ago
Key System