Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local basegui = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local wave1 = Instance.new("TextButton")
- local wave7 = Instance.new("TextButton")
- local wave3 = Instance.new("TextButton")
- local wave2 = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local wave4 = Instance.new("TextButton")
- local wave6 = Instance.new("TextButton")
- local wave5 = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.CoreGui
- basegui.Name = "basegui"
- basegui.Parent = ScreenGui
- basegui.Active = true
- basegui.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- basegui.BackgroundTransparency = 0.30000001192093
- basegui.BorderSizePixel = 0
- basegui.Draggable = true
- basegui.Position = UDim2.new(0.041880969, 0, 0.0721311495, 0)
- basegui.Selectable = true
- basegui.Size = UDim2.new(0, 230, 0, 424)
- TextLabel.Parent = basegui
- TextLabel.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- TextLabel.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- TextLabel.BorderSizePixel = 2
- TextLabel.Position = UDim2.new(0.0391304344, 0, 0.0346020758, 0)
- TextLabel.Size = UDim2.new(0, 212, 0, 50)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.Text = "Fantastic Frontier Tower GUI"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- wave1.Name = "wave1"
- wave1.Parent = basegui
- wave1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- wave1.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- wave1.Position = UDim2.new(0.113043472, 0, 0.175304562, 0)
- wave1.Size = UDim2.new(0, 181, 0, 33)
- wave1.Font = Enum.Font.SourceSans
- wave1.Text = "Kill Wave 1"
- wave1.TextColor3 = Color3.new(1, 1, 1)
- wave1.TextSize = 22
- wave7.Name = "wave7"
- wave7.Parent = basegui
- wave7.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- wave7.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- wave7.Position = UDim2.new(0.113043427, 0, 0.797368526, 0)
- wave7.Size = UDim2.new(0, 181, 0, 33)
- wave7.Font = Enum.Font.SourceSans
- wave7.Text = "Kill Wave 7"
- wave7.TextColor3 = Color3.new(1, 1, 1)
- wave7.TextSize = 22
- wave3.Name = "wave3"
- wave3.Parent = basegui
- wave3.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- wave3.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- wave3.Position = UDim2.new(0.110869572, 0, 0.379962891, 0)
- wave3.Size = UDim2.new(0, 181, 0, 33)
- wave3.Font = Enum.Font.SourceSans
- wave3.Text = "Kill Wave 3"
- wave3.TextColor3 = Color3.new(1, 1, 1)
- wave3.TextSize = 22
- wave2.Name = "wave2"
- wave2.Parent = basegui
- wave2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- wave2.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- wave2.Position = UDim2.new(0.113043472, 0, 0.275241733, 0)
- wave2.Size = UDim2.new(0, 181, 0, 33)
- wave2.Font = Enum.Font.SourceSans
- wave2.Text = "Kill Wave 2"
- wave2.TextColor3 = Color3.new(1, 1, 1)
- wave2.TextSize = 22
- TextLabel_2.Parent = basegui
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 5
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.0695652217, 0, 0.892112494, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 35)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "By zBoltZz"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 14
- wave4.Name = "wave4"
- wave4.Parent = basegui
- wave4.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- wave4.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- wave4.Position = UDim2.new(0.11304348, 0, 0.486700863, 0)
- wave4.Size = UDim2.new(0, 181, 0, 33)
- wave4.Font = Enum.Font.SourceSans
- wave4.Text = "Kill Wave 4"
- wave4.TextColor3 = Color3.new(1, 1, 1)
- wave4.TextSize = 22
- wave6.Name = "wave6"
- wave6.Parent = basegui
- wave6.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- wave6.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- wave6.Position = UDim2.new(0.11304348, 0, 0.690990567, 0)
- wave6.Size = UDim2.new(0, 181, 0, 33)
- wave6.Font = Enum.Font.SourceSans
- wave6.Text = "Kill Wave 6"
- wave6.TextColor3 = Color3.new(1, 1, 1)
- wave6.TextSize = 22
- wave5.Name = "wave5"
- wave5.Parent = basegui
- wave5.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- wave5.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
- wave5.Position = UDim2.new(0.11304348, 0, 0.59315145, 0)
- wave5.Size = UDim2.new(0, 181, 0, 33)
- wave5.Font = Enum.Font.SourceSans
- wave5.Text = "Kill Wave 5"
- wave5.TextColor3 = Color3.new(1, 1, 1)
- wave5.TextSize = 22
- wave1.MouseButton1Down:connect(function()
- while wait() do
- for i,v in pairs(workspace.DungeonTemp.Wave1:GetChildren()) do
- v.Humanoid.Health = 0
- end
- end
- end)
- wave2.MouseButton1Down:connect(function()
- while wait() do
- for i,v in pairs(workspace.DungeonTemp.Wave2:GetChildren()) do
- v.Humanoid.Health = 0
- end
- end
- end)
- wave3.MouseButton1Down:connect(function()
- while wait() do
- for i,v in pairs(workspace.DungeonTemp.Wave3:GetChildren()) do
- v.Humanoid.Health = 0
- end
- end
- end)
- wave4.MouseButton1Down:connect(function()
- while wait() do
- for i,v in pairs(workspace.DungeonTemp.Wave4:GetChildren()) do
- v.Humanoid.Health = 0
- end
- end
- end)
- wave5.MouseButton1Down:connect(function()
- while wait() do
- for i,v in pairs(workspace.DungeonTemp.Wave5:GetChildren()) do
- v.Humanoid.Health = 0
- end
- end
- end)
- wave6.MouseButton1Down:connect(function()
- while wait() do
- for i,v in pairs(workspace.DungeonTemp.Wave6:GetChildren()) do
- v.Humanoid.Health = 0
- end
- end
- end)
- wave7.MouseButton1Down:connect(function()
- while wait() do
- for i,v in pairs(workspace.DungeonTemp.Wave7:GetChildren()) do
- v.Humanoid.Health = 0
- end
- end
- end)
Add Comment
Please, Sign In to add comment