Untitled
Untitled
function Ripple(obj)
spawn(function()
if obj.ClipsDescendants ~= true then
obj.ClipsDescendants = true
end
local Ripple = Instance.new("ImageLabel")
Ripple.Name = "Ripple"
Ripple.Parent = obj
Ripple.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Ripple.BackgroundTransparency = 1.000
Ripple.ZIndex = 8
Ripple.Image = "rbxassetid://2708891598"
Ripple.ImageTransparency = 0.800
Ripple.ScaleType = Enum.ScaleType.Fit
Ripple.ImageColor3 = Color3.fromRGB(255, 255, 255)
Ripple.Position = UDim2.new((mouse.X - Ripple.AbsolutePosition.X) /
obj.AbsoluteSize.X, 0, (mouse.Y - Ripple.AbsolutePosition.Y) / obj.AbsoluteSize.Y,
0)
Tween(Ripple, {.3, 'Linear', 'InOut'}, {Position = UDim2.new(-5.5, 0, -
5.5, 0), Size = UDim2.new(12, 0, 12, 0)})
wait(0.15)
Tween(Ripple, {.3, 'Linear', 'InOut'}, {ImageTransparency = 1})
wait(.3)
Ripple:Destroy()
end)
end
-- # Switch Tabs # --
local switchingTabs = false
function switchTab(new)
if switchingTabs then return end
local old = library.currentTab
if old == nil then
new[2].Visible = true
library.currentTab = new
services.TweenService:Create(new[1], TweenInfo.new(0.1), {ImageTransparency =
0}):Play()
services.TweenService:Create(new[1].TabText, TweenInfo.new(0.1),
{TextTransparency = 0}):Play()
return
end
old[2].Visible = false
new[2].Visible = true
task.wait(0.1)
switchingTabs = false
end
hold.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
services.UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end
function UiDestroy()
dogent:Destroy()
end
function ToggleUILib()
if not ToggleUI then
dogent.Enabled = false
ToggleUI = true
else
ToggleUI = false
dogent.Enabled = true
end
end
Main.Name = "Main"
Main.Parent = dogent
Main.AnchorPoint = Vector2.new(0.5, 0.5)
Main.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
Main.BorderColor3 = Color3.fromRGB(55, 55, 55)
Main.Position = UDim2.new(0.5, 0, 0.5, 0)
Main.Size = UDim2.new(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 = UDim2.new(0, 609, 0, (toggled and 505 or 0))
})
end
TabMain.Name = "TabMain"
TabMain.Parent = Main
TabMain.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TabMain.BackgroundTransparency = 1.000
TabMain.Position = UDim2.new(0.217000037, 0, 0, 3)
TabMain.Size = UDim2.new(0, 448, 0, 346)
SB.Name = "SB"
SB.Parent = Main
SB.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SB.BorderColor3 = Color3.fromRGB(44, 44, 44)
SB.Size = UDim2.new(0, 8, 0, 353)
Side.Name = "Side"
Side.Parent = SB
Side.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Side.BorderColor3 = Color3.fromRGB(255, 255, 255)
Side.BorderSizePixel = 0
Side.ClipsDescendants = true
Side.Position = UDim2.new(1, 0, 0, 0)
Side.Size = UDim2.new(0, 110, 0, 353)
SideG.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(40, 40, 40)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(40, 40,
40))}
SideG.Rotation = 90
SideG.Name = "SideG"
SideG.Parent = Side
TabBtns.Name = "TabBtns"
TabBtns.Parent = Side
TabBtns.Active = true
TabBtns.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TabBtns.BackgroundTransparency = 1.000
TabBtns.BorderSizePixel = 0
TabBtns.Position = UDim2.new(0, 0, 0.0973535776, 0)
TabBtns.Size = UDim2.new(0, 110, 0, 318)
TabBtns.CanvasSize = UDim2.new(0, 0, 1, 0)
TabBtns.ScrollBarThickness = 0
TabBtnsL.Name = "TabBtnsL"
TabBtnsL.Parent = TabBtns
TabBtnsL.SortOrder = Enum.SortOrder.LayoutOrder
TabBtnsL.Padding = UDim.new(0, 12)
ScriptTitle.Name = "ScriptTitle"
ScriptTitle.Parent = Side
ScriptTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ScriptTitle.BackgroundTransparency = 1.000
ScriptTitle.Position = UDim2.new(0, 0, 0.00953488424, 0)
ScriptTitle.Size = UDim2.new(0, 102, 0, 20)
ScriptTitle.Font = Enum.Font.GothamSemibold
ScriptTitle.Text = name
ScriptTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
ScriptTitle.TextSize = 14.000
ScriptTitle.TextXAlignment = Enum.TextXAlignment.Left
TabBtnsL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
TabBtns.CanvasSize = UDim2.new(0, 0, 0, TabBtnsL.AbsoluteContentSize.Y + 18)
end)
local window = {}
function window.Tab(window, name, icon)
local Tab = Instance.new("ScrollingFrame")
local TabIco = Instance.new("ImageLabel")
local TabText = Instance.new("TextLabel")
local TabBtn = Instance.new("TextButton")
local TabL = Instance.new("UIListLayout")
Tab.Name = "Tab"
Tab.Parent = TabMain
Tab.Active = true
Tab.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Tab.BackgroundTransparency = 1.000
Tab.Size = UDim2.new(1, 0, 1, 0)
Tab.ScrollBarThickness = 2
Tab.Visible = false
TabIco.Name = "TabIco"
TabIco.Parent = TabBtns
TabIco.BackgroundTransparency = 1.000
TabIco.BorderSizePixel = 0
TabIco.Size = UDim2.new(0, 24, 0, 24)
TabIco.Image = ("rbxassetid://%s"):format((icon or 4370341699))
TabIco.ImageTransparency = 0.2
TabText.Name = "TabText"
TabText.Parent = TabIco
TabText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TabText.BackgroundTransparency = 1.000
TabText.Position = UDim2.new(1.41666663, 0, 0, 0)
TabText.Size = UDim2.new(0, 76, 0, 24)
TabText.Font = Enum.Font.GothamSemibold
TabText.Text = name
TabText.TextColor3 = Color3.fromRGB(255, 255, 255)
TabText.TextSize = 14.000
TabText.TextXAlignment = Enum.TextXAlignment.Left
TabText.TextTransparency = 0.2
TabBtn.Name = "TabBtn"
TabBtn.Parent = TabIco
TabBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TabBtn.BackgroundTransparency = 1.000
TabBtn.BorderSizePixel = 0
TabBtn.Size = UDim2.new(0, 110, 0, 24)
TabBtn.AutoButtonColor = false
TabBtn.Font = Enum.Font.SourceSans
TabBtn.Text = ""
TabBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
TabBtn.TextSize = 14.000
TabL.Name = "TabL"
TabL.Parent = Tab
TabL.SortOrder = Enum.SortOrder.LayoutOrder
TabL.Padding = UDim.new(0, 4)
TabBtn.MouseButton1Click:Connect(function()
spawn(function()
Ripple(TabBtn)
end)
switchTab({TabIco, Tab})
end)
TabL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
Tab.CanvasSize = UDim2.new(0, 0, 0, TabL.AbsoluteContentSize.Y + 8)
end)
local tab = {}
function tab.section(tab, name, TabVal)
local Section = Instance.new("Frame")
local SectionC = Instance.new("UICorner")
local SectionText = Instance.new("TextLabel")
local SectionOpen = Instance.new("ImageLabel")
local SectionOpened = Instance.new("ImageLabel")
local SectionToggle = Instance.new("ImageButton")
local Objs = Instance.new("Frame")
local ObjsL = Instance.new("UIListLayout")
Section.Name = "Section"
Section.Parent = Tab
Section.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
Section.BackgroundTransparency = 1.000
Section.BorderSizePixel = 0
Section.ClipsDescendants = true
Section.Size = UDim2.new(0.981000006, 0, 0, 36)
SectionText.Name = "SectionText"
SectionText.Parent = Section
SectionText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SectionText.BackgroundTransparency = 1.000
SectionText.Position = UDim2.new(0.0887396261, 0, 0, 0)
SectionText.Size = UDim2.new(0, 401, 0, 36)
SectionText.Font = Enum.Font.GothamSemibold
SectionText.Text = name
SectionText.TextColor3 = Color3.fromRGB(255, 255, 255)
SectionText.TextSize = 16.000
SectionText.TextXAlignment = Enum.TextXAlignment.Left
SectionOpen.Name = "SectionOpen"
SectionOpen.Parent = SectionText
SectionOpen.BackgroundTransparency = 1
SectionOpen.BorderSizePixel = 0
SectionOpen.Position = UDim2.new(0, -33, 0, 5)
SectionOpen.Size = UDim2.new(0, 26, 0, 26)
SectionOpen.Image = "http://www.roblox.com/asset/?id=6031302934"
SectionOpened.Name = "SectionOpened"
SectionOpened.Parent = SectionOpen
SectionOpened.BackgroundTransparency = 1.000
SectionOpened.BorderSizePixel = 0
SectionOpened.Size = UDim2.new(0, 26, 0, 26)
SectionOpened.Image = "http://www.roblox.com/asset/?id=6031302932"
SectionOpened.ImageTransparency = 1.000
SectionToggle.Name = "SectionToggle"
SectionToggle.Parent = SectionOpen
SectionToggle.BackgroundTransparency = 1
SectionToggle.BorderSizePixel = 0
SectionToggle.Size = UDim2.new(0, 26, 0, 26)
Objs.Name = "Objs"
Objs.Parent = Section
Objs.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Objs.BackgroundTransparency = 1
Objs.BorderSizePixel = 0
Objs.Position = UDim2.new(0, 6, 0, 36)
Objs.Size = UDim2.new(0.986347735, 0, 0, 0)
ObjsL.Name = "ObjsL"
ObjsL.Parent = Objs
ObjsL.SortOrder = Enum.SortOrder.LayoutOrder
ObjsL.Padding = UDim.new(0, 8)
SectionToggle.MouseButton1Click:Connect(function()
open = not open
Section.Size = UDim2.new(0.981000006, 0, 0, open and 36 +
ObjsL.AbsoluteContentSize.Y + 8 or 36)
SectionOpened.ImageTransparency = (open and 0 or 1)
SectionOpen.ImageTransparency = (open and 1 or 0)
end)
ObjsL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
if not open then return end
Section.Size = UDim2.new(0.981000006, 0, 0, 36 +
ObjsL.AbsoluteContentSize.Y + 8)
end)
local section = {}
function section.Button(section, text, callback)
local callback = callback or function() end
BtnModule.Name = "BtnModule"
BtnModule.Parent = Objs
BtnModule.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
BtnModule.BackgroundTransparency = 1.000
BtnModule.BorderSizePixel = 0
BtnModule.Position = UDim2.new(0, 0, 0, 0)
BtnModule.Size = UDim2.new(0, 428, 0, 38)
Btn.Name = "Btn"
Btn.Parent = BtnModule
Btn.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
Btn.BorderSizePixel = 0
Btn.Size = UDim2.new(0, 428, 0, 38)
Btn.AutoButtonColor = false
Btn.Font = Enum.Font.GothamSemibold
Btn.Text = " " .. text
Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
Btn.TextSize = 16.000
Btn.TextXAlignment = Enum.TextXAlignment.Left
Btn.MouseButton1Click:Connect(function()
spawn(function()
Ripple(Btn)
end)
spawn(callback)
end)
end
function section:Label(text)
local LabelModule = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local LabelC = Instance.new("UICorner")
LabelModule.Name = "LabelModule"
LabelModule.Parent = Objs
LabelModule.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
LabelModule.BackgroundTransparency = 1.000
LabelModule.BorderSizePixel = 0
LabelModule.Position = UDim2.new(0, 0, NAN, 0)
LabelModule.Size = UDim2.new(0, 428, 0, 19)
TextLabel.Parent = LabelModule
TextLabel.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
TextLabel.Size = UDim2.new(0, 428, 0, 22)
TextLabel.Font = Enum.Font.GothamSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 14.000
library.flags[flag] = enabled
ToggleModule.Name = "ToggleModule"
ToggleModule.Parent = Objs
ToggleModule.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ToggleModule.BackgroundTransparency = 1.000
ToggleModule.BorderSizePixel = 0
ToggleModule.Position = UDim2.new(0, 0, 0, 0)
ToggleModule.Size = UDim2.new(0, 428, 0, 38)
ToggleBtn.Name = "ToggleBtn"
ToggleBtn.Parent = ToggleModule
ToggleBtn.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
ToggleBtn.BorderSizePixel = 0
ToggleBtn.Size = UDim2.new(0, 428, 0, 38)
ToggleBtn.AutoButtonColor = false
ToggleBtn.Font = Enum.Font.GothamSemibold
ToggleBtn.Text = " " .. text
ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.TextSize = 16.000
ToggleBtn.TextXAlignment = Enum.TextXAlignment.Left
ToggleDisable.Name = "ToggleDisable"
ToggleDisable.Parent = ToggleBtn
ToggleDisable.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
ToggleDisable.BorderSizePixel = 0
ToggleDisable.Position = UDim2.new(0.901869178, 0, 0.208881587, 0)
ToggleDisable.Size = UDim2.new(0, 36, 0, 22)
ToggleSwitch.Name = "ToggleSwitch"
ToggleSwitch.Parent = ToggleDisable
ToggleSwitch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ToggleSwitch.Size = UDim2.new(0, 24, 0, 22)
local funcs = {
SetState = function(self, state)
if state == nil then state = not library.flags[flag] end
if library.flags[flag] == state then return end
services.TweenService:Create(ToggleSwitch, TweenInfo.new(0.2),
{Position = UDim2.new(0, (state and ToggleSwitch.Size.X.Offset / 2 or 0), 0, 0),
BackgroundColor3 = (state and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(22,
27, 45))}):Play()
library.flags[flag] = state
callback(state)
end,
Module = ToggleModule
}
ToggleBtn.MouseButton1Click:Connect(function()
funcs:SetState()
end)
return funcs
end
KeybindModule.Name = "KeybindModule"
KeybindModule.Parent = Objs
KeybindModule.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
KeybindModule.BackgroundTransparency = 1.000
KeybindModule.BorderSizePixel = 0
KeybindModule.Position = UDim2.new(0, 0, 0, 0)
KeybindModule.Size = UDim2.new(0, 428, 0, 38)
KeybindBtn.Name = "KeybindBtn"
KeybindBtn.Parent = KeybindModule
KeybindBtn.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
KeybindBtn.BorderSizePixel = 0
KeybindBtn.Size = UDim2.new(0, 428, 0, 38)
KeybindBtn.AutoButtonColor = false
KeybindBtn.Font = Enum.Font.GothamSemibold
KeybindBtn.Text = " " .. text
KeybindBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
KeybindBtn.TextSize = 16.000
KeybindBtn.TextXAlignment = Enum.TextXAlignment.Left
KeybindValue.Name = "KeybindValue"
KeybindValue.Parent = KeybindBtn
KeybindValue.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
KeybindValue.BorderSizePixel = 0
KeybindValue.Position = UDim2.new(0.763033211, 0, 0.289473683, 0)
KeybindValue.Size = UDim2.new(0, 100, 0, 28)
KeybindValue.AutoButtonColor = false
KeybindValue.Font = Enum.Font.Gotham
KeybindValue.Text = keyTxt
KeybindValue.TextColor3 = Color3.fromRGB(255, 255, 255)
KeybindValue.TextSize = 14.000
KeybindL.Name = "KeybindL"
KeybindL.Parent = KeybindBtn
KeybindL.HorizontalAlignment = Enum.HorizontalAlignment.Right
KeybindL.SortOrder = Enum.SortOrder.LayoutOrder
KeybindL.VerticalAlignment = Enum.VerticalAlignment.Center
UIPadding.Parent = KeybindBtn
UIPadding.PaddingRight = UDim.new(0, 6)
services.UserInputService.InputBegan:Connect(function(inp, gpe)
if gpe then return end
if inp.UserInputType ~= Enum.UserInputType.Keyboard then return end
if inp.KeyCode ~= bindKey then return end
callback(bindKey.Name)
end)
KeybindValue.MouseButton1Click:Connect(function()
KeybindValue.Text = "..."
wait()
local key, uwu = services.UserInputService.InputEnded:Wait()
local keyName = tostring(key.KeyCode.Name)
if key.UserInputType ~= Enum.UserInputType.Keyboard then
KeybindValue.Text = keyTxt
return
end
if banned[keyName] then
KeybindValue.Text = keyTxt
return
end
wait()
bindKey = Enum.KeyCode[keyName]
KeybindValue.Text = shortNames[keyName] or keyName
end)
KeybindValue:GetPropertyChangedSignal("TextBounds"):Connect(function()
KeybindValue.Size = UDim2.new(0, KeybindValue.TextBounds.X + 30, 0, 28)
end)
KeybindValue.Size = UDim2.new(0, KeybindValue.TextBounds.X + 30, 0, 28)
end
library.flags[flag] = default
TextboxModule.Name = "TextboxModule"
TextboxModule.Parent = Objs
TextboxModule.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextboxModule.BackgroundTransparency = 1.000
TextboxModule.BorderSizePixel = 0
TextboxModule.Position = UDim2.new(0, 0, 0, 0)
TextboxModule.Size = UDim2.new(0, 428, 0, 38)
TextboxBack.Name = "TextboxBack"
TextboxBack.Parent = TextboxModule
TextboxBack.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
TextboxBack.BorderSizePixel = 0
TextboxBack.Size = UDim2.new(0, 428, 0, 38)
TextboxBack.AutoButtonColor = false
TextboxBack.Font = Enum.Font.GothamSemibold
TextboxBack.Text = " " .. text
TextboxBack.TextColor3 = Color3.fromRGB(255, 255, 255)
TextboxBack.TextSize = 16.000
TextboxBack.TextXAlignment = Enum.TextXAlignment.Left
BoxBG.Name = "BoxBG"
BoxBG.Parent = TextboxBack
BoxBG.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
BoxBG.BorderSizePixel = 0
BoxBG.Position = UDim2.new(0.763033211, 0, 0.289473683, 0)
BoxBG.Size = UDim2.new(0, 100, 0, 28)
BoxBG.AutoButtonColor = false
BoxBG.Font = Enum.Font.Gotham
BoxBG.Text = ""
BoxBG.TextColor3 = Color3.fromRGB(255, 255, 255)
BoxBG.TextSize = 14.000
TextBox.Parent = BoxBG
TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextBox.BackgroundTransparency = 1.000
TextBox.BorderSizePixel = 0
TextBox.Size = UDim2.new(1, 0, 1, 0)
TextBox.Font = Enum.Font.Gotham
TextBox.Text = default
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.TextSize = 14.000
TextboxBackL.Name = "TextboxBackL"
TextboxBackL.Parent = TextboxBack
TextboxBackL.HorizontalAlignment = Enum.HorizontalAlignment.Right
TextboxBackL.SortOrder = Enum.SortOrder.LayoutOrder
TextboxBackL.VerticalAlignment = Enum.VerticalAlignment.Center
TextboxBackP.Name = "TextboxBackP"
TextboxBackP.Parent = TextboxBack
TextboxBackP.PaddingRight = UDim.new(0, 6)
TextBox.FocusLost:Connect(function()
if TextBox.Text == "" then
TextBox.Text = default
end
library.flags[flag] = TextBox.Text
callback(TextBox.Text)
end)
TextBox:GetPropertyChangedSignal("TextBounds"):Connect(function()
BoxBG.Size = UDim2.new(0, TextBox.TextBounds.X + 30, 0, 28)
end)
BoxBG.Size = UDim2.new(0, TextBox.TextBounds.X + 30, 0, 28)
end
library.flags[flag] = default
SliderModule.Name = "SliderModule"
SliderModule.Parent = Objs
SliderModule.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SliderModule.BackgroundTransparency = 1.000
SliderModule.BorderSizePixel = 0
SliderModule.Position = UDim2.new(0, 0, 0, 0)
SliderModule.Size = UDim2.new(0, 428, 0, 38)
SliderBack.Name = "SliderBack"
SliderBack.Parent = SliderModule
SliderBack.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
SliderBack.BorderSizePixel = 0
SliderBack.Size = UDim2.new(0, 428, 0, 38)
SliderBack.AutoButtonColor = false
SliderBack.Font = Enum.Font.GothamSemibold
SliderBack.Text = " " .. text
SliderBack.TextColor3 = Color3.fromRGB(255, 255, 255)
SliderBack.TextSize = 16.000
SliderBack.TextXAlignment = Enum.TextXAlignment.Left
SliderBar.Name = "SliderBar"
SliderBar.Parent = SliderBack
SliderBar.AnchorPoint = Vector2.new(0, 0.5)
SliderBar.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
SliderBar.BorderSizePixel = 0
SliderBar.Position = UDim2.new(0.369000018, 40, 0.5, 0)
SliderBar.Size = UDim2.new(0, 140, 0, 12)
SliderPart.Name = "SliderPart"
SliderPart.Parent = SliderBar
SliderPart.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SliderPart.BorderSizePixel = 0
SliderPart.Size = UDim2.new(0, 54, 0, 13)
SliderValBG.Name = "SliderValBG"
SliderValBG.Parent = SliderBack
SliderValBG.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
SliderValBG.BorderSizePixel = 0
SliderValBG.Position = UDim2.new(0.883177578, 0, 0.131578952, 0)
SliderValBG.Size = UDim2.new(0, 44, 0, 28)
SliderValBG.AutoButtonColor = false
SliderValBG.Font = Enum.Font.Gotham
SliderValBG.Text = ""
SliderValBG.TextColor3 = Color3.fromRGB(255, 255, 255)
SliderValBG.TextSize = 14.000
SliderValue.Name = "SliderValue"
SliderValue.Parent = SliderValBG
SliderValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SliderValue.BackgroundTransparency = 1.000
SliderValue.BorderSizePixel = 0
SliderValue.Size = UDim2.new(1, 0, 1, 0)
SliderValue.Font = Enum.Font.Gotham
SliderValue.Text = "1000"
SliderValue.TextColor3 = Color3.fromRGB(255, 255, 255)
SliderValue.TextSize = 14.000
MinSlider.Name = "MinSlider"
MinSlider.Parent = SliderModule
MinSlider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MinSlider.BackgroundTransparency = 1.000
MinSlider.BorderSizePixel = 0
MinSlider.Position = UDim2.new(0.296728969, 40, 0.236842096, 0)
MinSlider.Size = UDim2.new(0, 20, 0, 20)
MinSlider.Font = Enum.Font.Gotham
MinSlider.Text = "-"
MinSlider.TextColor3 = Color3.fromRGB(255, 255, 255)
MinSlider.TextSize = 24.000
MinSlider.TextWrapped = true
AddSlider.Name = "AddSlider"
AddSlider.Parent = SliderModule
AddSlider.AnchorPoint = Vector2.new(0, 0.5)
AddSlider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
AddSlider.BackgroundTransparency = 1.000
AddSlider.BorderSizePixel = 0
AddSlider.Position = UDim2.new(0.810906529, 0, 0.5, 0)
AddSlider.Size = UDim2.new(0, 20, 0, 20)
AddSlider.Font = Enum.Font.Gotham
AddSlider.Text = "+"
AddSlider.TextColor3 = Color3.fromRGB(255, 255, 255)
AddSlider.TextSize = 24.000
AddSlider.TextWrapped = true
local funcs = {
SetValue = function(self, value)
local percent = (mouse.X - SliderBar.AbsolutePosition.X) /
SliderBar.AbsoluteSize.X
if value then
percent = (value - min) / (max - min)
end
percent = math.clamp(percent, 0, 1)
if precise then
value = value or tonumber(string.format("%.1f", tostring(min + (max -
min) * percent)))
else
value = value or math.floor(min + (max - min) * percent)
end
library.flags[flag] = tonumber(value)
SliderValue.Text = tostring(value)
SliderPart.Size = UDim2.new(percent, 0, 1, 0)
callback(tonumber(value))
end
}
MinSlider.MouseButton1Click:Connect(function()
local currentValue = library.flags[flag]
currentValue = math.clamp(currentValue - 1, min, max)
funcs:SetValue(currentValue)
end)
AddSlider.MouseButton1Click:Connect(function()
local currentValue = library.flags[flag]
currentValue = math.clamp(currentValue + 1, min, max)
funcs:SetValue(currentValue)
end)
funcs:SetValue(default)
SliderBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
funcs:SetValue()
dragging = true
end
end)
services.UserInputService.InputEnded:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging = false
end
end)
services.UserInputService.InputChanged:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement
then
funcs:SetValue()
end
end)
SliderValue.Focused:Connect(function()
boxFocused = true
end)
SliderValue.FocusLost:Connect(function()
boxFocused = false
if SliderValue.Text == "" then
funcs:SetValue(default)
end
end)
SliderValue:GetPropertyChangedSignal("Text"):Connect(function()
if not boxFocused then return end
SliderValue.Text = SliderValue.Text:gsub("%D+", "")
return funcs
end
library.flags[flag] = nil
DropdownModule.Name = "DropdownModule"
DropdownModule.Parent = Objs
DropdownModule.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
DropdownModule.BackgroundTransparency = 1.000
DropdownModule.BorderSizePixel = 0
DropdownModule.ClipsDescendants = true
DropdownModule.Position = UDim2.new(0, 0, 0, 0)
DropdownModule.Size = UDim2.new(0, 428, 0, 38)
DropdownTop.Name = "DropdownTop"
DropdownTop.Parent = DropdownModule
DropdownTop.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
DropdownTop.BorderSizePixel = 0
DropdownTop.Size = UDim2.new(0, 428, 0, 38)
DropdownTop.AutoButtonColor = false
DropdownTop.Font = Enum.Font.GothamSemibold
DropdownTop.Text = ""
DropdownTop.TextColor3 = Color3.fromRGB(255, 255, 255)
DropdownTop.TextSize = 16.000
DropdownTop.TextXAlignment = Enum.TextXAlignment.Left
DropdownOpen.Name = "DropdownOpen"
DropdownOpen.Parent = DropdownTop
DropdownOpen.AnchorPoint = Vector2.new(0, 0.5)
DropdownOpen.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
DropdownOpen.BackgroundTransparency = 1.000
DropdownOpen.BorderSizePixel = 0
DropdownOpen.Position = UDim2.new(0.918383181, 0, 0.5, 0)
DropdownOpen.Size = UDim2.new(0, 20, 0, 20)
DropdownOpen.Font = Enum.Font.Gotham
DropdownOpen.Text = "+"
DropdownOpen.TextColor3 = Color3.fromRGB(255, 255, 255)
DropdownOpen.TextSize = 24.000
DropdownOpen.TextWrapped = true
DropdownText.Name = "DropdownText"
DropdownText.Parent = DropdownTop
DropdownText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
DropdownText.BackgroundTransparency = 1.000
DropdownText.BorderSizePixel = 0
DropdownText.Position = UDim2.new(0.0373831764, 0, 0, 0)
DropdownText.Size = UDim2.new(0, 184, 0, 38)
DropdownText.Font = Enum.Font.GothamSemibold
DropdownText.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
DropdownText.PlaceholderText = text
DropdownText.Text = ""
DropdownText.TextColor3 = Color3.fromRGB(255, 255, 255)
DropdownText.TextSize = 16.000
DropdownText.TextXAlignment = Enum.TextXAlignment.Left
DropdownModuleL.Name = "DropdownModuleL"
DropdownModuleL.Parent = DropdownModule
DropdownModuleL.SortOrder = Enum.SortOrder.LayoutOrder
DropdownModuleL.Padding = UDim.new(0, 4)
DropdownOpen.MouseButton1Click:Connect(ToggleDropVis)
DropdownText.Focused:Connect(function()
if open then return end
ToggleDropVis()
end)
DropdownText:GetPropertyChangedSignal("Text"):Connect(function()
if not open then return end
searchDropdown(DropdownText.Text)
end)
DropdownModuleL:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
if not open then return end
DropdownModule.Size = UDim2.new(0, 428, 0,
(DropdownModuleL.AbsoluteContentSize.Y + 4))
end)
local funcs = {}
funcs.AddOption = function(self, option)
local Option = Instance.new("TextButton")
local OptionC = Instance.new("UICorner")
Option.MouseButton1Click:Connect(function()
ToggleDropVis()
callback(Option.Text)
DropdownText.Text = Option.Text
library.flags[flag] = Option.Text
end)
end
return funcs
end
return section
end
return tab
end
return window
end
---Variables
local OrionLib =
loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/
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 = Instance.new("BoolValue")
destroy.Name = "DestroyUi"
destroy.Parent = game:GetService("CoreGui"):FindFirstChild("UI")
end;
--MenuColors
local MenuGUI = game:GetService("Players").LocalPlayer.PlayerGui.MenuGUI
local PlayerGui = game:GetService("Players").LocalPlayer.PlayerGui
--Colors--
MenuGUI.Open.BackgroundTransparency = 0.9
MenuGUI.Open.DropShadow.Position = UDim2.new(0, 0, 0, 0)
MenuGUI.Open.DropShadow.BackgroundTransparency = 1
local UICornerOpen = Instance.new("UICorner")
local UICornerOpen1 = Instance.new("UICorner")
local UICornerOpen2 = Instance.new("UICorner")
local UICornerOpen3 = Instance.new("UICorner")
local UICornerOpen4 = Instance.new("UICorner")
local UICornerOpen5 = Instance.new("UICorner")
local UICornerOpen6 = Instance.new("UICorner")
local UICornerOpen7 = Instance.new("UICorner")
local UICornerOpen8 = Instance.new("UICorner")
local UICornerOpen9 = Instance.new("UICorner")
local UICornerOpen10 = Instance.new("UICorner")
local UICornerOpen11 = Instance.new("UICorner")
local UIStrokeOpen = Instance.new("UIStroke")
local UIStrokeOpen1 = Instance.new("UIStroke")
local UIStrokeOpen2 = Instance.new("UIStroke")
UICornerOpen.Parent = MenuGUI.Open
UICornerOpen.CornerRadius = UDim.new(0, 20)
UICornerOpen1.Parent = MenuGUI.Open.DropShadow
UICornerOpen1.CornerRadius = UDim.new(0, 14)
UIStrokeOpen.Parent = MenuGUI.Open.DropShadow
UIStrokeOpen.Color = Color3.fromRGB(255, 0, 0)
UIStrokeOpen.Thickness = 2
MenuGUI.Menu.Main.BackgroundTransparency = 0.9
MenuGUI.Menu.Main.DropShadow.BackgroundTransparency = 1
MenuGUI.Menu.Main.DropShadow.Position = UDim2.new(0, 0, 0, 0)
UIStrokeOpen1.Parent = MenuGUI.Menu.Main.DropShadow
UIStrokeOpen1.Thickness = 2
UIStrokeOpen1.Color = Color3.fromRGB(0,0,0)
MenuGUI.Menu.Main.Heading.Text = "Dragon"
MenuGUI.Menu.Main.Heading.DropShadow.Visible = false
UICornerOpen2.Parent = MenuGUI.Menu.Main.MenuItems.SaveLoad.TextLabel
MenuGUI.Menu.Main.MenuItems.SaveLoad.TextLabel.TextColor3 = Color3.fromRGB(255,
0, 0)
MenuGUI.Menu.Main.MenuItems.SaveLoad.TextLabel.BackgroundColor3 =
Color3.fromRGB(0,0,0)
MenuGUI.Menu.Main.MenuItems.SaveLoad.TextLabel.BackgroundTransparency = 0.5
MenuGUI.Menu.Main.MenuItems.SaveLoad.BackgroundTransparency = 1
MenuGUI.Menu.Main.MenuItems.BuyMoney.BackgroundTransparency = 1
MenuGUI.Menu.Main.MenuItems.BuyMoney.TextLabel.BackgroundColor3 =
Color3.fromRGB(0,0,0)
MenuGUI.Menu.Main.MenuItems.BuyMoney.TextLabel.TextColor3 = Color3.fromRGB(255,
0, 0)
MenuGUI.Menu.Main.MenuItems.BuyMoney.TextLabel.BackgroundTransparency = 0.5
MenuGUI.Menu.Main.MenuItems.Changelog.BackgroundTransparency = 1
MenuGUI.Menu.Main.MenuItems.Changelog.TextLabel.BackgroundColor3 =
Color3.fromRGB(0,0,0)
MenuGUI.Menu.Main.MenuItems.Changelog.TextLabel.TextColor3 =
Color3.fromRGB(255, 0, 0)
MenuGUI.Menu.Main.MenuItems.Changelog.TextLabel.BackgroundTransparency = 0.5
MenuGUI.Menu.Main.MenuItems.Credits.BackgroundTransparency = 1
MenuGUI.Menu.Main.MenuItems.Credits.TextLabel.BackgroundColor3 =
Color3.fromRGB(0,0,0)
MenuGUI.Menu.Main.MenuItems.Credits.TextLabel.TextColor3 = Color3.fromRGB(255,
0, 0)
MenuGUI.Menu.Main.MenuItems.Credits.TextLabel.BackgroundTransparency = 0.5
MenuGUI.Menu.Main.MenuItems.Donate.BackgroundTransparency = 1
MenuGUI.Menu.Main.MenuItems.Donate.TextLabel.TextColor3 = Color3.fromRGB(255,
0, 0)
MenuGUI.Menu.Main.MenuItems.Donate.TextLabel.BackgroundTransparency = 0.5
MenuGUI.Menu.Main.MenuItems.Donate.TextLabel.BackgroundColor3 =
Color3.fromRGB(0,0,0)
MenuGUI.Menu.Main.MenuItems.Settings.BackgroundTransparency = 1
MenuGUI.Menu.Main.MenuItems.Settings.TextLabel.TextColor3 = Color3.fromRGB(255,
0, 0)
MenuGUI.Menu.Main.MenuItems.Settings.TextLabel.BackgroundTransparency = 0.5
MenuGUI.Menu.Main.MenuItems.Settings.TextLabel.BackgroundColor3 =
Color3.fromRGB(0,0,0)
UICornerOpen3.Parent = MenuGUI.Menu.Main
UICornerOpen3.CornerRadius = UDim.new(0, 10)
UICornerOpen4.Parent = MenuGUI.Menu.Main.DropShadow
UICornerOpen4.CornerRadius = UDim.new(0, 10)
UICornerOpen5.Parent = MenuGUI.Menu.Main.MenuItems.Settings.TextLabel
UICornerOpen6.Parent = MenuGUI.Menu.Main.MenuItems.Donate.TextLabel
UICornerOpen7.Parent = MenuGUI.Menu.Main.MenuItems.Credits.TextLabel
UICornerOpen8.Parent = MenuGUI.Menu.Main.MenuItems.Changelog.TextLabel
UICornerOpen9.Parent = MenuGUI.Menu.Main.MenuItems.BuyMoney.TextLabel
MenuGUI.Menu.Quit.BackgroundTransparency = 0.9
MenuGUI.Menu.Quit.DropShadow.BackgroundTransparency = 1
MenuGUI.Menu.Quit.DropShadow.Position = UDim2.new(0, 0, 0, 0)
UICornerOpen10.Parent = MenuGUI.Menu.Quit.DropShadow
UICornerOpen11.Parent = MenuGUI.Menu.Quit
UIStrokeOpen2.Parent = MenuGUI.Menu.Quit.DropShadow
UIStrokeOpen2.Color = Color3.fromRGB(35, 35, 35)
UIStrokeOpen2.Thickness = 2
--MoneyColor--
PlayerGui.MoneyDisplayGui.Text.TextColor3 = Color3.fromRGB(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 = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
-- # 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 game.Players.LocalPlayer and game.Players.LocalPlayer.Character and
game.Players.LocalPlayer.Character:findFirstChild("Head") and
game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
local Mouse = game.Players.LocalPlayer:GetMouse()
repeat wait() until Mouse
local Player = game.Players.LocalPlayer
local HumRoot = Player.Character.HumanoidRootPart
local Hum = Player.Character.Humanoid
local SteerSpeed = defaults.FlySpeed 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 = Instance.new('BodyGyro', HumRoot)
Gyro.P = 9e4
Gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
Gyro.CFrame = HumRoot.CFrame
local Velocity = Instance.new('BodyVelocity', HumRoot)
Velocity.Velocity = Vector3.new(0,0.1,0)
Velocity.maxForce = Vector3.new(9e9, 9e9, 9e9)
repeat wait()
Hum.PlatformStand = true
if Steer.l + Steer.r ~= 0 or Steer.f + Steer.b ~= 0 then
SteerSpeed = defaults.FlySpeed
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
Velocity.Velocity =
((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (Steer.f+Steer.b)) +
((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(Steer.l+Steer.r,
(Steer.f+Steer.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.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
Velocity.Velocity =
((game.Workspace.CurrentCamera.CoordinateFrame.lookVector *
(BackSteer.f+BackSteer.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame *
CFrame.new(BackSteer.l+BackSteer.r,(BackSteer.f+BackSteer.b)*.2,0).p) -
game.Workspace.CurrentCamera.CoordinateFrame.p)) * SteerSpeed
else
Velocity.Velocity = Vector3.new(0,0.1,0)
end
Gyro.CFrame = game.Workspace.CurrentCamera.CoordinateFrame *
CFrame.Angles(-math.rad((Steer.f+Steer.b)*50*SteerSpeed/MaxSpeed),0,0)
until not defaults.isFlying
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()
Hum.PlatformStand = false
end
Mouse.KeyDown: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)
Mouse.KeyUp: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 = game.Players.LocalPlayer
local treeregins = {}
local treclases = {}
local replicatedfarts = game.ReplicatedStorage
local axeclasses = replicatedfarts:WaitForChild("AxeClasses")
for _, cooper in next, workspace:GetChildren() do
if cooper.Name == "TreeRegion" then
table.insert(treeregins, cooper)
end
end
function getModlMass(model)
local total = 0
local woodsextions = 0
for _, v in next, model:GetDescendants() do
if v:IsA("BasePart") and v.Name ~= "Leaves" then
if v.Name == "WoodSection" then woodsextions = woodsextions + 1 end
total = total + v.Mass
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 onwer.Value == nil and trreclas.Value
== clas then
local mas, secs = getModlMass(cooper2)
if secs > 1 then
table.insert(posibilitys, {
tre = cooper2,
mass = mas
})
end
end
end
end
end
table.sort(posibilitys, function(cooper1, cooper2)
return cooper1.mass > cooper2.mass
end)
return posibilitys[1] and posibilitys[1].tre or false, "No tree found."
end
function hahafunnygod()
local rootjoint = cooper.Character.HumanoidRootPart.RootJoint
rootjoint:Clone().Parent = rootjoint.Parent
rootjoint:Destroy()
task.wait()
end
function bringy(treclas)
local curpos = cooper.Character.HumanoidRootPart.CFrame
cooper.Character.Humanoid:UnequipTools()
task.wait()
local axs = {}
for _, cooper in next, cooper.Backpack:GetChildren() do
if cooper.Name ~= "BlueprintTool" and cooper:FindFirstChild("ToolName")
then
table.insert(axs, {
ax = cooper,
stats = getAxStats(cooper.ToolName.Value, treclass)
})
end
end
if #axs == 0 then return false, "Pleas pickup a ax." end
table.sort(axs, function(cooper1, cooper2)
return cooper1.stats.Damage > cooper2.stats.Damage
end)
local ax = axs[1].ax
local tre, msg = getTrreOfClas(treclas)
if not tre then
return false, msg
end
if treclas == "LoneCave" then
if ax.ToolName.Value ~= "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()
cooper.Character.HumanoidRootPart.CFrame =
CFrame.new(tre.WoodSection.Position + Vector3.new(5, 3, 0))
end)
end
tre = choppy(tre, ax)
if treclas ~= "LoneCave" then
loptp:Disconnect()
loptp = nil
end
task.wait(0.15)
task.spawn(function()
for cooper=1, 60 do
replicatedfarts.Interaction.ClientIsDragging:FireServer(tre)
task.wait()
end
end)
task.wait(0.1)
tre.PrimaryPart = tre.WoodSection
for i=1, 60 do
tre.PrimaryPart.Velocity = Vector3.new(0, 0, 0)
tre:PivotTo(curpos)
task.wait()
end
if treclas == "LoneCave" then
cooper.Character.Humanoid:UnequipTools()
task.wait()
cooper.Character.Head:Destroy()
cooper.CharacterAdded:Wait()
task.wait(1.5)
end
cooper.Character.HumanoidRootPart.CFrame = tre.WoodSection.CFrame
return true, "Don get tre!"
end
function TeleportToPlayer()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Players[plrselected.Name].Character.HumanoidRootPart.CFrame
end;
function TeleportToBase()
game.Players.LocalPlayer.Character.Humanoid.Jump = true
wait(3)
for i,v in next,game.Workspace.Properties:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value ==
game.Players[plrselected.Name] then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.OriginSquare.CFrame
end
end
end
game.Lighting.Changed:connect(function()
if AlwaysDay then
game.Lighting.TimeOfDay = "12:00:00"
elseif AlwaysNight then
game.Lighting.TimeOfDay = "24:00:00"
end;
end)
game.Lighting.Changed:connect(function()
if ClearFog then
game.Lighting.FogEnd = 999999999
game.Lighting.Brightness = 1
end;
end)
function Shadows(value)
game.Lighting.GlobalShadows = value
end;
function Brightness(value)
game.Lighting.Brightness = value
end;
function DestroyWater(value)
for i,v in next,game.Workspace.Water:GetChildren() do
if v.Name == "Water" then
if value then
v.Transparency = 1
else
v.Transparency = 0
end;
end;
end;
end;
--GetLoneCave--
local cooper = game.Players.LocalPlayer
local treeregins = {}
local treclases = {}
local replicatedfarts = game.ReplicatedStorage
local axeclasses = replicatedfarts:WaitForChild("AxeClasses")
for _, cooper in next, workspace:GetChildren() do
if cooper.Name == "TreeRegion" then
table.insert(treeregins, cooper)
end
end
function getModlMass(model)
local total = 0
local woodsextions = 0
for _, v in next, model:GetDescendants() do
if v:IsA("BasePart") and v.Name ~= "Leaves" then
if v.Name == "WoodSection" then woodsextions = woodsextions + 1 end
total = total + v.Mass
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 onwer.Value == nil and trreclas.Value ==
clas then
local mas, secs = getModlMass(cooper2)
if secs > 1 then
table.insert(posibilitys, {
tre = cooper2,
mass = mas
})
end
end
end
end
end
table.sort(posibilitys, function(cooper1, cooper2)
return cooper1.mass > cooper2.mass
end)
return posibilitys[1] and posibilitys[1].tre or false, "No tree found."
end
function hahafunnygod()
local rootjoint = cooper.Character.HumanoidRootPart.RootJoint
rootjoint:Clone().Parent = rootjoint.Parent
rootjoint:Destroy()
task.wait()
end
function bringy(treclas)
local curpos = cooper.Character.HumanoidRootPart.CFrame
cooper.Character.Humanoid:UnequipTools()
task.wait()
local axs = {}
for _, cooper in next, cooper.Backpack:GetChildren() do
if cooper.Name ~= "BlueprintTool" and cooper:FindFirstChild("ToolName")
then
table.insert(axs, {
ax = cooper,
stats = getAxStats(cooper.ToolName.Value, treclass)
})
end
end
if #axs == 0 then return false, "Pleas pickup a ax." end
table.sort(axs, function(cooper1, cooper2)
return cooper1.stats.Damage > cooper2.stats.Damage
end)
local ax = axs[1].ax
local tre, msg = getTrreOfClas(treclas)
if not tre then
return false, msg
end
if treclas == "LoneCave" then
if ax.ToolName.Value ~= "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()
cooper.Character.HumanoidRootPart.CFrame =
CFrame.new(tre.WoodSection.Position + Vector3.new(5, 3, 0))
end)
end
tre = choppy(tre, ax)
if treclas ~= "LoneCave" then
loptp:Disconnect()
loptp = nil
end
task.wait(0.15)
task.spawn(function()
for cooper=1, 60 do
replicatedfarts.Interaction.ClientIsDragging:FireServer(tre)
task.wait()
end
end)
task.wait(0.1)
tre.PrimaryPart = tre.WoodSection
for i=1, 60 do
tre.PrimaryPart.Velocity = Vector3.new(0, 0, 0)
tre:PivotTo(curpos)
task.wait()
end
if treclas == "LoneCave" then
cooper.Character.Humanoid:UnequipTools()
task.wait()
cooper.Character.Head:Destroy()
cooper.CharacterAdded:Wait()
task.wait(1.5)
end
cooper.Character.HumanoidRootPart.CFrame = tre.WoodSection.CFrame
return true, "Don get tre!"
end
function SolidWater(value)
for i,v in next,game.Workspace.Water:GetChildren() do
if v.Name == "Water" then
if value then
v.CanCollide = true
else
v.CanCollide = false
end;
end;
end;
end;
function BringPlayer()
local oldpos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
repeat wait()
game.Players.LocalPlayer.Character.Humanoid.SeatPart.Parent:SetPrimaryPartCFrame(ga
me.Players[plrselected.Name].Character.Head.CFrame,
(game.Players.LocalPlayer.Character.HumanoidRootPart))
game.Players.LocalPlayer.Character.Humanoid.SeatPart.Parent:SetPrimaryPartCFrame(ga
me.Players.LocalPlayer.Character.Humanoid.SeatPart.CFrame *
CFrame.Angles(math.rad(180),0,0))
until game.Players[plrselected.Name].Character.Humanoid.SeatPart
game.Players.LocalPlayer.Character.Humanoid.SeatPart.Parent:SetPrimaryPartCFrame(ol
dpos,(game.Players.LocalPlayer.Character.HumanoidRootPart))
end;
function KillPlayer()
function teleport(pos)
game.Players.LocalPlayer.Character.Humanoid.SeatPart.Parent:SetPrimaryPartCFrame(po
s,(game.Players.LocalPlayer.Character.HumanoidRootPart))
end;
repeat wait()
game.Players.LocalPlayer.Character.Humanoid.SeatPart.Parent:SetPrimaryPartCFrame(ga
me.Players[plrselected.Name].Character.Head.CFrame,
(game.Players.LocalPlayer.Character.HumanoidRootPart))
game.Players.LocalPlayer.Character.Humanoid.SeatPart.Parent:SetPrimaryPartCFrame(ga
me.Players.LocalPlayer.Character.Humanoid.SeatPart.CFrame *
CFrame.Angles(math.rad(180),0,0))
until game.Players[plrselected.Name].Character.Humanoid.SeatPart
teleport(CFrame.new(-1675.2, 261.303, 1284.2))
end;
function TriggerAllPressurePlates()
for i,v in next,game.Workspace.PlayerModels:GetChildren() do
if v:FindFirstChild("ItemName") and v.ItemName.Value == "PressurePlate"
then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.Plate.CFrame
wait(0.7)
end;
end;
end;
function GetGreenBox()
firetouchinterest(game.Workspace.Region_Volcano.VolcanoWin,game.Players.LocalPlayer
.Character.HumanoidRootPart, 0)
end;
function LT2Music(value)
game.Players.LocalPlayer.Music.Value = value
end;
function SafeSuicide()
game.Players.LocalPlayer.Character.Head:Destroy()
end;
function DropAllTools()
if #game.Players.LocalPlayer.Backpack:GetChildren() <= 0 then
return
Library:Notify("You Have 0 Axes in Backpack")
end;
game:GetService("ReplicatedStorage").LoadSaveRequests.RequestLoad:InvokeServer(Slot
,game:GetService("Players").LocalPlayer)
repeat task.wait() until
game:GetService("Players").LocalPlayer.OwnsProperty.Value == true
repeat task.wait() until
game:GetService("ReplicatedStorage").LoadSaveRequests.ClientMayLoad:InvokeServer(ga
me:GetService("Players").LocalPlayer)
wait(0.5)
end
function CountAllAxes()
local count = 0
if game.Players.LocalPlayer.Character:FindFirstChild("Tool") ~= nil then
if game.Players.LocalPlayer.Character("Tool") then
count = count + 1
end;
end;
function BringTree()
tbs = game.Workspace.LogModels.ChildAdded:Connect(function(k)
if k:WaitForChild("Owner") and k.Owner.Value == game.Players.LocalPlayer then
if k:WaitForChild("TreeClass") and k.TreeClass.Value == Tree then
if k:WaitForChild("WoodSection") then
for i = 1,50 do
k.WoodSection.CFrame = old
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(k)
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(k)
k.WoodSection.CFrame = old
wait()
end;
end;
end;
end;
td = true
end)
for i = 1,Amount do
for i,v in next,game.Workspace:GetChildren() do
if v.Name == "TreeRegion" then
for i,b in next,v:GetChildren() do
if b.Name == "Model" then
if b:FindFirstChild("Owner") and b.Owner.Value == nil then
if b:FindFirstChild("TreeClass") and b.TreeClass.Value == Tree then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(b:FindFirstChild("WoodSection").CFrame.p)
found = b
end;
end;
end;
end;
end;
end;
treeadded = game.Workspace.LogModels.ChildAdded:Connect(function(added)
if added:FindFirstChild("Owner") and added.Owner.Value ==
game.Players.LocalPlayer then
cut = added
end;
end)
repeat wait(0.1)
game:GetService("ReplicatedStorage").Interaction.RemoteProxy:FireServer(found.CutEv
ent,{["tool"] = game.Players.LocalPlayer.Character:FindFirstChild("Tool"),
["faceVector"] = Vector3.new(1, 0, 0),["height"] = 0.32,["sectionId"] = 1,
["hitPoints"] =
HitPoints[game.Players.LocalPlayer.Character:FindFirstChild("Tool").ToolName.Value]
,["cooldown"] = 0.25837870788574,["cuttingClass"] = "Axe"})
until td
tb = false
end;
tbs:Disconnect()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = old
end;
function SellLogs()
for i,v in next,game.Workspace.LogModels:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer
then
if v:FindFirstChild("TreeClass") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.InnerWood.CFrame
wait(1)
if v.WoodSection then
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
v.WoodSection.CFrame = CFrame.new(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)
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
v.WoodSection.CFrame = CFrame.new(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)
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
end;
end;
end;
end;
end;
function TeleportLog()
local oldpos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
for i,v in next,game.Workspace.LogModels:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer
then
if v:FindFirstChild("TreeClass") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.InnerWood.CFrame
wait(1)
if v.WoodSection then
for i = 1,10 do
repeat wait()
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
v.WoodSection.CFrame =
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
v.WoodSection.CFrame =
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = oldpos
until v.WoodSection.CFrame
end;
end;
end;
end;
end;
end;
function SellPlanks()
for i,v in next,game.Workspace.PlayerModels:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer
then
if v:FindFirstChild("TreeClass") then
if v.WoodSection then
repeat wait()
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
v.WoodSection.CFrame = CFrame.new(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)
v.WoodSection.CFrame = CFrame.new(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)
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
until v.WoodSection.CFrame
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 = Mouse.Target.Parent
if target:FindFirstChild("Owner") and target:FindFirstChild("WoodSection")
then
for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
if Mouse.Target:FindFirstChild("Selection") then
else
local bob = Instance.new("SelectionBox", target.WoodSection)
bob.Name = "Selection"
bob.Adornee = bob.Parent
--a.AlwaysOnTop = true
bob.SurfaceTransparency = 0.75
bob.LineThickness = 0.02
bob.SurfaceColor3 = Color3.fromRGB(0,0,0)
bob.Color3 = Color3.fromRGB(255,0,0)
end
end
end
end)
end
function TeleportItems()
local ItemType = ItemType3
local Cords = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
for i = 1,30 do
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
v:SetPrimaryPartCFrame(Cords + Vector3.new(0, 5, 0))
task.wait(0)
end;
end;
end;
end;
end;
function SpookMode(value)
game.Lighting.Spook.Value = value
end;
function VehicleSpeed(value)
for i,v in next,game.Workspace.PlayerModels:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer
then
if v:FindFirstChild("Type") and v.Type.Value == "Vehicle" then
if v:FindFirstChild("DriveSeat") then
v.Configuration.MaxSpeed.Value = value
end;
end;
end;
end;
end;
function UnFlipVehicle()
game.Players.LocalPlayer.Character.Humanoid.SeatPart.Parent:SetPrimaryPartCFrame(ga
me.Players.LocalPlayer.Character.Humanoid.SeatPart.CFrame *
CFrame.Angles(math.rad(180),0,0))
end;
function Freeland()
for i,v in next, game:GetService("Workspace").Properties:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == nil then
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientPurchasedProperty:Fir
eServer(v,v.OriginSquare.Position)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.OriginSquare.CFrame + Vector3.new(0,2,0)
break
end
end
end
function Maxland()
for i,v in next,game.Workspace.Properties:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer
then
trueig = v trueig2 = v.OriginSquare plot =
v,maxid1,pointoftheland,trueig2 function maxid1(pointoftheland)
game.ReplicatedStorage.PropertyPurchasing.ClientExpandedProperty:FireServer(trueig,
pointoftheland) end
maxlandakllplots = trueig2.Position
maxid1(CFrame.new(maxlandakllplots.X + 40, maxlandakllplots.Y,
maxlandakllplots.Z),plot)maxid1(CFrame.new(maxlandakllplots.X + 40,
maxlandakllplots.Y, maxlandakllplots.Z),plot)maxid1(CFrame.new(maxlandakllplots.X -
40, maxlandakllplots.Y, maxlandakllplots.Z))maxid1(CFrame.new(maxlandakllplots.X,
maxlandakllplots.Y, maxlandakllplots.Z + 40))maxid1(CFrame.new(maxlandakllplots.X,
maxlandakllplots.Y, maxlandakllplots.Z - 40))maxid1(CFrame.new(maxlandakllplots.X +
40, maxlandakllplots.Y, maxlandakllplots.Z +
40))maxid1(CFrame.new(maxlandakllplots.X + 40, maxlandakllplots.Y,
maxlandakllplots.Z - 40))maxid1(CFrame.new(maxlandakllplots.X - 40,
maxlandakllplots.Y, maxlandakllplots.Z + 40))maxid1(CFrame.new(maxlandakllplots.X -
40, maxlandakllplots.Y, maxlandakllplots.Z -
40))maxid1(CFrame.new(maxlandakllplots.X + 80, maxlandakllplots.Y,
maxlandakllplots.Z))maxid1(CFrame.new(maxlandakllplots.X - 80, maxlandakllplots.Y,
maxlandakllplots.Z))maxid1(CFrame.new(maxlandakllplots.X, maxlandakllplots.Y,
maxlandakllplots.Z + 80))maxid1(CFrame.new(maxlandakllplots.X, maxlandakllplots.Y,
maxlandakllplots.Z - 80))maxid1(CFrame.new(maxlandakllplots.X + 80,
maxlandakllplots.Y, maxlandakllplots.Z + 80))maxid1(CFrame.new(maxlandakllplots.X +
80, maxlandakllplots.Y, maxlandakllplots.Z -
80))maxid1(CFrame.new(maxlandakllplots.X - 80, maxlandakllplots.Y,
maxlandakllplots.Z + 80))maxid1(CFrame.new(maxlandakllplots.X - 80,
maxlandakllplots.Y, maxlandakllplots.Z - 80))maxid1(CFrame.new(maxlandakllplots.X +
40, maxlandakllplots.Y, maxlandakllplots.Z +
80))maxid1(CFrame.new(maxlandakllplots.X - 40, maxlandakllplots.Y,
maxlandakllplots.Z + 80))maxid1(CFrame.new(maxlandakllplots.X + 80,
maxlandakllplots.Y, maxlandakllplots.Z + 40))maxid1(CFrame.new(maxlandakllplots.X +
80, maxlandakllplots.Y, maxlandakllplots.Z -
40))maxid1(CFrame.new(maxlandakllplots.X - 80, maxlandakllplots.Y,
maxlandakllplots.Z + 40))maxid1(CFrame.new(maxlandakllplots.X - 80,
maxlandakllplots.Y, maxlandakllplots.Z - 40))maxid1(CFrame.new(maxlandakllplots.X +
40, maxlandakllplots.Y, maxlandakllplots.Z -
80))maxid1(CFrame.new(maxlandakllplots.X - 40, maxlandakllplots.Y,
maxlandakllplots.Z - 80))
end
end
end
function LoadSlot()
game.ReplicatedStorage.LoadSaveRequests.RequestLoad:InvokeServer(SlotValue,game.Pla
yers.LocalPlayer)
end;
function SaveSlot()
game.ReplicatedStorage.LoadSaveRequests.RequestSave:InvokeServer(SlotValue,
game.Players.LocalPlayer)
end;
function SellPropertySoldSign()
for i,v in next, game:GetService("Workspace").PlayerModels:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value ==
game.Players.LocalPlayer then
if v:FindFirstChild("ItemName") and v.ItemName.Value ==
"PropertySoldSign" then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(v.Main.CFrame.p) + Vector3.new(0,0,2)
game:GetService("ReplicatedStorage").Interaction.ClientInteracted:FireServer(v,"Tak
e down sold sign")
for i = 1,30 do
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(v)
v.Main.CFrame = CFrame.new(314.54, -0.5, 86.823)
task.wait()
end
end
end
end
end
function FindUnit()
for i,v in next,game.Workspace.PlayerModels:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer
then
if v:FindFirstChild("TreeClass") and v.TreeClass.Value == Tree then
if v:FindFirstChild("WoodSection") and v.WoodSection.Size ~=
Vector3.new(1,1,1) then
return v
end;
end;
end;
end;
end;
thingo69 = game.Workspace.PlayerModels.ChildAdded:Connect(function(v1)
local oldpos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
if v1:WaitForChild("Owner") and v1.Owner.Value == game.Players.LocalPlayer then
if v1:WaitForChild("Type") and v1.Type.Value == "Blueprint" then
local getwood = FindUnit()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
getwood.WoodSection.CFrame
for i = 1,24 do
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(getwood)
FindUnit().WoodSection.CFrame = v1.Main.CFrame
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(getwood)
FindUnit().WoodSection.CFrame = v1.Main.CFrame
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 = game.Players.LocalPlayer: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 = game.Players.LocalPlayer
local GetChar = function()
if Player.Character == nil then
repeat task.wait() until Player.Character ~= nil
return Player.Character
else
return Player.Character
end
end
local AutoBlacklistAll = false
local AutoWhitelistAll = false
local Start = os.clock();
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
game.Lighting.Changed:connect(function()
if Day then
game.Lighting.TimeOfDay = "12:00:00"
elseif Night then
game.Lighting.TimeOfDay = "24:00:00"
end
end)
function walkspeed()
game.Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal("WalkSpeed"):C
onnect(function()
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = getgenv().Speed
end)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = getgenv().Speed
end
function jumppower()
game.Players.LocalPlayer.Character.Humanoid.JumpPower = getgenv().Jump
end
function GetChar()
local Player = game.Players.LocalPlayer
if Player.Character == nil then
repeat task.wait() until Player.Character ~= nil
return Player.Character
else
return Player.Character
end
end
function BetterFly()
repeat wait() until game.Players.LocalPlayer and
game.Players.LocalPlayer.Character and
game.Players.LocalPlayer.Character:findFirstChild("Head") and
game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
local mouse = game.Players.LocalPlayer:GetMouse()
repeat wait() until mouse
local plr = game.Players.LocalPlayer
local torso = plr.Character.Head
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 = Instance.new("BodyGyro", torso)
bg.P = 9e4
bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
bg.cframe = torso.CFrame
local bv = Instance.new("BodyVelocity", torso)
bv.velocity = Vector3.new(0,0.1,0)
bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
repeat wait()
plr.Character.Humanoid.PlatformStand = 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
bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector *
(ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame *
CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) -
game.Workspace.CurrentCamera.CoordinateFrame.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
bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector *
(lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame *
CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*0.2,0).p) -
game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
else
bv.velocity = Vector3.new(0,0,0)
end
bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-
math.rad((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()
plr.Character.Humanoid.PlatformStand = false
end
mouse.KeyDown: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)
mouse.KeyUp: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
game.Players.LocalPlayer.CharacterAdded:Connect(BetterFly)
BetterFly()
function noclip()
Clip = false
local function Nocl()
if Clip == false and game.Players.LocalPlayer.Character ~= nil then
for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants())
do
if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
v.CanCollide = 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()
game.Workspace.ChildAdded:connect(function(a)
if a.Name == "Dragger" then
local bg = a:WaitForChild("BodyGyro")
local bp = a:WaitForChild("BodyPosition")
repeat
if CustomDragger then
task.wait()
bp.P = 120000
bp.D = 1000
bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
else
wait()
bp.P = 10000
bp.D = 800
bp.maxForce = Vector3.new(17000, 17000, 17000)
bg.maxTorque = Vector3.new(200, 200, 200)
end
until not a
end
end)
end
function clicktp()
if _G.Velocity == nil then
_G.Velocity = true
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
--Only click teleport if the toggle is enabled
if _G.Velocity and
UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
player.Character:MoveTo(Vector3.new(mouse.Hit.x, mouse.Hit.y,
mouse.Hit.z))
end
end
end)
else
_G.Velocity = not _G.Velocity
end
end
function flashlight(arg)
if arg == "on" then
local flashlight = Instance.new("PointLight",
game.Players.LocalPlayer.Character.Head)
flashlight.Name = "Flashlight"
flashlight.Color = Color3.new(1, 1, 1)
flashlight.Range = 100
flashlight.Brightness = 10
flashlight.Shadows = true
elseif arg == "off" then
game.Players.LocalPlayer.Character.Head.Flashlight:Destroy()
end
end
function TeleportToPlayer()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
game.Players[plrselected.Name].Character.HumanoidRootPart.CFrame
end;
function TeleportToBase()
game.Players.LocalPlayer.Character.Humanoid.Jump = true
wait(0.1)
for i,v in next,game.Workspace.Properties:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value ==
game.Players[plrselected.Name] then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.OriginSquare.CFrame
game.Players.LocalPlayer.Character.Humanoid.Jump = true
wait(0.1)
end
end
end
function set_waypoint()
local char = GetChar()
local Player = game.Players.LocalPlayer
local mouse = Player:GetMouse()
local part = Instance.new("Part", workspace)
part.Anchored = true
part.CanCollide = false
part.Size = Vector3.new(1, 1, 1)
end
function CreateWaypointPart()
for _,v in pairs(workspace:GetChildren()) do
if v.Name == "WaypointLocation" then
v:Destroy()
end
end
WayPointPart = nil
local WayPointPart = Instance.new("Part")
WayPointPart.Parent = workspace
WayPointPart.Name = "WaypointLocation"
WayPointPart.Size = Vector3.new(1.5,1.5,1.5)
WayPointPart.Position = GetChar().HumanoidRootPart.Position
WayPointPart.BrickColor = BrickColor.new("White")
WayPointPart.Transparency = 0.5
WayPointPart.CanCollide = false
WayPointPart.Anchored = true
local BHA = Instance.new("BoxHandleAdornment")
BHA.Parent = WayPointPart
BHA.Adornee = WayPointPart
BHA.Name = "WayPointAdornment"
BHA.Size = WayPointPart.Size
BHA.AlwaysOnTop = true
BHA.ZIndex = 0
BHA.Transparency = 0.3
BHA.Color = BrickColor.new("White")
WayPointPart = WayPointPart
end
function remove_waypoint()
for _,v in pairs(workspace:GetChildren()) do
if v.Name == "WaypointLocation" then
v:Destroy()
end
end
end
function tele_to_waypoint()
local char = GetChar()
local Player = game.Players.LocalPlayer
local mouse = Player:GetMouse()
local part = Instance.new("Part", workspace)
part.Anchored = true
part.CanCollide = false
part.Size = Vector3.new(1, 1, 1)
part.Position = WayPointPart.Position
local tween = game:GetService("TweenService"):Create(char.HumanoidRootPart,
TweenInfo.new((char.HumanoidRootPart.Position - part.Position).Magnitude / 100,
Enum.EasingStyle.Linear), {CFrame = part.CFrame})
tween:Play()
tween.Completed:Wait()
part:Destroy()
end
function LoadSlot(slot)
if not
game:GetService("ReplicatedStorage").LoadSaveRequests.ClientMayLoad:InvokeServer(ga
me:GetService("Players").LocalPlayer) then
print("Load Is On cooldown Please Wait")
repeat task.wait() until
game:GetService("ReplicatedStorage").LoadSaveRequests.ClientMayLoad:InvokeServer(ga
me:GetService("Players").LocalPlayer)
end
local skipLoading = skil.skipLoading
game:GetService("ReplicatedStorage").LoadSaveRequests.RequestLoad:InvokeServer(slot
,game.Players.LocalPlayer)
if game:GetService("Players").LocalPlayer.CurrentSaveSlot.Value == slot then
print("Loaded Slot "..slot)
end
end
function dupe_load(slot)
if not
game:GetService("ReplicatedStorage").LoadSaveRequests.ClientMayLoad:InvokeServer(ga
me:GetService("Players").LocalPlayer) then
print("Load Is On cooldown Please Wait")
repeat task.wait() until
game:GetService("ReplicatedStorage").LoadSaveRequests.ClientMayLoad:InvokeServer(ga
me:GetService("Players").LocalPlayer)
end
if slot then
skipLoading = true
end
game:GetService("ReplicatedStorage").LoadSaveRequests.RequestLoad:InvokeServer(slot
,game.Players.LocalPlayer)
if game:GetService("Players").LocalPlayer.CurrentSaveSlot.Value == 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 v.Owner.Value == game.Players.LocalPlayer
then
if v:FindFirstChild("ItemName") and v.ItemName.Value ==
"PropertySoldSign" then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(v.Main.CFrame.p) + Vector3.new(0,0,2)
game:GetService("ReplicatedStorage").Interaction.ClientInteracted:FireServer(v,"Tak
e down sold sign")
for i = 1,30 do
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(v)
v.Main.CFrame = CFrame.new(314.54, -0.5, 86.823)
task.wait()
end
end
end
end
end
function FreeLand()
for i,v in next, game:GetService("Workspace").Properties:GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == nil then
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientPurchasedProperty:Fir
eServer(v,v.OriginSquare.Position)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.OriginSquare.CFrame + Vector3.new(0,2,0)
break
end
end
end
function SetPermissions(Val)
for i,v in pairs(game:GetService("Players"):GetChildren()) do
if v.Name ~= game.Players.LocalPlayer.Name then
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"Visit",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"PlaceStructure",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"MoveStructure",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"Destroy",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"Drive",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"Sit",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"Interact",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"Grab",Val)
game:GetService("ReplicatedStorage").Interaction.UpdateUserSettings:FireServer("Use
rPermission",v.UserId,"Save",Val)
end
end
end
function AutoWhiteList()
SetPermissions(true)
if AutoWhitelistAll == true then
WLPlayerAdded = game.Players.ChildAdded:Connect(function(n)
if n.Name ~= game.Players.LocalPlayer.Name then
SetPermissions(true)
end
end)
else
WLPlayerAdded:Disconnect()
end
end
function AutoBlacklist()
SetPermissions(false)
if AutoBlacklistAll == true then
WLPlayerAdded = game.Players.ChildAdded:Connect(function(n)
if n.Name ~= game.Players.LocalPlayer.Name then
SetPermissions(false)
end
end)
else
BLPlayerAdded:Disconnect()
end
end
function MaxLand()
for s,d in pairs(workspace.Properties:GetChildren()) do
if d:FindFirstChild("Owner") and d:FindFirstChild("OriginSquare") and
d.Owner.Value == game.Players.LocalPlayer then
local PlotPos = d.OriginSquare.Position
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 40, PlotPos.Y, PlotPos.Z))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 40, PlotPos.Y, PlotPos.Z))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X , PlotPos.Y, PlotPos.Z + 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X , PlotPos.Y, PlotPos.Z - 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 40 , PlotPos.Y, PlotPos.Z + 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 40 , PlotPos.Y, PlotPos.Z - 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 40 , PlotPos.Y, PlotPos.Z + 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 40 , PlotPos.Y, PlotPos.Z - 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 80 , PlotPos.Y, PlotPos.Z))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 80 , PlotPos.Y, PlotPos.Z))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X , PlotPos.Y, PlotPos.Z + 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X , PlotPos.Y, PlotPos.Z - 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 80 , PlotPos.Y, PlotPos.Z + 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 80 , PlotPos.Y, PlotPos.Z - 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 80 , PlotPos.Y, PlotPos.Z + 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 80 , PlotPos.Y, PlotPos.Z - 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 40 , PlotPos.Y, PlotPos.Z + 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 40 , PlotPos.Y, PlotPos.Z + 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 80 , PlotPos.Y, PlotPos.Z + 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 80 , PlotPos.Y, PlotPos.Z - 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 80 , PlotPos.Y, PlotPos.Z + 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X - 80 , PlotPos.Y, PlotPos.Z - 40))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(PlotPos.X + 40 , PlotPos.Y, PlotPos.Z - 80))
game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty:Fire
Server(d,CFrame.new(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 v.Owner.Value == game.Players.LocalPlayer
then
if v:FindFirstChild("Type") and v.Type.Value == "Vehicle" then
if v:FindFirstChild("Configuration") then
v.Configuration.MaxSpeed.Value = Val
end
end
end
end
end
Players = game.Players
IYMouse = Players.LocalPlayer:GetMouse()
speaker = Players.LocalPlayer
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 Players.LocalPlayer and Players.LocalPlayer.Character and
getRoot(Players.LocalPlayer.Character) and
Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
repeat wait() until IYMouse
if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect()
end
local T = getRoot(Players.LocalPlayer.Character)
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
Players.LocalPlayer.Character: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
BV.velocity =
((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) +
((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R,
(CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) -
workspace.CurrentCamera.CoordinateFrame.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
BV.velocity =
((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) +
((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R,
(lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) -
workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
else
BV.velocity = Vector3.new(0, 0, 0)
end
BG.cframe = workspace.CurrentCamera.CoordinateFrame
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 Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand =
false
end
end)
end
flyKeyDown = IYMouse.KeyDown: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() workspace.CurrentCamera.CameraType = Enum.CameraType.Track
end)
end)
flyKeyUp = IYMouse.KeyUp: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 Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand =
false
end
pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
end)
end
function FlipVehcile()
local player = game.Players.LocalPlayer
local humanoid = player.Character.Humanoid
if humanoid.Seated then
local CurrentSeat = player.Character.Humanoid.SeatPart
if CurrentSeat and CurrentSeat.Parent.Type.Value == "Vehicle" then
CurrentSeat.CFrame = CurrentSeat.CFrame * CFrame.Angles(math.rad(-180), 0, 0)
+ Vector3.new(0, 5, 0),1000,CurrentSeat.CFrame
end
end
end
function count_backpack()
local backpack = game.Players.LocalPlayer.Backpack:GetChildren()
local count = 0
for i,v in pairs(backpack) do
count = count + 1
end
return count
end
-----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
------------------------------------------------------- UI
-----------------------------------------------------------------------------------
-----------------------
-----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
-----------------------------------------------------------------
--// 1.1 //-- Item Functions
-----------------------------------------------------------------
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 game.Workspace:FindFirstChild("jore") then game.Workspace.jore:Destroy() end
local CordsPart = Instance.new("Part",game.Workspace)
CordsPart.CanCollide = false
CordsPart.Anchored = true
CordsPart.Shape = Enum.PartType.Block
CordsPart.BrickColor = BrickColor.new("Really black")
CordsPart.Transparency = 0.40
CordsPart.Size = Vector3.new(1.5, 1.5, 1.5)
CordsPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
CordsPart.Material = Enum.Material.Neon
CordsPart.Name = "jore"
Cords = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
end
function SelectionTp()
local Old = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
for i,v in next, game.Workspace.PlayerModels:GetDescendants() do
if v:FindFirstChild("Selection") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(v:FindFirstChild("Selection").Parent.CFrame.p) * CFrame.new(5,0,0)
task.wait(0.1)
for a = 1,25,1 do
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(v.Pare
nt)
v.Selection.Parent.CFrame = Cords
task.wait()
end
end
end
task.wait(0.5)
_G.TRUEORNOTTRUE = true
if _G.TRUEORNOTTRUE == true then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Old
end
_G.Autodeselect = true
if _G.Autodeselect == true then
for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
if v:FindFirstChild("Main") then
if v.Main:FindFirstChild("Selection") then
v.Main.Selection:Destroy()
end
end
end
end
end
function GetChar()
local Player = game.Players.LocalPlayer
if Player.Character == nil then
repeat task.wait() until Player.Character ~= nil
return Player.Character
else
return Player.Character
end
end
function remove_waypoint()
game.Workspace:FindFirstChild("jore"):Destroy()
end
function tele_to_waypoint()
local Char = GetChar()
local Humanoid = Char:FindFirstChildOfClass("Humanoid")
local Root = Char:FindFirstChild("HumanoidRootPart")
local Waypoint = game.Workspace:FindFirstChild("jore")
if Waypoint then
local WaypointPos = Waypoint.Position
local RootPos = Root.Position
local Distance = (WaypointPos - RootPos).magnitude
local TpTime = Distance / Humanoid.WalkSpeed
local TpPos = CFrame.new(WaypointPos)
Root.CFrame = TpPos
task.wait(TpTime)
end
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 = Mouse.Target.Parent
if target:FindFirstChild("Owner") and target:FindFirstChild("Main") then
for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
if Mouse.Target:FindFirstChild("Selection") then
else
local bob = Instance.new("SelectionBox", target.Main)
bob.Name = "Selection"
bob.Adornee = bob.Parent
--a.AlwaysOnTop = true
bob.SurfaceTransparency = 0.75
bob.LineThickness = 0.02
bob.SurfaceColor3 = Color3.fromRGB(0,0,0)
bob.Color3 = Color3.fromRGB(255,0,0)
end
end
end
end)
end
function WoodSelectionTp(direction,tp)
if direction == "Sideways" then
OldHumanCFrameSpot =
game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
OldWoodPlace1 =
game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame *
CFrame.Angles(math.rad(90), 0, 0) + Vector3.new(0, -5,
0),1000,game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFram
e
elseif direction == "Upwards" then
OldHumanCFrameSpot =
game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
OldWoodPlace1 =
game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
end
for i,v in next, game.Workspace.PlayerModels:GetDescendants() do
if v:FindFirstChild("Selection") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(v:FindFirstChild("Selection").Parent.CFrame.p) * CFrame.new(5,0,0)
if not v.Parent.PrimaryPart then
v.Parent.PrimaryPart = v:FindFirstChild("Selection").Parent
end
for a = 1,25,1 do
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(v.Pare
nt)
v.Selection.Parent.CFrame = Cords
task.wait()
end
if _G.aftertpdeselect == true then
v.Selection:Destroy()
end
end
end
task.wait(0.5)
if tp == true then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
OldHumanCFrameSpot
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------
--- Item Functions End ---
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------
local TeleportReliablity = 30
local OldCharacterPos;
if ToTeleportBeforeBringing then
Character.HumanoidRootPart.Anchored = true
for i = 1,10 do
Character.Humanoid.Sit = false
if (Character.HumanoidRootPart.Position -
Model.PrimaryPart.Position).Magnitude > 17 then
Character:SetPrimaryPartCFrame(CFrame.new(Model.PrimaryPart.Position +
Vector3.new(5,3,5)))
end
game:GetService("RunService").Stepped:Wait()
end
Character.HumanoidRootPart.Anchored = false
end
for i = 1,TeleportReliablity do
if not Model.PrimaryPart then break end
Character.Humanoid.Sit = false
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(Model)
Model:SetPrimaryPartCFrame(Position)
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(Model)
wait(0.1)
if ToTeleportAfterBringing then
task.spawn(function()
for i = 1,10 do
Character:SetPrimaryPartCFrame(OldCharacterPos +
Vector3.new(0,5,0))
Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
Character.HumanoidRootPart.RotVelocity = Vector3.new(0,0,0)
task.wait()
end
end)
end
end
-----------------------------------------------------------------------------------
-----------------
---------------------------------------------- SETUP
----------------------------------------------
-----------------------------------------------------------------------------------
-----------------
local CancelActions;
local Counters = {
["Thom"] = Vector3.new(268, 2, 67.4);
["Bob"] = Vector3.new(260, 7.2, -2551);
["Corey"] = Vector3.new(477, 2.4, -1722);
["Jenny"] = Vector3.new(528, 2.4, -1459);
["Timothy"] = Vector3.new(5238, -167.2, 740);
["Lincoln"] = Vector3.new(4595, 6.2, -785);
}
local StoreOwnerIDs = {
["Thom"] = 7;
["Bob"] = 10;
["Corey"] = 8;
["Jenny"] = 9;
["Timothy"] = 11;
["Lincoln"] = 12;
}
local StoreOwnerPositions = {
["Thom"] = Vector3.new(262.4, 2.99929, 70.3);
["Bob"] = Vector3.new(255.351, 8.39809, -2553.31);
["Corey"] = Vector3.new(472.8, 3.798523, -1716.7);
["Jenny"] = Vector3.new(532.11, 3.798914, -1465.63);
["Timothy"] = Vector3.new(5232.4, -166.201, 742.9);
["Lincoln"] = Vector3.new(4591.8, 7.59853, -782.101);
}
function GetPrice(Name)
if ReplicatedStorage.ClientItemInfo:FindFirstChild(Name) then
return ReplicatedStorage.ClientItemInfo[Name].Price.Value
else
print("Could not find Item")
end
end
function GetItem(Name)
local Items = {}
for _,v in pairs(workspace.Stores:GetDescendants()) do
if v:IsA("StringValue") and v.Name == "BoxItemName" then
--if Name ~= "Wire" then
if v.Value == Name then
table.insert(Items, v.Parent)
end
-- elseif Name == "Wire" then
--end
end
end
return Items
end
function GetClosestStoreOwner(BasePos)
local ClosestStoreOwner
local TargetDistance = math.huge
return ClosestStoreOwner
end
function PurchaseItem(ID)
ReplicatedStorage.NPCDialog.PlayerChatted:InvokeServer({
["Character"] = "",
["Name"] = "",
["ID"] = ID,
["Dialog"] = ""
},"ConfirmPurchase")
end
function BuyItem(Item,Amount,Position)
local ToBuyFrom
local MerchantID
AbortAutoBuy=false
local autotpback = game.Workspace.PlayerModels.ChildAdded:connect(function(v)
v:WaitForChild('Owner', 60)
if v.Owner.Value == game.Players.LocalPlayer then
for i = 1, 20 do
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(v)
v:PivotTo(Position)
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging: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]
task.wait()
until Item~=nil
end
local ItemName = Item.BoxItemName.Value
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=Item.Main.CFrame
task.wait(0.1)
for i=1,30 do
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(Item)
Item:PivotTo(CFrame.new(Counters[ToBuyFrom])+ Vector3.new(0,0.6,0))
game:GetService("ReplicatedStorage").Interaction.ClientIsDragging:FireServer(Item)
task.wait()
end
task.wait(0.1)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Counters[ToBu
yFrom]) + Vector3.new(2,0,2)
repeat
if AbortAutoBuy==true then break end
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Counters[ToBu
yFrom]) + Vector3.new(2,0,2)
PurchaseItem(MerchantID)
wait()
until Item.Owner.Value==game.Players.LocalPlayer and
Item.Parent~="ShopItem"
game.StarterGui: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 v.Name == item and v:FindFirstChild("Price") then
Price = Price + v.Price.Value * 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(workspace.Stores:GetDescendants()) do -- check if you can
purchase
if x.Name == "BoxItemName" then
if x.Value == v.Name and not table.find(ItemList, v.Name.. "--" ..
tostring(GetPrice(v.Name,1))) then
table.insert(ItemList, v.Name.. "--" ..
tostring(GetPrice(v.Name,1)))
end
end
end
end
end
local BuyListDropdown
return false
end
else
return true
end
return true
end
if WayPointPart then
if TPToWPorPLR == false then -- wp
return WayPointPart.CFrame
else
return GetChar().Head.CFrame
end
else
return GetChar().Head.CFrame
end
end
function AntiAFK(Val)
if not Val then AFKVal:Disconnect() return end
AFKVal = game:GetService("Players").LocalPlayer.Idled: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
game.Players.LocalPlayer.Character.Head.PointLight:Destroy() return end
local PL =
Instance.new("PointLight",game.Players.LocalPlayer.Character:FindFirstChild("Head")
)
PL.Range = 100
PL.Brightness = 1
PL.Shadows = false
end
function reset_camera_pos()
local cam = (workspace.CurrentCamera);
local char = (workspace:FindFirstChild(game.Players.LocalPlayer.Name));
cam.CFrame = CFrame.new(10,50,75);
wait(3);
cam.CameraSubject = (char:FindFirstChild("Humanoid"));
cam.CameraType = Enum.CameraType.Custom;
wait();
script:Destroy();
end
function Pay(ID)
spawn(function()
game:GetService("ReplicatedStorage").NPCDialog.PlayerChatted:InvokeServer({["ID"] =
ID,["Character"] = "name",["Name"] = "name",["Dialog"] = 'Dialog'},
"ConfirmPurchase");
end)
end
-----------------------------------------------------
---
---gui
local ui = library:new("Xiyizi X")
--
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")
--player
local Humanoid = Player:section('Humanoid',true)
end
FlyingEnabled = value
end)
---
local Tp = Teleport:section('Teleports',true)
Vs:Button('Flip/Unflip', function()
UnFlipVehicle()
end)
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)
CuttingTree = true
local OldCharacterPos = GetWPLoc()
GetChar():SetPrimaryPartCFrame(OldCharacterPos)
CuttingTree = false
CancelActions = false
end)
wait(0.1)
for _, Plank in pairs(game.Workspace.PlayerModels:GetChildren()) do
if Plank.Name=="Plank" and Plank:findFirstChild("Owner") then
if Plank.Owner.Value == game.Players.LocalPlayer then
for i,v in pairs(Plank:GetChildren()) do
if v.Name=="WoodSection" then
spawn(function()
for i=1,10 do
wait()
v.CFrame=CFrame.new(Vector3.new(315, -0.296,
85.791))*CFrame.Angles(math.rad(90),0,0)
end
end)
end
end
spawn(function()
for i=1,20 do
wait()
game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Plank)
end
end)
end
end
end
end)
CuttingTree = true
GetChar():SetPrimaryPartCFrame(OldCharacterPos)
CuttingTree = false
CancelActions = false
end)
---
Pi:Button('Buy', function()
if not CheckIfWPPlaced() then return end
if ItemToBuy then
CuttingTree = true
local OldCharacterPos = GetChar().Head.CFrame
BuyItem(string.split(ItemToBuy, "--")[1],AmountToBuy,GetWPLoc())
CuttingTree = true
IsStandingAPlank = true
GetChar():SetPrimaryPartCFrame(OldCharacterPos)
else
game.StarterGui:SetCore("SendNotification", {
Title = "Error";
Text = "Please select an item to buy";
Duration = 5;
})
end
end)
Pi:Button('Stop', function()
AbortAutoBuy=true
end)
game:GetService("ReplicatedStorage").Interaction.ClientInteracted: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
game.Players.LocalPlayer.PlayerBlueprints.Blueprints:FindFirstChild(v.Name) then
if AbortAutoBuy then break end
BuyItem(v.Name, 1)
task.wait()
end
end
end
wait(0.1)
open:Disconnect();
open = nil;
end)
-- # After Script # --
game.Players.PlayerAdded:Connect(function(plr)
table.insert(plrs, plr.Name)
Refresh:SetOptions(plrs)
end)
game.Players.PlayerRemoving:Connect(function(plr)
table.remove(plrs, table.find(plrs, plr.Name))
Refresh:SetOptions(plrs)
end)
-----UMAINTENANE-----
+---update logs---+