Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- By:Arfi
- Mouse = game.Players.LocalPlayer:GetMouse()
- Client = game.ReplicatedStorage.Interaction.ClientSetListPlayer
- players = game.Players
- for i, v in pairs(players:GetPlayers()) do
- if v.Name ~= players.LocalPlayer.Name then
- Client:InvokeServer(players.LocalPlayer.BlacklistFolder, v, true)
- end
- end
- players.PlayerAdded:connect(function(plr)
- Client:InvokeServer(players.LocalPlayer.BlacklistFolder, plr, true)
- end)
- -- Instances:
- local LT2 = Instance.new("ScreenGui")
- local Gui = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local Spooky = Instance.new("TextButton")
- local Blue = Instance.new("TextButton")
- local Selc = Instance.new("TextLabel")
- local Grey = Instance.new("TextButton")
- local Phantom = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- --Properties:
- LT2.Name = "LT2"
- LT2.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Gui.Name = "Gui"
- Gui.Parent = LT2
- Gui.Active = true
- Gui.BackgroundColor3 = Color3.new(1, 1, 1)
- Gui.BackgroundTransparency = 0.69999998807907
- Gui.BorderColor3 = Color3.new(0, 0, 0)
- Gui.BorderSizePixel = 0
- Gui.Draggable = true
- Gui.Position = UDim2.new(0, 88, 0, 321)
- Gui.Size = UDim2.new(0, 412, 0, 241)
- TextLabel.Parent = Gui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.Position = UDim2.new(0, 0, -0.156492248, 0)
- TextLabel.Size = UDim2.new(0, 412, 0, 40)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "LumberTycoon2"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextSize = 14
- TextLabel_2.Parent = Gui
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.Position = UDim2.new(0, 0, -0.156492248, 0)
- TextLabel_2.Size = UDim2.new(0, 90, 0, 40)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "V1"
- TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_2.TextSize = 14
- TextLabel_3.Parent = Gui
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.Position = UDim2.new(0.810679615, 0, 0.936531007, 0)
- TextLabel_3.Size = UDim2.new(0, 78, 0, 16)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = "By:Arfi#291"
- TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_3.TextSize = 14
- TextLabel_4.Parent = Gui
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.Position = UDim2.new(0.740291238, 0, 0.00948286336, 0)
- TextLabel_4.Size = UDim2.new(0, 107, 0, 27)
- TextLabel_4.Font = Enum.Font.SourceSans
- TextLabel_4.Text = "Wall Hack"
- TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_4.TextSize = 14
- TextButton.Parent = Gui
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0.0459655337, 0, 0.0717697442, 0)
- TextButton.Size = UDim2.new(0, 138, 0, 36)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Dupe"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton.MouseButton1Click:connect(function()
- local slott = game:GetService('Players').LocalPlayer.CurrentSaveSlot
- if Duping == true then
- slott.RobloxLocked = false
- Duping = false
- Dupe.BackgroundColor3 = Color3.new(255, 255, 255)
- else
- Duping = true
- if slott.Value == -1 then
- slott.RobloxLocked = true
- Dupe.BackgroundColor3 = Color3.new(0, 255, 0)
- end
- end
- end)
- Spooky.Name = "Spooky "
- Spooky.Parent = Gui
- Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
- Spooky.Position = UDim2.new(0.757130563, 0, 0.158906668, 0)
- Spooky.Size = UDim2.new(0, 93, 0, 36)
- Spooky.Font = Enum.Font.SourceSans
- Spooky.Text = "Spooky"
- Spooky.TextColor3 = Color3.new(0, 0, 0)
- Spooky.TextSize = 14
- Spooky.MouseButton1Click:connect(function()
- if g2 == true then
- g2 = false
- Spooky.BackgroundColor3 = Color3.new(255, 255, 255)
- else
- g2 = true
- Spooky.BackgroundColor3 = Color3.new(0, 255, 0)
- if g2 then
- woodtype = "Spooky"
- end
- end
- end)
- Blue.Name = "Blue "
- Blue.Parent = Gui
- Blue.BackgroundColor3 = Color3.new(1, 1, 1)
- Blue.Position = UDim2.new(0.757130563, 0, 0.333180547, 0)
- Blue.Size = UDim2.new(0, 93, 0, 36)
- Blue.Font = Enum.Font.SourceSans
- Blue.Text = "Blue "
- Blue.TextColor3 = Color3.new(0, 0, 0)
- Blue.TextSize = 14
- Blue.MouseButton1Click:connect(function()
- if g4 == true then
- g4 = false
- Blue.BackgroundColor3 = Color3.new(255, 255, 255)
- else
- g4 = true
- Blue.BackgroundColor3 = Color3.new(0, 255, 0)
- if g4 then
- woodtype = "CaveCrawler"
- end
- end
- end)
- Selc.Name = "Selc"
- Selc.Parent = Gui
- Selc.BackgroundColor3 = Color3.new(1, 1, 1)
- Selc.Position = UDim2.new(0.74022156, 0, 0.00653966889, 0)
- Selc.Size = UDim2.new(0, 0, 0, 193)
- Selc.Font = Enum.Font.SourceSans
- Selc.Text = ""
- Selc.TextColor3 = Color3.new(0, 0, 0)
- Selc.TextSize = 14
- Grey.Name = "Grey"
- Grey.Parent = Gui
- Grey.BackgroundColor3 = Color3.new(1, 1, 1)
- Grey.Position = UDim2.new(0.757130563, 0, 0.519902527, 0)
- Grey.Size = UDim2.new(0, 93, 0, 36)
- Grey.Font = Enum.Font.SourceSans
- Grey.Text = "Grey"
- Grey.TextColor3 = Color3.new(0, 0, 0)
- Grey.TextSize = 14
- Grey.MouseButton1Click:connect(function()
- if g1 == true then
- g1 = false
- Grey.BackgroundColor3 = Color3.new(255, 255, 255)
- else
- g1 = true
- Grey.BackgroundColor3 = Color3.new(0, 255, 0)
- if g1 then
- woodtype = nil
- end
- end
- end)
- Phantom.Name = "Phantom"
- Phantom.Parent = Gui
- Phantom.BackgroundColor3 = Color3.new(1, 1, 1)
- Phantom.Position = UDim2.new(0.757130563, 0, 0.706624508, 0)
- Phantom.Size = UDim2.new(0, 93, 0, 36)
- Phantom.Font = Enum.Font.SourceSans
- Phantom.Text = "Phantom"
- Phantom.TextColor3 = Color3.new(0, 0, 0)
- Phantom.TextSize = 14
- Phantom.MouseButton1Click:connect(function()
- if g5 == true then
- g5 = false
- Phantom.BackgroundColor3 = Color3.new(255, 255, 255)
- else
- g5 = true
- Phantom.BackgroundColor3 = Color3.new(0, 255, 0)
- if g5 then
- woodtype = "LoneCave"
- end
- end
- end)
- TextButton_2.Parent = Gui
- TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_2.Position = UDim2.new(0.0459655337, 0, 0.246043608, 0)
- TextButton_2.Size = UDim2.new(0, 138, 0, 36)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "strangemen "
- TextButton_2.TextColor3 = Color3.new(0, 0, 0)
- TextButton_2.TextSize = 14
- TextButton_2.MouseButton1Click:connect(function()
- tp.CFrame = CFrame.new(1061, 20, 1131)
- end)
- TextButton_3.Parent = Gui
- TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_3.Position = UDim2.new(0.0459655337, 0, 0.424466848, 0)
- TextButton_3.Size = UDim2.new(0, 138, 0, 36)
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.Text = "GoldAxe "
- TextButton_3.TextColor3 = Color3.new(0, 0, 0)
- TextButton_3.TextSize = 14
- TextButton_3.MouseButton1Down:Connect(function()
- GoldAxe.BackgroundColor3 = Color3.new(0, 255, 0)
- GoldAxe.Text = "Active, Cant To off"
- 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)
- woodtype = "Birch"
- local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- tool.RequiresHandle = false
- --tool.RobloxLocked = true
- tool.Name = "Paint"
- tool.ToolTip = "Changes A Stucture's Wood Type"
- tool.Equipped:connect(function(Mouse)
- Mouse.Button1Down:connect(function()
- if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
- local Cframe
- if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
- Cframe = Mouse.Target.Parent.MainCFrame.Value
- else
- Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
- end
- if Mouse.Target.Parent ~= nil then
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
- end
- else
- --do nothing
- end
- end)
- end)
- g1 = false
- g2 = false
- g3 = false
- g4 = false
- g5 = false
Advertisement
Add Comment
Please, Sign In to add comment