0% found this document useful (0 votes)
356 views75 pages

UI Library for Game Development

Uploaded by

Zith 66
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)
356 views75 pages

UI Library for Game Development

Uploaded by

Zith 66
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

local library = {}

local ToggleUI = true


[Link] = nil
[Link] = {}

local services = setmetatable({}, {


__index = function(t, k)
return [Link](game, k)
end
})

local mouse = [Link]:GetMouse()

function Tween(obj, t, data)


[Link]:Create(obj, [Link](t[1], [Link][t[2]],
[Link][t[3]]), data):Play()
return true
end

function Ripple(obj)
spawn(function()
if [Link] ~= true then
[Link] = true
end
local Ripple = [Link]("ImageLabel")
[Link] = "Ripple"
[Link] = obj
Ripple.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 8
[Link] = "rbxassetid://2708891598"
[Link] = 0.800
[Link] = [Link]
Ripple.ImageColor3 = [Link](255, 255, 255)
[Link] = [Link]((mouse.X - [Link].X) /
[Link].X, 0, (mouse.Y - [Link].Y) / [Link].Y,
0)
Tween(Ripple, {.3, 'Linear', 'InOut'}, {Position = [Link](-5.5, 0, -
5.5, 0), Size = [Link](12, 0, 12, 0)})
wait(0.15)
Tween(Ripple, {.3, 'Linear', 'InOut'}, {ImageTransparency = 1})
wait(.3)
Ripple:Destroy()
end)
end

local toggled = false

-- # Switch Tabs # --
local switchingTabs = false
function switchTab(new)
if switchingTabs then return end
local old = [Link]
if old == nil then
new[2].Visible = true
[Link] = new
[Link]:Create(new[1], [Link](0.1), {ImageTransparency =
0}):Play()
[Link]:Create(new[1].TabText, [Link](0.1),
{TextTransparency = 0}):Play()
return
end

if old[1] == new[1] then return end


switchingTabs = true
[Link] = new

[Link]:Create(old[1], [Link](0.1), {ImageTransparency =


0.2}):Play()
[Link]:Create(new[1], [Link](0.1), {ImageTransparency =
0}):Play()
[Link]:Create(old[1].TabText, [Link](0.1),
{TextTransparency = 0.2}):Play()
[Link]:Create(new[1].TabText, [Link](0.1),
{TextTransparency = 0}):Play()

old[2].Visible = false
new[2].Visible = true

[Link](0.1)

switchingTabs = false
end

-- # Drag, Stolen from Kiriot or Wally # --


function drag(frame, hold)
if not hold then
hold = frame
end
local dragging
local dragInput
local dragStart
local startPos

local function update(input)


local delta = [Link] - dragStart
[Link] = [Link]([Link], [Link] +
delta.X, [Link], [Link] + delta.Y)
end

[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 then
dragging = true
dragStart = [Link]
startPos = [Link]

[Link]:Connect(function()
if [Link] == [Link] then
dragging = false
end
end)
end
end)

[Link]:Connect(function(input)
if [Link] == [Link] then
dragInput = input
end
end)

[Link]:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end

function [Link](library, name)


for _, v in next, [Link]:GetChildren() do
if [Link] == "frosty is cute" then
v:Destroy()
end
end

local dogent = [Link]("ScreenGui")


local Main = [Link]("Frame")
local TabMain = [Link]("Frame")
local MainC = [Link]("UICorner")
local SB = [Link]("Frame")
local SBC = [Link]("UICorner")
local Side = [Link]("Frame")
local SideG = [Link]("UIGradient")
local TabBtns = [Link]("ScrollingFrame")
local TabBtnsL = [Link]("UIListLayout")
local ScriptTitle = [Link]("TextLabel")
local SBG = [Link]("UIGradient")

if syn and syn.protect_gui then syn.protect_gui(dogent) end

[Link] = "frosty is cute"


[Link] = [Link]

function UiDestroy()
dogent:Destroy()
end

function ToggleUILib()
if not ToggleUI then
[Link] = false
ToggleUI = true
else
ToggleUI = false
[Link] = true
end
end

[Link] = "Main"
[Link] = dogent
[Link] = [Link](0.5, 0.5)
Main.BackgroundColor3 = [Link](33, 33, 33)
Main.BorderColor3 = [Link](55, 55, 55)
[Link] = [Link](0.5, 0, 0.5, 0)
[Link] = [Link](0, 572, 0, 353)

drag(Main)

function toggleui()
toggled = not toggled
spawn(function()
if toggled then wait(0.3) end
end)
Tween(Main, {0.3, 'Sine', 'InOut'}, {
Size = [Link](0, 609, 0, (toggled and 505 or 0))
})
end

[Link] = "TabMain"
[Link] = Main
TabMain.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.217000037, 0, 0, 3)
[Link] = [Link](0, 448, 0, 346)

[Link] = [Link](0, 10)


[Link] = "MainC"
[Link] = Main

[Link] = "SB"
[Link] = Main
SB.BackgroundColor3 = [Link](255, 255, 255)
SB.BorderColor3 = [Link](44, 44, 44)
[Link] = [Link](0, 8, 0, 353)

[Link] = [Link](0, 10)


[Link] = "SBC"
[Link] = SB

[Link] = "Side"
[Link] = SB
Side.BackgroundColor3 = [Link](255, 255, 255)
Side.BorderColor3 = [Link](255, 255, 255)
[Link] = 0
[Link] = true
[Link] = [Link](1, 0, 0, 0)
[Link] = [Link](0, 110, 0, 353)

[Link] = [Link]{[Link](0.00,
[Link](40, 40, 40)), [Link](1.00, [Link](40, 40,
40))}
[Link] = 90
[Link] = "SideG"
[Link] = Side

[Link] = "TabBtns"
[Link] = Side
[Link] = true
TabBtns.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0.0973535776, 0)
[Link] = [Link](0, 110, 0, 318)
[Link] = [Link](0, 0, 1, 0)
[Link] = 0

[Link] = "TabBtnsL"
[Link] = TabBtns
[Link] = [Link]
[Link] = [Link](0, 12)

[Link] = "ScriptTitle"
[Link] = Side
ScriptTitle.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0, 0, 0.00953488424, 0)
[Link] = [Link](0, 102, 0, 20)
[Link] = [Link]
[Link] = name
ScriptTitle.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000
[Link] = [Link]

[Link] = [Link]{[Link](0.00, [Link](40,


40, 40)), [Link](1.00, [Link](40, 40, 40))}
[Link] = 90
[Link] = "SBG"
[Link] = SB

TabBtnsL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
[Link] = [Link](0, 0, 0, [Link].Y + 18)
end)

local window = {}
function [Link](window, name, icon)
local Tab = [Link]("ScrollingFrame")
local TabIco = [Link]("ImageLabel")
local TabText = [Link]("TextLabel")
local TabBtn = [Link]("TextButton")
local TabL = [Link]("UIListLayout")

[Link] = "Tab"
[Link] = TabMain
[Link] = true
Tab.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](1, 0, 1, 0)
[Link] = 2
[Link] = false

[Link] = "TabIco"
[Link] = TabBtns
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 24, 0, 24)
[Link] = ("rbxassetid://%s"):format((icon or 4370341699))
[Link] = 0.2

[Link] = "TabText"
[Link] = TabIco
TabText.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](1.41666663, 0, 0, 0)
[Link] = [Link](0, 76, 0, 24)
[Link] = [Link]
[Link] = name
TabText.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000
[Link] = [Link]
[Link] = 0.2

[Link] = "TabBtn"
[Link] = TabIco
TabBtn.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 110, 0, 24)
[Link] = false
[Link] = [Link]
[Link] = ""
TabBtn.TextColor3 = [Link](0, 0, 0)
[Link] = 14.000

[Link] = "TabL"
[Link] = Tab
[Link] = [Link]
[Link] = [Link](0, 4)

TabBtn.MouseButton1Click:Connect(function()
spawn(function()
Ripple(TabBtn)
end)
switchTab({TabIco, Tab})
end)

if [Link] == nil then switchTab({TabIco, Tab}) end

TabL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
[Link] = [Link](0, 0, 0, [Link].Y + 8)
end)

local tab = {}
function [Link](tab, name, TabVal)
local Section = [Link]("Frame")
local SectionC = [Link]("UICorner")
local SectionText = [Link]("TextLabel")
local SectionOpen = [Link]("ImageLabel")
local SectionOpened = [Link]("ImageLabel")
local SectionToggle = [Link]("ImageButton")
local Objs = [Link]("Frame")
local ObjsL = [Link]("UIListLayout")

[Link] = "Section"
[Link] = Tab
Section.BackgroundColor3 = [Link](44, 44, 44)
[Link] = 1.000
[Link] = 0
[Link] = true
[Link] = [Link](0.981000006, 0, 0, 36)

[Link] = [Link](0, 10)


[Link] = "SectionC"
[Link] = Section

[Link] = "SectionText"
[Link] = Section
SectionText.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0.0887396261, 0, 0, 0)
[Link] = [Link](0, 401, 0, 36)
[Link] = [Link]
[Link] = name
SectionText.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = "SectionOpen"
[Link] = SectionText
[Link] = 1
[Link] = 0
[Link] = [Link](0, -33, 0, 5)
[Link] = [Link](0, 26, 0, 26)
[Link] = "[Link]

[Link] = "SectionOpened"
[Link] = SectionOpen
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 26, 0, 26)
[Link] = "[Link]
[Link] = 1.000

[Link] = "SectionToggle"
[Link] = SectionOpen
[Link] = 1
[Link] = 0
[Link] = [Link](0, 26, 0, 26)

[Link] = "Objs"
[Link] = Section
Objs.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1
[Link] = 0
[Link] = [Link](0, 6, 0, 36)
[Link] = [Link](0.986347735, 0, 0, 0)

[Link] = "ObjsL"
[Link] = Objs
[Link] = [Link]
[Link] = [Link](0, 8)

local open = TabVal


if TabVal ~= false then
[Link] = [Link](0.981000006, 0, 0, open and 36 +
[Link].Y + 8 or 36)
[Link] = (open and 0 or 1)
[Link] = (open and 1 or 0)
end

SectionToggle.MouseButton1Click:Connect(function()
open = not open
[Link] = [Link](0.981000006, 0, 0, open and 36 +
[Link].Y + 8 or 36)
[Link] = (open and 0 or 1)
[Link] = (open and 1 or 0)
end)

ObjsL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
if not open then return end
[Link] = [Link](0.981000006, 0, 0, 36 +
[Link].Y + 8)
end)

local section = {}
function [Link](section, text, callback)
local callback = callback or function() end

local BtnModule = [Link]("Frame")


local Btn = [Link]("TextButton")
local BtnC = [Link]("UICorner")

[Link] = "BtnModule"
[Link] = Objs
BtnModule.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link](0, 428, 0, 38)

[Link] = "Btn"
[Link] = BtnModule
Btn.BackgroundColor3 = [Link](44, 44, 44)
[Link] = 0
[Link] = [Link](0, 428, 0, 38)
[Link] = false
[Link] = [Link]
[Link] = " " .. text
Btn.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = [Link](0, 10)


[Link] = "BtnC"
[Link] = Btn

Btn.MouseButton1Click:Connect(function()
spawn(function()
Ripple(Btn)
end)
spawn(callback)
end)
end

function section:Label(text)
local LabelModule = [Link]("Frame")
local TextLabel = [Link]("TextLabel")
local LabelC = [Link]("UICorner")

[Link] = "LabelModule"
[Link] = Objs
LabelModule.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, NAN, 0)
[Link] = [Link](0, 428, 0, 19)

[Link] = LabelModule
TextLabel.BackgroundColor3 = [Link](44, 44, 44)
[Link] = [Link](0, 428, 0, 22)
[Link] = [Link]
[Link] = text
TextLabel.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000

[Link] = [Link](0, 10)


[Link] = "LabelC"
[Link] = TextLabel
return TextLabel
end

function [Link](section, text, flag, enabled, callback)


local callback = callback or function() end
local enabled = enabled or false
assert(text, "No text provided")
assert(flag, "No flag provided")

[Link][flag] = enabled

local ToggleModule = [Link]("Frame")


local ToggleBtn = [Link]("TextButton")
local ToggleBtnC = [Link]("UICorner")
local ToggleDisable = [Link]("Frame")
local ToggleSwitch = [Link]("Frame")
local ToggleSwitchC = [Link]("UICorner")
local ToggleDisableC = [Link]("UICorner")

[Link] = "ToggleModule"
[Link] = Objs
ToggleModule.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link](0, 428, 0, 38)

[Link] = "ToggleBtn"
[Link] = ToggleModule
ToggleBtn.BackgroundColor3 = [Link](44, 44, 44)
[Link] = 0
[Link] = [Link](0, 428, 0, 38)
[Link] = false
[Link] = [Link]
[Link] = " " .. text
ToggleBtn.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = [Link](0, 10)


[Link] = "ToggleBtnC"
[Link] = ToggleBtn

[Link] = "ToggleDisable"
[Link] = ToggleBtn
ToggleDisable.BackgroundColor3 = [Link](33, 33, 33)
[Link] = 0
[Link] = [Link](0.901869178, 0, 0.208881587, 0)
[Link] = [Link](0, 36, 0, 22)

[Link] = "ToggleSwitch"
[Link] = ToggleDisable
ToggleSwitch.BackgroundColor3 = [Link](255, 255, 255)
[Link] = [Link](0, 24, 0, 22)

[Link] = [Link](0, 10)


[Link] = "ToggleSwitchC"
[Link] = ToggleSwitch

[Link] = [Link](0, 10)


[Link] = "ToggleDisableC"
[Link] = ToggleDisable

local funcs = {
SetState = function(self, state)
if state == nil then state = not [Link][flag] end
if [Link][flag] == state then return end
[Link]:Create(ToggleSwitch, [Link](0.2),
{Position = [Link](0, (state and [Link] / 2 or 0), 0, 0),
BackgroundColor3 = (state and [Link](255, 255, 255) or [Link](22,
27, 45))}):Play()
[Link][flag] = state
callback(state)
end,
Module = ToggleModule
}

if enabled ~= false then


funcs:SetState(flag,true)
end

ToggleBtn.MouseButton1Click:Connect(function()
funcs:SetState()
end)
return funcs
end

function [Link](section, text, default, callback)


local callback = callback or function() end
assert(text, "No text provided")
assert(default, "No default key provided")

local default = (typeof(default) == "string" and [Link][default] or


default)
local banned = {
Return = true;
Space = true;
Tab = true;
Backquote = true;
CapsLock = true;
Escape = true;
Unknown = true;
}
local shortNames = {
RightControl = 'Right Ctrl',
LeftControl = 'Left Ctrl',
LeftShift = 'Left Shift',
RightShift = 'Right Shift',
Semicolon = ";",
Quote = '"',
LeftBracket = '[',
RightBracket = ']',
Equals = '=',
Minus = '-',
RightAlt = 'Right Alt',
LeftAlt = 'Left Alt'
}

local bindKey = default


local keyTxt = (default and (shortNames[[Link]] or [Link]) or
"None")

local KeybindModule = [Link]("Frame")


local KeybindBtn = [Link]("TextButton")
local KeybindBtnC = [Link]("UICorner")
local KeybindValue = [Link]("TextButton")
local KeybindValueC = [Link]("UICorner")
local KeybindL = [Link]("UIListLayout")
local UIPadding = [Link]("UIPadding")

[Link] = "KeybindModule"
[Link] = Objs
KeybindModule.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link](0, 428, 0, 38)

[Link] = "KeybindBtn"
[Link] = KeybindModule
KeybindBtn.BackgroundColor3 = [Link](44, 44, 44)
[Link] = 0
[Link] = [Link](0, 428, 0, 38)
[Link] = false
[Link] = [Link]
[Link] = " " .. text
KeybindBtn.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = [Link](0, 10)


[Link] = "KeybindBtnC"
[Link] = KeybindBtn

[Link] = "KeybindValue"
[Link] = KeybindBtn
KeybindValue.BackgroundColor3 = [Link](33, 33, 33)
[Link] = 0
[Link] = [Link](0.763033211, 0, 0.289473683, 0)
[Link] = [Link](0, 100, 0, 28)
[Link] = false
[Link] = [Link]
[Link] = keyTxt
KeybindValue.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000

[Link] = [Link](0, 10)


[Link] = "KeybindValueC"
[Link] = KeybindValue

[Link] = "KeybindL"
[Link] = KeybindBtn
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]

[Link] = KeybindBtn
[Link] = [Link](0, 6)

[Link]:Connect(function(inp, gpe)
if gpe then return end
if [Link] ~= [Link] then return end
if [Link] ~= bindKey then return end
callback([Link])
end)

KeybindValue.MouseButton1Click:Connect(function()
[Link] = "..."
wait()
local key, uwu = [Link]:Wait()
local keyName = tostring([Link])
if [Link] ~= [Link] then
[Link] = keyTxt
return
end
if banned[keyName] then
[Link] = keyTxt
return
end
wait()
bindKey = [Link][keyName]
[Link] = shortNames[keyName] or keyName
end)

KeybindValue:GetPropertyChangedSignal("TextBounds"):Connect(function()
[Link] = [Link](0, [Link].X + 30, 0, 28)
end)
[Link] = [Link](0, [Link].X + 30, 0, 28)
end

function [Link](section, text, flag, default, callback)


local callback = callback or function() end
assert(text, "No text provided")
assert(flag, "No flag provided")
assert(default, "No default text provided")

[Link][flag] = default

local TextboxModule = [Link]("Frame")


local TextboxBack = [Link]("TextButton")
local TextboxBackC = [Link]("UICorner")
local BoxBG = [Link]("TextButton")
local BoxBGC = [Link]("UICorner")
local TextBox = [Link]("TextBox")
local TextboxBackL = [Link]("UIListLayout")
local TextboxBackP = [Link]("UIPadding")

[Link] = "TextboxModule"
[Link] = Objs
TextboxModule.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link](0, 428, 0, 38)

[Link] = "TextboxBack"
[Link] = TextboxModule
TextboxBack.BackgroundColor3 = [Link](44, 44, 44)
[Link] = 0
[Link] = [Link](0, 428, 0, 38)
[Link] = false
[Link] = [Link]
[Link] = " " .. text
TextboxBack.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = [Link](0, 10)


[Link] = "TextboxBackC"
[Link] = TextboxBack

[Link] = "BoxBG"
[Link] = TextboxBack
BoxBG.BackgroundColor3 = [Link](33, 33, 33)
[Link] = 0
[Link] = [Link](0.763033211, 0, 0.289473683, 0)
[Link] = [Link](0, 100, 0, 28)
[Link] = false
[Link] = [Link]
[Link] = ""
BoxBG.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000

[Link] = [Link](0, 10)


[Link] = "BoxBGC"
[Link] = BoxBG

[Link] = BoxBG
TextBox.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link]
[Link] = default
TextBox.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000

[Link] = "TextboxBackL"
[Link] = TextboxBack
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = "TextboxBackP"
[Link] = TextboxBack
[Link] = [Link](0, 6)

[Link]:Connect(function()
if [Link] == "" then
[Link] = default
end
[Link][flag] = [Link]
callback([Link])
end)

TextBox:GetPropertyChangedSignal("TextBounds"):Connect(function()
[Link] = [Link](0, [Link].X + 30, 0, 28)
end)
[Link] = [Link](0, [Link].X + 30, 0, 28)
end

function [Link](section, text, flag, default, min, max, precise,


callback)
local callback = callback or function() end
local min = min or 1
local max = max or 10
local default = default or min
local precise = precise or false

[Link][flag] = default

assert(text, "No text provided")


assert(flag, "No flag provided")
assert(default, "No default value provided")

local SliderModule = [Link]("Frame")


local SliderBack = [Link]("TextButton")
local SliderBackC = [Link]("UICorner")
local SliderBar = [Link]("Frame")
local SliderBarC = [Link]("UICorner")
local SliderPart = [Link]("Frame")
local SliderPartC = [Link]("UICorner")
local SliderValBG = [Link]("TextButton")
local SliderValBGC = [Link]("UICorner")
local SliderValue = [Link]("TextBox")
local MinSlider = [Link]("TextButton")
local AddSlider = [Link]("TextButton")

[Link] = "SliderModule"
[Link] = Objs
SliderModule.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link](0, 428, 0, 38)

[Link] = "SliderBack"
[Link] = SliderModule
SliderBack.BackgroundColor3 = [Link](44, 44, 44)
[Link] = 0
[Link] = [Link](0, 428, 0, 38)
[Link] = false
[Link] = [Link]
[Link] = " " .. text
SliderBack.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = [Link](0, 10)


[Link] = "SliderBackC"
[Link] = SliderBack

[Link] = "SliderBar"
[Link] = SliderBack
[Link] = [Link](0, 0.5)
SliderBar.BackgroundColor3 = [Link](33, 33, 33)
[Link] = 0
[Link] = [Link](0.369000018, 40, 0.5, 0)
[Link] = [Link](0, 140, 0, 12)

[Link] = [Link](0, 10)


[Link] = "SliderBarC"
[Link] = SliderBar

[Link] = "SliderPart"
[Link] = SliderBar
SliderPart.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 0
[Link] = [Link](0, 54, 0, 13)

[Link] = [Link](0, 10)


[Link] = "SliderPartC"
[Link] = SliderPart

[Link] = "SliderValBG"
[Link] = SliderBack
SliderValBG.BackgroundColor3 = [Link](33, 33, 33)
[Link] = 0
[Link] = [Link](0.883177578, 0, 0.131578952, 0)
[Link] = [Link](0, 44, 0, 28)
[Link] = false
[Link] = [Link]
[Link] = ""
SliderValBG.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000

[Link] = [Link](0, 10)


[Link] = "SliderValBGC"
[Link] = SliderValBG

[Link] = "SliderValue"
[Link] = SliderValBG
SliderValue.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](1, 0, 1, 0)
[Link] = [Link]
[Link] = "1000"
SliderValue.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000
[Link] = "MinSlider"
[Link] = SliderModule
MinSlider.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0.296728969, 40, 0.236842096, 0)
[Link] = [Link](0, 20, 0, 20)
[Link] = [Link]
[Link] = "-"
MinSlider.TextColor3 = [Link](255, 255, 255)
[Link] = 24.000
[Link] = true

[Link] = "AddSlider"
[Link] = SliderModule
[Link] = [Link](0, 0.5)
AddSlider.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0.810906529, 0, 0.5, 0)
[Link] = [Link](0, 20, 0, 20)
[Link] = [Link]
[Link] = "+"
AddSlider.TextColor3 = [Link](255, 255, 255)
[Link] = 24.000
[Link] = true

local funcs = {
SetValue = function(self, value)
local percent = (mouse.X - [Link].X) /
[Link].X
if value then
percent = (value - min) / (max - min)
end
percent = [Link](percent, 0, 1)
if precise then
value = value or tonumber([Link]("%.1f", tostring(min + (max -
min) * percent)))
else
value = value or [Link](min + (max - min) * percent)
end
[Link][flag] = tonumber(value)
[Link] = tostring(value)
[Link] = [Link](percent, 0, 1, 0)
callback(tonumber(value))
end
}

MinSlider.MouseButton1Click:Connect(function()
local currentValue = [Link][flag]
currentValue = [Link](currentValue - 1, min, max)
funcs:SetValue(currentValue)
end)

AddSlider.MouseButton1Click:Connect(function()
local currentValue = [Link][flag]
currentValue = [Link](currentValue + 1, min, max)
funcs:SetValue(currentValue)
end)

funcs:SetValue(default)

local dragging, boxFocused, allowed = false, false, {


[""] = true,
["-"] = true
}

[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 then
funcs:SetValue()
dragging = true
end
end)

[Link]:Connect(function(input)
if dragging and [Link] == [Link].MouseButton1
then
dragging = false
end
end)

[Link]:Connect(function(input)
if dragging and [Link] == [Link]
then
funcs:SetValue()
end
end)

[Link]:Connect(function()
boxFocused = true
end)

[Link]:Connect(function()
boxFocused = false
if [Link] == "" then
funcs:SetValue(default)
end
end)

SliderValue:GetPropertyChangedSignal("Text"):Connect(function()
if not boxFocused then return end
[Link] = [Link]:gsub("%D+", "")

local text = [Link]

if not tonumber(text) then


[Link] = [Link]:gsub('%D+', '')
elseif not allowed[text] then
if tonumber(text) > max then
text = max
[Link] = tostring(max)
end
funcs:SetValue(tonumber(text))
end
end)

return funcs
end

function [Link](section, text, flag, options, callback)


local callback = callback or function() end
local options = options or {}
assert(text, "No text provided")
assert(flag, "No flag provided")

[Link][flag] = nil

local DropdownModule = [Link]("Frame")


local DropdownTop = [Link]("TextButton")
local DropdownTopC = [Link]("UICorner")
local DropdownOpen = [Link]("TextButton")
local DropdownText = [Link]("TextBox")
local DropdownModuleL = [Link]("UIListLayout")
local Option = [Link]("TextButton")
local OptionC = [Link]("UICorner")

[Link] = "DropdownModule"
[Link] = Objs
DropdownModule.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = true
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link](0, 428, 0, 38)

[Link] = "DropdownTop"
[Link] = DropdownModule
DropdownTop.BackgroundColor3 = [Link](44, 44, 44)
[Link] = 0
[Link] = [Link](0, 428, 0, 38)
[Link] = false
[Link] = [Link]
[Link] = ""
DropdownTop.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = [Link](0, 10)


[Link] = "DropdownTopC"
[Link] = DropdownTop

[Link] = "DropdownOpen"
[Link] = DropdownTop
[Link] = [Link](0, 0.5)
DropdownOpen.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0.918383181, 0, 0.5, 0)
[Link] = [Link](0, 20, 0, 20)
[Link] = [Link]
[Link] = "+"
DropdownOpen.TextColor3 = [Link](255, 255, 255)
[Link] = 24.000
[Link] = true

[Link] = "DropdownText"
[Link] = DropdownTop
DropdownText.BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = 0
[Link] = [Link](0.0373831764, 0, 0, 0)
[Link] = [Link](0, 184, 0, 38)
[Link] = [Link]
DropdownText.PlaceholderColor3 = [Link](255, 255, 255)
[Link] = text
[Link] = ""
DropdownText.TextColor3 = [Link](255, 255, 255)
[Link] = 16.000
[Link] = [Link]

[Link] = "DropdownModuleL"
[Link] = DropdownModule
[Link] = [Link]
[Link] = [Link](0, 4)

local setAllVisible = function()


local options = DropdownModule:GetChildren()
for i=1, #options do
local option = options[i]
if option:IsA("TextButton") and [Link]:match("Option_") then
[Link] = true
end
end
end

local searchDropdown = function(text)


local options = DropdownModule:GetChildren()
for i=1, #options do
local option = options[i]
if text == "" then
setAllVisible()
else
if option:IsA("TextButton") and [Link]:match("Option_") then
if [Link]:lower():match(text:lower()) then
[Link] = true
else
[Link] = false
end
end
end
end
end

local open = false


local ToggleDropVis = function()
open = not open
if open then setAllVisible() end
[Link] = (open and "-" or "+")
[Link] = [Link](0, 428, 0, (open and
[Link].Y + 4 or 38))
end

DropdownOpen.MouseButton1Click:Connect(ToggleDropVis)
[Link]:Connect(function()
if open then return end
ToggleDropVis()
end)

DropdownText:GetPropertyChangedSignal("Text"):Connect(function()
if not open then return end
searchDropdown([Link])
end)

DropdownModuleL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
if not open then return end
[Link] = [Link](0, 428, 0,
([Link].Y + 4))
end)

local funcs = {}
[Link] = function(self, option)
local Option = [Link]("TextButton")
local OptionC = [Link]("UICorner")

[Link] = "Option_" .. option


[Link] = DropdownModule
Option.BackgroundColor3 = [Link](40, 40, 40)
[Link] = 0
[Link] = [Link](0, 0, 0.328125, 0)
[Link] = [Link](0, 428, 0, 26)
[Link] = false
[Link] = [Link]
[Link] = option
Option.TextColor3 = [Link](255, 255, 255)
[Link] = 14.000

[Link] = [Link](0, 10)


[Link] = "OptionC"
[Link] = Option

Option.MouseButton1Click:Connect(function()
ToggleDropVis()
callback([Link])
[Link] = [Link]
[Link][flag] = [Link]
end)
end

[Link] = function(self, option)


local option = DropdownModule:FindFirstChild("Option_" .. option)
if option then option:Destroy() end
end

[Link] = function(self, options)


for _, v in next, DropdownModule:GetChildren() do
if [Link]:match("Option_") then
v:Destroy()
end
end
for _,v in next, options do
funcs:AddOption(v)
end
end
funcs:SetOptions(options)

return funcs
end
return section
end
return tab
end
return window
end
---Variables
local OrionLib =
loadstring(game:HttpGet(('[Link]
source')))()

OrionLib:MakeNotification({
Name = "Updater",
Content = "Updating Dragon X To Version 2.5 Legacy",
Image = "rbxassetid://10044538000",
Time = 7
})

wait(5)
if game:GetService("CoreGui"):FindFirstChild("UI") then
local destroy = [Link]("BoolValue")
[Link] = "DestroyUi"
[Link] = game:GetService("CoreGui"):FindFirstChild("UI")
end;

--MenuColors
local MenuGUI = game:GetService("Players").[Link]
local PlayerGui = game:GetService("Players").[Link]
--Colors--
[Link] = 0.9
[Link] = [Link](0, 0, 0, 0)
[Link] = 1
local UICornerOpen = [Link]("UICorner")
local UICornerOpen1 = [Link]("UICorner")
local UICornerOpen2 = [Link]("UICorner")
local UICornerOpen3 = [Link]("UICorner")
local UICornerOpen4 = [Link]("UICorner")
local UICornerOpen5 = [Link]("UICorner")
local UICornerOpen6 = [Link]("UICorner")
local UICornerOpen7 = [Link]("UICorner")
local UICornerOpen8 = [Link]("UICorner")
local UICornerOpen9 = [Link]("UICorner")
local UICornerOpen10 = [Link]("UICorner")
local UICornerOpen11 = [Link]("UICorner")
local UIStrokeOpen = [Link]("UIStroke")
local UIStrokeOpen1 = [Link]("UIStroke")
local UIStrokeOpen2 = [Link]("UIStroke")
[Link] = [Link]
[Link] = [Link](0, 20)
[Link] = [Link]
[Link] = [Link](0, 14)
[Link] = [Link]
[Link] = [Link](255, 0, 0)
[Link] = 2
[Link] = 0.9
[Link] = 1
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link]
[Link] = 2
[Link] = [Link](0,0,0)
[Link] = "Dragon"
[Link] = false
[Link] = [Link]
[Link].TextColor3 = [Link](255,
0, 0)
[Link].BackgroundColor3 =
[Link](0,0,0)
[Link] = 0.5
[Link] = 1
[Link] = 1
[Link].BackgroundColor3 =
[Link](0,0,0)
[Link].TextColor3 = [Link](255,
0, 0)
[Link] = 0.5
[Link] = 1
[Link].BackgroundColor3 =
[Link](0,0,0)
[Link].TextColor3 =
[Link](255, 0, 0)
[Link] = 0.5
[Link] = 1
[Link].BackgroundColor3 =
[Link](0,0,0)
[Link].TextColor3 = [Link](255,
0, 0)
[Link] = 0.5
[Link] = 1
[Link].TextColor3 = [Link](255,
0, 0)
[Link] = 0.5
[Link].BackgroundColor3 =
[Link](0,0,0)
[Link] = 1
[Link].TextColor3 = [Link](255,
0, 0)
[Link] = 0.5
[Link].BackgroundColor3 =
[Link](0,0,0)
[Link] = [Link]
[Link] = [Link](0, 10)
[Link] = [Link]
[Link] = [Link](0, 10)
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = 0.9
[Link] = 1
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link](35, 35, 35)
[Link] = 2
--MoneyColor--
[Link].TextColor3 = [Link](255, 0, 0)
-- # locals # --
local defaults = {FlySpeed = 50,isFlying = false,flystate = false,}
local AlwaysDay = false
local AlwaysNight = false
local ClearFog = false
local Shadows = true
local Brightness = 1
local DestroyWater = false
local SolidWater = false

-- # vars -- #
local HitPoints = {['Beesaxe']= 1.4;['AxeAmber']= 3.39;['ManyAxe']= 10.2;
['BasicHatchet']= 0.2;['Axe1']= 0.55;['Axe2']= 0.93;['AxeAlphaTesters']= 1.5;
['Rukiryaxe']= 1.68;['Axe3']= 1.45;['AxeBetaTesters']= 1.45;['FireAxe']= 0.6;
['SilverAxe']= 1.6;['EndTimesAxe']= 1.58;['AxeChicken']= 0.9;['CandyCaneAxe']= 0;
['AxeTwitter']= 1.65}
local added = nil
local cut = nil
local td = false
local old = [Link]

-- # tables # --
WoodTable =
{"Generic","Oak","Cherry","Fir","Pine","Birch","Walnut","Koa","Volcano","Zombie","G
old","Palm","SnowGlow","Frost","CaveCrawler","LoneCave"}
TeleportItemType = {"Tool","Gift","Loose Item","Wire"}
WaypointsPositions = {"The Den", "Lighthouse", "Safari", "Bridge", "Bob's Shack",
"EndTimes Cave", "The Swamp", "The Cabin", "Volcano", "Boxed Cars", "Tiaga Peak",
"Land Store", "Link's Logic", "Palm Island", "Palm Island 2", "Palm Island 3",
"Fine Art Shop", "SnowGlow Biome", "Cave", "Shrine Of Sight", "Fancy Furnishings",
"Docks", "Strange Man", "Wood Dropoff", "Snow Biome", "Wood RUs", "Green Box",
"Spawn", "Cherry Meadow", "Bird Cave"}

-- # functions # --

repeat wait()
until [Link] and [Link] and
[Link]:findFirstChild("Head") and
[Link]:findFirstChild("Humanoid")
local Mouse = [Link]:GetMouse()
repeat wait() until Mouse
local Player = [Link]
local HumRoot = [Link]
local Hum = [Link]
local SteerSpeed = [Link] or 100
local Steer = {f = 0, b = 0, l = 0, r = 0}
local BackSteer = {f = 0, b = 0, l = 0, r = 0}
local MaxSpeed = 200

function Fly()
local Gyro = [Link]('BodyGyro', HumRoot)
Gyro.P = 9e4
[Link] = [Link](9e9, 9e9, 9e9)
[Link] = [Link]
local Velocity = [Link]('BodyVelocity', HumRoot)
[Link] = [Link](0,0.1,0)
[Link] = [Link](9e9, 9e9, 9e9)
repeat wait()
[Link] = true
if Steer.l + Steer.r ~= 0 or Steer.f + Steer.b ~= 0 then
SteerSpeed = [Link]
if SteerSpeed > MaxSpeed then
SteerSpeed = MaxSpeed
end
elseif not (Steer.l + Steer.r ~= 0 or Steer.f + Steer.b ~= 0) and speed ~=
0 then
SteerSpeed = SteerSpeed-50
if SteerSpeed < 0 then
SteerSpeed = 0
end
end
if (Steer.l + Steer.r) ~= 0 or (Steer.f + Steer.b) ~= 0 then
[Link] =
(([Link] * (Steer.f+Steer.b)) +
(([Link] * [Link](Steer.l+Steer.r,
(Steer.f+Steer.b)*.2,0).p) - [Link].p)) *
SteerSpeed
BackSteer = {f = Steer.f ,b = Steer.b ,l = Steer.l, r = Steer.r}
elseif (Steer.l + Steer.r == 0 or Steer.f + Steer.b == 0) and SteerSpeed ~=
0 then
[Link] =
(([Link] *
(BackSteer.f+BackSteer.b)) + (([Link] *
[Link](BackSteer.l+BackSteer.r,(BackSteer.f+BackSteer.b)*.2,0).p) -
[Link].p)) * SteerSpeed
else
[Link] = [Link](0,0.1,0)
end
[Link] = [Link] *
[Link](-[Link]((Steer.f+Steer.b)*50*SteerSpeed/MaxSpeed),0,0)
until not [Link]
local SteerSpeed = 0
local Steer = {F = 0,B = 0,L = 0,R = 0}
local BackSteer = {F = 0,B = 0,L = 0,R = 0}
Gyro:Destroy()
Velocity:Destroy()
[Link] = false
end

local Mouse = Player:GetMouse()

[Link]:Connect(function(Key)
if Key:lower() == "w" then
isWDown = true
Steer.f = 1
elseif Key:lower() == "a" then
isADown = true
Steer.l = -1
elseif Key:lower() == "s" then
isSDown = true
Steer.b = -1
elseif Key:lower() == "d" then
isDDown = true
Steer.r = 1
end
end)
[Link]:Connect(function(Key)
if Key:lower() == "w" then
isWDown = false
Steer.f = 0
elseif Key:lower() == "a" then
isADown = false
Steer.l = 0
elseif Key:lower() == "s" then
isSDown = false
Steer.b = 0
elseif Key:lower() == "d" then
isDDown = false
Steer.r = 0
end
end)

--GetWood--
local cooper = [Link]
local treeregins = {}
local treclases = {}
local replicatedfarts = [Link]
local axeclasses = replicatedfarts:WaitForChild("AxeClasses")
for _, cooper in next, workspace:GetChildren() do
if [Link] == "TreeRegion" then
[Link](treeregins, cooper)
end
end

for _, cooper in next, treeregins do


for _, cooper in next, cooper:GetChildren() do
if cooper:FindFirstChild("TreeClass") and not [Link](treclases,
[Link]) then
[Link](treclases, [Link])
end
end
end

function getAxStats(axName, treClas)


local coopermodule = axeclasses:FindFirstChild("AxeClass_"..axName)
if not coopermodule then return end
local axStats = require(coopermodule).new()
if [Link] and [Link][treClas] then
for mini, cooper in next, [Link][treClas] do
axStats[mini] = cooper
end
end
return axStats
end

function getModlMass(model)
local total = 0
local woodsextions = 0
for _, v in next, model:GetDescendants() do
if v:IsA("BasePart") and [Link] ~= "Leaves" then
if [Link] == "WoodSection" then woodsextions = woodsextions + 1 end
total = total + [Link]
end
end
return total, woodsextions
end

function getTrreOfClas(clas)
local posibilitys = {}
for _, cooper1 in next, treeregins do
for _, cooper2 in next, cooper1:GetChildren() do
if cooper2:IsA("Model") and cooper2:FindFirstChild("CutEvent") then
local trreclas = cooper2:FindFirstChild("TreeClass")
local onwer = cooper2:FindFirstChild("Owner")
if onwer and trreclas and [Link] == nil and [Link]
== clas then
local mas, secs = getModlMass(cooper2)
if secs > 1 then
[Link](posibilitys, {
tre = cooper2,
mass = mas
})
end
end
end
end
end
[Link](posibilitys, function(cooper1, cooper2)
return [Link] > [Link]
end)
return posibilitys[1] and posibilitys[1].tre or false, "No tree found."
end

function choppy(tre, ax)


[Link]()
[Link] =
[Link]([Link] + [Link](5, 0, 0))
[Link](0.25)
local axStats = getAxStats([Link], [Link])
local propertys = {
tool = ax,
height = 0.3,
faceVector = [Link](1, 0, 0),
sectionId = 1,
hitPoints = [Link],
cooldown = [Link],
cuttingClass = "Axe"
}

local newtre, trecon = nil, nil


trecon = [Link]:Connect(function(tre)
[Link]()
if [Link] == cooper then
newtre = tre
trecon:Disconnect()
trecon = nil
end
end)
repeat
[Link]:FireServer([Link],
propertys)
[Link]([Link])
until newtre ~= nil
return newtre
end

function hahafunnygod()
local rootjoint = [Link]
rootjoint:Clone().Parent = [Link]
rootjoint:Destroy()
[Link]()
end

function bringy(treclas)
local curpos = [Link]
[Link]:UnequipTools()
[Link]()
local axs = {}
for _, cooper in next, [Link]:GetChildren() do
if [Link] ~= "BlueprintTool" and cooper:FindFirstChild("ToolName")
then
[Link](axs, {
ax = cooper,
stats = getAxStats([Link], treclass)
})
end
end
if #axs == 0 then return false, "Pleas pickup a ax." end
[Link](axs, function(cooper1, cooper2)
return [Link] > [Link]
end)
local ax = axs[1].ax
local tre, msg = getTrreOfClas(treclas)
if not tre then
return false, msg
end
if treclas == "LoneCave" then
if [Link] ~= "EndTimesAxe" then
--return false, "2 get this tre u need end axe loser."
end
hahafunnygod()
end
local loptp = nil
if treclas ~= "LoneCave" then
loptp = game["Run Service"].Heartbeat:Connect(function()
[Link] =
[Link]([Link] + [Link](5, 3, 0))
end)
end
tre = choppy(tre, ax)
if treclas ~= "LoneCave" then
loptp:Disconnect()
loptp = nil
end
[Link](0.15)
[Link](function()
for cooper=1, 60 do
[Link]:FireServer(tre)
[Link]()
end
end)
[Link](0.1)
[Link] = [Link]
for i=1, 60 do
[Link] = [Link](0, 0, 0)
tre:PivotTo(curpos)
[Link]()
end
if treclas == "LoneCave" then
[Link]:UnequipTools()
[Link]()
[Link]:Destroy()
[Link]:Wait()
[Link](1.5)
end
[Link] = [Link]
return true, "Don get tre!"
end

local notfy = function(titl, tex, durashin)


game:GetService("StarterGui"):SetCore("SendNotification", {
Title = titl,
Text = tex,
Duration = durashin,
})
end
--------------

function TeleportToPlayer()
[Link] =
[Link][[Link]].[Link]
end;

function TeleportToBase()
[Link] = true
wait(3)
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] ==
[Link][[Link]] then
[Link] =
[Link]
end
end
end

[Link]:connect(function()
if AlwaysDay then
[Link] = "[Link]"
elseif AlwaysNight then
[Link] = "[Link]"
end;
end)

[Link]:connect(function()
if ClearFog then
[Link] = 999999999
[Link] = 1
end;
end)

function Shadows(value)
[Link] = value
end;

function Brightness(value)
[Link] = value
end;

function DestroyWater(value)
for i,v in next,[Link]:GetChildren() do
if [Link] == "Water" then
if value then
[Link] = 1
else
[Link] = 0
end;
end;
end;
end;

--GetLoneCave--
local cooper = [Link]
local treeregins = {}
local treclases = {}
local replicatedfarts = [Link]
local axeclasses = replicatedfarts:WaitForChild("AxeClasses")
for _, cooper in next, workspace:GetChildren() do
if [Link] == "TreeRegion" then
[Link](treeregins, cooper)
end
end

for _, cooper in next, treeregins do


for _, cooper in next, cooper:GetChildren() do
if cooper:FindFirstChild("TreeClass") and not [Link](treclases,
[Link]) then
[Link](treclases, [Link])
end
end
end

function getAxStats(axName, treClas)


local coopermodule = axeclasses:FindFirstChild("AxeClass_"..axName)
if not coopermodule then return end
local axStats = require(coopermodule).new()
if [Link] and [Link][treClas] then
for mini, cooper in next, [Link][treClas] do
axStats[mini] = cooper
end
end
return axStats
end

function getModlMass(model)
local total = 0
local woodsextions = 0
for _, v in next, model:GetDescendants() do
if v:IsA("BasePart") and [Link] ~= "Leaves" then
if [Link] == "WoodSection" then woodsextions = woodsextions + 1 end
total = total + [Link]
end
end
return total, woodsextions
end

function getTrreOfClas(clas)
local posibilitys = {}
for _, cooper1 in next, treeregins do
for _, cooper2 in next, cooper1:GetChildren() do
if cooper2:IsA("Model") and cooper2:FindFirstChild("CutEvent") then
local trreclas = cooper2:FindFirstChild("TreeClass")
local onwer = cooper2:FindFirstChild("Owner")
if onwer and trreclas and [Link] == nil and [Link] ==
clas then
local mas, secs = getModlMass(cooper2)
if secs > 1 then
[Link](posibilitys, {
tre = cooper2,
mass = mas
})
end
end
end
end
end
[Link](posibilitys, function(cooper1, cooper2)
return [Link] > [Link]
end)
return posibilitys[1] and posibilitys[1].tre or false, "No tree found."
end

function choppy(tre, ax)


[Link]()
[Link] =
[Link]([Link] + [Link](5, 0, 0))
[Link](0.25)
local axStats = getAxStats([Link], [Link])
local propertys = {
tool = ax,
height = 0.3,
faceVector = [Link](1, 0, 0),
sectionId = 1,
hitPoints = [Link],
cooldown = [Link],
cuttingClass = "Axe"
}

local newtre, trecon = nil, nil


trecon = [Link]:Connect(function(tre)
[Link]()
if [Link] == cooper then
newtre = tre
trecon:Disconnect()
trecon = nil
end
end)
repeat
[Link]:FireServer([Link],
propertys)
[Link]([Link])
until newtre ~= nil
return newtre
end

function hahafunnygod()
local rootjoint = [Link]
rootjoint:Clone().Parent = [Link]
rootjoint:Destroy()
[Link]()
end

function bringy(treclas)
local curpos = [Link]
[Link]:UnequipTools()
[Link]()
local axs = {}
for _, cooper in next, [Link]:GetChildren() do
if [Link] ~= "BlueprintTool" and cooper:FindFirstChild("ToolName")
then
[Link](axs, {
ax = cooper,
stats = getAxStats([Link], treclass)
})
end
end
if #axs == 0 then return false, "Pleas pickup a ax." end
[Link](axs, function(cooper1, cooper2)
return [Link] > [Link]
end)
local ax = axs[1].ax
local tre, msg = getTrreOfClas(treclas)
if not tre then
return false, msg
end
if treclas == "LoneCave" then
if [Link] ~= "EndTimesAxe" then
--return false, "2 get this tre u need end axe loser."
end
hahafunnygod()
end
local loptp = nil
if treclas ~= "LoneCave" then
loptp = game["Run Service"].Heartbeat:Connect(function()
[Link] =
[Link]([Link] + [Link](5, 3, 0))
end)
end
tre = choppy(tre, ax)
if treclas ~= "LoneCave" then
loptp:Disconnect()
loptp = nil
end
[Link](0.15)
[Link](function()
for cooper=1, 60 do
[Link]:FireServer(tre)
[Link]()
end
end)
[Link](0.1)
[Link] = [Link]
for i=1, 60 do
[Link] = [Link](0, 0, 0)
tre:PivotTo(curpos)
[Link]()
end
if treclas == "LoneCave" then
[Link]:UnequipTools()
[Link]()
[Link]:Destroy()
[Link]:Wait()
[Link](1.5)
end
[Link] = [Link]
return true, "Don get tre!"
end

local notfy = function(titl, tex, durashin)


game:GetService("StarterGui"):SetCore("SendNotification", {
Title = titl,
Text = tex,
Duration = durashin,
})
end

function SolidWater(value)
for i,v in next,[Link]:GetChildren() do
if [Link] == "Water" then
if value then
[Link] = true
else
[Link] = false
end;
end;
end;
end;

function BringPlayer()
local oldpos = [Link]
repeat wait()

[Link]:SetPrimaryPartCFrame(ga
[Link][[Link]].[Link],
([Link]))

[Link]:SetPrimaryPartCFrame(ga
[Link] *
[Link]([Link](180),0,0))
until [Link][[Link]].[Link]

[Link]:SetPrimaryPartCFrame(ol
dpos,([Link]))
end;
function KillPlayer()
function teleport(pos)

[Link]:SetPrimaryPartCFrame(po
s,([Link]))
end;
repeat wait()

[Link]:SetPrimaryPartCFrame(ga
[Link][[Link]].[Link],
([Link]))

[Link]:SetPrimaryPartCFrame(ga
[Link] *
[Link]([Link](180),0,0))
until [Link][[Link]].[Link]
teleport([Link](-1675.2, 261.303, 1284.2))
end;

function TriggerAllPressurePlates()
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("ItemName") and [Link] == "PressurePlate"
then
[Link] =
[Link]
wait(0.7)
end;
end;
end;

function GetGreenBox()

firetouchinterest([Link].Region_Volcano.VolcanoWin,[Link]
.[Link], 0)
end;

function LT2Music(value)
[Link] = value
end;

function SafeSuicide()
[Link]:Destroy()
end;

function DropAllTools()
if #[Link]:GetChildren() <= 0 then
return
Library:Notify("You Have 0 Axes in Backpack")
end;

for i,v in next,[Link]:GetChildren() do


if [Link] == "Tool" then
[Link]:FireServer(v,"Drop
tool",[Link])
wait(1)
end;
end;
end;
function AxeDupe(Slot)
if #[Link]:GetChildren() <= 0 then
return
Library:Notify("No Axes In inventory")
end;

local Slot = slotnumber


repeat wait() until
[Link]:InvokeServer([Link]
alPlayer)
[Link]:Destroy()
wait(2.5)
dupe_load(Slot)

game:GetService("ReplicatedStorage").[Link]:InvokeServer(Slot
,game:GetService("Players").LocalPlayer)
repeat [Link]() until
game:GetService("Players").[Link] == true
repeat [Link]() until
game:GetService("ReplicatedStorage").[Link]:InvokeServer(ga
me:GetService("Players").LocalPlayer)
wait(0.5)
end

function CountAllAxes()
local count = 0
if [Link]:FindFirstChild("Tool") ~= nil then
if [Link]("Tool") then
count = count + 1
end;
end;

for i,v in next,[Link]:GetChildren() do


if v:FindFirstChild("AxeClient") then
count = count + 1
end;
end;
Library:Notify("U Have "..count.." Axes in Backpack")
end;

function BringTree()
tbs = [Link]:Connect(function(k)
if k:WaitForChild("Owner") and [Link] == [Link] then
if k:WaitForChild("TreeClass") and [Link] == Tree then
if k:WaitForChild("WoodSection") then
for i = 1,50 do
[Link] = old

[Link]:FireServer(k)

[Link]:FireServer(k)
[Link] = old
wait()
end;
end;
end;
end;
td = true
end)
for i = 1,Amount do
for i,v in next,[Link]:GetChildren() do
if [Link] == "TreeRegion" then
for i,b in next,v:GetChildren() do
if [Link] == "Model" then
if b:FindFirstChild("Owner") and [Link] == nil then
if b:FindFirstChild("TreeClass") and [Link] == Tree then
[Link] =
[Link](b:FindFirstChild("WoodSection").CFrame.p)
found = b
end;
end;
end;
end;
end;
end;
treeadded = [Link]:Connect(function(added)
if added:FindFirstChild("Owner") and [Link] ==
[Link] then
cut = added
end;
end)
repeat wait(0.1)

game:GetService("ReplicatedStorage").[Link]:FireServer([Link]
ent,{["tool"] = [Link]:FindFirstChild("Tool"),
["faceVector"] = [Link](1, 0, 0),["height"] = 0.32,["sectionId"] = 1,
["hitPoints"] =
HitPoints[[Link]:FindFirstChild("Tool").[Link]]
,["cooldown"] = 0.25837870788574,["cuttingClass"] = "Axe"})
until td
tb = false
end;
tbs:Disconnect()
[Link] = old
end;

function SellLogs()
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
if v:FindFirstChild("TreeClass") then
[Link] =
[Link]
wait(1)
if [Link] then

[Link]:FireServer(v)
[Link] = [Link](329.32608, -0.400000304,
81.903511, -0.997813523, 6.63771687e-08, 0.0660917461, 6.09548536e-08, 1, -
8.40587262e-08, -0.0660917461, -7.98463233e-08, -0.997813523)

[Link]:FireServer(v)
[Link] = [Link](329.32608, -0.400000304,
81.903511, -0.997813523, 6.63771687e-08, 0.0660917461, 6.09548536e-08, 1, -
8.40587262e-08, -0.0660917461, -7.98463233e-08, -0.997813523)

[Link]:FireServer(v)
end;
end;
end;
end;
end;

function TeleportLog()
local oldpos = [Link]
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
if v:FindFirstChild("TreeClass") then
[Link] =
[Link]
wait(1)
if [Link] then
for i = 1,10 do
repeat wait()

[Link]:FireServer(v)
[Link] =
[Link]
[Link] =
[Link]

[Link]:FireServer(v)

[Link] = oldpos
until [Link]
end;
end;
end;
end;
end;
end;

function SellPlanks()
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
if v:FindFirstChild("TreeClass") then
if [Link] then
repeat wait()

[Link]:FireServer(v)
[Link] = [Link](314.935028, -0.400000244,
83.7679901, -0.988571405, 5.90980207e-08, 0.150753364, 4.89930443e-08, 1, -
7.0744008e-08, -0.150753364, -6.25496313e-08, -0.988571405)
[Link] = [Link](314.935028, -0.400000244,
83.7679901, -0.988571405, 5.90980207e-08, 0.150753364, 4.89930443e-08, 1, -
7.0744008e-08, -0.150753364, -6.25496313e-08, -0.988571405)

[Link]:FireServer(v)
until [Link]
end;
end;
end;
end;
end;
function WOODClickToTP(val)
if val == false then ClickToSellMouseVal:Disconnect() return print("Func Off")
end
ClickToSellMouseVal = Mouse.Button1Up:Connect(function()
local target = [Link]
if target:FindFirstChild("Owner") and target:FindFirstChild("WoodSection")
then
for i,v in pairs([Link]:GetChildren()) do
if [Link]:FindFirstChild("Selection") then
else
local bob = [Link]("SelectionBox", [Link])
[Link] = "Selection"
[Link] = [Link]
--[Link] = true
[Link] = 0.75
[Link] = 0.02
bob.SurfaceColor3 = [Link](0,0,0)
bob.Color3 = [Link](255,0,0)
end
end
end
end)
end

function TeleportItems()
local ItemType = ItemType3
local Cords = [Link]

for i,v in next,[Link]:GetChildren() do


if v:FindFirstChild("Owner") and [Link] ==
[Link][[Link]] then
if v:FindFirstChild("Type") and [Link] == ItemType or
v:FindFirstChild("TreeClass") and [Link] == ItemType or
v:FindFirstChild("ItemName") and [Link] == ItemType or
v:FindFirstChild("PurchasedBoxItemName") and [Link] ==
ItemType or v:FindFirstChild(ItemType) then
[Link] =
[Link]
wait(1)
if not [Link] then
[Link] = v:FindFirstChildOfClass("Part")
end;

for i = 1,30 do

[Link]:FireServer(v)
v:SetPrimaryPartCFrame(Cords + [Link](0, 5, 0))
[Link](0)
end;
end;
end;
end;
end;

function SpookMode(value)
[Link] = value
end;
function VehicleSpeed(value)
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
if v:FindFirstChild("Type") and [Link] == "Vehicle" then
if v:FindFirstChild("DriveSeat") then
[Link] = value
end;
end;
end;
end;
end;

function UnFlipVehicle()

[Link]:SetPrimaryPartCFrame(ga
[Link] *
[Link]([Link](180),0,0))
end;

function Freeland()
for i,v in next, game:GetService("Workspace").Properties:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == nil then

game:GetService("ReplicatedStorage").[Link]:Fir
eServer(v,[Link])
[Link] =
[Link] + [Link](0,2,0)
break
end
end
end

function Maxland()
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
trueig = v trueig2 = [Link] plot =
v,maxid1,pointoftheland,trueig2 function maxid1(pointoftheland)
[Link]:FireServer(trueig,
pointoftheland) end
maxlandakllplots = [Link]
maxid1([Link](maxlandakllplots.X + 40, maxlandakllplots.Y,
maxlandakllplots.Z),plot)maxid1([Link](maxlandakllplots.X + 40,
maxlandakllplots.Y, maxlandakllplots.Z),plot)maxid1([Link](maxlandakllplots.X -
40, maxlandakllplots.Y, maxlandakllplots.Z))maxid1([Link](maxlandakllplots.X,
maxlandakllplots.Y, maxlandakllplots.Z + 40))maxid1([Link](maxlandakllplots.X,
maxlandakllplots.Y, maxlandakllplots.Z - 40))maxid1([Link](maxlandakllplots.X +
40, maxlandakllplots.Y, maxlandakllplots.Z +
40))maxid1([Link](maxlandakllplots.X + 40, maxlandakllplots.Y,
maxlandakllplots.Z - 40))maxid1([Link](maxlandakllplots.X - 40,
maxlandakllplots.Y, maxlandakllplots.Z + 40))maxid1([Link](maxlandakllplots.X -
40, maxlandakllplots.Y, maxlandakllplots.Z -
40))maxid1([Link](maxlandakllplots.X + 80, maxlandakllplots.Y,
maxlandakllplots.Z))maxid1([Link](maxlandakllplots.X - 80, maxlandakllplots.Y,
maxlandakllplots.Z))maxid1([Link](maxlandakllplots.X, maxlandakllplots.Y,
maxlandakllplots.Z + 80))maxid1([Link](maxlandakllplots.X, maxlandakllplots.Y,
maxlandakllplots.Z - 80))maxid1([Link](maxlandakllplots.X + 80,
maxlandakllplots.Y, maxlandakllplots.Z + 80))maxid1([Link](maxlandakllplots.X +
80, maxlandakllplots.Y, maxlandakllplots.Z -
80))maxid1([Link](maxlandakllplots.X - 80, maxlandakllplots.Y,
maxlandakllplots.Z + 80))maxid1([Link](maxlandakllplots.X - 80,
maxlandakllplots.Y, maxlandakllplots.Z - 80))maxid1([Link](maxlandakllplots.X +
40, maxlandakllplots.Y, maxlandakllplots.Z +
80))maxid1([Link](maxlandakllplots.X - 40, maxlandakllplots.Y,
maxlandakllplots.Z + 80))maxid1([Link](maxlandakllplots.X + 80,
maxlandakllplots.Y, maxlandakllplots.Z + 40))maxid1([Link](maxlandakllplots.X +
80, maxlandakllplots.Y, maxlandakllplots.Z -
40))maxid1([Link](maxlandakllplots.X - 80, maxlandakllplots.Y,
maxlandakllplots.Z + 40))maxid1([Link](maxlandakllplots.X - 80,
maxlandakllplots.Y, maxlandakllplots.Z - 40))maxid1([Link](maxlandakllplots.X +
40, maxlandakllplots.Y, maxlandakllplots.Z -
80))maxid1([Link](maxlandakllplots.X - 40, maxlandakllplots.Y,
maxlandakllplots.Z - 80))
end
end
end

function LoadSlot()

[Link]:InvokeServer(SlotValue,[Link]
[Link])
end;

function SaveSlot()
[Link]:InvokeServer(SlotValue,
[Link])
end;

function SellPropertySoldSign()
for i,v in next, game:GetService("Workspace").PlayerModels:GetChildren() do
if v:FindFirstChild("Owner") and [Link] ==
[Link] then
if v:FindFirstChild("ItemName") and [Link] ==
"PropertySoldSign" then
[Link] =
[Link]([Link].p) + [Link](0,0,2)

game:GetService("ReplicatedStorage").[Link]:FireServer(v,"Tak
e down sold sign")
for i = 1,30 do

game:GetService("ReplicatedStorage").[Link]:FireServer(v)
[Link] = [Link](314.54, -0.5, 86.823)
[Link]()
end
end
end
end
end

function FindUnit()
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
if v:FindFirstChild("TreeClass") and [Link] == Tree then
if v:FindFirstChild("WoodSection") and [Link] ~=
[Link](1,1,1) then
return v
end;
end;
end;
end;
end;

thingo69 = [Link]:Connect(function(v1)
local oldpos = [Link]
if v1:WaitForChild("Owner") and [Link] == [Link] then
if v1:WaitForChild("Type") and [Link] == "Blueprint" then
local getwood = FindUnit()
[Link] =
[Link]
for i = 1,24 do

[Link]:FireServer(getwood)
FindUnit().[Link] = [Link]

[Link]:FireServer(getwood)
FindUnit().[Link] = [Link]
end;
end;
end;
end)
-----------------------------------------------------

--His Script

-----------------------------------------------------
-----------------------------------------------------

--My Script

-----------------------------------------------------
-----------------------------------------------------
local Players = game:GetService("Players")
local exec = false
local TPToWPorPLR = true
local CuttingTree = false
local IsStandingAPlank = false
local FlyKeyToggleNotifSent = false
local GetTreeAmount
local SelectedTreeType
local SelectedTree
local TreeAdded
local OldPos
local TreeChopped = false
local AbortGetTree = false
local ClickToSell = false
local ClickToSellMouseVal
local Pllayyers = game:GetService("Players")
local Mouse = [Link]:GetMouse()
local ItemToBuy
local AutoBuyAmount = 1
local SelectedShopCounter
local OldMoneyVal
local ShopIDS = {["WoodRUs"] = 7,["FurnitureStore"] = 8,["FineArt"] = 11,
["CarStore"] = 9,["LogicStore"] = 12,["ShackShop"] = 10}
local AutoBuyItemAdded
local TotalPrice
local AbortAutoBuy = false
local SlotNumber
local WLPlayerAdded
local BLPlayerAdded
local AutoBlacklistAll = false
local AutoWhitelistAll = false
local SelectedWipeOption
local VehicleSpeed
local VehicleSpawnerVal
local SelectedSpawnColor = nil
local VehicleRespawnedColor
local RespawnedCar
local AbortVehicleSpawner = false
local SelectedSpawnPad
local SelectedWireType
local SelectedWire
local Night = false
local Day = false
local LoopDestroyShopItems = false
local LeakedItems = false
local LIF
local AxeDupeAmount
local AbortAxeDupe
local LoopDupeAxe = false
local EmpyPlot
local SlotToDupe
local DupeAmount
local SelfDupeTable = {}
local AbortDupe = false
local FlySpeed = 200
local flystate = false
local AFKVal
local BaseDropOwner
local BaseDropType
local AbortItemTP = false
local Cords
local CustomDragger = false
local FLYING = false
local QEfly = true
local iyflyspeed = 1
local vehicleflyspeed = 1
local WayPointPart;
local Player = [Link]
local GetChar = function()
if [Link] == nil then
repeat [Link]() until [Link] ~= nil
return [Link]
else
return [Link]
end
end
local AutoBlacklistAll = false
local AutoWhitelistAll = false
local Start = [Link]();
local FlyKeyToggleNotifSent = false;
local Speed = nil;
local Jump = nil;
local WayPointPart = nil;
local FlyingEnabled = false
local maxspeed = 150
local CustomDragger = false;
local Night = false
local Day = false

[Link]:connect(function()
if Day then
[Link] = "[Link]"
elseif Night then
[Link] = "[Link]"

end
end)

function walkspeed()

[Link]:GetPropertyChangedSignal("WalkSpeed"):C
onnect(function()
[Link] = getgenv().Speed
end)
[Link] = getgenv().Speed
end

function jumppower()
[Link] = getgenv().Jump
end

function GetChar()
local Player = [Link]
if [Link] == nil then
repeat [Link]() until [Link] ~= nil
return [Link]
else
return [Link]
end
end

function BetterFly()
repeat wait() until [Link] and
[Link] and
[Link]:findFirstChild("Head") and
[Link]:findFirstChild("Humanoid")
local mouse = [Link]:GetMouse()
repeat wait() until mouse
local plr = [Link]
local torso = [Link]
local flying = false
local deb = true
local ctrl = {f = 0, b = 0, l = 0, r = 0}
local lastctrl = {f = 0, b = 0, l = 0, r = 0}
local speed = 5000

function Fly()
local bg = [Link]("BodyGyro", torso)
bg.P = 9e4
[Link] = [Link](9e9, 9e9, 9e9)
[Link] = [Link]
local bv = [Link]("BodyVelocity", torso)
[Link] = [Link](0,0.1,0)
[Link] = [Link](9e9, 9e9, 9e9)
repeat wait()
[Link] = true
if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
speed = maxspeed
elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
speed = 0
end
if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
[Link] = (([Link] *
(ctrl.f+ctrl.b)) + (([Link] *
[Link](ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) -
[Link].p))*speed
lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
[Link] = (([Link] *
(lastctrl.f+lastctrl.b)) + (([Link] *
[Link](lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*0.2,0).p) -
[Link].p))*speed
else
[Link] = [Link](0,0,0)
end
[Link] = [Link] * [Link](-
[Link]((ctrl.f+ctrl.b)*speed/maxspeed),0,0)
until not flying
ctrl = {f = 0, b = 0, l = 0, r = 0}
lastctrl = {f = 0, b = 0, l = 0, r = 0}
speed = 0
bg:Destroy()
bv:Destroy()
[Link] = false
end
[Link]:connect(function(key)
if key:lower() == "q" and FlyingEnabled == true then
if flying then flying = false
else
flying = true
Fly()
end
elseif key:lower() == "w" then
ctrl.f = 1
elseif key:lower() == "s" then
ctrl.b = -1
elseif key:lower() == "a" then
ctrl.l = -1
elseif key:lower() == "d" then
ctrl.r = 1
end
end)
[Link]:connect(function(key)
if key:lower() == "w" then
ctrl.f = 0
elseif key:lower() == "s" then
ctrl.b = 0
elseif key:lower() == "a" then
ctrl.l = 0
elseif key:lower() == "d" then
ctrl.r = 0
end
end)
Fly()
end
[Link]:Connect(BetterFly)
BetterFly()

function noclip()
Clip = false
local function Nocl()
if Clip == false and [Link] ~= nil then
for _,v in pairs([Link]:GetDescendants())
do
if v:IsA('BasePart') and [Link] and [Link] ~= floatName then
[Link] = false
end
end
end
wait(0.21) -- basic optimization
end
Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
end

function clip()
if Noclip then Noclip:Disconnect() end
Clip = true
end

function Dragger()
[Link]:connect(function(a)
if [Link] == "Dragger" then
local bg = a:WaitForChild("BodyGyro")
local bp = a:WaitForChild("BodyPosition")
repeat
if CustomDragger then
[Link]()
bp.P = 120000
bp.D = 1000
[Link] = [Link]([Link],[Link],[Link])
[Link] = [Link]([Link], [Link], [Link])
else
wait()
bp.P = 10000
bp.D = 800
[Link] = [Link](17000, 17000, 17000)
[Link] = [Link](200, 200, 200)
end
until not a
end
end)
end

function clicktp()
if _G.Velocity == nil then
_G.Velocity = true

local player = game:GetService("Players").LocalPlayer


local UserInputService = game:GetService("UserInputService")
--Wanted to avoid using mouse instance, but UIS^ is very tedious to get
mouse hit position
local mouse = player:GetMouse()

--Waits until the player's mouse is found


repeat wait() until mouse

[Link]:Connect(function(input, gameProcessed)
if [Link] == [Link].MouseButton1 then
--Only click teleport if the toggle is enabled
if _G.Velocity and
UserInputService:IsKeyDown([Link]) then
[Link]:MoveTo([Link]([Link].x, [Link].y,
[Link].z))
end
end
end)
else
_G.Velocity = not _G.Velocity
end
end

function flashlight(arg)
if arg == "on" then
local flashlight = [Link]("PointLight",
[Link])
[Link] = "Flashlight"
[Link] = [Link](1, 1, 1)
[Link] = 100
[Link] = 10
[Link] = true
elseif arg == "off" then
[Link]:Destroy()
end
end

local AllPlayers = {"Select Player"}


for i,v in next,[Link]:GetPlayers() do
if not [Link](AllPlayers,[Link]) then
[Link](AllPlayers,[Link])
end
end

function TeleportToPlayer()
[Link] =
[Link][[Link]].[Link]
end;

function TeleportToBase()
[Link] = true
wait(0.1)
for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] ==
[Link][[Link]] then
[Link] =
[Link]
[Link] = true
wait(0.1)
end
end
end

function set_waypoint()
local char = GetChar()
local Player = [Link]
local mouse = Player:GetMouse()
local part = [Link]("Part", workspace)
[Link] = true
[Link] = false
[Link] = [Link](1, 1, 1)
end

function CreateWaypointPart()
for _,v in pairs(workspace:GetChildren()) do
if [Link] == "WaypointLocation" then
v:Destroy()
end
end
WayPointPart = nil
local WayPointPart = [Link]("Part")
[Link] = workspace
[Link] = "WaypointLocation"
[Link] = [Link](1.5,1.5,1.5)
[Link] = GetChar().[Link]
[Link] = [Link]("White")
[Link] = 0.5
[Link] = false
[Link] = true
local BHA = [Link]("BoxHandleAdornment")
[Link] = WayPointPart
[Link] = WayPointPart
[Link] = "WayPointAdornment"
[Link] = [Link]
[Link] = true
[Link] = 0
[Link] = 0.3
[Link] = [Link]("White")

WayPointPart = WayPointPart
end
function remove_waypoint()
for _,v in pairs(workspace:GetChildren()) do
if [Link] == "WaypointLocation" then
v:Destroy()
end
end
end
function tele_to_waypoint()
local char = GetChar()
local Player = [Link]
local mouse = Player:GetMouse()
local part = [Link]("Part", workspace)
[Link] = true
[Link] = false
[Link] = [Link](1, 1, 1)
[Link] = [Link]
local tween = game:GetService("TweenService"):Create([Link],
[Link](([Link] - [Link]).Magnitude / 100,
[Link]), {CFrame = [Link]})
tween:Play()
[Link]:Wait()
part:Destroy()
end

local plr = [Link]

local function getPlots()


local Properties = {}
for _, v in next, [Link]:GetChildren() do
local Owner = v:FindFirstChild("Owner")
if Owner and [Link] == nil then
[Link](Properties, v)
end
end
return Properties[#Properties]
end

local propClient = [Link]


local propEnvironment = getsenv(propClient)
local oldPurchase = [Link]
getsenv(propClient).enterPurchaseMode = function(...)
if not skipLoading then
return oldPurchase(...)
end
setupvalue([Link], 3, 0)
setupvalue(oldPurchase, 10, getPlots())
return
end

function LoadSlot(slot)
if not
game:GetService("ReplicatedStorage").[Link]:InvokeServer(ga
me:GetService("Players").LocalPlayer) then
print("Load Is On cooldown Please Wait")
repeat [Link]() until
game:GetService("ReplicatedStorage").[Link]:InvokeServer(ga
me:GetService("Players").LocalPlayer)
end
local skipLoading = [Link]

game:GetService("ReplicatedStorage").[Link]:InvokeServer(slot
,[Link])
if game:GetService("Players").[Link] == slot then
print("Loaded Slot "..slot)
end
end

function dupe_load(slot)
if not
game:GetService("ReplicatedStorage").[Link]:InvokeServer(ga
me:GetService("Players").LocalPlayer) then
print("Load Is On cooldown Please Wait")
repeat [Link]() until
game:GetService("ReplicatedStorage").[Link]:InvokeServer(ga
me:GetService("Players").LocalPlayer)
end
if slot then
skipLoading = true
end

game:GetService("ReplicatedStorage").[Link]:InvokeServer(slot
,[Link])
if game:GetService("Players").[Link] == slot then
print("Loaded Slot "..slot)
end
end

function SellSoldSign()
for i,v in next, game:GetService("Workspace").PlayerModels:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
if v:FindFirstChild("ItemName") and [Link] ==
"PropertySoldSign" then
[Link] =
[Link]([Link].p) + [Link](0,0,2)

game:GetService("ReplicatedStorage").[Link]:FireServer(v,"Tak
e down sold sign")
for i = 1,30 do

game:GetService("ReplicatedStorage").[Link]:FireServer(v)
[Link] = [Link](314.54, -0.5, 86.823)
[Link]()
end
end
end
end
end

function FreeLand()
for i,v in next, game:GetService("Workspace").Properties:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == nil then

game:GetService("ReplicatedStorage").[Link]:Fir
eServer(v,[Link])
[Link] =
[Link] + [Link](0,2,0)
break
end
end
end

function SetPermissions(Val)
for i,v in pairs(game:GetService("Players"):GetChildren()) do
if [Link] ~= [Link] then

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"Visit",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"PlaceStructure",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"MoveStructure",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"Destroy",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"Drive",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"Sit",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"Interact",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"Grab",Val)

game:GetService("ReplicatedStorage").[Link]:FireServer("Use
rPermission",[Link],"Save",Val)
end
end
end
function AutoWhiteList()
SetPermissions(true)
if AutoWhitelistAll == true then
WLPlayerAdded = [Link]:Connect(function(n)
if [Link] ~= [Link] then
SetPermissions(true)
end
end)
else
WLPlayerAdded:Disconnect()
end
end

function AutoBlacklist()
SetPermissions(false)
if AutoBlacklistAll == true then
WLPlayerAdded = [Link]:Connect(function(n)
if [Link] ~= [Link] then
SetPermissions(false)
end
end)
else
BLPlayerAdded:Disconnect()
end
end

function MaxLand()
for s,d in pairs([Link]:GetChildren()) do
if d:FindFirstChild("Owner") and d:FindFirstChild("OriginSquare") and
[Link] == [Link] then
local PlotPos = [Link]

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 40, PlotPos.Y, PlotPos.Z))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 40, PlotPos.Y, PlotPos.Z))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X , PlotPos.Y, PlotPos.Z + 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X , PlotPos.Y, PlotPos.Z - 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 40 , PlotPos.Y, PlotPos.Z + 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 40 , PlotPos.Y, PlotPos.Z - 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 40 , PlotPos.Y, PlotPos.Z + 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 40 , PlotPos.Y, PlotPos.Z - 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 80 , PlotPos.Y, PlotPos.Z))
game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 80 , PlotPos.Y, PlotPos.Z))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X , PlotPos.Y, PlotPos.Z + 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X , PlotPos.Y, PlotPos.Z - 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 80 , PlotPos.Y, PlotPos.Z + 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 80 , PlotPos.Y, PlotPos.Z - 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 80 , PlotPos.Y, PlotPos.Z + 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 80 , PlotPos.Y, PlotPos.Z - 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 40 , PlotPos.Y, PlotPos.Z + 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 40 , PlotPos.Y, PlotPos.Z + 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 80 , PlotPos.Y, PlotPos.Z + 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 80 , PlotPos.Y, PlotPos.Z - 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 80 , PlotPos.Y, PlotPos.Z + 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 80 , PlotPos.Y, PlotPos.Z - 40))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X + 40 , PlotPos.Y, PlotPos.Z - 80))

game:GetService("ReplicatedStorage").[Link]:Fire
Server(d,[Link](PlotPos.X - 40 , PlotPos.Y, PlotPos.Z - 80))
end
end
end

function VehicleSpeed(Val)
for i,v in next, game:GetService("Workspace").PlayerModels:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link]
then
if v:FindFirstChild("Type") and [Link] == "Vehicle" then
if v:FindFirstChild("Configuration") then
[Link] = Val
end
end
end
end
end

Players = [Link]
IYMouse = [Link]:GetMouse()
speaker = [Link]
QEfly = true
iyflyspeed = 1
vehicleflyspeed = 1

function getRoot(char)
local rootPart = char:FindFirstChild('HumanoidRootPart') or
char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
return rootPart
end
function sFLY(vfly)
repeat wait() until [Link] and [Link] and
getRoot([Link]) and
[Link]:FindFirstChildOfClass("Humanoid")
repeat wait() until IYMouse
if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect()
end

local T = getRoot([Link])
local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
local SPEED = 0

local function FLY()


FLYING = true
local BG = [Link]('BodyGyro')
local BV = [Link]('BodyVelocity')
BG.P = 9e4
[Link] = T
[Link] = T
[Link] = [Link](9e9, 9e9, 9e9)
[Link] = [Link]
[Link] = [Link](0, 0, 0)
[Link] = [Link](9e9, 9e9, 9e9)
[Link](function()
repeat wait()
if not vfly and
[Link]:FindFirstChildOfClass('Humanoid') then

[Link]:FindFirstChildOfClass('Humanoid').PlatformStand =
true
end
if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or
CONTROL.Q + CONTROL.E ~= 0 then
SPEED = 50
elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~=
0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
SPEED = 0
end
if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or
(CONTROL.Q + CONTROL.E) ~= 0 then
[Link] =
(([Link] * (CONTROL.F + CONTROL.B)) +
(([Link] * [Link](CONTROL.L + CONTROL.R,
(CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) -
[Link].p)) * SPEED
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R =
CONTROL.R}
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) ==
0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
[Link] =
(([Link] * (lCONTROL.F + lCONTROL.B)) +
(([Link] * [Link](lCONTROL.L + lCONTROL.R,
(lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) -
[Link].p)) * SPEED
else
[Link] = [Link](0, 0, 0)
end
[Link] = [Link]
until not FLYING
CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
SPEED = 0
BG:Destroy()
BV:Destroy()
if [Link]:FindFirstChildOfClass('Humanoid') then

[Link]:FindFirstChildOfClass('Humanoid').PlatformStand =
false
end
end)
end
flyKeyDown = [Link]:Connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = (vfly and vehicleflyspeed or iyflyspeed)
elseif KEY:lower() == 's' then
CONTROL.B = - (vfly and vehicleflyspeed or iyflyspeed)
elseif KEY:lower() == 'a' then
CONTROL.L = - (vfly and vehicleflyspeed or iyflyspeed)
elseif KEY:lower() == 'd' then
CONTROL.R = (vfly and vehicleflyspeed or iyflyspeed)
elseif QEfly and KEY:lower() == 'e' then
CONTROL.Q = (vfly and vehicleflyspeed or iyflyspeed)*2
elseif QEfly and KEY:lower() == 'q' then
CONTROL.E = -(vfly and vehicleflyspeed or iyflyspeed)*2
end
pcall(function() [Link] = [Link]
end)
end)
flyKeyUp = [Link]:Connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = 0
elseif KEY:lower() == 's' then
CONTROL.B = 0
elseif KEY:lower() == 'a' then
CONTROL.L = 0
elseif KEY:lower() == 'd' then
CONTROL.R = 0
elseif KEY:lower() == 'e' then
CONTROL.Q = 0
elseif KEY:lower() == 'q' then
CONTROL.E = 0
end
end)
FLY()
end

function NOFLY()
FLYING = false
if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect()
end
if [Link]:FindFirstChildOfClass('Humanoid') then

[Link]:FindFirstChildOfClass('Humanoid').PlatformStand =
false
end
pcall(function() [Link] = [Link]
end)
end

function FlipVehcile()
local player = [Link]
local humanoid = [Link]
if [Link] then
local CurrentSeat = [Link]
if CurrentSeat and [Link] == "Vehicle" then
[Link] = [Link] * [Link]([Link](-180), 0, 0)
+ [Link](0, 5, 0),1000,[Link]
end
end
end

function count_backpack()
local backpack = [Link]:GetChildren()
local count = 0
for i,v in pairs(backpack) do
count = count + 1
end
return count
end

-----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
------------------------------------------------------- UI
-----------------------------------------------------------------------------------
-----------------------

-----------------------------------------------------------------------------------
----------------------------------------------------------------------------------

-----------------------------------------------------------------
--// 1.1 //-- Item Functions
-----------------------------------------------------------------

function is_in_frame(screenpos, frame)


local xPos = [Link].X
local yPos = [Link]

local xSize = [Link].X


local ySize = [Link].Y

local check1 = screenpos.X >= xPos and screenpos.X <= xPos + xSize
local check2 = screenpos.X <= xPos and screenpos.X >= xPos + xSize

local check3 = screenpos.Y >= yPos and screenpos.Y <= yPos + ySize
local check4 = screenpos.Y <= yPos and screenpos.Y >= yPos + ySize

local finale = (check1 and check3) or (check2 and check3) or (check1 and check4)
or (check2 and check4)

return finale
end

local Cords;
function SetCords()
if [Link]:FindFirstChild("jore") then [Link]:Destroy() end
local CordsPart = [Link]("Part",[Link])
[Link] = false
[Link] = true
[Link] = [Link]
[Link] = [Link]("Really black")
[Link] = 0.40
[Link] = [Link](1.5, 1.5, 1.5)
[Link] = [Link]
[Link] = [Link]
[Link] = "jore"
Cords = [Link]
end

function SelectionTp()
local Old = [Link]
for i,v in next, [Link]:GetDescendants() do
if v:FindFirstChild("Selection") then
[Link] =
[Link](v:FindFirstChild("Selection").[Link].p) * [Link](5,0,0)

[Link](0.1)

for a = 1,25,1 do

game:GetService("ReplicatedStorage").[Link]:FireServer([Link]
nt)
[Link] = Cords
[Link]()
end
end
end
[Link](0.5)
_G.TRUEORNOTTRUE = true
if _G.TRUEORNOTTRUE == true then
[Link] = Old
end
_G.Autodeselect = true
if _G.Autodeselect == true then
for i,v in pairs([Link]:GetChildren()) do
if v:FindFirstChild("Main") then
if [Link]:FindFirstChild("Selection") then
[Link]:Destroy()
end
end
end
end
end

function GetChar()
local Player = [Link]
if [Link] == nil then
repeat [Link]() until [Link] ~= nil
return [Link]
else
return [Link]
end
end

function remove_waypoint()
[Link]:FindFirstChild("jore"):Destroy()
end

function tele_to_waypoint()
local Char = GetChar()
local Humanoid = Char:FindFirstChildOfClass("Humanoid")
local Root = Char:FindFirstChild("HumanoidRootPart")
local Waypoint = [Link]:FindFirstChild("jore")
if Waypoint then
local WaypointPos = [Link]
local RootPos = [Link]
local Distance = (WaypointPos - RootPos).magnitude
local TpTime = Distance / [Link]
local TpPos = [Link](WaypointPos)
[Link] = TpPos
[Link](TpTime)
end
end

local ClickTp = false


local ClickToSellMouseVal;
local Betterselection;
local Mouse = [Link]:GetMouse()
function selectionv2(PLY)
if _G.selectionv2 == false then Betterselection:Disconnect() return print("Func
Off") end
Betterselection = Mouse.Button1Up:Connect(function()
for i,v in pairs([Link]:GetChildren()) do
if v:FindFirstChild("Main") then
if [Link] == [Link] then
if [Link]:FindFirstChild("Owner") and tostring([Link])
== PLY then
if [Link]:FindFirstChild("Selection") then
else
local bobv2 = [Link]("SelectionBox", [Link])
[Link] = "Selection"
[Link] = [Link]
--[Link] = true
[Link] = .75
[Link] = 0.02
bobv2.SurfaceColor3 = [Link](0,0,0)
bobv2.Color3 = [Link](255,0,0)
end

end
end
end
end
--end
end)
end

function ClickToTP()
if ClickTp == false then ClickToSellMouseVal:Disconnect() return print("Func
Off") end
ClickToSellMouseVal = Mouse.Button1Up:Connect(function()
local target = [Link]
if target:FindFirstChild("Owner") and target:FindFirstChild("Main") then
for i,v in pairs([Link]:GetChildren()) do
if [Link]:FindFirstChild("Selection") then
else
local bob = [Link]("SelectionBox", [Link])
[Link] = "Selection"
[Link] = [Link]
--[Link] = true
[Link] = 0.75
[Link] = 0.02
bob.SurfaceColor3 = [Link](0,0,0)
bob.Color3 = [Link](255,0,0)
end
end
end
end)
end

function WOODselectionv2(PLY, val)


if val == false then Betterselection:Disconnect() return print("Test") end
Betterselection = Mouse.Button1Up:Connect(function()
for i,v in pairs([Link]:GetChildren()) do
local target = [Link]
if v:FindFirstChild("WoodSection") then
if [Link] == [Link] then
if [Link]:FindFirstChild("Owner") and
tostring([Link]) == PLY then
if [Link]:FindFirstChild("Selection") then
else
local bobv2 = [Link]("SelectionBox", [Link])
[Link] = "Selection"
[Link] = [Link]
[Link] = 0.75
[Link] = 0.02
bobv2.SurfaceColor3 = [Link](0,0,0)
bobv2.Color3 = [Link](5,0,0)
end
end
end
end
end
--end
end)
end

function WoodSelectionTp(direction,tp)
if direction == "Sideways" then
OldHumanCFrameSpot =
[Link]:FindFirstChild("HumanoidRootPart").CFrame
OldWoodPlace1 =
[Link]:FindFirstChild("HumanoidRootPart").CFrame *
[Link]([Link](90), 0, 0) + [Link](0, -5,
0),1000,[Link]:FindFirstChild("HumanoidRootPart").CFram
e
elseif direction == "Upwards" then
OldHumanCFrameSpot =
[Link]:FindFirstChild("HumanoidRootPart").CFrame
OldWoodPlace1 =
[Link]:FindFirstChild("HumanoidRootPart").CFrame
end
for i,v in next, [Link]:GetDescendants() do
if v:FindFirstChild("Selection") then
[Link] =
[Link](v:FindFirstChild("Selection").[Link].p) * [Link](5,0,0)
if not [Link] then
[Link] = v:FindFirstChild("Selection").Parent
end

for a = 1,25,1 do

game:GetService("ReplicatedStorage").[Link]:FireServer([Link]
nt)
[Link] = Cords
[Link]()
end
if _G.aftertpdeselect == true then
[Link]:Destroy()
end
end
end
[Link](0.5)
if tp == true then
[Link] =
OldHumanCFrameSpot

if _G.Autodeselect2 == true then


for i,v in pairs([Link]:GetChildren()) do
if v:FindFirstChild("WoodSection") then
if [Link]:FindFirstChild("Selection") then
[Link]:Destroy()
end
end
end
end
end
end

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------
--- Item Functions End ---

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------

local TeleportReliablity = 30
local OldCharacterPos;

BringObject = function(Model, Position, TeleportSettings)


if not [Link] then return end

local Character = [Link]

local ToTeleportBeforeBringing = TeleportSettings[1]


local ToTeleportAfterBringing = TeleportSettings[2]

if not [Link] then


[Link] = Model:FindFirstChild("Main") or
Model:FindFirstChild("WoodSection")
end

if not [Link] then return end

if ToTeleportBeforeBringing then
[Link] = true
for i = 1,10 do
[Link] = false
if ([Link] -
[Link]).Magnitude > 17 then

Character:SetPrimaryPartCFrame([Link]([Link] +
[Link](5,3,5)))
end
game:GetService("RunService").Stepped:Wait()
end
[Link] = false
end

for i = 1,TeleportReliablity do
if not [Link] then break end
[Link] = false

game:GetService("ReplicatedStorage").[Link]:FireServer(Model)
Model:SetPrimaryPartCFrame(Position)

game:GetService("ReplicatedStorage").[Link]:FireServer(Model)

for _,v in pairs(Model:GetChildren()) do


if v:IsA("BasePart") or v:IsA("Part") then
[Link] = [Link](0,15,0)
[Link] = [Link](0,0,0)
end
end
game:GetService("RunService").Stepped:Wait()
end

wait(0.1)

if ToTeleportAfterBringing then
[Link](function()
for i = 1,10 do
Character:SetPrimaryPartCFrame(OldCharacterPos +
[Link](0,5,0))
[Link] = [Link](0,0,0)
[Link] = [Link](0,0,0)
[Link]()
end
end)
end
end

-----------------------------------------------------------------------------------
-----------------
---------------------------------------------- SETUP
----------------------------------------------

-----------------------------------------------------------------------------------
-----------------
local CancelActions;

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Counters = {
["Thom"] = [Link](268, 2, 67.4);
["Bob"] = [Link](260, 7.2, -2551);
["Corey"] = [Link](477, 2.4, -1722);
["Jenny"] = [Link](528, 2.4, -1459);
["Timothy"] = [Link](5238, -167.2, 740);
["Lincoln"] = [Link](4595, 6.2, -785);
}

local StoreOwnerIDs = {
["Thom"] = 7;
["Bob"] = 10;
["Corey"] = 8;
["Jenny"] = 9;
["Timothy"] = 11;
["Lincoln"] = 12;
}

local StoreOwnerPositions = {
["Thom"] = [Link](262.4, 2.99929, 70.3);
["Bob"] = [Link](255.351, 8.39809, -2553.31);
["Corey"] = [Link](472.8, 3.798523, -1716.7);
["Jenny"] = [Link](532.11, 3.798914, -1465.63);
["Timothy"] = [Link](5232.4, -166.201, 742.9);
["Lincoln"] = [Link](4591.8, 7.59853, -782.101);
}

function GetPrice(Name)
if [Link]:FindFirstChild(Name) then
return [Link][Name].[Link]
else
print("Could not find Item")
end
end

function GetItem(Name)
local Items = {}
for _,v in pairs([Link]:GetDescendants()) do
if v:IsA("StringValue") and [Link] == "BoxItemName" then
--if Name ~= "Wire" then
if [Link] == Name then
[Link](Items, [Link])
end
-- elseif Name == "Wire" then

--end
end
end
return Items
end

function GetClosestStoreOwner(BasePos)
local ClosestStoreOwner
local TargetDistance = [Link]

for i,v in pairs(StoreOwnerPositions) do


Distance = (BasePos - v).Magnitude
if Distance < TargetDistance then
TargetDistance = Distance
ClosestStoreOwner = i
end
end

return ClosestStoreOwner
end

function PurchaseItem(ID)
[Link]:InvokeServer({
["Character"] = "",
["Name"] = "",
["ID"] = ID,
["Dialog"] = ""
},"ConfirmPurchase")
end

function BuyItem(Item,Amount,Position)
local ToBuyFrom
local MerchantID
AbortAutoBuy=false
local autotpback = [Link]:connect(function(v)

v:WaitForChild('Owner', 60)
if [Link] == [Link] then

for i = 1, 20 do

game:GetService("ReplicatedStorage").[Link]:FireServer(v)
v:PivotTo(Position)

game:GetService("ReplicatedStorage").[Link]:FireServer(v)
game["Run Service"].Heartbeat:wait()
end
end
end)
for i = 1,Amount do
if AbortAutoBuy==false then
if CancelActions then CancelActions = false return end
local Item = GetItem(Item)[1]
if Item== nil then
repeat
local Item = GetItem(Item)[1]
[Link]()
until Item~=nil

end
local ItemName = [Link]

if not ToBuyFrom then


ToBuyFrom = GetClosestStoreOwner([Link])
end

if not MerchantID then


for i,v in pairs(StoreOwnerIDs) do
if i == ToBuyFrom then
MerchantID = v
end
end
end

[Link]=[Link]
[Link](0.1)

for i=1,30 do

game:GetService("ReplicatedStorage").[Link]:FireServer(Item)
Item:PivotTo([Link](Counters[ToBuyFrom])+ [Link](0,0.6,0))

game:GetService("ReplicatedStorage").[Link]:FireServer(Item)
[Link]()
end
[Link](0.1)

[Link]=[Link](Counters[ToBu
yFrom]) + [Link](2,0,2)
repeat
if AbortAutoBuy==true then break end

[Link]=[Link](Counters[ToBu
yFrom]) + [Link](2,0,2)
PurchaseItem(MerchantID)
wait()
until [Link]==[Link] and
[Link]~="ShopItem"

[Link]:SetCore("SendNotification", {
Title = "Helcurt";
Text = tostring(i).."/"..tostring(Amount).." "..ItemName.."'s
Bought";
Duration = 1;
})
end
end
spawn(function()
pcall(function()
autotpback:Disconnect();
autotpback = nil;
end)
end)
end

CancelActions = false

local ItemToBuy
local AmountToBuy = 1
function GetPrice(item, co)
local Price = 0
for i, v in next,
game:GetService("ReplicatedStorage").ClientItemInfo:GetChildren() do
if [Link] == item and v:FindFirstChild("Price") then
Price = Price + [Link] * co
end
end
return Price
end
local ItemList = {}
for _,v in
pairs(game:GetService("ReplicatedStorage").ClientItemInfo:GetChildren()) do
if v:IsA("Folder") then
for _,x in pairs([Link]:GetDescendants()) do -- check if you can
purchase
if [Link] == "BoxItemName" then
if [Link] == [Link] and not [Link](ItemList, [Link].. "--" ..
tostring(GetPrice([Link],1))) then
[Link](ItemList, [Link].. "--" ..
tostring(GetPrice([Link],1)))
end
end
end
end
end

local BuyListDropdown

local CheckIfWPPlaced = function()


if TPToWPorPLR == false then
local WayPointPart = [Link]("Part")
if not WayPointPart then
OrionLib:MakeNotification({
Name = "Helcurt",
Content = "Please create waypoint",
Image = "rbxassetid://4483345998",
Time = 5
})

return false
end
else
return true
end

return true
end

local GetWPLoc = function()

if WayPointPart then
if TPToWPorPLR == false then -- wp
return [Link]
else
return GetChar().[Link]
end
else
return GetChar().[Link]
end
end

function AntiAFK(Val)
if not Val then AFKVal:Disconnect() return end
AFKVal = game:GetService("Players").[Link]:connect(function()
game:GetService("VirtualInputManager"):SendKeyEvent(true, "W", false, game)
wait()
game:GetService("VirtualInputManager"):SendKeyEvent(false, "W", false,
game)
end)
end

function Light(Val)
if Val == false then
[Link]:Destroy() return end
local PL =
[Link]("PointLight",[Link]:FindFirstChild("Head")
)
[Link] = 100
[Link] = 1
[Link] = false
end

function reset_camera_pos()
local cam = ([Link]);
local char = (workspace:FindFirstChild([Link]));

[Link] = [Link](10,50,75);
wait(3);
[Link] = (char:FindFirstChild("Humanoid"));
[Link] = [Link];

wait();
script:Destroy();
end

function Pay(ID)
spawn(function()

game:GetService("ReplicatedStorage").[Link]:InvokeServer({["ID"] =
ID,["Character"] = "name",["Name"] = "name",["Dialog"] = 'Dialog'},
"ConfirmPurchase");
end)
end

-----------------------------------------------------

---
---gui
local ui = library:new("Xiyizi X")

local Main = ui:Tab('Main','11129688807')


local Player = ui:Tab('Player','6023426915')

--
local World = ui:Tab('World','6026568213')

--
local Teleport = ui:Tab('Teleports','2790556871')

--
local Vehicle = ui:Tab('Vehicle','6034464371')

--
local Wood = ui:Tab('Wood','6034503369')

--
local Slot = ui:Tab('Slot','6031090999')

--
local Dupe = ui:Tab('Dupe','6035053278')

--
local Items = ui:Tab('Items','6034744057')

--
local AutoBuy = ui:Tab('Auto Buy','6031289461')

--
local UpdateLogs = ui:Tab('UpdateLogs','6962520787')

--
--home
local section1 = Main:section('Credit',true)

section1:Label("Silent Winning")
section1:Label("LuaWare")
section1:Label("ButterHub")
section1:Label("Note : Source From Silent,I Only Remake Script")

local section2 = Main:section('Settings',true)

section2:Keybind("Toggle GUI", "F", function()


ToggleUILib()
end)

section2:Button('B Tools', function()


loadstring(game:HttpGet("[Link]
end)

section2:Button('Rejoin Server', function()


local game_id = 13822889
local game_url = "[Link]
game:GetService("TeleportService"):Teleport(game_id, [Link])
end)

section2:Toggle('LT2 Music', 'ToggleVal', true, function(value)


LT2Music(value)
end)

--player
local Humanoid = Player:section('Humanoid',true)

Humanoid:Slider('Walk Speed', 'SliderVal', 16, 16, 500,false, function(value)


getgenv().Speed = value
walkspeed()
end)

Humanoid:Slider('Jump Power', 'SliderVal', 50, 50, 500,false, function(value)


[Link] = value
end)

Humanoid:Toggle('Fly', 'ToggleVal', false, function(value)


if not FlyKeyToggleNotifSent then
FlyKeyToggleNotifSent = true
OrionLib:MakeNotification({
Name = "Dragon Hub X",
Content = "Click Q To enable flight",
Image = "rbxassetid://10044538000",
Time = 5
})

end
FlyingEnabled = value
end)

Humanoid:Slider('Fly Speed', 'SliderVal', 50, 50, 500,false, function(value)


maxspeed = value
end)

Humanoid:Slider('Gravity', 'SliderVal', 200, 200, 1,false, function(value)


game:GetService("Workspace").Gravity = value
end)

local Misc = Player:section('Misc',true)

Misc:Toggle('Hard Dragger', 'ToggleVal', false, function(Value)


CustomDragger = Value
end)

Misc:Toggle('No Clip', 'ToggleVal', false, function(state)


if state then
noclip()
else
clip()
end
end)

local Lighting = World:section('Lighting',true)

Lighting:Toggle('Light', 'ToggleVal', false, function(value)


Light(value)
end)

Lighting:Toggle('Always Day', 'ToggleVal', false, function(value)


AlwaysDay = value
end)
Lighting:Toggle('Always Night', 'ToggleVal', false, function(value)
AlwaysNight = value
end)

Lighting:Toggle('Clear Fog', 'ToggleVal', false, function(value)


ClearFog = value
end)

Lighting:Toggle('Spook', 'ToggleVal', false, function(value)


SpookMode(value)
end)

Lighting:Toggle('Shadows', 'ToggleVal', true, function(value)


Shadows(value)
end)

Lighting:Slider('Brightness', 'SliderVal', 1, 1, 30,false, function(value)


Brightness(value)
end)

Lighting:Slider('FOV', 'SliderVal', 70, 70, 120,false, function(value)


game:GetService'Workspace'.[Link] = value
end)

local Wrld = World:section('World',true)

Wrld:Toggle('Remove Water', 'ToggleVal', false, function(value)


DestroyWater(value)
end)

Wrld:Toggle('Walk On Water', 'ToggleVal', false, function(value)


SolidWater(value)
end)

---

local Tp = Teleport:section('Teleports',true)

local Waypoints = {["The Den"] = [Link](323, 49, 1930), ["Lighthouse"] =


[Link](1464.8, 356.3, 3257.2), ["Safari"] = [Link](111.853, 11.0005, -
998.805), ["Bridge"] = [Link](112.308, 11.0005, -782.358), ["Bob's Shack"] =
[Link](260, 8, -2542), ["EndTimes Cave"] = [Link](113, -214, -951), ["The
Swamp"] = [Link](-1209, 132, -801), ["The Cabin"] = [Link](1244, 66, 2306),
["Volcano"] = [Link](-1585, 625, 1140), ["Boxed Cars"] = [Link](509, 5.2, -
1463), ["Tiaga Peak"] = [Link](1560, 410, 3274), ["Land Store"] =
[Link](258, 5, -99), ["Link's Logic"] = [Link](4605, 3, -727), ["Palm
Island"] = [Link](2549, -5, -42), ["Palm Island 2"] = [Link](1960, -5.900,
-1501), ["Palm Island 3"] = [Link](4344, -5.900, -1813), ["Fine Art Shop"] =
[Link](5207, -166, 719), ["SnowGlow Biome"] = [Link](-1086.85, -5.89978, -
945.316), ["Cave"] = [Link](3581, -179, 430), ["Shrine Of Sight"] =
[Link](-1600, 195, 919), ["Fancy Furnishings"] = [Link](491, 13, -1720),
["Docks"] = [Link](1114, 3.2, -197), ["Strange Man"] = [Link](1061, 20,
1131), ["Wood Dropoff"] = [Link](323.406, -2.8, 134.734), ["Snow Biome"] =
[Link](889.955, 59.7999, 1195.55), ["Wood RUs"] = [Link](265, 5, 57),
["Green Box"] = [Link](-1668.05, 351.174, 1475.39), ["Spawn"] = [Link](172,
2, 74), ["Cherry Meadow"] = [Link](220.9, 59.8, 1305.8), ["Bird Cave"] =
[Link](4813.1, 33.5, -978.8),}

Tp:Dropdown("Teleport To Waypoint", 'Dropdownval',WaypointsPositions, function(tp)


[Link] = Waypoints[tp]
end)

local Pt = Teleport:section('Player Teleport',true)

Pt:Dropdown("Teleport To Player", 'Dropdownval',plrs, function(SelectPlayer)


plrselected = [Link][SelectPlayer]
end)

Pt:Button('Teleport To Selected Player', function()


TeleportToPlayer()
end)

Pt:Button('Teleport To Selected Player Base', function()


TeleportToBase()
end)
---

local Vs = Vehicle:section('Vehicle Speed',true)

Vs:Slider('Vehicle Speed', 'SliderVal', 1, 1, 10,false, function(value)


VehicleSpeed(value)
end)

Vs:Button('Flip/Unflip', function()
UnFlipVehicle()
end)

local Vf = Vehicle:section('Vehicle Fly',true)

Vf:Slider('Fly Speed', 'SliderVal', 1, 1, 10,false, function(value)


iyflyspeed = value
vehicleflyspeed = value
end)

Vf:Toggle('Car Fly', 'ToggleVal', false, function(v)


if v == true then
player = [Link]
humanoid = [Link]
if [Link] then
local CurrentSeat = [Link]
if CurrentSeat and [Link] == "Vehicle" then
NOFLY()
wait()
sFLY(true)
end
end
else
NOFLY()
end
end)

local Ao = Dupe:section('Axe Options',true)

Ao:Slider('Slot Number', 'SliderVal', 1, 1, 6,false, function(value)


slotnumber = value
end)

Ao:Button('Start Dupe', function()


if #[Link]:GetChildren() >= 6 then
return
DropAllTools()
end;
AxeDupe(Slot)
end)

Ao:Button('Drop All Axe', function()


DropAllTools()
end)

Ao:Button('Count All Axes', function()


CountAllAxes()
end)

local Bw = Wood:section('Bring Tree',true)

Bw:Button('Generic', function(WoodTable)
bringy("Generic")
end)

Bw:Button('Oak', function(WoodTable)
bringy("Oak")
end)

Bw:Button('Walnut', function(WoodTable)
bringy("Walnut")
end)

Bw:Button('Volcano', function(WoodTable)
bringy("Volcano")
end)

Bw:Button('GreenSwampy', function(WoodTable)
bringy("GreenSwampy")
end)

Bw:Button('GoldSwampy', function(WoodTable)
bringy("GoldSwampy")
end)

Bw:Button('Palm', function(WoodTable)
bringy("Palm")
end)

Bw:Button('SnowGlow', function(WoodTable)
bringy("SnowGlow")
end)

Bw:Button('Frost', function(WoodTable)
bringy("Frost")
end)

Bw:Button('CaveClawler', function(WoodTable)
bringy("CaveClawler")
end)

Bw:Button('LoneCave (Phantom Tree)', function(WoodTable)


bringy("LoneCave")
end)

local Lo = Wood:section('Log Options',true)

Lo:Button('Bring All Logs', function()


if not CheckIfWPPlaced() then return end

if IsStandingAPlank then Notify("LuaWare","You are busy") return end

CuttingTree = true
local OldCharacterPos = GetWPLoc()

for _,v in pairs([Link]:GetChildren()) do


if v:IsA("Model") then
if v:FindFirstChild("Owner") ~= nil and [Link] == Player then
if CancelActions then break end
BringObject(v, OldCharacterPos,{true, false})
end
end
end

GetChar():SetPrimaryPartCFrame(OldCharacterPos)

CuttingTree = false
CancelActions = false
end)

local Po = Wood:section('Plank Options',true)

Po:Button('Sell All Planks', function()


for i,v in next,[Link]:GetChildren() do
if v:FindFirstChild("Owner") and [Link] == [Link] then
if v:FindFirstChild("WoodSection") then
[Link] = true
[Link] =
[Link]
[Link] = true
wait(1)
if [Link] then
repeat wait()
[Link]:FireServer(v)
[Link] = [Link](314.20575, -0.400000274,
85.7978668, 0.94260478, -7.16537585e-08, -0.333910495, 5.62629374e-08, 1, -
5.57635822e-08, 0.333910495, 3.37762351e-08, 0.94260478)
[Link]:FireServer(v)
until [Link]
end
end
end
end

wait(0.1)
for _, Plank in pairs([Link]:GetChildren()) do
if [Link]=="Plank" and Plank:findFirstChild("Owner") then
if [Link] == [Link] then
for i,v in pairs(Plank:GetChildren()) do
if [Link]=="WoodSection" then
spawn(function()
for i=1,10 do
wait()
[Link]=[Link]([Link](315, -0.296,
85.791))*[Link]([Link](90),0,0)
end
end)
end
end
spawn(function()
for i=1,20 do
wait()
[Link]:FireServer(Plank)
end
end)
end
end
end
end)

Po:Button('Bring All Planks', function()


if not CheckIfWPPlaced() then return end

if IsStandingAPlank then Notify("LuaWare","You are busy",10) return end

CuttingTree = true

local OldCharacterPos = GetChar().[Link]

for _,v in pairs([Link]:GetChildren()) do


if [Link] == "Plank" then
if v:FindFirstChild("Owner") ~= nil and [Link] == Player then
if CancelActions then break end
BringObject(v, OldCharacterPos,{true, false})
end
end
end

GetChar():SetPrimaryPartCFrame(OldCharacterPos)

CuttingTree = false
CancelActions = false
end)

local Slot = Slot:section('Slot',true)

Slot:Slider('Slot Number', 'SliderVal', 1, 1, 6,false, function(value)


slot = value
end)

Slot:Toggle('Fast Load', 'ToggleVal', false, function(state)


if state then
skipLoading = true
else
skipLoading = false
end
return skipLoading
end)
Slot:Button('Load Base', function()
LoadSlot(slot)
[Link]:Remove()
end)

Slot:Button('Free Land', function()


Freeland()
end)

Slot:Button('Max Land', function()


Maxland()
end)

Slot:Button('Save Slot', function()


SaveSlot()
end)

Slot:Button('Sell Property Sold Sign', function()


SellPropertySoldSign()
end)

---

local Ab = AutoBuy:section('Auto Buy',true)

Ab:Slider('Ammount To Buy', 'SliderVal', 1, 1, 500,false, function(Value)


AmountToBuy = Value
end)
AmountToBuy = 1

Ab:Dropdown("Select Item", 'Dropdownval',ItemList, function(Value)


ItemToBuy = Value
end)

local Pi = AutoBuy:section('Purchace Item',true)

Pi:Button('Buy', function()
if not CheckIfWPPlaced() then return end

if ItemToBuy then
CuttingTree = true
local OldCharacterPos = GetChar().[Link]
BuyItem([Link](ItemToBuy, "--")[1],AmountToBuy,GetWPLoc())
CuttingTree = true
IsStandingAPlank = true
GetChar():SetPrimaryPartCFrame(OldCharacterPos)
else
[Link]:SetCore("SendNotification", {
Title = "Error";
Text = "Please select an item to buy";
Duration = 5;
})
end
end)

Pi:Button('Stop', function()
AbortAutoBuy=true
end)

local Si = AutoBuy:section('Special Item',true)

Si:Button('Gold Blueprint', function()


Pay(3)
end)

Si:Button('Lower Bridge', function()


Pay(15)
end)

Si:Button('Ferry Ticket', function()


Pay(13)
end)

Si:Button('Auto Buy All Blueprint', function()


local open = [Link]:connect(function(v)
spawn(function()
if [Link] == "Blueprint" then

game:GetService("ReplicatedStorage").[Link]:FireServer(v,
"Open box")
end
end)

end)

for i, v in
pairs(game:GetService("ReplicatedStorage").ClientItemInfo:GetChildren()) do
if v:FindFirstChild("WoodCost") then

if not
[Link]:FindFirstChild([Link]) then
if AbortAutoBuy then break end
BuyItem([Link], 1)
[Link]()
end

end

end
wait(0.1)
open:Disconnect();
open = nil;
end)

-- # After Script # --
[Link]:Connect(function(plr)
[Link](plrs, [Link])
Refresh:SetOptions(plrs)
end)

[Link]:Connect(function(plr)
[Link](plrs, [Link](plrs, [Link]))
Refresh:SetOptions(plrs)
end)
-----UMAINTENANE-----

local Fuck = Items:section('Information',false)

Fuck:Label("Sorry,This Feature Coming Soon!")

+---update logs---+

local Vrb = UpdateLogs:section('Version 1.54',false)

Vrb:Label("[+] Change Ui Libs To Silent Ui Libs (Big Thanks To Silent)")


Vrb:Label("[+] LuaWare Member Get Whitelist For Now")
Vrb:Label("[+] Revamped Auto Buy Speed (7x)")
Vrb:Label("[*] Fixing Stuck In Console")
Vrb:Label("[-] Deleting Item Teleport (We Want Rework This Feature)")

local Vcb = UpdateLogs:section('Version 1.49',false)

Vcb:Label("[*] Fixing Bug")

local Vgb = UpdateLogs:section('Version 1.29',false)

Vgb:Label("[*] Updated Item Sorter")

local Ghb = UpdateLogs:section('Version 1.11',false)

Ghb:Label("[+] New Feature Item Teleports")


Ghb:Label("[*] Better Auto Buy")

You might also like