
974 Views
241 Executions
Sparta GUI
Universal Script 📌
T00dkidddPublished 10
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo 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.
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)









how do i make the script work for everyone, not appear just for myself
yo i sent u a friend request on discord cuz it shows ur discord name
@elizma4him3 ok:)
If you want to become my friend, this is my Discord username: unrandom070243