Sparta Gui v2
Key RequiredUniversal

Sparta Gui v2

Universal Scriptc00lguy007ac00lguy007a 3.2K views 178 executesUpdated Aug 9, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•646 lines (20617 chars)
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Name = Instance.new("TextLabel")
local Button1 = Instance.new("TextButton")
local Button2 = Instance.new("TextButton")
local Button3 = Instance.new("TextButton")
local Button4 = Instance.new("TextButton")
local Button5 = Instance.new("TextButton")
local Button6 = Instance.new("TextButton")
local Button7 = Instance.new("TextButton")
local Button8 = Instance.new("TextButton")
local Button9 = Instance.new("TextButton")
 
--Properties:
 
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
 
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(162, 162, 162)
Frame.Position = UDim2.new(0.516, 0,0.144, 0)
Frame.Size = UDim2.new(0, 425,0, 325)
 
Name.Name = "Name"
Name.Parent = Frame
Name.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Name.Size = UDim2.new(0, 425,0, 50)
Name.Font = Enum.Font.RobotoMono
Name.Text = "Sparta Gui v2"
Name.TextColor3 = Color3.fromRGB(0, 0, 0)
Name.TextScaled = false
Name.TextSize = 38.000
Name.TextWrapped = true
 
Button1.Name = "Button1"
Button1.Parent = Frame
Button1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button1.Position = UDim2.new(0.016, -1,0.357, -60)
Button1.Size = UDim2.new(0, 200,0, 50)
Button1.Font = Enum.Font.RobotoMono
Button1.Text = "SkyBox"
Button1.TextColor3 = Color3.fromRGB(0, 0, 0)
Button1.TextScaled = false
Button1.TextSize = 38.000
Button1.TextWrapped = true
Button1.MouseButton1Down:connect(function()
    print("SkyBox")
    wait(0.1)
    sky = Instance.new("Sky",game:GetService("Lighting"))
    sky.SkyboxBk = "http://www.roblox.com/asset/?id=255421764"
    sky.SkyboxFt = "http://www.roblox.com/asset/?id=255421764"
    sky.SkyboxLf = "http://www.roblox.com/asset/?id=255421764"
    sky.SkyboxRt = "http://www.roblox.com/asset/?id=255421764"
    sky.SkyboxUp = "http://www.roblox.com/asset/?id=255421764"
end)
Button2.Name = "Button2"
Button2.Parent = Frame
Button2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button2.Position = UDim2.new(0.016, 210,0.357, -60)
Button2.Size = UDim2.new(0, 200,0, 50)
Button2.Font = Enum.Font.RobotoMono
Button2.Text = "DecalSpam"
Button2.TextColor3 = Color3.fromRGB(0, 0, 0)
Button2.TextScaled = false
Button2.TextSize = 38.000
Button2.TextWrapped = true
Button2.MouseButton1Down:connect(function()
    print("DecalSpam")
    wait(0.1)
    local ID =4717475619 --id here
    function spamDecal(v)
        if v:IsA("Part") then
            for i=0, 5 do
                D = Instance.new("Decal")
                D.Name = "MYDECALHUE"
                D.Face = i
                D.Parent = v
                D.Texture = ("http://www.roblox.com/asset/?id="..Id)
            end
        else
            if v:IsA("Model") then
                for a,b in pairs(v:GetChildren()) do
                    spamDecal(b)
                end
            end
        end
    end
    function decalspam(id) --use this function, not the one on top
        Id = id
        for i,v in pairs(game.Workspace:GetChildren()) do
            if v:IsA("Part") then
                for i=0, 5 do
                    D = Instance.new("Decal")
                    D.Name = "MYDECALHUE"
                    D.Face = i
                    D.Parent = v
                    D.Texture = ("http://www.roblox.com/asset/?id="..id)
                end
            else
                if v:IsA("Model") then
                    for a,b in pairs(v:GetChildren()) do
                        spamDecal(b)
                    end
                end
            end
        end
    end
 
    decalspam(ID)
end)
Button3.Name = "Button3"
Button3.Parent = Frame
Button3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button3.Position = UDim2.new(0.016, -1,0.357, -5)
Button3.Size = UDim2.new(0, 200,0, 50)
Button3.Font = Enum.Font.RobotoMono
Button3.Text = "Theme"
Button3.TextColor3 = Color3.fromRGB(0, 0, 0)
Button3.TextScaled = false
Button3.TextSize = 38.000
Button3.TextWrapped = true
Button3.MouseButton1Down:connect(function()
    print("Theme")
    wait(0.1)
    local M    = Instance.new("Sound")
    M.Parent    = game:GetService("Workspace")
    M.SoundId    = "rbxassetid://140240856766854"
    M.Playing    = true
    M.Looped    = true
    M.Pitch      = 0.2
    M.Volume    = 1000
    M.Distortion = 9
end)
Button4.Name = "Button4"
Button4.Parent = Frame
Button4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button4.Position = UDim2.new(0.016, 210,0.357, -5)
Button4.Size = UDim2.new(0, 200,0, 50)
Button4.Font = Enum.Font.RobotoMono
Button4.Text = "Jumpscary"
Button4.TextColor3 = Color3.fromRGB(0, 0, 0)
Button4.TextScaled = false
Button4.TextSize = 38.000
Button4.TextWrapped = true
Button4.MouseButton1Down:connect(function()
    for i,v in pairs(game.Players:GetPlayers()) do
        if v.Name ~= me and not v.PlayerGui:FindFirstChild("Screamer") and v:FindFirstChild("PlayerGui") then
            spawn(function()
                local newgui = Instance.new("ScreenGui",v.PlayerGui)
                newgui.Name = "VOID.EXE"
                local newimage = Instance.new("ImageLabel",newgui)
                newimage.Image = "http://www.roblox.com/asset/?id=131062776"
                newimage.Size = UDim2.new(1,1,1,1)
                local s = Instance.new("Sound",newgui)
                s.SoundId = "rbxassetid://130781067"
                s.Volume = 69696969696969697775
                s.Looped = true
                s.Pitch = 1
                s:Play()
                print("Screamed "..v.Name)
                while wait(6) do
 
                    newimage.Parent:Destroy()
 
                end
            end)
        end
    end
end)
Button5.Name = "Button5"
Button5.Parent = Frame
Button5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button5.Position = UDim2.new(0.016, -1,0.357, 50)
Button5.Size = UDim2.new(0, 200,0, 50)
Button5.Font = Enum.Font.RobotoMono
Button5.Text = "Night"
Button5.TextColor3 = Color3.fromRGB(0, 0, 0)
Button5.TextScaled = false
Button5.TextSize = 38.000
Button5.TextWrapped = true
Button5.MouseButton1Down:connect(function()
    print("Night")
    wait(0.1)
    while true do 
        print ("Loop cycle start")
        game.Lighting.TimeOfDay = "18:00:00"
        wait(0.5)
    end
end)
Button6.Name = "Button6"
Button6.Parent = Frame
Button6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button6.Position = UDim2.new(0.016, 210,0.357, 50)
Button6.Size = UDim2.new(0, 200,0, 50)
Button6.Font = Enum.Font.RobotoMono
Button6.Text = "Disco Fog"
Button6.TextColor3 = Color3.fromRGB(0, 0, 0)
Button6.TextScaled = false
Button6.TextSize = 38.000
Button6.TextWrapped = true
Button6.MouseButton1Down:connect(function()
    print("Disoc Fog")
    wait(0.1)
    while true do
 
        game.Lighting.Ambient = Color3.new(math.random(), math.random(), math.random())
        wait(.25)
 
    end
end)
Button7.Name = "Button7"
Button7.Parent = Frame
Button7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button7.Position = UDim2.new(0.016, -1,0.357, 105)
Button7.Size = UDim2.new(0, 200,0, 50)
Button7.Font = Enum.Font.RobotoMono
Button7.Text = "Unanchor"
Button7.TextColor3 = Color3.fromRGB(0, 0, 0)
Button7.TextScaled = false
Button7.TextSize = 38.000
Button7.TextWrapped = true
Button7.MouseButton1Down:connect(function()
    local player = game.Players.LocalPlayer
    local char = player.Character
    local tool
    for i,v in player:GetDescendants() do
        if v.Name == "SyncAPI" then
            tool = v.Parent
        end
    end
    for i,v in game.ReplicatedStorage:GetDescendants() do
        if v.Name == "SyncAPI" then
            tool = v.Parent
        end
    end
    --craaa
    remote = tool.SyncAPI.ServerEndpoint
    function _(args)
        remote:InvokeServer(unpack(args))
    end
    function SetCollision(part,boolean)
        local args = {
            [1] = "SyncCollision",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["CanCollide"] = boolean
                }
            }
        }
        _(args)
    end
    function SetAnchor(boolean,part)
        local args = {
            [1] = "SyncAnchor",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["Anchored"] = boolean
                }
            }
        }
        _(args)
    end
    function CreatePart(cf,parent)
        local args = {
            [1] = "CreatePart",
            [2] = "Normal",
            [3] = cf,
            [4] = parent
        }
        _(args)
    end
    function DestroyPart(part)
        local args = {
            [1] = "Remove",
            [2] = {
                [1] = part
            }
        }
        _(args)
    end
    function MovePart(part,cf)
        local args = {
            [1] = "SyncMove",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["CFrame"] = cf
                }
            }
        }
        _(args)
    end
    function Resize(part,size,cf)
        local args = {
            [1] = "SyncResize",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["CFrame"] = cf,
                    ["Size"] = size
                }
            }
        }
        _(args)
    end
    function AddMesh(part)
        local args = {
            [1] = "CreateMeshes",
            [2] = {
                [1] = {
                    ["Part"] = part
                }
            }
        }
        _(args)
    end
 
    function SetMesh(part,meshid)
        local args = {
            [1] = "SyncMesh",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["MeshId"] = "rbxassetid://"..meshid
                }
            }
        }
        _(args)
    end
    function SetTexture(part, texid)
        local args = {
            [1] = "SyncMesh",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["TextureId"] = "rbxassetid://"..texid
                }
            }
        }
        _(args)
    end
    function SetName(part, stringg)
        local args = {
            [1] = "SetName",
            [2] = {
                [1] = workspace.Part
            },
            [3] = stringg
        }
 
        _(args)
    end
    function MeshResize(part,size)
        local args = {
            [1] = "SyncMesh",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["Scale"] = size
                }
            }
        }
        _(args)
    end
    function Weld(part1, part2,lead)
        local args = {
            [1] = "CreateWelds",
            [2] = {
                [1] = part1,
                [2] = part2
            },
            [3] = lead
        }
        _(args)
 
    end
    function SetLocked(part,boolean)
        local args = {
            [1] = "SetLocked",
            [2] = {
                [1] = part
            },
            [3] = boolean
        }
        _(args)
    end
    function SetTrans(part,int)
        local args = {
            [1] = "SyncMaterial",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["Transparency"] = int
                }
            }
        }
        _(args)
    end
    function CreateSpotlight(part)
        local args = {
            [1] = "CreateLights",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["LightType"] = "SpotLight"
                }
            }
        }
        _(args)
    end
    function SyncLighting(part,brightness)
        local args = {
            [1] = "SyncLighting",
            [2] = {
                [1] = {
                    ["Part"] = part,
                    ["LightType"] = "SpotLight",
                    ["Brightness"] = brightness
                }
            }
        }
        _(args)
    end
 
    function Unanchor()
        for i,v in game.Workspace:GetDescendants() do
            spawn(function()
                SetLocked(v,false)
                SetAnchor(false,v)
            end)
        end
    end
    Unanchor()
end)
Button8.Name = "Button8"
Button8.Parent = Frame
Button8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button8.Position = UDim2.new(0.016, 210,0.357, 105)
Button8.Size = UDim2.new(0, 200,0, 50)
Button8.Font = Enum.Font.RobotoMono
Button8.Text = "Particle"
Button8.TextColor3 = Color3.fromRGB(0, 0, 0)
Button8.TextScaled = false
Button8.TextSize = 38.000
Button8.TextWrapped = true
Button8.MouseButton1Down:connect(function()
    game.Players.PlayerAdded:Connect(function(player)
        player.CharacterAdded:Connect(function(character)
            local torso = character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso")
            if torso then
                local pe = Instance.new("ParticleEmitter", torso)
                pe.Texture = "rbxassetid://224033704"
                pe.VelocitySpread = 50
 
                local se = Instance.new("ParticleEmitter", torso)
                se.Texture = "rbxassetid://224033704"
                se.VelocitySpread = 50
 
                local fe = Instance.new("ParticleEmitter", torso)
                fe.Texture = "rbxassetid://224033704"
                fe.VelocitySpread = 50
            end
        end)
    end)
 
    for _, player in pairs(game.Players:GetPlayers()) do
        if player.Character then
            local torso = player.Character:FindFirstChild("Torso") or player.Character:FindFirstChild("UpperTorso")
            if torso then
                local pe = Instance.new("ParticleEmitter", torso)
                pe.Texture = "rbxassetid://224033704"
                pe.VelocitySpread = 50
 
                local se = Instance.new("ParticleEmitter", torso)
                se.Texture = "rbxassetid://224033704"
                se.VelocitySpread = 50
 
                local fe = Instance.new("ParticleEmitter", torso)
                fe.Texture = "rbxassetid://224033704"
                fe.VelocitySpread = 50
            end
        end
    end
end)
Button9.Name = "Button9"
Button9.Parent = Frame
Button9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button9.Position = UDim2.new(0.016, 0,0.357, 160)
Button9.Size = UDim2.new(0, 411,0, 34)
Button9.Font = Enum.Font.RobotoMono
Button9.Text = "Destroy"
Button9.TextColor3 = Color3.fromRGB(0, 0, 0)
Button9.TextScaled = false
Button9.TextSize = 38.000
Button9.TextWrapped = true
Button9.MouseButton1Down:connect(function()
    local Players = game:GetService("Players")
    local LocalPlayer = Players.LocalPlayer
    local ChatService = game:GetService("Chat")
 
    local blockedPlayers = {}  -- Kicklenen oyuncuları burada tutacağız
 
    -- Görünmez yap + patlama efekti
    local function makeInvisible(player)
        if player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
            -- Patlama efekti
            local explosion = Instance.new("Explosion")
            explosion.Position = player.Character.HumanoidRootPart.Position
            explosion.BlastRadius = 0 -- zarar vermesin
            explosion.BlastPressure = 0
            explosion.Visible = true
            explosion.Parent = workspace
 
            -- Karakteri görünmez yap
            for _, part in pairs(player.Character:GetDescendants()) do
                if part:IsA("BasePart") then
                    part.Transparency = 1
                    part.CanCollide = false
                elseif part:IsA("Decal") then
                    part.Transparency = 1
                elseif part:IsA("ParticleEmitter") then
                    part.Enabled = false
                elseif part:IsA("BillboardGui") or part:IsA("SurfaceGui") then
                    part.Enabled = false
                end
            end
        end
    end
 
    -- Görünür yap
    local function makeVisible(player)
        if player and player.Character then
            for _, part in pairs(player.Character:GetDescendants()) do
                if part:IsA("BasePart") then
                    part.Transparency = 0
                    part.CanCollide = true
                elseif part:IsA("Decal") then
                    part.Transparency = 0
                elseif part:IsA("ParticleEmitter") then
                    part.Enabled = true
                elseif part:IsA("BillboardGui") or part:IsA("SurfaceGui") then
                    part.Enabled = true
                end
            end
        end
    end
 
    -- Kick komutları ve Chat engelleme
    LocalPlayer.Chatted:Connect(function(message)
        local lowered = message:lower()
 
        -- Kick komutları
        if lowered:sub(1, 6) == ";kick " then
            local target = lowered:sub(7)
            if target == "all" then
                for _, player in pairs(Players:GetPlayers()) do
                    if player ~= LocalPlayer then
                        makeInvisible(player)
                        blockedPlayers[player.Name] = true  -- Kicklenen oyuncuyu kaydet
                    end
                end
            else
                for _, player in pairs(Players:GetPlayers()) do
                    if player ~= LocalPlayer and player.Name:lower():sub(1, #target) == target then
                        makeInvisible(player)
                        blockedPlayers[player.Name] = true  -- Kicklenen oyuncuyu kaydet
                    end
                end
            end
 
            -- Unkick komutları
        elseif lowered:sub(1, 8) == ";unkick " then
            local target = lowered:sub(9)
            if target == "all" then
                for _, player in pairs(Players:GetPlayers()) do
                    if player ~= LocalPlayer then
                        makeVisible(player)
                        blockedPlayers[player.Name] = nil  -- Unkicklenen oyuncuyu kayıttan çıkar
                    end
                end
            else
                for _, player in pairs(Players:GetPlayers()) do
                    if player ~= LocalPlayer and player.Name:lower():sub(1, #target) == target then
                        makeVisible(player)
                        blockedPlayers[player.Name] = nil  -- Unkicklenen oyuncuyu kayıttan çıkar
                    end
                end
            end
        end
    end)
 
    -- Chat'ten kicklenen oyuncunun mesajlarını gizleme
    Players.PlayerAdded:Connect(function(player)
        player.Chatted:Connect(function(message)
            if blockedPlayers[player.Name] then
                -- Kicklenen oyuncunun chat mesajlarını gizle
                ChatService:Chat(player.Character, "", Enum.ChatColor.White)  -- Chatte boş mesaj göndermiş gibi yap
            end
        end)
    end)
end)
 
local function QFCS_fake_script() -- Frame.Dragify 
    local script = Instance.new('LocalScript', Frame)
 
    local UIS = game:GetService("UserInputService")
    function dragify(Frame)
        dragToggle = nil
        local dragSpeed = 0
        dragInput = nil
        dragStart = nil
        local dragPos = nil
        function updateInput(input)
            local Delta = input.Position - dragStart
            local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
            game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
        end
        Frame.InputBegan:Connect(function(input)
            if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
                dragToggle = true
                dragStart = input.Position
                startPos = Frame.Position
                input.Changed:Connect(function()
                    if input.UserInputState == Enum.UserInputState.End then
                        dragToggle = false
                    end
                end)
            end
        end)
        Frame.InputChanged:Connect(function(input)
            if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
                dragInput = input
            end
        end)
        game:GetService("UserInputService").InputChanged:Connect(function(input)
            if input == dragInput and dragToggle then
                updateInput(input)
            end
        end)
    end
 
    dragify(script.Parent)
end
coroutine.wrap(QFCS_fake_script)()

Features & Information

Troll Gui lol
#Roblox#Script#Sparta#Troll#Gui

Community Comments (2)

AstellAstellSep 21, 2025

THIS IS SPARTA🔥🗣️

AstellAstellSep 21, 2025

also i like dis good job

More Scripts for Universal Scripts