Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --]]
- x = -252
- y = -8 --starting floor is -8
- z = 48 --Change this (by increments of 4) to change where the location of the wall is
- amount = 15
- WT = .01
- _G.KEY = "LeftAlt" -- for the tp to mouse keybind
- _G.KEY1 = "H" -- for the Noclip keybind
- function define()
- plr = game:GetService('Players').LocalPlayer
- Root = plr.Character.HumanoidRootPart
- UIS = game:GetService("UserInputService")
- mouse = plr:GetMouse()
- end
- print('loading')
- repeat
- wait()
- until pcall(define)
- local ScreenGui = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local PreBuilt = Instance.new("Frame")
- local EB1 = Instance.new("TextButton")
- local Toplabel = Instance.new("TextLabel")
- local EB2 = Instance.new("TextButton")
- local EB3 = Instance.new("TextButton")
- local EB4 = Instance.new("TextButton")
- local EB5 = Instance.new("TextButton")
- local EB6 = Instance.new("TextButton")
- local Bottomlabel = Instance.new("TextLabel")
- local Game = Instance.new("TextLabel")
- local Minimize = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local Credits = Instance.new("TextLabel")
- local B1 = Instance.new("TextButton")
- local B2 = Instance.new("TextButton")
- local B5 = Instance.new("TextButton")
- local B8 = Instance.new("TextButton")
- local B6 = Instance.new("TextButton")
- local B4 = Instance.new("TextButton")
- local B7 = Instance.new("TextButton")
- local B3 = Instance.new("TextButton")
- local BuiltInButton = Instance.new("TextButton")
- local Background = Instance.new("ImageLabel")
- ---------------------Gui Variables----------------------
- ScreenGui.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = ScreenGui
- MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainFrame.BorderColor3 = Color3.new(1, 0.835294, 0.172549)
- MainFrame.BorderSizePixel = 2
- MainFrame.Position = UDim2.new(0, 270, 0, 101)
- MainFrame.Size = UDim2.new(0, 278, 0, 279)
- MainFrame.Selectable = true
- MainFrame.Active = true
- MainFrame.Draggable = true
- PreBuilt.Name = "PreBuilt"
- PreBuilt.Parent = MainFrame
- PreBuilt.BackgroundColor3 = Color3.new(0.972549, 0.764706, 0.129412)
- PreBuilt.BorderSizePixel = 0
- PreBuilt.Position = UDim2.new(0, 287, 0, 17)
- PreBuilt.Size = UDim2.new(0, 186, 0, 246)
- PreBuilt.Visible = false
- EB1.Name = "EB1"
- EB1.Parent = PreBuilt
- EB1.BackgroundColor3 = Color3.new(1, 1, 1)
- EB1.BackgroundTransparency = 0.30000001192093
- EB1.BorderSizePixel = 0
- EB1.Position = UDim2.new(0, 0, 0.117886186, 0)
- EB1.Size = UDim2.new(0, 186, 0, 25)
- EB1.Font = Enum.Font.SourceSans
- EB1.Text = ""
- EB1.TextColor3 = Color3.new(0, 0, 0)
- EB1.TextSize = 13
- Toplabel.Name = "Toplabel"
- Toplabel.Parent = PreBuilt
- Toplabel.BackgroundColor3 = Color3.new(1, 1, 1)
- Toplabel.BackgroundTransparency = 0.20000000298023
- Toplabel.BorderSizePixel = 0
- Toplabel.Position = UDim2.new(0, 0, -0.008130081, 0)
- Toplabel.Size = UDim2.new(0, 186, 0, 25)
- Toplabel.Font = Enum.Font.SourceSans
- Toplabel.Text = "Built In Scripts"
- Toplabel.TextColor3 = Color3.new(0, 0, 0)
- Toplabel.TextSize = 14
- Toplabel.TextWrapped = true
- EB2.Name = "EB2"
- EB2.Parent = PreBuilt
- EB2.BackgroundColor3 = Color3.new(1, 1, 1)
- EB2.BackgroundTransparency = 0.30000001192093
- EB2.BorderSizePixel = 0
- EB2.Position = UDim2.new(0, 0, 0.243902445, 0)
- EB2.Size = UDim2.new(0, 186, 0, 25)
- EB2.Font = Enum.Font.SourceSans
- EB2.Text = ""
- EB2.TextColor3 = Color3.new(0, 0, 0)
- EB2.TextSize = 13
- EB3.Name = "EB3"
- EB3.Parent = PreBuilt
- EB3.BackgroundColor3 = Color3.new(1, 1, 1)
- EB3.BackgroundTransparency = 0.30000001192093
- EB3.BorderSizePixel = 0
- EB3.Position = UDim2.new(0, 0, 0, 91)
- EB3.Size = UDim2.new(0, 186, 0, 25)
- EB3.Font = Enum.Font.SourceSans
- EB3.Text = ""
- EB3.TextColor3 = Color3.new(0, 0, 0)
- EB3.TextSize = 13
- EB4.Name = "EB4"
- EB4.Parent = PreBuilt
- EB4.BackgroundColor3 = Color3.new(1, 1, 1)
- EB4.BackgroundTransparency = 0.30000001192093
- EB4.BorderSizePixel = 0
- EB4.Position = UDim2.new(0, 0, 0.495934963, 0)
- EB4.Size = UDim2.new(0, 186, 0, 25)
- EB4.Font = Enum.Font.SourceSans
- EB4.Text = ""
- EB4.TextColor3 = Color3.new(0, 0, 0)
- EB4.TextSize = 13
- EB5.Name = "EB5"
- EB5.Parent = PreBuilt
- EB5.BackgroundColor3 = Color3.new(1, 1, 1)
- EB5.BackgroundTransparency = 0.30000001192093
- EB5.BorderSizePixel = 0
- EB5.Position = UDim2.new(0, 0, 0, 153)
- EB5.Size = UDim2.new(0, 186, 0, 25)
- EB5.Font = Enum.Font.SourceSans
- EB5.Text = ""
- EB5.TextColor3 = Color3.new(0, 0, 0)
- EB5.TextSize = 13
- EB6.Name = "EB6"
- EB6.Parent = PreBuilt
- EB6.BackgroundColor3 = Color3.new(1, 1, 1)
- EB6.BackgroundTransparency = 0.30000001192093
- EB6.BorderSizePixel = 0
- EB6.Position = UDim2.new(0, 0, 0.747967541, 0)
- EB6.Size = UDim2.new(0, 186, 0, 25)
- EB6.Font = Enum.Font.SourceSans
- EB6.Text = ""
- EB6.TextColor3 = Color3.new(0, 0, 0)
- EB6.TextSize = 13
- Bottomlabel.Name = "Bottomlabel"
- Bottomlabel.Parent = PreBuilt
- Bottomlabel.BackgroundColor3 = Color3.new(1, 1, 1)
- Bottomlabel.BackgroundTransparency = 0.20000000298023
- Bottomlabel.BorderSizePixel = 0
- Bottomlabel.Position = UDim2.new(0, 0, 0.898373961, 0)
- Bottomlabel.Size = UDim2.new(0, 186, 0, 25)
- Bottomlabel.Font = Enum.Font.SourceSans
- Bottomlabel.Text = "Good Scripts to have eh?"
- Bottomlabel.TextColor3 = Color3.new(0, 0, 0)
- Bottomlabel.TextSize = 13
- Game.Name = "Game"
- Game.Parent = MainFrame
- Game.BackgroundColor3 = Color3.new(1, 1, 1)
- Game.BackgroundTransparency = 0.20000000298023
- Game.BorderColor3 = Color3.new(1, 1, 1)
- Game.BorderSizePixel = 0
- Game.Position = UDim2.new(0, 0,0, -2)
- Game.Size = UDim2.new(0, 227, 0, 25)
- Game.ZIndex = 2
- Game.Font = Enum.Font.SourceSans
- Game.Text = "Game Name Is Supposed to Be Here"
- Game.TextColor3 = Color3.new(0, 0, 0)
- Game.TextSize = 13
- Game.TextWrapped = true
- Minimize.Name = "Minimize"
- Minimize.Parent = MainFrame
- Minimize.BackgroundColor3 = Color3.new(1, 1, 1)
- Minimize.BackgroundTransparency = 0.20000000298023
- Minimize.BorderSizePixel = 0
- Minimize.Position = UDim2.new(0, 227,0, -2)
- Minimize.Size = UDim2.new(0, 25, 0, 25)
- Minimize.ZIndex = 2
- Minimize.Font = Enum.Font.SourceSans
- Minimize.Text = "-"
- Minimize.TextColor3 = Color3.new(0, 0, 0)
- Minimize.TextSize = 24
- Close.Name = "Close"
- Close.Parent = MainFrame
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 0.20000000298023
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0, 251, 0, -2)
- Close.Size = UDim2.new(0, 28, 0, 25)
- Close.ZIndex = 2
- Close.Font = Enum.Font.SourceSans
- Close.Text = "x"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextSize = 16
- Credits.Name = "Credits"
- Credits.Parent = MainFrame
- Credits.BackgroundColor3 = Color3.new(1, 1, 1)
- Credits.BackgroundTransparency = 0.20000000298023
- Credits.BorderColor3 = Color3.new(1, 1, 1)
- Credits.BorderSizePixel = 0
- Credits.Position = UDim2.new(-0.00359712238, 0, 0.9048931, 0)
- Credits.Size = UDim2.new(0, 278, 0, 28)
- Credits.ZIndex = 2
- Credits.Font = Enum.Font.SourceSans
- Credits.Text = "Gui ~ brianops1 | Scripter(s) ~ "
- Credits.TextColor3 = Color3.new(0, 0, 0)
- Credits.TextSize = 13
- Credits.TextWrapped = true
- B1.Name = "B1"
- B1.Parent = MainFrame
- B1.BackgroundColor3 = Color3.new(1, 1, 1)
- B1.BackgroundTransparency = 0.20000000298023
- B1.BorderColor3 = Color3.new(1, 1, 1)
- B1.Position = UDim2.new(0.0242086351, 0, 0.218306571, 0)
- B1.Size = UDim2.new(0, 125, 0, 40)
- B1.ZIndex = 2
- B1.Font = Enum.Font.SourceSans
- B1.Text = ""
- B1.TextColor3 = Color3.new(0, 0, 0)
- B1.TextSize = 13
- B1.TextWrapped = true
- B2.Name = "B2"
- B2.Parent = MainFrame
- B2.BackgroundColor3 = Color3.new(1, 1, 1)
- B2.BackgroundTransparency = 0.20000000298023
- B2.BorderColor3 = Color3.new(1, 1, 1)
- B2.Position = UDim2.new(0, 144, 0, 60)
- B2.Size = UDim2.new(0, 125, 0, 41)
- B2.ZIndex = 2
- B2.Font = Enum.Font.SourceSans
- B2.Text = ""
- B2.TextColor3 = Color3.new(0, 0, 0)
- B2.TextSize = 13
- B2.TextWrapped = true
- B5.Name = "B5"
- B5.Parent = MainFrame
- B5.BackgroundColor3 = Color3.new(1, 1, 1)
- B5.BackgroundTransparency = 0.20000000298023
- B5.BorderColor3 = Color3.new(1, 1, 1)
- B5.Position = UDim2.new(0.0251798555, 0, 0.559432089, 0)
- B5.Size = UDim2.new(0, 125, 0, 40)
- B5.ZIndex = 2
- B5.Font = Enum.Font.SourceSans
- B5.Text = ""
- B5.TextColor3 = Color3.new(0, 0, 0)
- B5.TextSize = 13
- B5.TextWrapped = true
- B8.Name = "B8"
- B8.Parent = MainFrame
- B8.BackgroundColor3 = Color3.new(1, 1, 1)
- B8.BackgroundTransparency = 0.20000000298023
- B8.BorderColor3 = Color3.new(1, 1, 1)
- B8.Position = UDim2.new(0, 144, 0, 204)
- B8.Size = UDim2.new(0, 125, 0, 40)
- B8.ZIndex = 2
- B8.Font = Enum.Font.SourceSans
- B8.Text = ""
- B8.TextColor3 = Color3.new(0, 0, 0)
- B8.TextSize = 13
- B8.TextWrapped = true
- B6.Name = "B6"
- B6.Parent = MainFrame
- B6.BackgroundColor3 = Color3.new(1, 1, 1)
- B6.BackgroundTransparency = 0.20000000298023
- B6.BorderColor3 = Color3.new(1, 1, 1)
- B6.Position = UDim2.new(0.517985642, 0, 0.557863712, 0)
- B6.Size = UDim2.new(0, 125, 0, 40)
- B6.ZIndex = 2
- B6.Font = Enum.Font.SourceSans
- B6.Text = ""
- B6.TextColor3 = Color3.new(0, 0, 0)
- B6.TextSize = 13
- B6.TextWrapped = true
- B4.Name = "B4"
- B4.Parent = MainFrame
- B4.BackgroundColor3 = Color3.new(1, 1, 1)
- B4.BackgroundTransparency = 0.20000000298023
- B4.BorderColor3 = Color3.new(1, 1, 1)
- B4.Position = UDim2.new(0, 144, 0, 109)
- B4.Size = UDim2.new(0, 125, 0, 40)
- B4.ZIndex = 2
- B4.Font = Enum.Font.SourceSans
- B4.Text = ""
- B4.TextColor3 = Color3.new(0, 0, 0)
- B4.TextSize = 13
- B4.TextWrapped = true
- B7.Name = "B7"
- B7.Parent = MainFrame
- B7.BackgroundColor3 = Color3.new(1, 1, 1)
- B7.BackgroundTransparency = 0.20000000298023
- B7.BorderColor3 = Color3.new(1, 1, 1)
- B7.Position = UDim2.new(0.0251798555, 0, 0.731607914, 0)
- B7.Size = UDim2.new(0, 125, 0, 40)
- B7.ZIndex = 2
- B7.Font = Enum.Font.SourceSans
- B7.Text = ""
- B7.TextColor3 = Color3.new(0, 0, 0)
- B7.TextSize = 13
- B7.TextWrapped = true
- B3.Name = "B3"
- B3.Parent = MainFrame
- B3.BackgroundColor3 = Color3.new(1, 1, 1)
- B3.BackgroundTransparency = 0.20000000298023
- B3.BorderColor3 = Color3.new(1, 1, 1)
- B3.Position = UDim2.new(0.0251798555, 0, 0.392196536, 0)
- B3.Size = UDim2.new(0, 125, 0, 40)
- B3.ZIndex = 2
- B3.Font = Enum.Font.SourceSans
- B3.Text = ""
- B3.TextColor3 = Color3.new(0, 0, 0)
- B3.TextSize = 13
- B3.TextWrapped = true
- BuiltInButton.Name = "BuiltInButton"
- BuiltInButton.Parent = MainFrame
- BuiltInButton.BackgroundColor3 = Color3.new(1, 1, 1)
- BuiltInButton.BackgroundTransparency = 0.20000000298023
- BuiltInButton.BorderSizePixel = 0
- BuiltInButton.Position = UDim2.new(0.0242086723, 0, 0.112921163, 0)
- BuiltInButton.Size = UDim2.new(0, 262, 0, 22)
- BuiltInButton.ZIndex = 2
- BuiltInButton.Font = Enum.Font.SourceSans
- BuiltInButton.Text = "Toggle Built-In Gui Scripts"
- BuiltInButton.TextColor3 = Color3.new(0, 0, 0)
- BuiltInButton.TextSize = 13
- BuiltInButton.TextWrapped = true
- Background.Name = "Background"
- Background.Parent = MainFrame
- Background.BackgroundColor3 = Color3.new(1, 1, 1)
- Background.BorderSizePixel = 0
- Background.LayoutOrder = 1
- Background.Size = UDim2.new(0, 277, 0, 281)
- Background.Image = "rbxassetid://325122566"
- B1.BorderSizePixel = 0
- B2.BorderSizePixel = 0
- B3.BorderSizePixel = 0
- B4.BorderSizePixel = 0
- B5.BorderSizePixel = 0
- B6.BorderSizePixel = 0
- B7.BorderSizePixel = 0
- B8.BorderSizePixel = 0
- _G.noclip = false
- ------------------PreBuilt Scripts-----------------------
- EB1.Text = "Dex"
- EB2.Text = "R2S"
- EB3.Text = "Noclip (Default H)"
- EB4.Text = "Tp to mouse (Default LeftAlt)"
- EB5.Text = "Print/Copy Vector3 position"
- EB6.Text = "Baseplate (click again to tp back)"
- EB1.MouseButton1Click:connect(function()
- loadstring(game:GetObjects('rbxassetid://2180084478')[1].Source)()
- end)
- EB2.MouseButton1Click:connect(function()
- loadstring(game:HttpGet(('https://pastebin.com/raw/PvBGZZdH'),true))()
- end)
- EB3.MouseButton1Click:connect(function()
- UIS.InputBegan:connect(function(Input)
- plr = game:GetService('Players').LocalPlayer
- UIS = game:GetService("UserInputService")
- mouse = plr:GetMouse()
- local KeyCode = Input.KeyCode
- if KeyCode == Enum.KeyCode[_G.KEY1] and _G.noclip == false then
- _G.noclip = true
- while _G.noclip do
- plr.Character.Humanoid:ChangeState(11)
- game:GetService('RunService').Stepped:wait()
- end
- elseif KeyCode == Enum.KeyCode[_G.KEY1] and _G.noclip then
- _G.noclip = false
- end
- end)
- end)
- EB4.MouseButton1Click:connect(function()
- UIS.InputBegan:connect(function(Input)
- plr = game:GetService('Players').LocalPlayer
- UIS = game:GetService("UserInputService")
- mouse = plr:GetMouse()
- local KeyCode = Input.KeyCode
- if KeyCode == Enum.KeyCode[_G.KEY] then
- local hum = plr.Character.HumanoidRootPart
- if mouse.Target then
- hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 4, mouse.Hit.z)
- end
- end
- end)
- end)
- EB5.MouseButton1Click:connect(function()
- x = loc(Root.CFrame.x)
- y = loc(Root.CFrame.y)
- z = loc(Root.CFrame.z)
- print('-----------------')
- print('Your x value is '.. x)
- print('Your y value is '.. y)
- print('Your z value is '.. z)
- pcall(copy,x,y,z)
- end)
- EB6.MouseButton1Click:connect(function()
- local check = game.Workspace:FindFirstChild("BRIAN'S PLATFORM")
- if check then
- Root.CFrame = _G.StartingPosition
- check:Destroy()
- else
- _G.StartingPosition = Root.CFrame
- local P = Instance.new("Part", workspace)
- P.Anchored = true
- P.CFrame = Root.CFrame * CFrame.new(0, 5500, 0)
- P.Name = "BRIAN'S PLATFORM"
- P.Size = Vector3.new(80, 1, 80)
- Root.CFrame = P.CFrame * CFrame.new(0,5,0)
- end
- end)
- ---------------------Functions---------------------------
- function VarOff()
- _G.on1 = 0
- _G.on2 = 0
- _G.on3 = 0
- _G.on4 = 0
- _G.on5 = 0
- _G.on6 = 0
- _G.on7 = 0
- _G.on8 = 0
- end
- function loc(cframe)
- local location = string.find(cframe, ".", 1, true)
- if location == nil then
- return cframe
- end
- return string.sub(cframe, 1, location + 1)
- end
- function copy(x,y,z)
- setclipboard(x .. ", " .. y .. ", " .. z)
- end
- VarOff()
- m = 0
- Minimize.MouseButton1Click:connect(function()
- if m == 0 then
- m = 1
- opennn = PreBuilt.Visible
- B1.Visible = false
- B2.Visible = false
- B3.Visible = false
- B4.Visible = false
- B5.Visible = false
- B6.Visible = false
- B7.Visible = false
- B8.Visible = false
- BuiltInButton.Visible = false
- Credits.Visible = false
- PreBuilt.Visible = false
- Background.Size = UDim2.new(0,278,0,25)
- MainFrame.Size = UDim2.new(0,278,0,25)
- else
- m = 0
- B1.Visible = true
- B2.Visible = true
- B3.Visible = true
- B4.Visible = true
- B5.Visible = true
- B6.Visible = true
- B7.Visible = true
- B8.Visible = true
- BuiltInButton.Visible = true
- Credits.Visible = true
- PreBuilt.Visible = opennn
- Background.Size = UDim2.new(0,278,0,281)
- MainFrame.Size = UDim2.new(0,278,0,279)
- end
- end)
- Close.MouseButton1Click:connect(function()
- VarOff()
- ScreenGui:Destroy()
- end)
- builtin = 0
- BuiltInButton.MouseButton1Click:connect(function()
- if builtin == 0 then
- builtin = 1
- PreBuilt.Visible = true
- else
- builtin = 0
- PreBuilt.Visible = false
- end
- end)
- function ON(button)
- if button.Name == "B1" then
- _G.on1 = 1
- elseif button.Name == "B2" then
- _G.on2 = 1
- elseif button.Name == "B3" then
- _G.on3 = 1
- elseif button.Name == "B4" then
- _G.on4 = 1
- elseif button.Name == "B5" then
- _G.on5 = 1
- elseif button.Name == "B6" then
- _G.on6 = 1
- elseif button.Name == "B7" then
- _G.on7 = 1
- elseif button.Name == "B8" then
- _G.on8 = 1
- end
- button.BorderSizePixel = 2
- button.BorderColor3 = Color3.fromRGB(0, 0, 0)
- end
- function OFF(button)
- if button.Name == "B1" then
- _G.on1 = 0
- elseif button.Name == "B2" then
- _G.on2 = 0
- elseif button.Name == "B3" then
- _G.on3 = 0
- elseif button.Name == "B4" then
- _G.on4 = 0
- elseif button.Name == "B5" then
- _G.on5 = 0
- elseif button.Name == "B6" then
- _G.on6 = 0
- elseif button.Name == "B7" then
- _G.on7 = 0
- elseif button.Name == "B8" then
- _G.on8 = 0
- end
- button.BorderSizePixel = 0
- button.BorderColor3 = Color3.fromRGB(255, 255, 255)
- end
- function attack(v)
- if v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") then
- local killEvent = game:GetService("Workspace")["__THINGS"]["__REMOTES"].mobdodamage
- killEvent:FireServer({ { { { v, v.Humanoid.Health } } }, { false } })
- end
- end
- function place(m,x,y,z)
- local mod = Instance.new("Model",game:GetService("Workspace")["__DEBRIS"])
- mod.Name = m
- local part = Instance.new("Part",mod)
- part.Name = "Part"
- local A_1 =
- {
- [1] =
- {
- [1] = CFrame.new(x, y, z, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- [2] = m,
- [3] = game:GetService("Workspace")["__DEBRIS"][m].Part
- },
- [2] =
- {
- [1] = false,
- [2] = false,
- [3] = false
- }
- }
- local Event = game:GetService("Workspace")["__THINGS"]["__REMOTES"].placeblock
- Event:FireServer(A_1)
- mod:Destroy()
- end
- ---------------------Main Code---------------------------
- Game.Text = "Build and Survive!" -- Game name here
- Credits.Text = Credits.Text .. "brianops1 | SilverBeast" --Scripter(s) name(s) here
- B1.Text = "Auto Collect Drops" --Script Names go here
- B2.Text = "Kill Auara (40 studs radius)"
- B3.Text = "Loop Kill All Monsters"
- B4.Text = "Kill monsters past loot drop point"
- B5.Text = "Autoheal yourself"
- B6.Text = "Autoheal Everyone"
- B7.Text = "Material: Wood"
- B8.Text = "Place Wall Wood"
- B1.MouseButton1Click:connect(function()
- if _G.on1 == 1 then
- OFF(B1)
- else
- ON(B1)
- while _G.on1 == 1 do
- wait()
- for i,v in pairs(game.Workspace["__DEBRIS"].MonsterDrops:GetChildren()) do
- if v then
- wait(.05)
- v.CFrame = Root.CFrame
- end
- end
- end
- OFF(B1)
- end
- end)
- B2.MouseButton1Click:connect(function()
- if _G.on2 == 1 then
- OFF(B2)
- else
- ON(B2)
- while _G.on2 == 1 do
- wait()
- for i,v in pairs(game.Workspace["__THINGS"].Monsters:GetChildren()) do
- if v and v:FindFirstChild("HumanoidRootPart") and (Root.Position - v.HumanoidRootPart.Position).Magnitude < 40 then
- attack(v)
- end
- end
- end
- OFF(B2)
- end
- end)
- B3.MouseButton1Click:connect(function()
- if _G.on3 == 1 then
- OFF(B3)
- else
- ON(B3)
- game:GetService('RunService').Stepped:wait()
- while _G.on3 == 1 do
- wait()
- for i,v in pairs(game.Workspace["__THINGS"].Monsters:GetChildren()) do
- if v then
- attack(v)
- end
- end
- end
- OFF(B3)
- end
- end)
- B4.MouseButton1Click:connect(function()
- if _G.on4 == 1 then
- OFF(B4)
- else
- ON(B4)
- while _G.on4 == 1 do
- wait()
- for i,v in pairs(game.Workspace["__THINGS"].Monsters:GetChildren()) do
- if v and v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") and v.HumanoidRootPart.CFrame.z > -130 then
- attack(v)
- end
- end
- end
- OFF(B4)
- end
- end)
- B5.MouseButton1Click:connect(function()
- if _G.on5 == 1 then
- OFF(B5)
- else
- ON(B5)
- while _G.on5 == 1 do
- wait()
- for i,v in pairs(game.Players:GetChildren()) do
- for a,b in pairs(game.Workspace:GetChildren()) do
- if b.Name == plr.Name then
- local A_1 =
- {
- [1] =
- {
- [1] = "Heal",
- [2] = b
- },
- [2] =
- {
- [1] = false,
- [2] = false
- }
- }
- local Event = game:GetService("Workspace")["__THINGS"]["__REMOTES"].upgradefxserver
- Event:FireServer(A_1)
- end
- end
- end
- end
- OFF(B5)
- end
- end)
- B6.MouseButton1Click:connect(function()
- if _G.on6 == 1 then
- OFF(B6)
- else
- ON(B6)
- game:GetService('RunService').Stepped:wait()
- while _G.on6 == 1 do
- wait()
- for i,v in pairs(game.Players:GetChildren()) do
- for a,b in pairs(game.Workspace:GetChildren()) do
- if v.Name == b.Name then
- local A_1 =
- {
- [1] =
- {
- [1] = "Heal",
- [2] = b
- },
- [2] =
- {
- [1] = false,
- [2] = false
- }
- }
- local Event = game:GetService("Workspace")["__THINGS"]["__REMOTES"].upgradefxserver
- Event:FireServer(A_1)
- end
- end
- end
- end
- OFF(B6)
- end
- end)
- _G.Material = "Wood"
- _G.ITERS = 1
- B7.MouseButton1Click:connect(function()
- if _G.on7 == 1 then
- OFF(B7)
- else
- ON(B7)
- game:GetService('RunService').Stepped:wait()
- if _G.ITERS == 1 then
- _G.ITERS = 2
- B7.Text = "Material: Brick"
- B8.Text = "Place Wall Brick"
- _G.Material = "Brick"
- elseif _G.ITERS == 2 then
- _G.ITERS = 3
- B7.Text = "Material: Metal"
- B8.Text = "Place Wall Metal"
- _G.Material = "Metal"
- elseif _G.ITERS == 3 then
- _G.ITERS = 4
- B7.Text = "Material: Obsidian"
- B8.Text = "Place Wall Obsidian"
- _G.Material = "Obsidian"
- elseif _G.ITERS == 4 then
- _G.ITERS = 5
- B7.Text = "Material: Firebrick"
- B8.Text = "Place Wall Firebrick"
- _G.Material = "Firebrick"
- elseif _G.ITERS == 5 then
- _G.ITERS = 1
- B7.Text = "Material: Wood"
- B8.Text = "Place Wall Wood"
- _G.Material = "Wood"
- end
- OFF(B7)
- end
- end)
- B8.MouseButton1Click:connect(function()
- if _G.on8 == 1 then
- OFF(B8)
- else
- ON(B8)
- game:GetService('RunService').Stepped:wait()
- newz = z
- for a = 1,amount do
- if _G.on8 == 1 then
- newx = x
- newy = y
- newz = newz + 4
- for i = 1, 90 do
- if _G.on8 == 1 then
- wait(WT)
- newx = newx + 4
- place(_G.Material,newx,y,newz)
- newy = y + 4
- place(_G.Material,newx,newy,newz)
- end
- end
- end
- end
- OFF(B8)
- end
- end)
- print('loaded')
Add Comment
Please, Sign In to add comment