0% found this document useful (0 votes)
12 views

message (1)

The document describes a Lua script for a Roblox GUI called 'RedFace Legacy' version 1.0.0, which includes various UI components such as frames, buttons, and labels. The GUI features options for actions like 'Decal Spam', 'Sky', 'Disco', and 'Scream', along with a login interface. Additionally, it contains scripts to handle button clicks and manipulate game objects based on user interactions.
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)
12 views

message (1)

The document describes a Lua script for a Roblox GUI called 'RedFace Legacy' version 1.0.0, which includes various UI components such as frames, buttons, and labels. The GUI features options for actions like 'Decal Spam', 'Sky', 'Disco', and 'Scream', along with a login interface. Additionally, it contains scripts to handle button clicks and manipulate game objects based on user interactions.
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/ 10

--[[

Gui2Lua™
10zOfficial
Version 1.0.0

]]

-- Instances

local RedFaceLegacy = Instance.new("ScreenGui")


local Base = Instance.new("Frame")
local BaseDE = Instance.new("Folder")
local TextLabel = Instance.new("TextLabel")
local TextButton = Instance.new("TextButton")
local ImageLabel = Instance.new("ImageLabel")
local TextLabel_2 = Instance.new("TextLabel")
local TextButton_2 = Instance.new("TextButton")
local TextButton_3 = Instance.new("TextButton")
local TextButton_4 = Instance.new("TextButton")
local TextButton_5 = Instance.new("TextButton")
local TextButton_6 = Instance.new("TextButton")
local TextButton_7 = Instance.new("TextButton")
local TextLabel_3 = Instance.new("TextLabel")
local TextLabel_4 = Instance.new("TextLabel")
local FaceIcoLBL2 = Instance.new("ImageLabel")
local FaceIcoLBL = Instance.new("ImageLabel")
local ImageLabel_2 = Instance.new("ImageLabel")
local TextLabel_5 = Instance.new("TextLabel")
local Login = Instance.new("Frame")
local TextBox = Instance.new("TextBox")
local TextButton_8 = Instance.new("TextButton")
local TextLabel_6 = Instance.new("TextLabel")

-- Properties

RedFaceLegacy.Name = "RedFace Legacy"


RedFaceLegacy.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
RedFaceLegacy.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

Base.Name = "Base"
Base.Parent = RedFaceLegacy
Base.BackgroundColor3 = Color3.new(0.117647, 0, 0)
Base.BorderColor3 = Color3.new(0, 0, 0)
Base.BorderSizePixel = 2
Base.Position = UDim2.new(0.302827388, 0, 0.116834171, 0)
Base.Size = UDim2.new(0, 498, 0, 658)
Base.Visible = false

BaseDE.Name = "BaseDE"
BaseDE.Parent = Base

TextLabel.Parent = BaseDE
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BorderColor3 = Color3.new(0, 0, 0)
TextLabel.BorderSizePixel = 0
TextLabel.Size = UDim2.new(0, 498, 0, 50)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "RED FACE LEGACY"
TextLabel.TextColor3 = Color3.new(0.380392, 0, 0)
TextLabel.TextSize = 78

TextButton.Parent = BaseDE
TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton.BorderColor3 = Color3.new(0, 0, 0)
TextButton.BorderSizePixel = 2
TextButton.Position = UDim2.new(0.0200803205, 0, 0.194005668, 0)
TextButton.Size = UDim2.new(0, 200, 0, 50)
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = "DECAL SPAM"
TextButton.TextColor3 = Color3.new(0, 0, 0)
TextButton.TextSize = 25

ImageLabel.Parent = BaseDE
ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
ImageLabel.BackgroundTransparency = 0.5
ImageLabel.BorderColor3 = Color3.new(0, 0, 0)
ImageLabel.BorderSizePixel = 0
ImageLabel.Position = UDim2.new(0.29919678, 0, 0.0934027582, 0)
ImageLabel.Size = UDim2.new(0, 200, 0, 50)
ImageLabel.Image = "http://www.roblox.com/asset/?id=8130265619"
ImageLabel.ImageTransparency = 0.5

TextLabel_2.Parent = ImageLabel
TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel_2.BackgroundTransparency = 1
TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
TextLabel_2.BorderSizePixel = 0
TextLabel_2.Position = UDim2.new(-0.0199999996, 0, 0, 0)
TextLabel_2.Size = UDim2.new(0, 208, 0, 50)
TextLabel_2.Font = Enum.Font.SourceSans
TextLabel_2.Text = "Server Killer"
TextLabel_2.TextColor3 = Color3.new(0.541176, 0, 0)
TextLabel_2.TextSize = 40

TextButton_2.Parent = BaseDE
TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton_2.BorderColor3 = Color3.new(0, 0, 0)
TextButton_2.BorderSizePixel = 2
TextButton_2.Position = UDim2.new(0.578313231, 0, 0.194005668, 0)
TextButton_2.Size = UDim2.new(0, 200, 0, 50)
TextButton_2.Font = Enum.Font.SourceSans
TextButton_2.Text = "SKY"
TextButton_2.TextColor3 = Color3.new(0, 0, 0)
TextButton_2.TextSize = 25

TextButton_3.Parent = BaseDE
TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton_3.BorderColor3 = Color3.new(0, 0, 0)
TextButton_3.BorderSizePixel = 2
TextButton_3.Position = UDim2.new(0.578313231, 0, 0.311898917, 0)
TextButton_3.Size = UDim2.new(0, 200, 0, 50)
TextButton_3.Font = Enum.Font.SourceSans
TextButton_3.Text = "DISCO"
TextButton_3.TextColor3 = Color3.new(0, 0, 0)
TextButton_3.TextSize = 25
TextButton_4.Parent = BaseDE
TextButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton_4.BorderColor3 = Color3.new(0, 0, 0)
TextButton_4.BorderSizePixel = 2
TextButton_4.Position = UDim2.new(0.0200803205, 0, 0.311898917, 0)
TextButton_4.Size = UDim2.new(0, 200, 0, 50)
TextButton_4.Font = Enum.Font.SourceSans
TextButton_4.Text = "SCREAM"
TextButton_4.TextColor3 = Color3.new(0, 0, 0)
TextButton_4.TextSize = 25

TextButton_5.Parent = BaseDE
TextButton_5.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton_5.BorderColor3 = Color3.new(0, 0, 0)
TextButton_5.BorderSizePixel = 2
TextButton_5.Position = UDim2.new(0.0200803205, 0, 0.424360931, 0)
TextButton_5.Size = UDim2.new(0, 200, 0, 50)
TextButton_5.Font = Enum.Font.SourceSans
TextButton_5.Text = "HINT"
TextButton_5.TextColor3 = Color3.new(0, 0, 0)
TextButton_5.TextSize = 25

TextButton_6.Parent = BaseDE
TextButton_6.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton_6.BorderColor3 = Color3.new(0, 0, 0)
TextButton_6.BorderSizePixel = 2
TextButton_6.Position = UDim2.new(0.578313231, 0, 0.424360931, 0)
TextButton_6.Size = UDim2.new(0, 200, 0, 50)
TextButton_6.Font = Enum.Font.SourceSans
TextButton_6.Text = "PARTICLES"
TextButton_6.TextColor3 = Color3.new(0, 0, 0)
TextButton_6.TextSize = 25

TextButton_7.Parent = BaseDE
TextButton_7.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton_7.BorderColor3 = Color3.new(0, 0, 0)
TextButton_7.BorderSizePixel = 2
TextButton_7.Position = UDim2.new(0.29919678, 0, 0.55050081, 0)
TextButton_7.Size = UDim2.new(0, 200, 0, 50)
TextButton_7.Font = Enum.Font.SourceSans
TextButton_7.Text = "BILLBOARD"
TextButton_7.TextColor3 = Color3.new(0, 0, 0)
TextButton_7.TextSize = 25

TextLabel_3.Parent = BaseDE
TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel_3.BorderColor3 = Color3.new(0, 0, 0)
TextLabel_3.BorderSizePixel = 0
TextLabel_3.Position = UDim2.new(0, 0, 0.977203667, 0)
TextLabel_3.Size = UDim2.new(0, 498, 0, 15)
TextLabel_3.Font = Enum.Font.SourceSans
TextLabel_3.Text = "Oleksiss12 Team Build"
TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
TextLabel_3.TextSize = 14

TextLabel_4.Parent = BaseDE
TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel_4.BackgroundTransparency = 0.5
TextLabel_4.BorderColor3 = Color3.new(0, 0, 0)
TextLabel_4.BorderSizePixel = 0
TextLabel_4.Position = UDim2.new(0.0200803205, 0, 0.597264409, 0)
TextLabel_4.Size = UDim2.new(0, 95, 0, 41)
TextLabel_4.Font = Enum.Font.SourceSans
TextLabel_4.Text = "Vers: Private Test"
TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
TextLabel_4.TextSize = 14

FaceIcoLBL2.Name = "FaceIcoLBL2"
FaceIcoLBL2.Parent = Base
FaceIcoLBL2.BackgroundColor3 = Color3.new(1, 1, 1)
FaceIcoLBL2.BorderColor3 = Color3.new(0, 0, 0)
FaceIcoLBL2.BorderSizePixel = 0
FaceIcoLBL2.Position = UDim2.new(0.166666672, 0, 0.101375267, 0)
FaceIcoLBL2.Size = UDim2.new(0, 53, 0, 39)
FaceIcoLBL2.Image = "http://www.roblox.com/asset/?id=148252927"

FaceIcoLBL.Name = "FaceIcoLBL"
FaceIcoLBL.Parent = Base
FaceIcoLBL.BackgroundColor3 = Color3.new(1, 1, 1)
FaceIcoLBL.BorderColor3 = Color3.new(0, 0, 0)
FaceIcoLBL.BorderSizePixel = 0
FaceIcoLBL.Position = UDim2.new(0.72489959, 0, 0.101375267, 0)
FaceIcoLBL.Size = UDim2.new(0, 53, 0, 39)
FaceIcoLBL.Image = "http://www.roblox.com/asset/?id=92885223651992"

ImageLabel_2.Parent = Base
ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
ImageLabel_2.BorderColor3 = Color3.new(0, 0, 0)
ImageLabel_2.BorderSizePixel = 2
ImageLabel_2.Position = UDim2.new(0.0200803205, 0, 0.671732545, 0)
ImageLabel_2.Size = UDim2.new(0, 477, 0, 180)
ImageLabel_2.Image = "http://www.roblox.com/asset/?id=15194374849"

TextLabel_5.Parent = ImageLabel_2
TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel_5.BackgroundTransparency = 0.5
TextLabel_5.BorderColor3 = Color3.new(0, 0, 0)
TextLabel_5.BorderSizePixel = 0
TextLabel_5.Size = UDim2.new(0, 477, 0, 180)
TextLabel_5.Font = Enum.Font.SourceSans
TextLabel_5.Text = "Other Coming Soon.."
TextLabel_5.TextColor3 = Color3.new(0, 0, 0)
TextLabel_5.TextSize = 14

Login.Name = "Login"
Login.Parent = RedFaceLegacy
Login.BackgroundColor3 = Color3.new(0.227451, 0, 0)
Login.BorderColor3 = Color3.new(0, 0, 0)
Login.BorderSizePixel = 2
Login.Position = UDim2.new(0.335565478, 0, 0.356783926, 0)
Login.Size = UDim2.new(0, 413, 0, 163)

TextBox.Parent = Login
TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
TextBox.BorderColor3 = Color3.new(0, 0, 0)
TextBox.BorderSizePixel = 0
TextBox.Position = UDim2.new(0.046004843, 0, 0.343558282, 0)
TextBox.Size = UDim2.new(0, 284, 0, 50)
TextBox.Font = Enum.Font.SourceSans
TextBox.Text = ""
TextBox.TextColor3 = Color3.new(0, 0, 0)
TextBox.TextSize = 14

TextButton_8.Parent = TextBox
TextButton_8.BackgroundColor3 = Color3.new(0, 0.34902, 0.0117647)
TextButton_8.BorderColor3 = Color3.new(0, 0, 0)
TextButton_8.BorderSizePixel = 0
TextButton_8.Position = UDim2.new(0.169014081, 0, 1.27999997, 0)
TextButton_8.Size = UDim2.new(0, 200, 0, 32)
TextButton_8.Font = Enum.Font.SourceSans
TextButton_8.Text = "LogIn"
TextButton_8.TextColor3 = Color3.new(0, 0, 0)
TextButton_8.TextSize = 35

TextLabel_6.Parent = TextBox
TextLabel_6.BackgroundColor3 = Color3.new(0.486275, 0.486275, 0.486275)
TextLabel_6.BorderColor3 = Color3.new(0, 0, 0)
TextLabel_6.BorderSizePixel = 0
TextLabel_6.Position = UDim2.new(1.09722733, 0, -1.12, 0)
TextLabel_6.Size = UDim2.new(0, 82, 0, 163)
TextLabel_6.Font = Enum.Font.SourceSans
TextLabel_6.Text = "RED FACE LEGACY"
TextLabel_6.TextColor3 = Color3.new(0.470588, 0, 0)
TextLabel_6.TextSize = 30
TextLabel_6.TextWrapped = true

-- Scripts

local function JGVQIKT_fake_script() -- TextButton.Script


local script = Instance.new('Script', TextButton)

function click()
function exPro(root)
for _, v in pairs(root:GetChildren()) do
if v:IsA("Decal") and v.Texture ~=
"http://www.roblox.com/asset/?id=92885223651992" then
v.Parent = nil
elseif v:IsA("BasePart") then
v.Material = "Plastic"
v.Transparency = 0
local One = Instance.new("Decal", v)
local Two = Instance.new("Decal", v)
local Three = Instance.new("Decal", v)
local Four = Instance.new("Decal", v)
local Five = Instance.new("Decal", v)
local Six = Instance.new("Decal", v)
One.Texture = "http://www.roblox.com/asset/?
id=92885223651992"
Two.Texture = "http://www.roblox.com/asset/?
id=92885223651992"
Three.Texture = "http://www.roblox.com/asset/?
id=92885223651992"
Four.Texture = "http://www.roblox.com/asset/?
id=92885223651992"
Five.Texture = "http://www.roblox.com/asset/?
id=92885223651992"
Six.Texture = "http://www.roblox.com/asset/?
id=92885223651992"--put id in here i will put it in description
One.Face = "Front"
Two.Face = "Back"
Three.Face = "Right"
Four.Face = "Left"
Five.Face = "Top"
Six.Face = "Bottom"
end
exPro(v)
end
end
function asdf(root)
for _, v in pairs(root:GetChildren()) do
asdf(v)
end
end
exPro(game.Workspace)
asdf(game.Workspace)
end

script.Parent.MouseButton1Down:connect(click)

end
coroutine.wrap(JGVQIKT_fake_script)()
local function EPCQIF_fake_script() -- TextButton_2.Script
local script = Instance.new('Script', TextButton_2)

function click()
s = Instance.new("Sky")
s.Name = "Sky"
s.Parent = game.Lighting
s.SkyboxBk = "rbxassetid://105277898591751"--the id is here
s.SkyboxDn = "rbxassetid://105277898591751"--the id is here
s.SkyboxFt = "rbxassetid://105277898591751"--the id is here
s.SkyboxLf = "rbxassetid://105277898591751"--the id is here
s.SkyboxRt = "rbxassetid://105277898591751"--the id is here
s.SkyboxUp = "rbxassetid://105277898591751"--the id is here
game.Lighting.TimeOfDay = 12
end

script.Parent.MouseButton1Down:connect(click)
end
coroutine.wrap(EPCQIF_fake_script)()
local function EKGLB_fake_script() -- TextButton_3.Script
local script = Instance.new('Script', TextButton_3)

script.Parent.MouseButton1Click:Connect(function()
local Lighting = game:GetService("Lighting")
local ColorCorrection = Instance.new("ColorCorrectionEffect", Lighting)

function zigzag(X)
return math.acos(math.cos(X+math.pi))/math.pi
end

Counter = 0

Lighting.TimeOfDay = "16:00"

while wait(0.1) do
ColorCorrection.TintColor = Color3.fromHSV(zigzag(Counter),1,1)
Lighting.Ambient = Color3.fromHSV(zigzag(Counter),1,1)
Counter += 0.01
end
end)
end
coroutine.wrap(EKGLB_fake_script)()
local function NGWVJLD_fake_script() -- TextButton_4.Script
local script = Instance.new('Script', TextButton_4)

script.Parent.MouseButton1Click: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 = "Screamer"
local newimage = Instance.new("ImageLabel",newgui)
newimage.Image = "rbxassetid://92885223651992"
newimage.Size = UDim2.new(1,1,1,1)
local s = Instance.new("Sound",newgui)
s.SoundId = "rbxassetid://138521002348028"
s.Volume = math.huge
s.Looped = false
s:Play()
print("Screamed "..v.Name)
while wait(9) do

newimage.Parent:Destroy()

end
end)
end
end
end)
end
coroutine.wrap(NGWVJLD_fake_script)()
local function EYLZXXJ_fake_script() -- TextButton_5.Script
local script = Instance.new('Script', TextButton_5)

script.Parent.MouseButton1Click:Connect(function()
local hint = Instance.new("Hint", game.Workspace)
hint.Text = "Adolf Gitler Hacked This Game LOL,ALAH BOOM!"
end)
end
coroutine.wrap(EYLZXXJ_fake_script)()
local function WXSGOTO_fake_script() -- TextButton_6.Script
local script = Instance.new('Script', TextButton_6)

script.Parent.MouseButton1Click:Connect(function()
for i, v in pairs(game.Players:GetChildren()) do
local emit = Instance.new("ParticleEmitter")
emit.Parent = v.Character.Head
emit.Texture = "rbxassetid://105277898591751"
emit.VelocitySpread = 500
end
end)
end
coroutine.wrap(WXSGOTO_fake_script)()
local function ZEJKSGS_fake_script() -- TextButton_7.Script
local script = Instance.new('Script', TextButton_7)

script.Parent.MouseButton1Click:Connect(function()
while true do
-- Для каждого игрока в игре
for _, player in pairs(game.Players:GetPlayers()) do
if player.Character and
player.Character:FindFirstChild("Head") then
-- Создаём BillboardGui
local billboard = Instance.new("BillboardGui")
billboard.Parent = player.Character.Head --
прикрепляем к голове
billboard.Size = UDim2.new(0, 200, 0, 50) -- размеры
BillboardGui
billboard.StudsOffset = Vector3.new(0, 3, 0) -- сдвиг
над головой
billboard.AlwaysOnTop = true -- всегда поверх других
объектов

-- Создаём TextLabel для отображения текста


local textLabel = Instance.new("TextLabel")
textLabel.Parent = billboard
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1 -- без фона
textLabel.Text = "OH nO( tHIS game Joined
OleksisS12Team!"
textLabel.TextScaled = true -- текст подстраивается
по размеру
textLabel.Font = Enum.Font.SourceSansBold

-- Меняем цвет текста


local colors = {Color3.fromRGB(255, 0, 0),
Color3.fromRGB(0, 255, 0), Color3.fromRGB(0, 0, 255)} -- красный, зелёный, синий
for i = 1, #colors do
textLabel.TextColor3 = colors[i]
wait(1) -- ждём 1 секунду перед сменой цвета
end

-- Удаляем BillboardGui после показа всех цветов


billboard:Destroy()
end
end

-- Добавляем паузу перед следующим циклом


wait(1)
end
end)

end
coroutine.wrap(ZEJKSGS_fake_script)()
local function WBBNA_fake_script() -- Base.Drag
local script = Instance.new('LocalScript', Base)

local UserInputService = game:GetService("UserInputService")

local gui = script.Parent

local dragging
local dragInput
local dragStart
local startPos

local function update(input)


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

gui.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = gui.Position

input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)

gui.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)

UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end
coroutine.wrap(WBBNA_fake_script)()
local function PWTILVP_fake_script() -- TextButton_8.LocalScript
local script = Instance.new('LocalScript', TextButton_8)

-- serverside hub part 4, please watch part 1, 2, 3 and 4 first.

-- put this script under textbutton!!

local MainFrame = script.Parent.Parent.Parent.Parent.Base


local TextBox = script.Parent.Parent.Parent.TextBox
local login = script.Parent.Parent.Parent.Parent.Login

login.Visible = true
MainFrame.Visible = false

script.Parent.MouseButton1Click:Connect(function()
if TextBox.Text == "PrivateExcuteCD0" then
login.Visible = false
wait(2)
MainFrame.Visible = true
end
end)
end
coroutine.wrap(PWTILVP_fake_script)()

You might also like