Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local LT2 = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local SellPlanks = Instance.new("TextButton")
- local TpBoxes = Instance.new("TextButton")
- local Waypoints = Instance.new("TextButton")
- local SellWood = Instance.new("TextButton")
- local Greywood = Instance.new("TextButton")
- local Duper = Instance.new("TextButton")
- local Minimize = Instance.new("TextButton")
- local WalkText = Instance.new("TextBox")
- local JumpText = Instance.new("TextBox")
- local MenuFrame = Instance.new("Frame")
- local WaypointFrame = Instance.new("Frame")
- local WaypointList = Instance.new("ScrollingFrame")
- local BoxedCars = Instance.new("TextButton")
- local Cave = Instance.new("TextButton")
- local Volcano = Instance.new("TextButton")
- local BobsShack = Instance.new("TextButton")
- local FancyFurnishings = Instance.new("TextButton")
- local LandStore = Instance.new("TextButton")
- local FineArtsShop = Instance.new("TextButton")
- local PalmIsland = Instance.new("TextButton")
- local Swamp = Instance.new("TextButton")
- local SpawnPoint = Instance.new("TextButton")
- local WoodRUs = Instance.new("TextButton")
- local LinksLogic = Instance.new("TextButton")
- local PlotTp = Instance.new("TextButton")
- local PurchasedFrame = Instance.new("Frame")
- local LastPurchasedList = Instance.new("ScrollingFrame")
- local PlankFrame = Instance.new("Frame")
- local ProcessedWoodList = Instance.new("ScrollingFrame")
- local DupeFrame = Instance.new("Frame")
- local Info = Instance.new("TextLabel")
- local Dupe = Instance.new("TextButton")
- local MoreInfo = Instance.new("TextButton")
- local Read = Instance.new("TextLabel")
- local CloseInfo = Instance.new("TextButton")
- local PlayerFrame = Instance.new("Frame")
- local PlayerList = Instance.new("Frame")
- local Player1 = Instance.new("TextButton")
- local Player2 = Instance.new("TextButton")
- local Player3 = Instance.new("TextButton")
- local Player4 = Instance.new("TextButton")
- local Player5 = Instance.new("TextButton")
- local Player6 = Instance.new("TextButton")
- local PlyrSel = Instance.new("TextLabel")
- local TpPlayer = Instance.new("TextButton")
- local TpBase = Instance.new("TextButton")
- local WalkSpeed = Instance.new("TextButton")
- local JumpPower = Instance.new("TextButton")
- local NoClip = Instance.new("TextButton")
- local Check = Instance.new("TextLabel")
- local TextLabel = Instance.new("TextLabel")
- local PlayerTp = Instance.new("TextButton")
- local Tool = Instance.new("TextButton")
- local OpenFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- -- Properties
- LT2.Name = "LT2"
- LT2.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = LT2
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MainFrame.BackgroundTransparency = 0.30000001192093
- MainFrame.BorderColor3 = Color3.new(1, 0, 0)
- MainFrame.Draggable = true
- MainFrame.Position = UDim2.new(0, 495, 0, 65)
- MainFrame.Selectable = true
- MainFrame.Size = UDim2.new(0, 340, 0, 280)
- MainFrame.Visible = false
- SellPlanks.Name = "SellPlanks"
- SellPlanks.Parent = MainFrame
- SellPlanks.BackgroundColor3 = Color3.new(0, 0, 0)
- SellPlanks.BorderColor3 = Color3.new(1, 0, 0)
- SellPlanks.Position = UDim2.new(0, 15, 0, 40)
- SellPlanks.Size = UDim2.new(0, 135, 0, 20)
- SellPlanks.Font = Enum.Font.Fantasy
- SellPlanks.FontSize = Enum.FontSize.Size18
- SellPlanks.Text = "Sell Planks"
- SellPlanks.TextColor3 = Color3.new(1, 0, 0)
- SellPlanks.TextSize = 17
- TpBoxes.Name = "TpBoxes"
- TpBoxes.Parent = MainFrame
- TpBoxes.BackgroundColor3 = Color3.new(0, 0, 0)
- TpBoxes.BorderColor3 = Color3.new(1, 0, 0)
- TpBoxes.Position = UDim2.new(0, 15, 0, 70)
- TpBoxes.Size = UDim2.new(0, 135, 0, 20)
- TpBoxes.Font = Enum.Font.Fantasy
- TpBoxes.FontSize = Enum.FontSize.Size18
- TpBoxes.Text = "Tp Boxes"
- TpBoxes.TextColor3 = Color3.new(1, 0, 0)
- TpBoxes.TextSize = 17
- Waypoints.Name = "Waypoints"
- Waypoints.Parent = MainFrame
- Waypoints.BackgroundColor3 = Color3.new(0, 0, 0)
- Waypoints.BorderColor3 = Color3.new(1, 0, 0)
- Waypoints.Position = UDim2.new(0, 15, 0, 100)
- Waypoints.Size = UDim2.new(0, 135, 0, 20)
- Waypoints.Font = Enum.Font.Fantasy
- Waypoints.FontSize = Enum.FontSize.Size18
- Waypoints.Text = "Waypoints"
- Waypoints.TextColor3 = Color3.new(1, 0, 0)
- Waypoints.TextSize = 17
- SellWood.Name = "SellWood"
- SellWood.Parent = MainFrame
- SellWood.BackgroundColor3 = Color3.new(0, 0, 0)
- SellWood.BorderColor3 = Color3.new(1, 0, 0)
- SellWood.Position = UDim2.new(0, 15, 0, 190)
- SellWood.Size = UDim2.new(0, 135, 0, 20)
- SellWood.Font = Enum.Font.Fantasy
- SellWood.FontSize = Enum.FontSize.Size18
- SellWood.Text = "Sell Wood"
- SellWood.TextColor3 = Color3.new(1, 0, 0)
- SellWood.TextSize = 17
- Greywood.Name = "Greywood"
- Greywood.Parent = MainFrame
- Greywood.BackgroundColor3 = Color3.new(0, 0, 0)
- Greywood.BorderColor3 = Color3.new(1, 0, 0)
- Greywood.Position = UDim2.new(0, 15, 0, 220)
- Greywood.Size = UDim2.new(0, 135, 0, 20)
- Greywood.Font = Enum.Font.Fantasy
- Greywood.FontSize = Enum.FontSize.Size18
- Greywood.Text = "Grey Structures"
- Greywood.TextColor3 = Color3.new(1, 0, 0)
- Greywood.TextSize = 17
- Duper.Name = "Duper"
- Duper.Parent = MainFrame
- Duper.BackgroundColor3 = Color3.new(0, 0, 0)
- Duper.BorderColor3 = Color3.new(1, 0, 0)
- Duper.Position = UDim2.new(0, 15, 0, 130)
- Duper.Size = UDim2.new(0, 135, 0, 20)
- Duper.Font = Enum.Font.Fantasy
- Duper.FontSize = Enum.FontSize.Size18
- Duper.Text = "Duping"
- Duper.TextColor3 = Color3.new(1, 0, 0)
- Duper.TextSize = 17
- Minimize.Name = "Minimize"
- Minimize.Parent = MainFrame
- Minimize.BackgroundColor3 = Color3.new(0, 0, 0)
- Minimize.BorderColor3 = Color3.new(1, 0, 0)
- Minimize.Position = UDim2.new(0, 15, 0, 10)
- Minimize.Size = UDim2.new(0, 20, 0, 20)
- Minimize.Font = Enum.Font.Fantasy
- Minimize.FontSize = Enum.FontSize.Size18
- Minimize.Text = "<"
- Minimize.TextColor3 = Color3.new(1, 0, 0)
- Minimize.TextScaled = true
- Minimize.TextSize = 17
- Minimize.TextWrapped = true
- WalkText.Name = "WalkText"
- WalkText.Parent = MainFrame
- WalkText.BackgroundColor3 = Color3.new(0, 0, 0)
- WalkText.BorderColor3 = Color3.new(1, 0, 0)
- WalkText.Position = UDim2.new(0, 15, 0, 250)
- WalkText.Size = UDim2.new(0, 30, 0, 20)
- WalkText.Font = Enum.Font.Fantasy
- WalkText.FontSize = Enum.FontSize.Size24
- WalkText.Text = "16"
- WalkText.TextColor3 = Color3.new(1, 1, 1)
- WalkText.TextSize = 20
- WalkText.TextWrapped = true
- JumpText.Name = "JumpText"
- JumpText.Parent = MainFrame
- JumpText.BackgroundColor3 = Color3.new(0, 0, 0)
- JumpText.BorderColor3 = Color3.new(1, 0, 0)
- JumpText.Position = UDim2.new(0, 180, 0, 250)
- JumpText.Size = UDim2.new(0, 30, 0, 20)
- JumpText.Font = Enum.Font.Fantasy
- JumpText.FontSize = Enum.FontSize.Size24
- JumpText.Text = "50"
- JumpText.TextColor3 = Color3.new(1, 1, 1)
- JumpText.TextSize = 20
- MenuFrame.Name = "MenuFrame"
- MenuFrame.Parent = MainFrame
- MenuFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MenuFrame.BackgroundTransparency = 0.30000001192093
- MenuFrame.BorderColor3 = Color3.new(1, 0, 0)
- MenuFrame.Position = UDim2.new(0, 160, 0, 40)
- MenuFrame.Size = UDim2.new(0, 170, 0, 200)
- WaypointFrame.Name = "WaypointFrame"
- WaypointFrame.Parent = MenuFrame
- WaypointFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- WaypointFrame.BackgroundTransparency = 0.30000001192093
- WaypointFrame.BorderColor3 = Color3.new(1, 0, 0)
- WaypointFrame.Size = UDim2.new(0, 170, 0, 200)
- WaypointFrame.Visible = false
- WaypointList.Name = "WaypointList"
- WaypointList.Parent = WaypointFrame
- WaypointList.BackgroundColor3 = Color3.new(0, 0, 0)
- WaypointList.BackgroundTransparency = 0.30000001192093
- WaypointList.BorderColor3 = Color3.new(1, 0, 0)
- WaypointList.Size = UDim2.new(0, 170, 0, 200)
- WaypointList.CanvasSize = UDim2.new(0, 0, 1.89999998, 0)
- BoxedCars.Name = "BoxedCars"
- BoxedCars.Parent = WaypointList
- BoxedCars.BackgroundColor3 = Color3.new(0, 0, 0)
- BoxedCars.BorderColor3 = Color3.new(1, 0, 0)
- BoxedCars.Position = UDim2.new(0, 0, 0, 105)
- BoxedCars.Size = UDim2.new(0, 165, 0, 20)
- BoxedCars.Font = Enum.Font.Fantasy
- BoxedCars.FontSize = Enum.FontSize.Size14
- BoxedCars.Text = "Boxed Cars"
- BoxedCars.TextColor3 = Color3.new(1, 0, 0)
- BoxedCars.TextSize = 14
- Cave.Name = "Cave"
- Cave.Parent = WaypointList
- Cave.BackgroundColor3 = Color3.new(0, 0, 0)
- Cave.BorderColor3 = Color3.new(1, 0, 0)
- Cave.Position = UDim2.new(0, 0, 0, 280)
- Cave.Size = UDim2.new(0, 165, 0, 20)
- Cave.Font = Enum.Font.Fantasy
- Cave.FontSize = Enum.FontSize.Size14
- Cave.Text = "Cave"
- Cave.TextColor3 = Color3.new(1, 0, 0)
- Cave.TextSize = 14
- Volcano.Name = "Volcano"
- Volcano.Parent = WaypointList
- Volcano.BackgroundColor3 = Color3.new(0, 0, 0)
- Volcano.BorderColor3 = Color3.new(1, 0, 0)
- Volcano.Position = UDim2.new(0, 0, 0, 305)
- Volcano.Size = UDim2.new(0, 165, 0, 20)
- Volcano.Font = Enum.Font.Fantasy
- Volcano.FontSize = Enum.FontSize.Size14
- Volcano.Text = "Volcano"
- Volcano.TextColor3 = Color3.new(1, 0, 0)
- Volcano.TextSize = 14
- BobsShack.Name = "BobsShack"
- BobsShack.Parent = WaypointList
- BobsShack.BackgroundColor3 = Color3.new(0, 0, 0)
- BobsShack.BorderColor3 = Color3.new(1, 0, 0)
- BobsShack.Position = UDim2.new(0, 0, 0, 205)
- BobsShack.Size = UDim2.new(0, 165, 0, 20)
- BobsShack.Font = Enum.Font.Fantasy
- BobsShack.FontSize = Enum.FontSize.Size14
- BobsShack.Text = "Bob's Shack"
- BobsShack.TextColor3 = Color3.new(1, 0, 0)
- BobsShack.TextSize = 14
- FancyFurnishings.Name = "FancyFurnishings"
- FancyFurnishings.Parent = WaypointList
- FancyFurnishings.BackgroundColor3 = Color3.new(0, 0, 0)
- FancyFurnishings.BorderColor3 = Color3.new(1, 0, 0)
- FancyFurnishings.Position = UDim2.new(0, 0, 0, 130)
- FancyFurnishings.Size = UDim2.new(0, 165, 0, 20)
- FancyFurnishings.Font = Enum.Font.Fantasy
- FancyFurnishings.FontSize = Enum.FontSize.Size14
- FancyFurnishings.Text = "Fancy Furnishings"
- FancyFurnishings.TextColor3 = Color3.new(1, 0, 0)
- FancyFurnishings.TextSize = 14
- LandStore.Name = "LandStore"
- LandStore.Parent = WaypointList
- LandStore.BackgroundColor3 = Color3.new(0, 0, 0)
- LandStore.BorderColor3 = Color3.new(1, 0, 0)
- LandStore.Position = UDim2.new(0, 0, 0, 155)
- LandStore.Size = UDim2.new(0, 165, 0, 20)
- LandStore.Font = Enum.Font.Fantasy
- LandStore.FontSize = Enum.FontSize.Size14
- LandStore.Text = "Land Store"
- LandStore.TextColor3 = Color3.new(1, 0, 0)
- LandStore.TextSize = 14
- FineArtsShop.Name = "FineArtsShop"
- FineArtsShop.Parent = WaypointList
- FineArtsShop.BackgroundColor3 = Color3.new(0, 0, 0)
- FineArtsShop.BorderColor3 = Color3.new(1, 0, 0)
- FineArtsShop.Position = UDim2.new(0, 0, 0, 180)
- FineArtsShop.Size = UDim2.new(0, 165, 0, 20)
- FineArtsShop.Font = Enum.Font.Fantasy
- FineArtsShop.FontSize = Enum.FontSize.Size14
- FineArtsShop.Text = "Fine Arts Shop"
- FineArtsShop.TextColor3 = Color3.new(1, 0, 0)
- FineArtsShop.TextSize = 14
- PalmIsland.Name = "PalmIsland"
- PalmIsland.Parent = WaypointList
- PalmIsland.BackgroundColor3 = Color3.new(0, 0, 0)
- PalmIsland.BorderColor3 = Color3.new(1, 0, 0)
- PalmIsland.Position = UDim2.new(0, 0, 0, 255)
- PalmIsland.Size = UDim2.new(0, 165, 0, 20)
- PalmIsland.Font = Enum.Font.Fantasy
- PalmIsland.FontSize = Enum.FontSize.Size14
- PalmIsland.Text = "Palm Island"
- PalmIsland.TextColor3 = Color3.new(1, 0, 0)
- PalmIsland.TextSize = 14
- Swamp.Name = "Swamp"
- Swamp.Parent = WaypointList
- Swamp.BackgroundColor3 = Color3.new(0, 0, 0)
- Swamp.BorderColor3 = Color3.new(1, 0, 0)
- Swamp.Position = UDim2.new(0, 0, 0, 230)
- Swamp.Size = UDim2.new(0, 165, 0, 20)
- Swamp.Font = Enum.Font.Fantasy
- Swamp.FontSize = Enum.FontSize.Size14
- Swamp.Text = "Swamp"
- Swamp.TextColor3 = Color3.new(1, 0, 0)
- Swamp.TextSize = 14
- SpawnPoint.Name = "SpawnPoint"
- SpawnPoint.Parent = WaypointList
- SpawnPoint.BackgroundColor3 = Color3.new(0, 0, 0)
- SpawnPoint.BorderColor3 = Color3.new(1, 0, 0)
- SpawnPoint.Position = UDim2.new(0, 0, 0, 5)
- SpawnPoint.Size = UDim2.new(0, 165, 0, 20)
- SpawnPoint.Font = Enum.Font.Fantasy
- SpawnPoint.FontSize = Enum.FontSize.Size14
- SpawnPoint.Text = "Spawn Point"
- SpawnPoint.TextColor3 = Color3.new(1, 0, 0)
- SpawnPoint.TextSize = 14
- WoodRUs.Name = "WoodRUs"
- WoodRUs.Parent = WaypointList
- WoodRUs.BackgroundColor3 = Color3.new(0, 0, 0)
- WoodRUs.BorderColor3 = Color3.new(1, 0, 0)
- WoodRUs.Position = UDim2.new(0, 0, 0, 55)
- WoodRUs.Size = UDim2.new(0, 165, 0, 20)
- WoodRUs.Font = Enum.Font.Fantasy
- WoodRUs.FontSize = Enum.FontSize.Size14
- WoodRUs.Text = "Wood R Us"
- WoodRUs.TextColor3 = Color3.new(1, 0, 0)
- WoodRUs.TextSize = 14
- LinksLogic.Name = "LinksLogic"
- LinksLogic.Parent = WaypointList
- LinksLogic.BackgroundColor3 = Color3.new(0, 0, 0)
- LinksLogic.BorderColor3 = Color3.new(1, 0, 0)
- LinksLogic.Position = UDim2.new(0, 0, 0, 80)
- LinksLogic.Size = UDim2.new(0, 165, 0, 20)
- LinksLogic.Font = Enum.Font.Fantasy
- LinksLogic.FontSize = Enum.FontSize.Size14
- LinksLogic.Text = "Link's Logic"
- LinksLogic.TextColor3 = Color3.new(1, 0, 0)
- LinksLogic.TextSize = 14
- PlotTp.Name = "PlotTp"
- PlotTp.Parent = WaypointList
- PlotTp.BackgroundColor3 = Color3.new(0, 0, 0)
- PlotTp.BorderColor3 = Color3.new(1, 0, 0)
- PlotTp.Position = UDim2.new(0, 0, 0, 30)
- PlotTp.Size = UDim2.new(0, 165, 0, 20)
- PlotTp.Font = Enum.Font.Fantasy
- PlotTp.FontSize = Enum.FontSize.Size14
- PlotTp.Text = "Tp toPlot"
- PlotTp.TextColor3 = Color3.new(1, 0, 0)
- PlotTp.TextSize = 14
- PurchasedFrame.Name = "PurchasedFrame"
- PurchasedFrame.Parent = MenuFrame
- PurchasedFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- PurchasedFrame.BackgroundTransparency = 0.30000001192093
- PurchasedFrame.BorderColor3 = Color3.new(1, 0, 0)
- PurchasedFrame.Size = UDim2.new(0, 170, 0, 200)
- PurchasedFrame.Visible = false
- LastPurchasedList.Name = "LastPurchasedList"
- LastPurchasedList.Parent = PurchasedFrame
- LastPurchasedList.BackgroundColor3 = Color3.new(0, 0, 0)
- LastPurchasedList.BackgroundTransparency = 0.30000001192093
- LastPurchasedList.BorderColor3 = Color3.new(1, 0, 0)
- LastPurchasedList.Size = UDim2.new(0, 170, 0, 200)
- LastPurchasedList.CanvasSize = UDim2.new(0, 0, 3, 0)
- PlankFrame.Name = "PlankFrame"
- PlankFrame.Parent = MenuFrame
- PlankFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- PlankFrame.BackgroundTransparency = 0.30000001192093
- PlankFrame.BorderColor3 = Color3.new(1, 0, 0)
- PlankFrame.Size = UDim2.new(0, 170, 0, 200)
- PlankFrame.Visible = false
- ProcessedWoodList.Name = "ProcessedWoodList"
- ProcessedWoodList.Parent = PlankFrame
- ProcessedWoodList.BackgroundColor3 = Color3.new(0, 0, 0)
- ProcessedWoodList.BackgroundTransparency = 0.30000001192093
- ProcessedWoodList.BorderColor3 = Color3.new(1, 0, 0)
- ProcessedWoodList.Size = UDim2.new(0, 170, 0, 200)
- ProcessedWoodList.CanvasSize = UDim2.new(0, 0, 3, 0)
- DupeFrame.Name = "DupeFrame"
- DupeFrame.Parent = MenuFrame
- DupeFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- DupeFrame.BackgroundTransparency = 0.30000001192093
- DupeFrame.BorderColor3 = Color3.new(1, 0, 0)
- DupeFrame.Size = UDim2.new(0, 170, 0, 200)
- DupeFrame.Visible = false
- Info.Name = "Info"
- Info.Parent = DupeFrame
- Info.BackgroundColor3 = Color3.new(0, 0, 0)
- Info.BorderColor3 = Color3.new(1, 0, 0)
- Info.Position = UDim2.new(0, 180, 0, -75)
- Info.Size = UDim2.new(0, 170, 0, 395)
- Info.Visible = false
- Info.Font = Enum.Font.Fantasy
- Info.FontSize = Enum.FontSize.Size14
- Info.Text = "1. Make sure no Save Slot is loaded in.\n2. Click the Dupe button.\n3. If done correctly the button will turn green.\n4. Load up the Save Slot you want to dupe from.\n5. Start moving over the items you want to dupe to a friends base.\n6. Once you are done with that, just reload your Save Slot to another plot.\n7. Once your Save Slot has reloaded, your base and every thing will be where it was before you duped.\n8. Remember when you are done duping, reload your Save Slot one more time so you don't lose the items off of your base.\n9. You can turn this off by unloading your Save Slot and pressing the Dupe button, it will turn red.\n10. Then you can load your save."
- Info.TextColor3 = Color3.new(1, 1, 1)
- Info.TextSize = 14
- Info.TextWrapped = true
- Info.TextYAlignment = Enum.TextYAlignment.Top
- Dupe.Name = "Dupe"
- Dupe.Parent = DupeFrame
- Dupe.BackgroundColor3 = Color3.new(0, 0, 0)
- Dupe.BorderColor3 = Color3.new(1, 0, 0)
- Dupe.Position = UDim2.new(0, 50, 0, 65)
- Dupe.Size = UDim2.new(0, 70, 0, 25)
- Dupe.Font = Enum.Font.Fantasy
- Dupe.FontSize = Enum.FontSize.Size18
- Dupe.Text = "Dupe"
- Dupe.TextColor3 = Color3.new(1, 0, 0)
- Dupe.TextSize = 17
- MoreInfo.Name = "MoreInfo"
- MoreInfo.Parent = DupeFrame
- MoreInfo.BackgroundColor3 = Color3.new(0, 0, 0)
- MoreInfo.BorderColor3 = Color3.new(1, 0, 0)
- MoreInfo.Position = UDim2.new(0, 25, 0, 120)
- MoreInfo.Size = UDim2.new(0, 120, 0, 25)
- MoreInfo.Font = Enum.Font.SourceSans
- MoreInfo.FontSize = Enum.FontSize.Size18
- MoreInfo.Text = "Info"
- MoreInfo.TextColor3 = Color3.new(1, 0, 0)
- MoreInfo.TextSize = 18
- Read.Name = "Read"
- Read.Parent = DupeFrame
- Read.BackgroundColor3 = Color3.new(0, 0, 0)
- Read.BorderColor3 = Color3.new(1, 0, 0)
- Read.Size = UDim2.new(0, 170, 0, 35)
- Read.Font = Enum.Font.Fantasy
- Read.FontSize = Enum.FontSize.Size14
- Read.Text = "READ INFO BEFORE USING"
- Read.TextColor3 = Color3.new(1, 0, 0)
- Read.TextScaled = true
- Read.TextSize = 14
- Read.TextWrapped = true
- CloseInfo.Name = "CloseInfo"
- CloseInfo.Parent = DupeFrame
- CloseInfo.BackgroundColor3 = Color3.new(0, 0, 0)
- CloseInfo.BorderColor3 = Color3.new(1, 0, 0)
- CloseInfo.Position = UDim2.new(0, 25, 0, 155)
- CloseInfo.Size = UDim2.new(0, 120, 0, 25)
- CloseInfo.Font = Enum.Font.SourceSans
- CloseInfo.FontSize = Enum.FontSize.Size18
- CloseInfo.Text = "Close Info"
- CloseInfo.TextColor3 = Color3.new(1, 0, 0)
- CloseInfo.TextSize = 18
- PlayerFrame.Name = "PlayerFrame"
- PlayerFrame.Parent = MenuFrame
- PlayerFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- PlayerFrame.BackgroundTransparency = 0.30000001192093
- PlayerFrame.BorderColor3 = Color3.new(1, 0, 0)
- PlayerFrame.Size = UDim2.new(0, 170, 0, 200)
- PlayerFrame.Visible = false
- PlayerList.Name = "PlayerList"
- PlayerList.Parent = PlayerFrame
- PlayerList.BackgroundColor3 = Color3.new(0, 0, 0)
- PlayerList.BorderColor3 = Color3.new(1, 0, 0)
- PlayerList.Size = UDim2.new(0, 170, 0, 145)
- Player1.Name = "Player1"
- Player1.Parent = PlayerList
- Player1.BackgroundColor3 = Color3.new(0, 0, 0)
- Player1.BorderColor3 = Color3.new(1, 0, 0)
- Player1.Size = UDim2.new(0, 170, 0, 20)
- Player1.Font = Enum.Font.Fantasy
- Player1.FontSize = Enum.FontSize.Size14
- Player1.Text = ""
- Player1.TextColor3 = Color3.new(1, 0, 0)
- Player1.TextSize = 14
- Player2.Name = "Player2"
- Player2.Parent = PlayerList
- Player2.BackgroundColor3 = Color3.new(0, 0, 0)
- Player2.BorderColor3 = Color3.new(1, 0, 0)
- Player2.Position = UDim2.new(0, 0, 0, 25)
- Player2.Size = UDim2.new(0, 170, 0, 20)
- Player2.Font = Enum.Font.Fantasy
- Player2.FontSize = Enum.FontSize.Size14
- Player2.Text = ""
- Player2.TextColor3 = Color3.new(1, 0, 0)
- Player2.TextSize = 14
- Player3.Name = "Player3"
- Player3.Parent = PlayerList
- Player3.BackgroundColor3 = Color3.new(0, 0, 0)
- Player3.BorderColor3 = Color3.new(1, 0, 0)
- Player3.Position = UDim2.new(0, 0, 0, 50)
- Player3.Size = UDim2.new(0, 170, 0, 20)
- Player3.Font = Enum.Font.Fantasy
- Player3.FontSize = Enum.FontSize.Size14
- Player3.Text = ""
- Player3.TextColor3 = Color3.new(1, 0, 0)
- Player3.TextSize = 14
- Player4.Name = "Player4"
- Player4.Parent = PlayerList
- Player4.BackgroundColor3 = Color3.new(0, 0, 0)
- Player4.BorderColor3 = Color3.new(1, 0, 0)
- Player4.Position = UDim2.new(0, 0, 0, 75)
- Player4.Size = UDim2.new(0, 170, 0, 20)
- Player4.Font = Enum.Font.Fantasy
- Player4.FontSize = Enum.FontSize.Size14
- Player4.Text = ""
- Player4.TextColor3 = Color3.new(1, 0, 0)
- Player4.TextSize = 14
- Player5.Name = "Player5"
- Player5.Parent = PlayerList
- Player5.BackgroundColor3 = Color3.new(0, 0, 0)
- Player5.BorderColor3 = Color3.new(1, 0, 0)
- Player5.Position = UDim2.new(0, 0, 0, 100)
- Player5.Size = UDim2.new(0, 170, 0, 20)
- Player5.Font = Enum.Font.Fantasy
- Player5.FontSize = Enum.FontSize.Size14
- Player5.Text = ""
- Player5.TextColor3 = Color3.new(1, 0, 0)
- Player5.TextSize = 14
- Player6.Name = "Player6"
- Player6.Parent = PlayerList
- Player6.BackgroundColor3 = Color3.new(0, 0, 0)
- Player6.BorderColor3 = Color3.new(1, 0, 0)
- Player6.Position = UDim2.new(0, 0, 0, 125)
- Player6.Size = UDim2.new(0, 170, 0, 20)
- Player6.Font = Enum.Font.Fantasy
- Player6.FontSize = Enum.FontSize.Size14
- Player6.Text = ""
- Player6.TextColor3 = Color3.new(1, 0, 0)
- Player6.TextSize = 14
- PlyrSel.Name = "PlyrSel"
- PlyrSel.Parent = PlayerFrame
- PlyrSel.BackgroundColor3 = Color3.new(0, 0, 0)
- PlyrSel.BackgroundTransparency = 0.30000001192093
- PlyrSel.BorderColor3 = Color3.new(1, 0, 0)
- PlyrSel.Position = UDim2.new(0, 5, 0, 150)
- PlyrSel.Size = UDim2.new(0, 160, 0, 20)
- PlyrSel.Font = Enum.Font.SourceSans
- PlyrSel.FontSize = Enum.FontSize.Size18
- PlyrSel.Text = "Select a Player"
- PlyrSel.TextColor3 = Color3.new(1, 1, 1)
- PlyrSel.TextSize = 17
- PlyrSel.TextWrapped = true
- TpPlayer.Name = "TpPlayer"
- TpPlayer.Parent = PlayerFrame
- TpPlayer.BackgroundColor3 = Color3.new(0, 0, 0)
- TpPlayer.BorderColor3 = Color3.new(1, 0, 0)
- TpPlayer.Position = UDim2.new(0, 5, 0, 175)
- TpPlayer.Size = UDim2.new(0, 75, 0, 20)
- TpPlayer.Font = Enum.Font.Fantasy
- TpPlayer.FontSize = Enum.FontSize.Size14
- TpPlayer.Text = "Tp to Player"
- TpPlayer.TextColor3 = Color3.new(1, 0, 0)
- TpPlayer.TextSize = 14
- TpBase.Name = "TpBase"
- TpBase.Parent = PlayerFrame
- TpBase.BackgroundColor3 = Color3.new(0, 0, 0)
- TpBase.BorderColor3 = Color3.new(1, 0, 0)
- TpBase.Position = UDim2.new(0, 90, 0, 175)
- TpBase.Size = UDim2.new(0, 75, 0, 20)
- TpBase.Font = Enum.Font.Fantasy
- TpBase.FontSize = Enum.FontSize.Size14
- TpBase.Text = "Tp to Base"
- TpBase.TextColor3 = Color3.new(1, 0, 0)
- TpBase.TextSize = 14
- WalkSpeed.Name = "WalkSpeed"
- WalkSpeed.Parent = MainFrame
- WalkSpeed.BackgroundColor3 = Color3.new(0, 0, 0)
- WalkSpeed.BorderColor3 = Color3.new(1, 0, 0)
- WalkSpeed.Position = UDim2.new(0, 50, 0, 250)
- WalkSpeed.Size = UDim2.new(0, 125, 0, 20)
- WalkSpeed.Font = Enum.Font.Fantasy
- WalkSpeed.FontSize = Enum.FontSize.Size18
- WalkSpeed.Text = "WalkSpeed"
- WalkSpeed.TextColor3 = Color3.new(1, 0, 0)
- WalkSpeed.TextSize = 17
- JumpPower.Name = "JumpPower"
- JumpPower.Parent = MainFrame
- JumpPower.BackgroundColor3 = Color3.new(0, 0, 0)
- JumpPower.BorderColor3 = Color3.new(1, 0, 0)
- JumpPower.Position = UDim2.new(0, 215, 0, 250)
- JumpPower.Size = UDim2.new(0, 115, 0, 20)
- JumpPower.Font = Enum.Font.Fantasy
- JumpPower.FontSize = Enum.FontSize.Size18
- JumpPower.Text = "JumpPower"
- JumpPower.TextColor3 = Color3.new(1, 0, 0)
- JumpPower.TextSize = 17
- NoClip.Name = "NoClip"
- NoClip.Parent = MainFrame
- NoClip.BackgroundColor3 = Color3.new(0, 0, 0)
- NoClip.BorderColor3 = Color3.new(1, 0, 0)
- NoClip.Position = UDim2.new(0, 195, 0, 10)
- NoClip.Size = UDim2.new(0, 110, 0, 20)
- NoClip.Font = Enum.Font.Fantasy
- NoClip.FontSize = Enum.FontSize.Size18
- NoClip.Text = "Enable NoClip"
- NoClip.TextColor3 = Color3.new(1, 0, 0)
- NoClip.TextSize = 17
- Check.Name = "Check"
- Check.Parent = MainFrame
- Check.BackgroundColor3 = Color3.new(0, 0, 0)
- Check.BorderColor3 = Color3.new(1, 0, 0)
- Check.Position = UDim2.new(0, 310, 0, 10)
- Check.Size = UDim2.new(0, 20, 0, 20)
- Check.Font = Enum.Font.SourceSans
- Check.FontSize = Enum.FontSize.Size14
- Check.Text = ""
- Check.TextColor3 = Color3.new(1, 0, 0)
- Check.TextScaled = true
- Check.TextSize = 14
- Check.TextWrapped = true
- TextLabel.Parent = MainFrame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0, 20, 0, 5)
- TextLabel.Size = UDim2.new(0, 115, 0, 25)
- TextLabel.Font = Enum.Font.Fantasy
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "LT2 GUI"
- TextLabel.TextColor3 = Color3.new(1, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- PlayerTp.Name = "PlayerTp"
- PlayerTp.Parent = MainFrame
- PlayerTp.BackgroundColor3 = Color3.new(0, 0, 0)
- PlayerTp.BorderColor3 = Color3.new(1, 0, 0)
- PlayerTp.Position = UDim2.new(0, 15, 0, 160)
- PlayerTp.Size = UDim2.new(0, 135, 0, 20)
- PlayerTp.Font = Enum.Font.Fantasy
- PlayerTp.FontSize = Enum.FontSize.Size18
- PlayerTp.Text = "Tp to Players"
- PlayerTp.TextColor3 = Color3.new(1, 0, 0)
- PlayerTp.TextSize = 17
- Tool.Name = "Tool"
- Tool.Parent = MainFrame
- Tool.BackgroundColor3 = Color3.new(0, 0, 0)
- Tool.BorderColor3 = Color3.new(1, 0, 0)
- Tool.Position = UDim2.new(0, 125, 0, 10)
- Tool.Size = UDim2.new(0, 65, 0, 20)
- Tool.Font = Enum.Font.Fantasy
- Tool.FontSize = Enum.FontSize.Size18
- Tool.Text = "Tp Tool"
- Tool.TextColor3 = Color3.new(1, 0, 0)
- Tool.TextSize = 17
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = LT2
- OpenFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- OpenFrame.BorderColor3 = Color3.new(1, 0, 0)
- OpenFrame.Position = UDim2.new(0, 580, 0, -33)
- OpenFrame.Size = UDim2.new(0, 175, 0, 30)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.new(0, 0, 0)
- Open.BorderColor3 = Color3.new(1, 0, 0)
- Open.Size = UDim2.new(0, 85, 0, 30)
- Open.Font = Enum.Font.Fantasy
- Open.FontSize = Enum.FontSize.Size24
- Open.Text = "OPEN"
- Open.TextColor3 = Color3.new(1, 0, 0)
- Open.TextSize = 22
- Open.TextWrapped = true
- Close.Name = "Close"
- Close.Parent = OpenFrame
- Close.BackgroundColor3 = Color3.new(0, 0, 0)
- Close.BorderColor3 = Color3.new(1, 0, 0)
- Close.Position = UDim2.new(0, 90, 0, 0)
- Close.Size = UDim2.new(0, 85, 0, 30)
- Close.Font = Enum.Font.Fantasy
- Close.FontSize = Enum.FontSize.Size24
- Close.Text = "CLOSE"
- Close.TextColor3 = Color3.new(1, 0, 0)
- Close.TextSize = 22
- Close.TextWrapped = true
- --- Walkspeed/JumpPower ---
- player = game.Players.LocalPlayer
- Walk = 16
- Jump = 50
- WalkSpeed.MouseButton1Down:connect(function()
- Walk = WalkText.Text
- end)
- JumpPower.MouseButton1Down:connect(function()
- Jump = JumpText.Text
- end)
- player.Character.Humanoid.JumpPower = Jump
- player.Character.Humanoid.WalkSpeed = Walk
- player.Character.Humanoid.Changed:connect(function()
- player.Character.Humanoid.JumpPower = Jump
- player.Character.Humanoid.WalkSpeed = Walk
- end)
- ---
- local service = setmetatable({}, {
- __index = function(t, k)
- return game:GetService(k)
- end
- })
- function Create(cls,props)
- local inst = Instance.new(cls)
- for i,v in pairs(props) do
- inst[i] = v
- end
- return inst
- end
- local WoodPlanks={}
- function MakeShadow(UI,Index)
- Create("Frame",{Parent=UI,Size=UDim2.new(1,0,1,0),ZIndex=Index,Position=UDim2.new(0,1,0,1),BackgroundColor3=Color3.fromRGB(0,0,0),BorderSizePixel=0,Transparency=0.9,Name="Shadow"})
- Create("Frame",{Parent=UI,Size=UDim2.new(1,0,1,0),ZIndex=Index,Position=UDim2.new(0,2,0,2),BackgroundColor3=Color3.fromRGB(0,0,0),BorderSizePixel=0,Transparency=0.9,Name="Shadow"})
- Create("Frame",{Parent=UI,Size=UDim2.new(1,0,1,0),ZIndex=Index,Position=UDim2.new(0,3,0,3),BackgroundColor3=Color3.fromRGB(0,0,0),BorderSizePixel=0,Transparency=0.9,Name="Shadow"})
- end
- --- Auto Cutter ---
- Detect = coroutine.wrap(function()
- Player = game.Players.LocalPlayer
- mouse = Player:GetMouse()
- mouse.Button1Down:connect(function()
- MouseDown = true
- end)
- mouse.Button1Up:connect(function()
- MouseDown = false
- end)
- end)
- Detect()
- Player = game.Players.LocalPlayer
- mouse = Player:GetMouse()
- game:GetService('RunService').RenderStepped:connect(function()
- if Player.Character:FindFirstChild("Tool") then
- if MouseDown == true then
- if mouse.Target.Name == "WoodSection" then
- targetWood = mouse.Target
- Tool=Player.Character.Tool
- ---FaceVector
- Height = targetWood.CFrame:pointToObjectSpace(mouse.Hit.p).Y + targetWood.Size.Y/2
- local ray = Ray.new(Player.Character.Head.Position, ((targetWood.CFrame * CFrame.new(0, Height - targetWood.Size.Y/2, 0)).p - Player.Character.Head.Position).unit * 200)
- part,_,p = workspace:FindPartOnRay(ray, Player.Character)
- function fixVector(V)
- return Vector3.new(math.floor(V.X + 0.5), math.floor(V.Y + 0.5), math.floor(V.Z + 0.5))
- end
- local faceVector = fixVector(targetWood.CFrame:vectorToObjectSpace(p))
- if faceVector.Y ~= 0 then
- return
- end
- local lookAtCFrame = CFrame.new(Player.Character.Head.Position, mouse.Hit.p)
- local relativeCFrame = lookAtCFrame:toObjectSpace(targetWood.CFrame * CFrame.Angles(math.pi/2, 0, 0))
- local relativeLookVector = relativeCFrame.lookVector
- local m = relativeLookVector.Y >= 0 and 1 or -1
- if faceVector.X == 1 then
- faceVector = Vector3.new(0, 0, -1) * m
- elseif faceVector.X == -1 then
- faceVector = Vector3.new(0, 0, 1) * m
- elseif faceVector.Z == 1 then
- faceVector = Vector3.new(1, 0, 0) * m
- elseif faceVector.Z == -1 then
- faceVector = Vector3.new(-1, 0, 0) * m
- end
- local cutEvent = targetWood.Parent.CutEvent
- game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(cutEvent, {sectionId = targetWood.ID.Value, faceVector = faceVector, height = Height, hitPoints = 0.2, cooldown = 0, cuttingClass = "Axe", tool = Player.Character.Tool})
- end
- end
- end
- end)
- --- Open/Close ---
- Open.MouseButton1Down:connect(function()
- OpenFrame.Visible = false
- MainFrame.Visible = true
- end)
- Minimize.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- OpenFrame.Visible = true
- end)
- MoreInfo.MouseButton1Down:connect(function()
- Info.Visible = true
- end)
- CloseInfo.MouseButton1Down:connect(function()
- Info.Visible = false
- end)
- local Menus = {
- [TpBoxes] = PurchasedFrame;
- [SellPlanks] = PlankFrame;
- [Waypoints] = WaypointFrame;
- [Duper] = DupeFrame;
- [PlayerTp] = PlayerFrame;
- }
- for button,frame in pairs(Menus) do
- button.MouseButton1Click:connect(function()
- if frame.Visible then
- frame.Visible = false
- return
- end
- for k,v in pairs(Menus) do
- v.Visible = v == frame
- end
- end)
- end
- --- Player Tp ---
- Player1.MouseButton1Down:connect(function()
- PlyrSel.Text = Player1.Text
- end)
- Player2.MouseButton1Down:connect(function()
- PlyrSel.Text = Player2.Text
- end)
- Player3.MouseButton1Down:connect(function()
- PlyrSel.Text = Player3.Text
- end)
- Player4.MouseButton1Down:connect(function()
- PlyrSel.Text = Player4.Text
- end)
- Player5.MouseButton1Down:connect(function()
- PlyrSel.Text = Player5.Text
- end)
- Player6.MouseButton1Down:connect(function()
- PlyrSel.Text = Player6.Text
- end)
- TpPlayer.MouseButton1Down:connect(function()
- if PlyrSel.Text == "Select a Player" then
- warn("No Player Selected")
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[PlyrSel.Text].HumanoidRootPart.CFrame
- end
- end)
- TpBase.MouseButton1Down:connect(function()
- for i, v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players[PlyrSel.Text] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.OriginSquare.CFrame
- end
- end
- end)
- local buttons = {
- Player1,
- Player2,
- Player3,
- Player4,
- Player5,
- Player6
- }
- for i, v in pairs(game.Players:GetChildren()) do
- buttons[i].Text = v.Name
- buttons[i].Visible = true
- end
- game.Players.PlayerRemoving:connect(function()
- for i, v in pairs(game.Players:GetChildren()) do
- buttons[i].Text = v.Name
- buttons[i].Visible = true
- end
- end)
- game.Players.PlayerAdded:connect(function()
- for i, v in pairs(game.Players:GetChildren()) do
- buttons[i].Text = v.Name
- buttons[i].Visible = true
- end
- end)
- --- NoClip ---
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- NoClip.MouseButton1Down:connect(function()
- noclip = not noclip
- if NoClip.Text == "Enable NoClip" then
- NoClip.Text = "Disable NoClip"
- NoClip.TextColor3 = Color3.new(0, 0.666667, 0)
- Check.Text = "X"
- Check.TextColor3 = Color3.new(0, 0.666667, 0)
- else
- NoClip.Text = "Enable NoClip"
- NoClip.TextColor3 = Color3.new(1, 0, 0)
- Check.Text = ""
- end
- end)
- --- Waypoints ---
- local WayPoints = {
- ["Wood R Us"] = Vector3.new(265, 3, 57),
- ["SpawnPoint"] = Vector3.new(155, 3, 74),
- ["Land Store"] = Vector3.new(258, 3, -99),
- ["Link's Logic"] = Vector3.new(4607, 7.5, -798),
- ["Cave"] = Vector3.new(3581, -179, 430),
- ["Volcano"] = Vector3.new(-1585, 622, 1140),
- ["Swamp"] = Vector3.new(-1209, 132, -801),
- ["Palm Island"] = Vector3.new(2549, -5, -42),
- ["Fancy Furnishings"] = Vector3.new(491, 3, -1720),
- ["Boxed Cars"] = Vector3.new(509, 3, -1463),
- ["Fine Arts Shop"] = Vector3.new(5207, -166, 719),
- ["Bob's Shack"] = Vector3.new(260, 8, -2542)
- }
- WoodRUs.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Wood R Us"])
- end)
- SpawnPoint.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["SpawnPoint"])
- end)
- LandStore.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Land Store"])
- end)
- LinksLogic.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Link's Logic"])
- end)
- Cave.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Cave"])
- end)
- Volcano.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Volcano"])
- end)
- Swamp.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Swamp"])
- end)
- PalmIsland.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Palm Island"])
- end)
- FancyFurnishings.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Fancy Furnishings"])
- end)
- BoxedCars.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Boxed Cars"])
- end)
- FineArtsShop.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Fine Arts Shop"])
- end)
- BobsShack.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(WayPoints["Bob's Shack"])
- end)
- --- Close ---
- Close.MouseButton1Down:connect(function()
- LT2:Destroy()
- end)
- --- Greywood ---
- Greywood.MouseButton1Click:Connect(function()
- for i,v in next,workspace.PlayerModels:GetChildren() do
- if v:FindFirstChild("Type") then
- if v.Type.Value == "Blueprint" then
- v.Type.Value = "Structure"
- end
- end
- end
- end)
- --- Plot Tp ---
- PlotTp.MouseButton1Down:connect(function()
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.OriginSquare.CFrame + Vector3.new(0,10,0)
- end
- end
- end)
- --- Sell Wood ---
- SellWood.MouseButton1Click:Connect(function()
- for _, Log in pairs(service.Workspace.LogModels:GetChildren()) do
- if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
- if Log.Owner.Value == service.Players.LocalPlayer then
- for i,v in pairs(Log: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()
- service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Log)
- end
- end)
- end
- end
- end
- end)
- --- Last Purchased ---
- local inc = 0
- workspace.PlayerModels.ChildAdded:Connect(function(Item)
- inc = #LastPurchasedList:GetChildren()
- if Item:FindFirstChild("Owner") and Item.Owner.Value==service.Players.LocalPlayer then
- LastPurchasedList.CanvasSize=UDim2.new(0,0,0,25*inc)
- local SellButton=Create("TextButton",{Parent=LastPurchasedList,Size=UDim2.new(1,-9,0,20),Position=UDim2.new(0,5,0,25*inc),Text=" "..Item.Name,Name=Item.Name,TextXAlignment="Left",ZIndex=3,BorderSizePixel=0})
- MakeShadow(SellButton,2)
- SellButton.MouseButton1Click:Connect(function()
- if Item:IsA("Model") then
- Item:MoveTo(service.Players.LocalPlayer.Character.HumanoidRootPart.Position)
- for i=1,100 do
- service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Item)
- end
- end
- end)
- inc=inc+1
- end
- end)
- workspace.PlayerModels.ChildRemoved:Connect(function(Item)
- inc=0
- if Item:FindFirstChild("Owner") and Item.Owner.Value==service.Players.LocalPlayer then
- if LastPurchasedList:FindFirstChild(Item.Name) then
- LastPurchasedList:FindFirstChild(Item.Name):Destroy()
- for i,v in pairs(LastPurchasedList:GetChildren()) do
- v.Position=UDim2.new(0,5,0,25*(i-1))
- end
- end
- end
- end)
- --- Processed Wood ---
- function UpdatePlanks()
- local inc = 0
- WoodPlanks={}
- for i,v in pairs(service.Workspace.PlayerModels:GetChildren()) do
- if v.Name=="Plank" and v.Owner.Value==service.Players.LocalPlayer then
- if v:FindFirstChild("TreeClass") and WoodPlanks[v.TreeClass.Value] then
- WoodPlanks[v.TreeClass.Value]["Amount"]=WoodPlanks[v.TreeClass.Value]["Amount"]+1
- WoodPlanks[v.TreeClass.Value]["Wood"][v]=v
- elseif v:FindFirstChild("TreeClass") then
- WoodPlanks[v.TreeClass.Value]={Amount=1,Wood={v.WoodSection}}
- end
- end
- end
- end
- function UpdateSellPlanks()
- local inc=0
- UpdatePlanks()
- ProcessedWoodList:ClearAllChildren()
- for i,v in pairs(WoodPlanks) do
- ProcessedWoodList.CanvasSize=UDim2.new(0,0,0,25*inc)
- local SellButton=Create("TextButton",{Parent=ProcessedWoodList,Size=UDim2.new(1,-9,0,20),Position=UDim2.new(0,5,0,25*inc),Text=" "..i,TextXAlignment="Left",ZIndex=3,BorderSizePixel=0})
- local Color = Create("Frame",{Parent=ProcessedWoodList,Size=UDim2.new(0,5,0,20),Position=UDim2.new(0,0,0,25*inc),BorderSizePixel=0,ZIndex=3,BackgroundColor3=v["Wood"][1].Color})
- local Amount = Create("TextLabel",{Parent=SellButton,Size=UDim2.new(0,0,1,0),Position=UDim2.new(1,-20,0,0),Text=v["Amount"],BackgroundTransparency=1,ZIndex=4})
- MakeShadow(SellButton,2)
- SellButton.MouseButton1Click:Connect(function()
- for x=1,100 do
- v["Wood"][1].CFrame=CFrame.new(Vector3.new(315, -0.296, 85.791))*CFrame.Angles(math.rad(90),0,0)
- service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v["Wood"][1].Parent)
- end
- end)
- inc=inc+1
- end
- inc=0
- end
- service.Workspace.PlayerModels.ChildRemoved:Connect(function(thing)
- if thing.Owner.Value==service.Players.LocalPlayer then
- UpdateSellPlanks()
- end
- end)
- UpdateSellPlanks()
- --- Dupe ---
- Option = false
- Dupe.MouseButton1Down:connect(function()
- plr = game:GetService("Players").LocalPlayer
- slot = plr.CurrentSaveSlot
- if Option == false then
- if slot.Value == -1 then
- Option = true
- slot.RobloxLocked = true
- Dupe.TextColor3 = Color3.new(0, 0.666667, 0)
- end
- else
- Option = false
- slot.RobloxLocked = false
- Dupe.TextColor3 = Color3.new(1, 0, 0)
- end
- end)
- --- Tool ---
- Tool.MouseButton1Down:connect(function()
- local Tele = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- Tele.RequiresHandle = false
- Tele.RobloxLocked = true
- Tele.Name = "Tool"
- Tele.ToolTip = "Teleport Tool"
- Tele.Equipped:connect(function(Mouse)
- Mouse.Button1Down:connect(function()
- if Mouse.Target then
- game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name).HumanoidRootPart.CFrame = (CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z))
- end
- end)
- end)
- end)
Add Comment
Please, Sign In to add comment