SHOW:
|
|
- or go back to the newest paste.
1 | -- Objects | |
2 | ||
3 | local ScreenGui = Instance.new("ScreenGui") | |
4 | local basegui = Instance.new("Frame") | |
5 | local TextLabel = Instance.new("TextLabel") | |
6 | local wave1 = Instance.new("TextButton") | |
7 | local wave7 = Instance.new("TextButton") | |
8 | local wave3 = Instance.new("TextButton") | |
9 | local wave2 = Instance.new("TextButton") | |
10 | local TextLabel_2 = Instance.new("TextLabel") | |
11 | local wave4 = Instance.new("TextButton") | |
12 | local wave6 = Instance.new("TextButton") | |
13 | local wave5 = Instance.new("TextButton") | |
14 | ||
15 | -- Properties | |
16 | ||
17 | ScreenGui.Parent = game.CoreGui | |
18 | ||
19 | basegui.Name = "basegui" | |
20 | basegui.Parent = ScreenGui | |
21 | basegui.Active = true | |
22 | basegui.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
23 | basegui.BackgroundTransparency = 0.30000001192093 | |
24 | basegui.BorderSizePixel = 0 | |
25 | basegui.Draggable = true | |
26 | basegui.Position = UDim2.new(0.041880969, 0, 0.0721311495, 0) | |
27 | basegui.Selectable = true | |
28 | basegui.Size = UDim2.new(0, 230, 0, 424) | |
29 | ||
30 | TextLabel.Parent = basegui | |
31 | TextLabel.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
32 | TextLabel.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
33 | TextLabel.BorderSizePixel = 2 | |
34 | TextLabel.Position = UDim2.new(0.0391304344, 0, 0.0346020758, 0) | |
35 | TextLabel.Size = UDim2.new(0, 212, 0, 50) | |
36 | TextLabel.Font = Enum.Font.SciFi | |
37 | TextLabel.Text = "Fantastic Frontier Tower GUI" | |
38 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
39 | TextLabel.TextScaled = true | |
40 | TextLabel.TextSize = 14 | |
41 | TextLabel.TextWrapped = true | |
42 | ||
43 | wave1.Name = "wave1" | |
44 | wave1.Parent = basegui | |
45 | wave1.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
46 | wave1.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
47 | wave1.Position = UDim2.new(0.113043472, 0, 0.175304562, 0) | |
48 | wave1.Size = UDim2.new(0, 181, 0, 33) | |
49 | wave1.Font = Enum.Font.SourceSans | |
50 | wave1.Text = "Kill Wave 1" | |
51 | wave1.TextColor3 = Color3.new(1, 1, 1) | |
52 | wave1.TextSize = 22 | |
53 | ||
54 | wave7.Name = "wave7" | |
55 | wave7.Parent = basegui | |
56 | wave7.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
57 | wave7.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
58 | wave7.Position = UDim2.new(0.113043427, 0, 0.797368526, 0) | |
59 | wave7.Size = UDim2.new(0, 181, 0, 33) | |
60 | wave7.Font = Enum.Font.SourceSans | |
61 | wave7.Text = "Kill Wave 7" | |
62 | wave7.TextColor3 = Color3.new(1, 1, 1) | |
63 | wave7.TextSize = 22 | |
64 | ||
65 | wave3.Name = "wave3" | |
66 | wave3.Parent = basegui | |
67 | wave3.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
68 | wave3.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
69 | wave3.Position = UDim2.new(0.110869572, 0, 0.379962891, 0) | |
70 | wave3.Size = UDim2.new(0, 181, 0, 33) | |
71 | wave3.Font = Enum.Font.SourceSans | |
72 | wave3.Text = "Kill Wave 3" | |
73 | wave3.TextColor3 = Color3.new(1, 1, 1) | |
74 | wave3.TextSize = 22 | |
75 | ||
76 | wave2.Name = "wave2" | |
77 | wave2.Parent = basegui | |
78 | wave2.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
79 | wave2.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
80 | wave2.Position = UDim2.new(0.113043472, 0, 0.275241733, 0) | |
81 | wave2.Size = UDim2.new(0, 181, 0, 33) | |
82 | wave2.Font = Enum.Font.SourceSans | |
83 | wave2.Text = "Kill Wave 2" | |
84 | wave2.TextColor3 = Color3.new(1, 1, 1) | |
85 | wave2.TextSize = 22 | |
86 | ||
87 | TextLabel_2.Parent = basegui | |
88 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
89 | TextLabel_2.BackgroundTransparency = 5 | |
90 | TextLabel_2.BorderSizePixel = 0 | |
91 | TextLabel_2.Position = UDim2.new(0.0695652217, 0, 0.892112494, 0) | |
92 | TextLabel_2.Size = UDim2.new(0, 200, 0, 35) | |
93 | TextLabel_2.Font = Enum.Font.SourceSans | |
94 | TextLabel_2.Text = "By zBoltZz" | |
95 | TextLabel_2.TextColor3 = Color3.new(1, 1, 1) | |
96 | TextLabel_2.TextSize = 14 | |
97 | ||
98 | wave4.Name = "wave4" | |
99 | wave4.Parent = basegui | |
100 | wave4.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
101 | wave4.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
102 | wave4.Position = UDim2.new(0.11304348, 0, 0.486700863, 0) | |
103 | wave4.Size = UDim2.new(0, 181, 0, 33) | |
104 | wave4.Font = Enum.Font.SourceSans | |
105 | wave4.Text = "Kill Wave 4" | |
106 | wave4.TextColor3 = Color3.new(1, 1, 1) | |
107 | wave4.TextSize = 22 | |
108 | ||
109 | wave6.Name = "wave6" | |
110 | wave6.Parent = basegui | |
111 | wave6.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
112 | wave6.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
113 | wave6.Position = UDim2.new(0.11304348, 0, 0.690990567, 0) | |
114 | wave6.Size = UDim2.new(0, 181, 0, 33) | |
115 | wave6.Font = Enum.Font.SourceSans | |
116 | wave6.Text = "Kill Wave 6" | |
117 | wave6.TextColor3 = Color3.new(1, 1, 1) | |
118 | wave6.TextSize = 22 | |
119 | ||
120 | wave5.Name = "wave5" | |
121 | wave5.Parent = basegui | |
122 | wave5.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235) | |
123 | wave5.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078) | |
124 | wave5.Position = UDim2.new(0.11304348, 0, 0.59315145, 0) | |
125 | wave5.Size = UDim2.new(0, 181, 0, 33) | |
126 | wave5.Font = Enum.Font.SourceSans | |
127 | wave5.Text = "Kill Wave 5" | |
128 | wave5.TextColor3 = Color3.new(1, 1, 1) | |
129 | wave5.TextSize = 22 | |
130 | ||
131 | wave1.MouseButton1Down:connect(function() | |
132 | while wait() do | |
133 | for i,v in pairs(workspace.DungeonTemp.Wave1:GetChildren()) do | |
134 | v.Humanoid.Health = 0 | |
135 | end | |
136 | end | |
137 | end) | |
138 | ||
139 | wave2.MouseButton1Down:connect(function() | |
140 | while wait() do | |
141 | for i,v in pairs(workspace.DungeonTemp.Wave2:GetChildren()) do | |
142 | v.Humanoid.Health = 0 | |
143 | end | |
144 | end | |
145 | end) | |
146 | ||
147 | wave3.MouseButton1Down:connect(function() | |
148 | while wait() do | |
149 | for i,v in pairs(workspace.DungeonTemp.Wave3:GetChildren()) do | |
150 | v.Humanoid.Health = 0 | |
151 | end | |
152 | end | |
153 | end) | |
154 | ||
155 | wave4.MouseButton1Down:connect(function() | |
156 | while wait() do | |
157 | for i,v in pairs(workspace.DungeonTemp.Wave4:GetChildren()) do | |
158 | v.Humanoid.Health = 0 | |
159 | end | |
160 | end | |
161 | end) | |
162 | ||
163 | wave5.MouseButton1Down:connect(function() | |
164 | while wait() do | |
165 | for i,v in pairs(workspace.DungeonTemp.Wave5:GetChildren()) do | |
166 | v.Humanoid.Health = 0 | |
167 | end | |
168 | end | |
169 | end) | |
170 | ||
171 | wave6.MouseButton1Down:connect(function() | |
172 | while wait() do | |
173 | for i,v in pairs(workspace.DungeonTemp.Wave6:GetChildren()) do | |
174 | v.Humanoid.Health = 0 | |
175 | end | |
176 | end | |
177 | end) | |
178 | ||
179 | wave7.MouseButton1Down:connect(function() | |
180 | while wait() do | |
181 | for i,v in pairs(workspace.DungeonTemp.Wave7:GetChildren()) do | |
182 | v.Humanoid.Health = 0 | |
183 | end | |
184 | end | |
185 | end) |