Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made in Heaven GUI для Roblox Brookhaven (Delta Executor)
- local player = game.Players.LocalPlayer
- local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- gui.Name = "MadeInHeavenGUI"
- gui.ResetOnSpawn = false
- -- === DRAG FUNCTION ===
- local function makeDraggable(instance)
- local UIS = game:GetService("UserInputService")
- local dragging, dragInput, dragStart, startPos
- instance.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = instance.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- instance.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- local delta = input.Position - dragStart
- instance.Position = UDim2.new(
- startPos.X.Scale,
- startPos.X.Offset + delta.X,
- startPos.Y.Scale,
- startPos.Y.Offset + delta.Y
- )
- end
- end)
- end
- -- === GUI BUTTON ===
- local mainButton = Instance.new("TextButton", gui)
- mainButton.Size = UDim2.new(0, 150, 0, 40)
- mainButton.Position = UDim2.new(0, 10, 0.8, 0)
- mainButton.BackgroundColor3 = Color3.fromRGB(70, 70, 255)
- mainButton.TextColor3 = Color3.new(1, 1, 1)
- mainButton.Font = Enum.Font.FredokaOne
- mainButton.TextSize = 16
- mainButton.Text = "🌌 Made in Heaven"
- makeDraggable(mainButton)
- -- === MENU FRAME ===
- local frame = Instance.new("Frame", gui)
- frame.Size = UDim2.new(0, 220, 0, 80)
- frame.Position = UDim2.new(0, 170, 0.8, 0)
- frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- frame.BorderSizePixel = 2
- frame.Visible = false
- makeDraggable(frame)
- -- === TOGGLE BUTTON ===
- local toggle = Instance.new("TextButton", frame)
- toggle.Size = UDim2.new(0, 200, 0, 40)
- toggle.Position = UDim2.new(0, 10, 0, 20)
- toggle.BackgroundColor3 = Color3.fromRGB(255, 80, 80)
- toggle.Text = "⚡ Activate Heaven"
- toggle.Font = Enum.Font.FredokaOne
- toggle.TextSize = 16
- toggle.TextColor3 = Color3.new(1, 1, 1)
- -- === SOUND SETUP ===
- local SoundService = game:GetService("SoundService")
- local scream = Instance.new("Sound", SoundService)
- scream.SoundId = "rbxassetid://5059139543"
- scream.Volume = 5
- scream.Name = "HeavenScream"
- scream.Looped = false
- scream.TimePosition = 0
- -- === LIGHT & TIME ===
- local heavenActive = false
- local lighting = game:GetService("Lighting")
- local currentSpeed = 0
- local maxSpeed = 10000
- local baseSpeed = 10
- task.spawn(function()
- while true do
- if heavenActive then
- currentSpeed = math.clamp(currentSpeed * 1.05 + 1, baseSpeed, maxSpeed)
- else
- currentSpeed = math.clamp(currentSpeed * 0.95 - 1, 0, maxSpeed)
- end
- if currentSpeed > 0 then
- lighting.ClockTime = (lighting.ClockTime + 0.003 * currentSpeed) % 24
- end
- wait(0.01)
- end
- end)
- -- === TOGGLE LOGIC ===
- toggle.MouseButton1Click:Connect(function()
- heavenActive = not heavenActive
- if heavenActive then
- toggle.Text = "☄️ Heaven Activated"
- toggle.BackgroundColor3 = Color3.fromRGB(100, 255, 100)
- if scream.IsLoaded then
- scream:Play()
- else
- scream.Loaded:Wait()
- scream:Play()
- end
- else
- toggle.Text = "⚡ Activate Heaven"
- toggle.BackgroundColor3 = Color3.fromRGB(255, 80, 80)
- scream:Stop()
- end
- end)
- -- === MENU TOGGLE ===
- mainButton.MouseButton1Click:Connect(function()
- frame.Visible = not frame.Visible
- end)
Advertisement
Add Comment
Please, Sign In to add comment