0% found this document useful (0 votes)
1K views3 pages

C00lgui Reborn by Me

This document is a Lua script for a Roblox game that creates a GUI with various buttons for functionalities such as playing music, setting a skybox, displaying a title above the player's character, unanchoring all parts in the workspace, and creating parts with specific properties. Each button is connected to a function that executes the corresponding action when clicked. The GUI is designed to be draggable and includes visual elements like labels and buttons with specific colors and fonts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views3 pages

C00lgui Reborn by Me

This document is a Lua script for a Roblox game that creates a GUI with various buttons for functionalities such as playing music, setting a skybox, displaying a title above the player's character, unanchoring all parts in the workspace, and creating parts with specific properties. Each button is connected to a function that executes the corresponding action when clicked. The GUI is designed to be draggable and includes visual elements like labels and buttons with specific colors and fonts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

local player = game.Players.

LocalPlayer
local mouse = player:GetMouse()

-- Create GUI
local gui = Instance.new("ScreenGui")
gui.Name = "c00lgui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")

-- Main frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 250, 0, 320)
mainFrame.Position = UDim2.new(0.5, -125, 0.5, -160)
mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
mainFrame.BorderColor3 = Color3.fromRGB(255, 0, 0)
mainFrame.BorderSizePixel = 4
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = gui

-- Title label
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, 0, 0, 30)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "c00lgui reborn"
titleLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
titleLabel.Font = Enum.Font.Arcade
titleLabel.TextSize = 20
titleLabel.Parent = mainFrame

-- Button factory
local function createButton(name, text, yPos)
local btn = Instance.new("TextButton")
btn.Name = name
btn.Size = UDim2.new(1, -20, 0, 30)
btn.Position = UDim2.new(0, 10, 0, yPos)
btn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
btn.BorderColor3 = Color3.fromRGB(255, 0, 0)
btn.BorderSizePixel = 2
btn.TextColor3 = Color3.fromRGB(255, 0, 0)
btn.Font = Enum.Font.Arcade
btn.TextSize = 18
btn.Text = text
btn.Parent = mainFrame
return btn
end

-- MUSIC BUTTON
local musicButton = createButton("MusicButton", "Play Music", 40)
musicButton.MouseButton1Click:Connect(function()
local existing = workspace:FindFirstChild("c00lMusic")
if existing then existing:Destroy() end

local sound = Instance.new("Sound")


sound.Name = "c00lMusic"
sound.SoundId = "rbxassetid://77484784570543"
sound.Volume = 1
sound.Pitch = 0.1
sound.Looped = true
sound.Parent = workspace
sound:Play()
end)

-- SKYBOX BUTTON
local skyboxButton = createButton("SkyboxButton", "Set Skybox", 80)
skyboxButton.MouseButton1Click:Connect(function()
local lighting = game:GetService("Lighting")
for _, v in pairs(lighting:GetChildren()) do
if v:IsA("Sky") then
v:Destroy()
end
end
local sky = Instance.new("Sky")
local id = "rbxassetid://78770881422094"
sky.SkyboxBk = id
sky.SkyboxDn = id
sky.SkyboxFt = id
sky.SkyboxLf = id
sky.SkyboxRt = id
sky.SkyboxUp = id
sky.Parent = lighting

lighting.Ambient = Color3.new(0, 0, 0)
lighting.OutdoorAmbient = Color3.new(0, 0, 0)
lighting.FogColor = Color3.new(0, 0, 0)
end)

-- TITLE BUTTON
local titleButton = createButton("TitleButton", "Title c00lkidd", 120)
titleButton.MouseButton1Click:Connect(function()
local char = player.Character
if char and char:FindFirstChild("Head") then
local existing = char:FindFirstChild("c00lkiddBillboard")
if existing then existing:Destroy() end

local billboard = Instance.new("BillboardGui")


billboard.Name = "c00lkiddBillboard"
billboard.Adornee = char.Head
billboard.Size = UDim2.new(0, 200, 0, 50)
billboard.StudsOffset = Vector3.new(0, 2.5, 0)
billboard.AlwaysOnTop = true
billboard.Parent = char

local label = Instance.new("TextLabel")


label.Size = UDim2.new(1, 0, 1, 0)
label.BackgroundTransparency = 1
label.Text = "c00lkidd"
label.TextColor3 = Color3.fromRGB(0, 255, 0)
label.Font = Enum.Font.Arcade
label.TextSize = 32
label.Parent = billboard
end
end)

-- UNANCHOR BUTTON
local unanchorButton = createButton("UnanchorButton", "Unanchor All", 160)
unanchorButton.MouseButton1Click:Connect(function()
for _, part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") and part.Anchored then
part.Anchored = false
end
end
end)

-- MAKE FE BUTTON
local feButton = createButton("MakeFEButton", "Make FE", 200)
feButton.MouseButton1Click:Connect(function()
local msg = Instance.new("Message")
msg.Text = "[SYSTEM]: Filtering Enabled has been bypassed by c00lkidd."
msg.Parent = workspace
delay(5, function() msg:Destroy() end)

for i = 1, 10 do
local part = Instance.new("Part")
part.Size = Vector3.new(3, 3, 3)
part.Position = player.Character.Head.Position + Vector3.new(math.random(-
20,20), math.random(5,15), math.random(-20,20))
part.Anchored = false
part.BrickColor = BrickColor.Random()
part.Material = Enum.Material.Neon
part.Parent = workspace

local bodyVelocity = Instance.new("BodyVelocity")


bodyVelocity.Velocity = Vector3.new(math.random(-50,50),
math.random(20,60), math.random(-50,50))
bodyVelocity.MaxForce = Vector3.new(1e5, 1e5, 1e5)
bodyVelocity.Parent = part

game:GetService("Debris"):AddItem(part, 5)
end

local sound = Instance.new("Sound")


sound.SoundId = "rbxassetid://9118823103"
sound.Volume = 1
sound.Parent = workspace
sound:Play()
end)

You might also like