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

Auto Farm

This document contains code for creating a user interface in Roblox with a top bar containing buttons that teleport the player to different locations in the game world related to the Avatar: The Last Airbender TV show, as well as labels to track resources. The top bar is initialized and several buttons and labels are created and configured as children of the top bar with positions, sizes, text values and click functions to teleport the player.

Uploaded by

Mr Amazing
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)
431 views4 pages

Auto Farm

This document contains code for creating a user interface in Roblox with a top bar containing buttons that teleport the player to different locations in the game world related to the Avatar: The Last Airbender TV show, as well as labels to track resources. The top bar is initialized and several buttons and labels are created and configured as children of the top bar with positions, sizes, text values and click functions to teleport the player.

Uploaded by

Mr Amazing
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

local ScreenGui = Instance.

new("ScreenGui")
local Topbar = Instance.new("TextLabel")
local Child = Instance.new("TextButton")
local Crown = Instance.new("TextButton")
local DaiLee = Instance.new("TextButton")
local Fans = Instance.new("TextButton")
local Kyoshi = Instance.new("TextButton")
local Mother = Instance.new("TextButton")
local Copper = Instance.new("TextLabel")
local Gold = Instance.new("TextLabel")
local Silver = Instance.new("TextLabel")
local Frame = Instance.new("Frame")
local Fans_2 = Instance.new("TextButton")

-- Properties

ScreenGui.Parent = game.CoreGui

Topbar.Name = "Topbar"
Topbar.Parent = ScreenGui
Topbar.BackgroundColor3 = Color3.new(0.352941, 0.556863, 0.913726)
Topbar.BorderColor3 = Color3.new(0.352941, 0.556863, 0.913726)
Topbar.Position = UDim2.new(0.138360173, 0, 0.122529641, 0)
Topbar.Size = UDim2.new(0, 310, 0, 39)
Topbar.ZIndex = 3
Topbar.Font = Enum.Font.SourceSans
Topbar.Text = "Avatar The Last Airbender Manual Money Farm Script By Darion"
Topbar.TextColor3 = Color3.new(0, 0, 0)
Topbar.TextSize = 14
Topbar.Active = true
Topbar.Draggable = true

Child.Name = "Child"
Child.Parent = Topbar
Child.BackgroundColor3 = Color3.new(1, 1, 1)
Child.Position = UDim2.new(0.370325983, 0, 1.97115374, 0)
Child.Size = UDim2.new(0, 93, 0, 40)
Child.ZIndex = 2
Child.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
Child.Font = Enum.Font.SourceSans
Child.Text = "Lost Child"
Child.TextColor3 = Color3.new(0, 0, 0)
Child.TextSize = 14
Child.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(191.422, 3.494, 3185.082)
end)

Crown.Name = "Crown"
Crown.Parent = Topbar
Crown.BackgroundColor3 = Color3.new(1, 1, 1)
Crown.Position = UDim2.new(0.0315993875, 0, 3.00412083, 0)
Crown.Size = UDim2.new(0, 96, 0, 40)
Crown.ZIndex = 2
Crown.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
Crown.Font = Enum.Font.SourceSans
Crown.Text = "Crown"
Crown.TextColor3 = Color3.new(0, 0, 0)
Crown.TextSize = 14
Crown.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Workspace.QuestItems.EarthKing.Union.CFrame
end)

DaiLee.Name = "DaiLee"
DaiLee.Parent = Topbar
DaiLee.BackgroundColor3 = Color3.new(1, 1, 1)
DaiLee.Position = UDim2.new(0.0315993875, 0, 1.97115374, 0)
DaiLee.Size = UDim2.new(0, 96, 0, 40)
DaiLee.ZIndex = 2
DaiLee.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
DaiLee.Font = Enum.Font.SourceSans
DaiLee.Text = "Dai Lee Agent"
DaiLee.TextColor3 = Color3.new(0, 0, 0)
DaiLee.TextSize = 14
DaiLee.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-
181.569, 3.151, 3406.990)
end)

Fans.Name = "Fans"
Fans.Parent = Topbar
Fans.BackgroundColor3 = Color3.new(1, 1, 1)
Fans.Position = UDim2.new(0.670967758, 0, 3, 0)
Fans.Size = UDim2.new(0, 52, 0, 40)
Fans.ZIndex = 2
Fans.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
Fans.Font = Enum.Font.SourceSans
Fans.Text = "RightFan"
Fans.TextColor3 = Color3.new(0, 0, 0)
Fans.TextSize = 14
Fans.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Workspace.QuestItems.RightFan.CFrame
end)
Kyoshi.Name = "Kyoshi"
Kyoshi.Parent = Topbar
Kyoshi.BackgroundColor3 = Color3.new(1, 1, 1)
Kyoshi.Position = UDim2.new(0.684884369, 0, 1.97115374, 0)
Kyoshi.Size = UDim2.new(0, 92, 0, 40)
Kyoshi.ZIndex = 2
Kyoshi.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
Kyoshi.Font = Enum.Font.SourceSans
Kyoshi.Text = "Kyoshi Warrior"
Kyoshi.TextColor3 = Color3.new(0, 0, 0)
Kyoshi.TextSize = 14
Kyoshi.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(1034.987, 36.072, -3444.837)
end)

Mother.Name = "Mother"
Mother.Parent = Topbar
Mother.BackgroundColor3 = Color3.new(1, 1, 1)
Mother.Position = UDim2.new(0.370325983, 0, 3.00412083, 0)
Mother.Size = UDim2.new(0, 93, 0, 40)
Mother.ZIndex = 2
Mother.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
Mother.Font = Enum.Font.SourceSans
Mother.Text = "Mother Of Child"
Mother.TextColor3 = Color3.new(0, 0, 0)
Mother.TextSize = 14
Mother.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-
88.589, 3.149, 2876.526)
end)

Copper.Name = "Copper"
Copper.Parent = Topbar
Copper.BackgroundColor3 = Color3.new(1, 1, 1)
Copper.BorderColor3 = Color3.new(1, 1, 1)
Copper.Position = UDim2.new(0.402955592, 0, 1.16529286, 0)
Copper.Size = UDim2.new(0, 83, 0, 32)
Copper.ZIndex = 2
Copper.Font = Enum.Font.SourceSans
Copper.Text = "Copper Pieces"
Copper.TextColor3 = Color3.new(0, 0, 0)
Copper.TextSize = 14

Gold.Name = "Gold"
Gold.Parent = Topbar
Gold.BackgroundColor3 = Color3.new(1, 1, 1)
Gold.BorderColor3 = Color3.new(1, 1, 1)
Gold.Position = UDim2.new(0.0124810003, 0, 1.16529286, 0)
Gold.Size = UDim2.new(0, 121, 0, 32)
Gold.ZIndex = 2
Gold.Font = Enum.Font.SourceSans
Gold.Text = "Gold Pieces/Ingots"
Gold.TextColor3 = Color3.new(0, 0, 0)
Gold.TextSize = 14

Silver.Name = "Silver"
Silver.Parent = Topbar
Silver.BackgroundColor3 = Color3.new(1, 1, 1)
Silver.BorderColor3 = Color3.new(1, 1, 1)
Silver.Position = UDim2.new(0.701199174, 0, 1.16529286, 0)
Silver.Size = UDim2.new(0, 87, 0, 32)
Silver.ZIndex = 2
Silver.Font = Enum.Font.SourceSans
Silver.Text = "Silver Pieces"
Silver.TextColor3 = Color3.new(0, 0, 0)
Silver.TextSize = 14

Frame.Parent = Topbar
Frame.BackgroundColor3 = Color3.new(1, 1, 1)
Frame.Size = UDim2.new(0, 310, 0, 168)

Fans_2.Name = "Fans"
Fans_2.Parent = Topbar
Fans_2.BackgroundColor3 = Color3.new(1, 1, 1)
Fans_2.Position = UDim2.new(0.819354832, 0, 3, 0)
Fans_2.Size = UDim2.new(0, 50, 0, 40)
Fans_2.ZIndex = 2
Fans_2.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
Fans_2.Font = Enum.Font.SourceSans
Fans_2.Text = "--"
Fans_2.TextColor3 = Color3.new(0, 0, 0)
Fans_2.TextSize = 14
Fans.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Workspace.QuestItems.LeftFan.CFrame
end)

You might also like