0% found this document useful (0 votes)
97 views4 pages

Message

The document is a Lua script for a graphical user interface (GUI) in a game, featuring buttons for actions like 'Drop', 'Farm', 'Equip Weights', and 'Remove HUD'. It includes properties for the GUI elements, such as colors and sizes, as well as scripts that define the functionality of each button. The script allows for drag-and-drop functionality for the GUI frame and includes event listeners for button interactions.

Uploaded by

dabukaze909
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)
97 views4 pages

Message

The document is a Lua script for a graphical user interface (GUI) in a game, featuring buttons for actions like 'Drop', 'Farm', 'Equip Weights', and 'Remove HUD'. It includes properties for the GUI elements, such as colors and sizes, as well as scripts that define the functionality of each button. The script allows for drag-and-drop functionality for the GUI frame and includes event listeners for button interactions.

Uploaded by

dabukaze909
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/ 4

-- Gui to Lua

-- Version: 3.2

-- Instances:

local ScreenGui = Instance.new("ScreenGui")


local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local drop = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local farm = Instance.new("TextButton")
local UICorner_2 = Instance.new("UICorner")
local tool = Instance.new("TextBox")
local UICorner_3 = Instance.new("UICorner")
local equip = Instance.new("TextButton")
local UICorner_4 = Instance.new("UICorner")
local Hud = Instance.new("TextButton")
local UICorner_5 = Instance.new("UICorner")
local UICorner_6 = Instance.new("UICorner")

--Properties:

ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(170, 0, 127)
Frame.Position = UDim2.new(0.768526852, 0, 0.665101647, 0)
Frame.Size = UDim2.new(0, 280, 0, 208)

TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Size = UDim2.new(0, 280, 0, 26)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "Made by 27x34k"
TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.TextScaled = true
TextLabel.TextSize = 14.000
TextLabel.TextWrapped = true

drop.Name = "drop"
drop.Parent = Frame
drop.BackgroundColor3 = Color3.fromRGB(140, 0, 105)
drop.Position = UDim2.new(0.0607142858, 0, 0.126871943, 0)
drop.Size = UDim2.new(0, 105, 0, 40)
drop.Font = Enum.Font.SourceSans
drop.Text = "Drop"
drop.TextColor3 = Color3.fromRGB(0, 0, 0)
drop.TextScaled = true
drop.TextSize = 14.000
drop.TextWrapped = true

UICorner.CornerRadius = UDim.new(0.200000003, 0)
UICorner.Parent = drop

farm.Name = "farm"
farm.Parent = Frame
farm.BackgroundColor3 = Color3.fromRGB(129, 0, 97)
farm.Position = UDim2.new(0.550000012, 0, 0.126871943, 0)
farm.Size = UDim2.new(0, 105, 0, 40)
farm.Font = Enum.Font.SourceSans
farm.Text = "Farm"
farm.TextColor3 = Color3.fromRGB(0, 0, 0)
farm.TextScaled = true
farm.TextSize = 14.000
farm.TextWrapped = true

UICorner_2.CornerRadius = UDim.new(0.174999997, 0)
UICorner_2.Parent = farm

tool.Name = "tool"
tool.Parent = Frame
tool.BackgroundColor3 = Color3.fromRGB(121, 0, 91)
tool.Position = UDim2.new(0.142857149, 0, 0.804761946, 0)
tool.Size = UDim2.new(0, 200, 0, 31)
tool.Font = Enum.Font.SourceSans
tool.Text = "Double Weight"
tool.TextColor3 = Color3.fromRGB(0, 0, 0)
tool.TextScaled = true
tool.TextSize = 14.000
tool.TextWrapped = true

UICorner_3.CornerRadius = UDim.new(0.150000006, 0)
UICorner_3.Parent = tool

equip.Name = "equip"
equip.Parent = Frame
equip.BackgroundColor3 = Color3.fromRGB(138, 0, 103)
equip.Position = UDim2.new(0.0607142858, 0, 0.452294588, 0)
equip.Size = UDim2.new(0, 105, 0, 40)
equip.Font = Enum.Font.SourceSans
equip.Text = "Equip Weights"
equip.TextColor3 = Color3.fromRGB(0, 0, 0)
equip.TextScaled = true
equip.TextSize = 14.000
equip.TextWrapped = true

UICorner_4.CornerRadius = UDim.new(0.150000006, 0)
UICorner_4.Parent = equip

Hud.Name = "Hud"
Hud.Parent = Frame
Hud.BackgroundColor3 = Color3.fromRGB(135, 0, 101)
Hud.Position = UDim2.new(0.550000012, 0, 0.452294528, 0)
Hud.Size = UDim2.new(0, 105, 0, 40)
Hud.Font = Enum.Font.SourceSans
Hud.Text = "remove HUD"
Hud.TextColor3 = Color3.fromRGB(0, 0, 0)
Hud.TextScaled = true
Hud.TextSize = 14.000
Hud.TextWrapped = true

UICorner_5.CornerRadius = UDim.new(0.125, 0)
UICorner_5.Parent = Hud

UICorner_6.CornerRadius = UDim.new(0.100000001, 0)
UICorner_6.Parent = Frame
-- Scripts:

local function FDRWLLY_fake_script() -- drop.LocalScript


local script = Instance.new('LocalScript', drop)

drop.MouseButton1Down:connect(function()
loadstring(game:HttpGet("https://pastebin.com/raw/CjVD4RZN", true))()
end)

end
coroutine.wrap(FDRWLLY_fake_script)()
local function NILDMFN_fake_script() -- farm.Script
local script = Instance.new('Script', farm)

farm.MouseButton1Click:connect(function()
_G.farm = true
while _G.farm do
wait()
for i,v in
pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v.Name == tool.Text then v:Activate() end
end
end
end)

end
coroutine.wrap(NILDMFN_fake_script)()
local function HHAEPME_fake_script() -- equip.Script
local script = Instance.new('Script', equip)

equip.MouseButton1Click:connect(function()
_G.equip = true
while _G.equip do
wait()
for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren())
do
if v.Name == tool.Text then
v.Parent = game.Players.LocalPlayer.Character
end
end
end
end)

end
coroutine.wrap(HHAEPME_fake_script)()
local function NLGJPC_fake_script() -- Hud.LocalScript
local script = Instance.new('LocalScript', Hud)

Hud.MouseButton1Down:connect(function()
game:GetService("Players").LocalPlayer.PlayerGui.HUD:Destroy()
end)
end
coroutine.wrap(NLGJPC_fake_script)()
local function AHSJH_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)

local UIS = game:GetService('UserInputService')


local frame = script.Parent
local dragToggle = nil
local dragSpeed = 0.25
local dragStart = nil
local startPos = nil

local function updateInput(input)


local delta = input.Position - dragStart
local position = UDim2.new(startPos.X.Scale, startPos.X.Offset +
delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y)
game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed),
{Position = position}):Play()
end

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

UIS.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch then
if dragToggle then
updateInput(input)
end
end
end)

end
coroutine.wrap(AHSJH_fake_script)()

You might also like