Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Thanks for using DuperGUI, I hope you enjoy!
- local DupersGUI = Instance.new("ScreenGui")
- local Open = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local Menu = Instance.new("Frame")
- local Main = Instance.new("Frame")
- local Heading = Instance.new("TextLabel")
- local DropShadow = Instance.new("TextLabel")
- local DropShadow_2 = Instance.new("Frame")
- local ToSlot = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local FastChop = Instance.new("TextButton")
- local TextLabel_3 = Instance.new("TextLabel")
- local SellOwnedWood = Instance.new("TextButton")
- local TextLabel_4 = Instance.new("TextLabel")
- local SellOwnedPlanks = Instance.new("TextButton")
- local TextLabel_5 = Instance.new("TextLabel")
- local RejoinServer = Instance.new("TextButton")
- local TextLabel_6 = Instance.new("TextLabel")
- local Fly = Instance.new("TextButton")
- local TextLabel_7 = Instance.new("TextLabel")
- local ShowLeakedItems = Instance.new("TextButton")
- local TextLabel_8 = Instance.new("TextLabel")
- local TpOwnedWood = Instance.new("TextButton")
- local TextLabel_9 = Instance.new("TextLabel")
- local UISizeConstraint = Instance.new("UISizeConstraint")
- local Quit = Instance.new("TextButton")
- local DropShadow_3 = Instance.new("Frame")
- local TextLabel_10 = Instance.new("TextLabel")
- local UISizeConstraint_2 = Instance.new("UISizeConstraint")
- --Properties:
- DupersGUI.Name = "DupersGUI"
- DupersGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Open.Name = "Open"
- Open.Parent = DupersGUI
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0.480866283, -45, 0.0608640388, 10)
- Open.Selectable = false
- Open.Size = UDim2.new(0, 170, 0, 30)
- Open.ZIndex = 5
- Open.Font = Enum.Font.SourceSans
- Open.Text = ""
- Open.TextSize = 18
- Open.MouseButton1Down:connect(function()
- Menu.Visible = true
- end)
- TextLabel.Parent = Open
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0, -114, 0, -2)
- TextLabel.Size = UDim2.new(2.51111102, -30, 1, 0)
- TextLabel.ZIndex = 5
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.Text = "Open DuperGUI"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextSize = 24
- TextLabel.TextWrapped = true
- Menu.Name = "Menu"
- Menu.Parent = DupersGUI
- Menu.Active = true
- Menu.BackgroundColor3 = Color3.new(1, 1, 1)
- Menu.BackgroundTransparency = 1
- Menu.BorderSizePixel = 0
- Menu.Size = UDim2.new(1, 0, 1, 0)
- Menu.Visible = false
- Main.Name = "Main"
- Main.Parent = Menu
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.466052562, -160, 0.429926813, -165)
- Main.Size = UDim2.new(0, 438, 0, 312)
- Main.ZIndex = 5
- Heading.Name = "Heading"
- Heading.Parent = Main
- Heading.BackgroundColor3 = Color3.new(1, 1, 1)
- Heading.BackgroundTransparency = 1
- Heading.BorderSizePixel = 0
- Heading.Position = UDim2.new(0, -45, 0, 10)
- Heading.Size = UDim2.new(1.17499995, 0, 0, 36)
- Heading.ZIndex = 6
- Heading.Font = Enum.Font.ArialBold
- Heading.Text = "DuperGUI"
- Heading.TextColor3 = Color3.new(0, 0, 0)
- Heading.TextSize = 36
- Heading.TextWrapped = true
- DropShadow.Name = "DropShadow"
- DropShadow.Parent = Heading
- DropShadow.BackgroundColor3 = Color3.new(1, 1, 1)
- DropShadow.BackgroundTransparency = 1
- DropShadow.BorderSizePixel = 0
- DropShadow.Position = UDim2.new(0, 2, 0, 1)
- DropShadow.Size = UDim2.new(1, 0, 1, 0)
- DropShadow.ZIndex = 5
- DropShadow.Font = Enum.Font.ArialBold
- DropShadow.Text = "DuperGUI"
- DropShadow.TextColor3 = Color3.new(0.513726, 0.513726, 0.513726)
- DropShadow.TextSize = 36
- DropShadow.TextStrokeColor3 = Color3.new(0.513726, 0.513726, 0.513726)
- DropShadow.TextWrapped = true
- DropShadow_2.Name = "DropShadow"
- DropShadow_2.Parent = Main
- DropShadow_2.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_2.BorderSizePixel = 0
- DropShadow_2.Position = UDim2.new(0, 5, 0, 4)
- DropShadow_2.Size = UDim2.new(1.00121474, 0, 1, 0)
- DropShadow_2.ZIndex = 4
- ToSlot.Name = "ToSlot"
- ToSlot.Parent = Main
- ToSlot.BackgroundColor3 = Color3.new(1, 1, 1)
- ToSlot.BorderColor3 = Color3.new(1, 1, 1)
- ToSlot.Position = UDim2.new(0.0114155421, 0, 0.173076928, 0)
- ToSlot.Size = UDim2.new(0, 189, 0, 42)
- ToSlot.ZIndex = 6
- ToSlot.Font = Enum.Font.ArialBold
- ToSlot.Text = ""
- ToSlot.TextColor3 = Color3.new(0, 0, 0)
- ToSlot.TextScaled = true
- ToSlot.TextSize = 23
- ToSlot.TextWrapped = true
- TextLabel_2.Parent = ToSlot
- TextLabel_2.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0, 8, 0, 7)
- TextLabel_2.Size = UDim2.new(1.00187087, -16, 1.07142854, -16)
- TextLabel_2.ZIndex = 6
- TextLabel_2.Font = Enum.Font.ArialBold
- TextLabel_2.Text = "Teleport To Slot"
- TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_2.TextSize = 24
- TextLabel_2.TextWrapped = true
- FastChop.Name = "FastChop"
- FastChop.Parent = Main
- FastChop.BackgroundColor3 = Color3.new(1, 1, 1)
- FastChop.BorderColor3 = Color3.new(1, 1, 1)
- FastChop.Position = UDim2.new(0.561643839, 0, 0.173076928, 0)
- FastChop.Size = UDim2.new(0, 181, 0, 42)
- FastChop.ZIndex = 6
- FastChop.Font = Enum.Font.ArialBold
- FastChop.Text = ""
- FastChop.TextColor3 = Color3.new(0, 0, 0)
- FastChop.TextScaled = true
- FastChop.TextSize = 23
- FastChop.TextWrapped = true
- TextLabel_3.Parent = FastChop
- TextLabel_3.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0, 8, 0, 7)
- TextLabel_3.Size = UDim2.new(0.983425438, -16, 1.07142854, -16)
- TextLabel_3.ZIndex = 6
- TextLabel_3.Font = Enum.Font.ArialBold
- TextLabel_3.Text = "Fast Chop"
- TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_3.TextSize = 24
- TextLabel_3.TextWrapped = true
- SellOwnedWood.Name = "SellOwnedWood"
- SellOwnedWood.Parent = Main
- SellOwnedWood.BackgroundColor3 = Color3.new(1, 1, 1)
- SellOwnedWood.BorderColor3 = Color3.new(1, 1, 1)
- SellOwnedWood.Position = UDim2.new(0.232876673, 0, 0.708333373, 0)
- SellOwnedWood.Size = UDim2.new(0, 234, 0, 42)
- SellOwnedWood.ZIndex = 6
- SellOwnedWood.Font = Enum.Font.ArialBold
- SellOwnedWood.Text = ""
- SellOwnedWood.TextColor3 = Color3.new(0, 0, 0)
- SellOwnedWood.TextScaled = true
- SellOwnedWood.TextSize = 23
- SellOwnedWood.TextWrapped = true
- TextLabel_4.Parent = SellOwnedWood
- TextLabel_4.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0, 8, 0, 7)
- TextLabel_4.Size = UDim2.new(0.994593322, -16, 1.07142854, -16)
- TextLabel_4.ZIndex = 6
- TextLabel_4.Font = Enum.Font.ArialBold
- TextLabel_4.Text = "Sell Owned Wood"
- TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_4.TextSize = 24
- TextLabel_4.TextWrapped = true
- SellOwnedPlanks.Name = "SellOwnedPlanks"
- SellOwnedPlanks.Parent = Main
- SellOwnedPlanks.BackgroundColor3 = Color3.new(1, 1, 1)
- SellOwnedPlanks.BorderColor3 = Color3.new(1, 1, 1)
- SellOwnedPlanks.Position = UDim2.new(0.232876673, 0, 0.842948675, 0)
- SellOwnedPlanks.Size = UDim2.new(0, 234, 0, 42)
- SellOwnedPlanks.ZIndex = 6
- SellOwnedPlanks.Font = Enum.Font.ArialBold
- SellOwnedPlanks.Text = ""
- SellOwnedPlanks.TextColor3 = Color3.new(0, 0, 0)
- SellOwnedPlanks.TextScaled = true
- SellOwnedPlanks.TextSize = 23
- SellOwnedPlanks.TextWrapped = true
- TextLabel_5.Parent = SellOwnedPlanks
- TextLabel_5.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_5.BorderSizePixel = 0
- TextLabel_5.Position = UDim2.new(0, 8, 0, 7)
- TextLabel_5.Size = UDim2.new(0.994593322, -16, 1.07142854, -16)
- TextLabel_5.ZIndex = 6
- TextLabel_5.Font = Enum.Font.ArialBold
- TextLabel_5.Text = "Sell Owned Planks"
- TextLabel_5.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_5.TextSize = 24
- TextLabel_5.TextWrapped = true
- RejoinServer.Name = "RejoinServer"
- RejoinServer.Parent = Main
- RejoinServer.BackgroundColor3 = Color3.new(1, 1, 1)
- RejoinServer.BorderColor3 = Color3.new(1, 1, 1)
- RejoinServer.Position = UDim2.new(0.683169961, 0, 0.0288462024, 0)
- RejoinServer.Size = UDim2.new(0, 128, 0, 37)
- RejoinServer.ZIndex = 6
- RejoinServer.Font = Enum.Font.ArialBold
- RejoinServer.Text = ""
- RejoinServer.TextColor3 = Color3.new(0, 0, 0)
- RejoinServer.TextScaled = true
- RejoinServer.TextSize = 23
- RejoinServer.TextWrapped = true
- TextLabel_6.Parent = RejoinServer
- TextLabel_6.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_6.BorderSizePixel = 0
- TextLabel_6.Position = UDim2.new(0, 0, 0, 6)
- TextLabel_6.Size = UDim2.new(1.15891993, -16, 1.12290835, -16)
- TextLabel_6.ZIndex = 6
- TextLabel_6.Font = Enum.Font.ArialBold
- TextLabel_6.Text = "Rejoin Server"
- TextLabel_6.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_6.TextScaled = true
- TextLabel_6.TextSize = 24
- TextLabel_6.TextWrapped = true
- Fly.Name = "Fly"
- Fly.Parent = Main
- Fly.BackgroundColor3 = Color3.new(1, 1, 1)
- Fly.BorderColor3 = Color3.new(1, 1, 1)
- Fly.Position = UDim2.new(0.0114155421, 0, 0.307692319, 0)
- Fly.Size = UDim2.new(0, 189, 0, 42)
- Fly.ZIndex = 6
- Fly.Font = Enum.Font.ArialBold
- Fly.Text = ""
- Fly.TextColor3 = Color3.new(0, 0, 0)
- Fly.TextScaled = true
- Fly.TextSize = 23
- Fly.TextWrapped = true
- TextLabel_7.Parent = Fly
- TextLabel_7.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_7.BorderSizePixel = 0
- TextLabel_7.Position = UDim2.new(0, 8, 0, 7)
- TextLabel_7.Size = UDim2.new(1.00187087, -16, 1.07142854, -16)
- TextLabel_7.ZIndex = 6
- TextLabel_7.Font = Enum.Font.ArialBold
- TextLabel_7.Text = "Toggle Fly (Q)"
- TextLabel_7.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_7.TextSize = 24
- TextLabel_7.TextWrapped = true
- ShowLeakedItems.Name = "ShowLeakedItems"
- ShowLeakedItems.Parent = Main
- ShowLeakedItems.BackgroundColor3 = Color3.new(1, 1, 1)
- ShowLeakedItems.BorderColor3 = Color3.new(1, 1, 1)
- ShowLeakedItems.Position = UDim2.new(0.0114155253, 0, 0.708333433, 0)
- ShowLeakedItems.Size = UDim2.new(0, 97, 0, 84)
- ShowLeakedItems.ZIndex = 6
- ShowLeakedItems.Font = Enum.Font.ArialBold
- ShowLeakedItems.Text = ""
- ShowLeakedItems.TextColor3 = Color3.new(0, 0, 0)
- ShowLeakedItems.TextScaled = true
- ShowLeakedItems.TextSize = 23
- ShowLeakedItems.TextWrapped = true
- TextLabel_8.Parent = ShowLeakedItems
- TextLabel_8.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_8.BorderSizePixel = 0
- TextLabel_8.Position = UDim2.new(0, 8, 0, 7)
- TextLabel_8.Size = UDim2.new(1.00025535, -16, 1.03571415, -16)
- TextLabel_8.ZIndex = 6
- TextLabel_8.Font = Enum.Font.ArialBold
- TextLabel_8.Text = "Show Game Files"
- TextLabel_8.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_8.TextScaled = true
- TextLabel_8.TextSize = 24
- TextLabel_8.TextWrapped = true
- TpOwnedWood.Name = "TpOwnedWood"
- TpOwnedWood.Parent = Main
- TpOwnedWood.BackgroundColor3 = Color3.new(1, 1, 1)
- TpOwnedWood.BorderColor3 = Color3.new(1, 1, 1)
- TpOwnedWood.Position = UDim2.new(0.767123282, 0, 0.708333373, 0)
- TpOwnedWood.Size = UDim2.new(0, 96, 0, 84)
- TpOwnedWood.ZIndex = 6
- TpOwnedWood.Font = Enum.Font.ArialBold
- TpOwnedWood.Text = ""
- TpOwnedWood.TextColor3 = Color3.new(0, 0, 0)
- TpOwnedWood.TextScaled = true
- TpOwnedWood.TextSize = 23
- TpOwnedWood.TextWrapped = true
- TextLabel_9.Parent = TpOwnedWood
- TextLabel_9.BackgroundColor3 = Color3.new(0.862745, 0.862745, 0.862745)
- TextLabel_9.BorderSizePixel = 0
- TextLabel_9.Position = UDim2.new(0, 9, 0, 7)
- TextLabel_9.Size = UDim2.new(1.0295229, -16, 1.03571439, -16)
- TextLabel_9.ZIndex = 6
- TextLabel_9.Font = Enum.Font.ArialBold
- TextLabel_9.Text = "TP Owned Wood To You"
- TextLabel_9.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_9.TextScaled = true
- TextLabel_9.TextSize = 24
- TextLabel_9.TextWrapped = true
- UISizeConstraint.Parent = Main
- Quit.Name = "Quit"
- Quit.Parent = Menu
- Quit.BackgroundColor3 = Color3.new(1, 1, 1)
- Quit.BorderSizePixel = 0
- Quit.Position = UDim2.new(0.649129391, -65, 0.49585247, 125)
- Quit.Selectable = false
- Quit.Size = UDim2.new(0, 99, 0, 40)
- Quit.ZIndex = 5
- Quit.Font = Enum.Font.SourceSans
- Quit.Text = ""
- Quit.TextSize = 14
- Quit.MouseButton1Down:connect(function()
- Menu.Visible = false
- end)
- DropShadow_3.Name = "DropShadow"
- DropShadow_3.Parent = Quit
- DropShadow_3.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_3.BorderSizePixel = 0
- DropShadow_3.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_3.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_3.ZIndex = 4
- TextLabel_10.Parent = Quit
- TextLabel_10.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_10.BackgroundTransparency = 1
- TextLabel_10.BorderSizePixel = 0
- TextLabel_10.Position = UDim2.new(0, 5, 0, 0)
- TextLabel_10.Size = UDim2.new(1.40404046, -50, 1, 0)
- TextLabel_10.ZIndex = 5
- TextLabel_10.Font = Enum.Font.ArialBold
- TextLabel_10.Text = "Close"
- TextLabel_10.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_10.TextSize = 24
- TextLabel_10.TextWrapped = true
- UISizeConstraint_2.Parent = Menu
- -- Scripts:
- function SCRIPT_XEUW78_FAKESCRIPT() -- ToSlot.LocalScript
- getfenv().script = Instance.new('LocalScript', ToSlot)
- script.Parent.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)
- end
- coroutine.resume(coroutine.create(SCRIPT_XEUW78_FAKESCRIPT))
- function SCRIPT_QCLI67_FAKESCRIPT() -- FastChop.LocalScript
- getfenv().script = Instance.new('LocalScript', FastChop)
- script.Parent.MouseButton1Down:connect(function()
- 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)
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_QCLI67_FAKESCRIPT))
- function SCRIPT_XGZJ67_FAKESCRIPT() -- SellOwnedWood.LocalScript
- getfenv().script = Instance.new('LocalScript', SellOwnedWood)
- script.Parent.MouseButton1Down:connect(function()
- for _, Log in pairs(game.Workspace.LogModels:GetChildren()) do
- if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
- if Log.Owner.Value == game.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()
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Log)
- end
- end)
- end
- end
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_XGZJ67_FAKESCRIPT))
- function SCRIPT_WBRA77_FAKESCRIPT() -- SellOwnedPlanks.LocalScript
- getfenv().script = Instance.new('LocalScript', SellOwnedPlanks)
- script.Parent.MouseButton1Down:connect(function()
- 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)
- end
- coroutine.resume(coroutine.create(SCRIPT_WBRA77_FAKESCRIPT))
- function SCRIPT_EUHM85_FAKESCRIPT() -- RejoinServer.LocalScript
- getfenv().script = Instance.new('LocalScript', RejoinServer)
- script.Parent.MouseButton1Down:connect(function()
- local placeId = "13822889"
- game:GetService("TeleportService"):Teleport(placeId)
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_EUHM85_FAKESCRIPT))
- function SCRIPT_OFEO70_FAKESCRIPT() -- Fly.LocalScript
- getfenv().script = Instance.new('LocalScript', Fly)
- script.Parent.MouseButton1Down:connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") 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.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- 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 = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- 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)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*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" 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)
- end
- coroutine.resume(coroutine.create(SCRIPT_OFEO70_FAKESCRIPT))
- function SCRIPT_GADJ82_FAKESCRIPT() -- ShowLeakedItems.LocalScript
- getfenv().script = Instance.new('LocalScript', ShowLeakedItems)
- script.Parent.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Purchasables:Clone().Parent = game.Workspace.PlayerModels
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_GADJ82_FAKESCRIPT))
- function SCRIPT_JCRP76_FAKESCRIPT() -- TpOwnedWood.LocalScript
- getfenv().script = Instance.new('LocalScript', TpOwnedWood)
- script.Parent.MouseButton1Down:connect(function()
- for _, Log in pairs(game.Workspace.LogModels:GetChildren()) do
- if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
- if Log.Owner.Value == game.Players.LocalPlayer then
- Log:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0, 20, 0))
- end
- end
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_JCRP76_FAKESCRIPT))
Add Comment
Please, Sign In to add comment