Universal Script 📌
987 Views
367 Executions

Sparta GUI

Universal Script 📌
T00dkiddd
T00dkidddPublished 10
11 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
peedee11 months ago

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

1
elizma4him3's profile picture
elizma4him311 months ago

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

1
T00dkiddd's profile picture
T00dkidddUploader11 months ago

@elizma4him3 ok:)

1
T00dkiddd's profile picture
T00dkidddUploader11 months ago

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

1

More universal scripts

See all
Script hub
280.0k
188.7k
Bumped 29 minutes ago
Key System
Script hub
300
314
Bumped 1 hour ago

Script hub

Blythe

Script hub
9.0k
55.1k
Bumped 2 hours ago
Key System
Script hub
511
6.4k
Bumped 6 hours ago
Key System
Universal Script 📌
7.2k
104.7k
Bumped 8 hours ago
Script hub
522
2.1k
Bumped 9 hours ago
Key System