Back to Scripts
m1gzxx c00lify Brazil

m1gzxx c00lify Brazil

ScriptBlox
Universal Free

Game: Universal Script 📌

91 Views
0 Likes
2 Dislikes
M1gzxx_scriptsFree

M1gzxx_scriptsFree

offline

Features

m1gzxx c00lify Options in Brazilian

Script Code

-- m1gzxx c00lify | Script para Delta Executor (Local)
-- Coloque/execute isso no seu executor (LocalScript)

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local SoundService = game:GetService("SoundService")
local StarterGui = game:GetService("StarterGui")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local camera = workspace.CurrentCamera

-- IDs fornecidos
local sky_decal_particle_id = 158118263
local music_id = 1839246711

-- Utility: rbxs asset string
local function aid(id) return "rbxassetid://" .. tostring(id) end

-- Criar ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "m1gzxx_c00lify_gui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

-- Frame principal (arrastável)
local main = Instance.new("Frame")
main.Name = "Main"
main.Size = UDim2.new(0, 380, 0, 120)
main.Position = UDim2.new(0.1, 0, 0.2, 0)
main.BackgroundColor3 = Color3.fromRGB(20,20,20)
main.BackgroundTransparency = 0.08
main.BorderSizePixel = 0
main.Parent = screenGui
main.AnchorPoint = Vector2.new(0,0)
main.ClipsDescendants = true
main.Active = true

-- Sombra / estética
local corner = Instance.new("UICorner", main)
corner.CornerRadius = UDim.new(0,10)

-- Título
local title = Instance.new("TextLabel")
title.Name = "Title"
title.Size = UDim2.new(1, -20, 0, 34)
title.Position = UDim2.new(0, 10, 0, 8)
title.BackgroundTransparency = 1
title.Text = "m1gzxx c00lify"
title.TextSize = 20
title.Font = Enum.Font.GothamBold
title.TextColor3 = Color3.fromRGB(255,255,255)
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = main

-- Botão c00lify
local button = Instance.new("TextButton")
button.Name = "C00lifyButton"
button.Size = UDim2.new(0, 120, 0, 36)
button.Position = UDim2.new(0, 10, 0, 56)
button.BackgroundTransparency = 0
button.BackgroundColor3 = Color3.fromRGB(50,50,50)
button.BorderSizePixel = 0
button.Text = "c00lify"
button.Font = Enum.Font.GothamBold
button.TextColor3 = Color3.fromRGB(255,255,255)
button.TextSize = 18
button.Parent = main

local btnCorner = Instance.new("UICorner", button)
btnCorner.CornerRadius = UDim.new(0,8)

-- Status label
local status = Instance.new("TextLabel")
status.Name = "Status"
status.Size = UDim2.new(0, 230, 0, 36)
status.Position = UDim2.new(0, 140, 0, 56)
status.BackgroundTransparency = 1
status.Text = "Desligado"
status.Font = Enum.Font.Gotham
status.TextColor3 = Color3.fromRGB(200,200,200)
status.TextSize = 16
status.TextXAlignment = Enum.TextXAlignment.Left
status.Parent = main

-- ========== Elementos visuais que serão ativados/desativados ==========
local created = {} -- guarda refs para limpar

-- Image/decal (aparece na tela como ImageLabel)
local function createImage()
    local img = Instance.new("ImageLabel")
    img.Name = "c00lify_decal"
    img.Size = UDim2.new(0, 500, 0, 300)
    img.Position = UDim2.new(0.5, -250, 0.5, -150)
    img.AnchorPoint = Vector2.new(0.5,0.5)
    img.BackgroundTransparency = 1
    img.Image = aid(sky_decal_particle_id)
    img.Parent = screenGui
    img.ZIndex = 2
    img.Visible = true
    return img
end

-- Criar sky local (substitui o Sky no Lighting do cliente)
local function createSky()
    local Sky = Instance.new("Sky")
    Sky.Name = "_m1gzxx_sky"
    local faceUrl = aid(sky_decal_particle_id)
    Sky.SkyboxBk = faceUrl
    Sky.SkyboxDn = faceUrl
    Sky.SkyboxFt = faceUrl
    Sky.SkyboxLf = faceUrl
    Sky.SkyboxRt = faceUrl
    Sky.SkyboxUp = faceUrl
    Sky.Parent = game:GetService("Lighting")
    return Sky
end

-- Part que segue a câmera (para partículas)
local function createParticlePart()
    local p = Instance.new("Part")
    p.Name = "_m1gzxx_particle_part"
    p.Size = Vector3.new(1,1,1)
    p.Transparency = 1
    p.CanCollide = false
    p.Anchored = true
    p.Massless = true
    p.CastShadow = false
    p.Parent = workspace

    local emitter = Instance.new("ParticleEmitter")
    emitter.Name = "c00lify_emitter"
    emitter.Texture = aid(sky_decal_particle_id)
    emitter.Rate = 40
    emitter.Lifetime = NumberRange.new(1.2,2.5)
    emitter.Speed = NumberRange.new(0.5,2)
    emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6), NumberSequenceKeypoint.new(1, 0)})
    emitter.RotSpeed = NumberRange.new(-90,90)
    emitter.LightEmission = 0.5
    emitter.Parent = p

    -- atualiza a posição para ficar na frente da câmera
    local conn
    conn = RunService.RenderStepped:Connect(function()
        if camera and camera.CFrame then
            p.CFrame = camera.CFrame * CFrame.new(0, 0, -4) -- 4 studs na frente da câmera
        else
            conn:Disconnect()
        end
    end)

    return {part = p, conn = conn, emitter = emitter}
end

-- Música local
local function createMusic()
    local s = Instance.new("Sound")
    s.Name = "_m1gzxx_music"
    s.SoundId = aid(music_id)
    s.Looped = true
    s.Volume = 1
    s.PlayOnRemove = false
    s.Parent = SoundService
    -- Recomendação: play local
    pcall(function() SoundService:PlayLocalSound(s) end)
    -- fallback: s:Play()
    local ok,err = pcall(function() if not s.IsPlaying then s:Play() end end)
    return s
end

-- Função para ligar tudo
local function turnOn()
    if created.sky then return end -- já ligado
    created.sky = createSky()
    created.image = createImage()
    created.particles = createParticlePart()
    created.music = createMusic()
    status.Text = "Ligado"
end

-- Função para desligar (limpar)
local function turnOff()
    status.Text = "Desligado"
    if created.music then
        pcall(function() created.music:Stop() end)
        created.music:Destroy()
        created.music = nil
    end
    if created.particles then
        if created.particles.conn then
            pcall(function() created.particles.conn:Disconnect() end)
        end
        if created.particles.part and created.particles.part.Parent then
            pcall(function() created.particles.part:Destroy() end)
        end
        created.particles = nil
    end
    if created.image and created.image.Parent then
        pcall(function() created.image:Destroy() end)
        created.image = nil
    end
    if created.sky and created.sky.Parent then
        pcall(function() created.sky:Destroy() end)
        created.sky = nil
    end
end

-- Toggle no botão
local enabled = false
button.MouseButton1Click:Connect(function()
    enabled = not enabled
    if enabled then
        turnOn()
        button.Text = "Desligar"
    else
        turnOff()
        button.Text = "c00lify"
    end
end)

-- Fechar limpeza ao sair
player:GetPropertyChangedSignal("Parent"):Connect(function()
    if not player.Parent then
        turnOff()
    end
end)

-- ========== Código de arrastar a GUI ==========
local dragging = false
local dragInput, dragStart, startPos

local function update(input)
    local delta = input.Position - dragStart
    main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end

main.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = true
        dragStart = input.Position
        startPos = main.Position
        dragInput = input
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)

main.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 dragging and input == dragInput then
        update(input)
    end
end)

-- Segurança leve: limpa se teleportado / reiniciado local
local function clearAll()
    pcall(turnOff)
    if screenGui and screenGui.Parent then screenGui:Destroy() end
end
player.AncestryChanged:Connect(function()
    if not player:IsDescendantOf(game) then clearAll() end
end)
game:BindToClose(function()
    turnOff()
end)

-- Mensagem final
print("m1gzxx c00lify GUI carregada. Clique em 'c00lify' para ativar os efeitos.")

Ratings & Reviews

No reviews yet. Be the first to review this script!

Comments (0)

Please login to comment

Login with Discord

Loading comments...