SHOW:
|
|
- or go back to the newest paste.
1 | -- Objects | |
2 | ||
3 | local PlatesCommandUI = Instance.new("ScreenGui") | |
4 | local Main = Instance.new("Frame") | |
5 | local Close = Instance.new("TextButton") | |
6 | local Title = Instance.new("TextLabel") | |
7 | local Minimize = Instance.new("TextButton") | |
8 | local CommandUI = Instance.new("Frame") | |
9 | local TextButton = Instance.new("TextButton") | |
10 | local Clear = Instance.new("TextButton") | |
11 | local Command = Instance.new("TextBox") | |
12 | local Animation = Instance.new("Frame") | |
13 | ||
14 | ||
15 | ||
16 | local UseMask = Instance.new("BoolValue", game.ReplicatedStorage) | |
17 | game.ReplicatedStorage.Value.Name = "UseMask" | |
18 | game.ReplicatedStorage.UseMask.Value = true | |
19 | ||
20 | local EffectColor = Instance.new("Color3Value", game.ReplicatedStorage) | |
21 | game.ReplicatedStorage.Value.Name = "EffectColor" | |
22 | ||
23 | ||
24 | local XOffset = Instance.new("IntValue", game.ReplicatedStorage) | |
25 | game.ReplicatedStorage.Value.Name = "X-Offset" | |
26 | ||
27 | local YOffset = Instance.new("IntValue", game.ReplicatedStorage) | |
28 | game.ReplicatedStorage.Value.Name = "Y-Offset" | |
29 | game.ReplicatedStorage["Y-Offset"].Value = -36 | |
30 | ||
31 | local Lifetime = Instance.new("NumberValue", game.ReplicatedStorage) | |
32 | game.ReplicatedStorage.Value.Name = "Lifetime" | |
33 | game.ReplicatedStorage.Lifetime.Value = .5 | |
34 | ||
35 | local EffectScale = Instance.new("IntValue", game.ReplicatedStorage) | |
36 | game.ReplicatedStorage.Value.Name = "EffectScale" | |
37 | game.ReplicatedStorage.EffectScale.Value = 200 | |
38 | ||
39 | local EffectTransparency = Instance.new("NumberValue", game.ReplicatedStorage) | |
40 | game.ReplicatedStorage.Value.Name = "EffectTransparency" | |
41 | game.ReplicatedStorage.EffectTransparency.Value = .5 | |
42 | ||
43 | local SelectionTransparency = Instance.new("NumberValue", game.ReplicatedStorage) | |
44 | game.ReplicatedStorage.Value.Name = "SelectionTransparency" | |
45 | game.ReplicatedStorage.SelectionTransparency.Value = .75 | |
46 | local TweenService = game:GetService("TweenService") | |
47 | local Setting_EnableMask = game.ReplicatedStorage.UseMask.Value | |
48 | local Setting_Color = game.ReplicatedStorage.EffectColor.Value | |
49 | local Setting_xoffset = game.ReplicatedStorage["X-Offset"].Value | |
50 | local Setting_yoffset = game.ReplicatedStorage["Y-Offset"].Value | |
51 | local Setting_Lifetime = game.ReplicatedStorage.Lifetime.Value | |
52 | local Setting_Scale = game.ReplicatedStorage.EffectScale.Value | |
53 | local Setting_RippleAlpha = game.ReplicatedStorage.EffectTransparency.Value | |
54 | local Setting_SelectionAlpha = game.ReplicatedStorage.SelectionTransparency.Value | |
55 | local down = false | |
56 | local dc = Instance.new("Frame") | |
57 | ||
58 | -- Properties | |
59 | ||
60 | PlatesCommandUI.Name = "PlatesCommandUI" | |
61 | PlatesCommandUI.Parent = game.CoreGui | |
62 | ||
63 | Main.Name = "Main" | |
64 | Main.Parent = PlatesCommandUI | |
65 | Main.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686) | |
66 | Main.BackgroundTransparency = 0.30000001192093 | |
67 | Main.BorderSizePixel = 0 | |
68 | Main.Position = UDim2.new(0.17209588, 0, 0.43154034, 0) | |
69 | Main.Size = UDim2.new(0, 543, 0, 297) | |
70 | Main.Draggable = true | |
71 | Main.Active = true | |
72 | ||
73 | Close.Name = "Close" | |
74 | Close.Parent = Main | |
75 | Close.BackgroundColor3 = Color3.new(0.968628, 0.0862745, 0.0862745) | |
76 | Close.BackgroundTransparency = 0.30000001192093 | |
77 | Close.BorderSizePixel = 0 | |
78 | Close.Position = UDim2.new(0.902394116, 0, 0, 0) | |
79 | Close.Size = UDim2.new(0, 53, 0, 31) | |
80 | Close.Font = Enum.Font.SourceSans | |
81 | Close.FontSize = Enum.FontSize.Size14 | |
82 | Close.Text = "" | |
83 | Close.TextSize = 14 | |
84 | ||
85 | Title.Name = "Title" | |
86 | Title.Parent = Main | |
87 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
88 | Title.BackgroundTransparency = 1 | |
89 | Title.Size = UDim2.new(0, 200, 0, 31) | |
90 | Title.Font = Enum.Font.SciFi | |
91 | Title.FontSize = Enum.FontSize.Size32 | |
92 | Title.Text = "Plates Of Fate command line" | |
93 | Title.TextSize = 30 | |
94 | Title.TextXAlignment = Enum.TextXAlignment.Left | |
95 | Title.TextYAlignment = Enum.TextYAlignment.Bottom | |
96 | ||
97 | Minimize.Name = "Minimize" | |
98 | Minimize.Parent = Main | |
99 | Minimize.BackgroundColor3 = Color3.new(1, 0.541176, 0.137255) | |
100 | Minimize.BorderSizePixel = 0 | |
101 | Minimize.Position = UDim2.new(0.804788232, 0, 0, 0) | |
102 | Minimize.Size = UDim2.new(0, 53, 0, 31) | |
103 | Minimize.Font = Enum.Font.SourceSans | |
104 | Minimize.FontSize = Enum.FontSize.Size14 | |
105 | Minimize.Text = "" | |
106 | Minimize.TextSize = 14 | |
107 | ||
108 | CommandUI.Name = "CommandUI" | |
109 | CommandUI.Parent = Main | |
110 | CommandUI.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627) | |
111 | CommandUI.BackgroundTransparency = 0.30000001192093 | |
112 | CommandUI.BorderSizePixel = 0 | |
113 | CommandUI.Position = UDim2.new(0, 0, 0.115374848, 0) | |
114 | CommandUI.Size = UDim2.new(0, 543, 0, 263) | |
115 | ||
116 | TextButton.Parent = CommandUI | |
117 | TextButton.BackgroundColor3 = Color3.new(0.345098, 0.690196, 0.368627) | |
118 | TextButton.BorderSizePixel = 0 | |
119 | TextButton.Position = UDim2.new(0.176795587, 0, 0.46938777, 0) | |
120 | TextButton.Size = UDim2.new(0, 364, 0, 50) | |
121 | TextButton.Font = Enum.Font.SciFi | |
122 | TextButton.FontSize = Enum.FontSize.Size14 | |
123 | TextButton.Text = "Execute" | |
124 | TextButton.TextSize = 14 | |
125 | ||
126 | Clear.Name = "Clear" | |
127 | Clear.Parent = CommandUI | |
128 | Clear.BackgroundColor3 = Color3.new(0.329412, 0.329412, 0.329412) | |
129 | Clear.BorderSizePixel = 0 | |
130 | Clear.Position = UDim2.new(0.176795587, 0, 0.680272102, 0) | |
131 | Clear.Size = UDim2.new(0, 364, 0, 50) | |
132 | Clear.Font = Enum.Font.SciFi | |
133 | Clear.FontSize = Enum.FontSize.Size14 | |
134 | Clear.Text = "Clear" | |
135 | Clear.TextColor3 = Color3.new(0.827451, 0.827451, 0.827451) | |
136 | Clear.TextSize = 14 | |
137 | ||
138 | Command.Name = "Command" | |
139 | Command.Parent = Main | |
140 | Command.BackgroundColor3 = Color3.new(1, 1, 1) | |
141 | Command.BackgroundTransparency = 1 | |
142 | Command.Position = UDim2.new(0.176795587, 0, 0.23469387, 0) | |
143 | Command.Size = UDim2.new(0, 364, 0, 50) | |
144 | Command.Font = Enum.Font.SciFi | |
145 | Command.FontSize = Enum.FontSize.Size18 | |
146 | Command.Text = "Enter your command" | |
147 | Command.TextSize = 18 | |
148 | ||
149 | Animation.Name = "Animation" | |
150 | Animation.Parent = Command | |
151 | Animation.BackgroundColor3 = Color3.new(0.00392157, 0.00392157, 0.00392157) | |
152 | Animation.BorderSizePixel = 0 | |
153 | Animation.Position = UDim2.new(0, 0, 1.03999996, 0) | |
154 | Animation.Size = UDim2.new(0, 364, 0, 4) | |
155 | ||
156 | ||
157 | -- DESIGN | |
158 | function MainButn() | |
159 | for i,v in pairs(PlatesCommandUI.Main:GetChildren()) do | |
160 | ||
161 | dc.Name = "MaterialSelectedColor" | |
162 | dc.Size = UDim2.new(1, 0, 1, 0) | |
163 | dc.BorderSizePixel = 0 | |
164 | dc.BackgroundColor3 = Setting_Color | |
165 | dc.BackgroundTransparency = 1 | |
166 | dc.ZIndex = v.ZIndex | |
167 | dc.Visible = Setting_EnableMask | |
168 | dc.Parent = v | |
169 | local dc_colorguitween = Instance.new("Frame") | |
170 | dc_colorguitween.Visible = false | |
171 | dc_colorguitween.Name = "ColorTween" | |
172 | dc_colorguitween.Position = UDim2.new(1, 0, 0, 0) | |
173 | dc_colorguitween.Parent = dc | |
174 | dc_colorguitween.Changed:connect(function() | |
175 | dc.BackgroundTransparency = dc_colorguitween.Position.X.Scale | |
176 | end) | |
177 | local rippletweengoal = {} | |
178 | rippletweengoal.ImageTransparency = 1 | |
179 | local maskf = Instance.new("Frame") | |
180 | maskf.Name = "RippleMask" | |
181 | maskf.Size = UDim2.new(1, 0, 1, 0) | |
182 | maskf.ClipsDescendants = true | |
183 | maskf.BackgroundTransparency = 1 | |
184 | maskf.Parent = v | |
185 | local upevent = Instance.new("BindableEvent") | |
186 | upevent.Name = "MouseButton1UpEvent" | |
187 | function ripplemask(x, y) | |
188 | local a = Instance.new("ImageLabel") | |
189 | a.Name = "MaterialRipple" | |
190 | a.Position = UDim2.new(0, x + Setting_xoffset - v.AbsolutePosition.X, 0, y + Setting_yoffset - v.AbsolutePosition.Y) | |
191 | a.Size = UDim2.new(0, 0, 0, 0) | |
192 | a.BackgroundTransparency = 1 | |
193 | a.Image = "rbxasset://textures/whiteCircle.png" | |
194 | a.ImageColor3 = Setting_Color | |
195 | a.ImageTransparency = Setting_RippleAlpha | |
196 | a.AnchorPoint = Vector2.new(0.5, 0.5) | |
197 | a.ZIndex = v.ZIndex | |
198 | a.Parent = maskf | |
199 | a:TweenSize(UDim2.new(0, Setting_Scale, 0, Setting_Scale), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, Setting_Lifetime, true) | |
200 | local tween = TweenService:Create(a, TweenInfo.new(Setting_Lifetime), rippletweengoal) | |
201 | tween:Play() | |
202 | wait(Setting_Lifetime) | |
203 | a:Destroy() | |
204 | end | |
205 | function ripple(x, y) | |
206 | local a = Instance.new("ImageLabel") | |
207 | a.Name = "MaterialRipple" | |
208 | a.Position = UDim2.new(0, x + Setting_xoffset - v.AbsolutePosition.X, 0, y + Setting_yoffset - v.AbsolutePosition.Y) | |
209 | a.Size = UDim2.new(0, 0, 0, 0) | |
210 | a.BackgroundTransparency = 1 | |
211 | a.Image = "rbxasset://textures/whiteCircle.png" | |
212 | a.ImageColor3 = Setting_Color | |
213 | a.ImageTransparency = Setting_RippleAlpha | |
214 | a.AnchorPoint = Vector2.new(0.5, 0.5) | |
215 | a.ZIndex = v.ZIndex - 1 | |
216 | a.Parent = v | |
217 | a:TweenSizeAndPosition(UDim2.new(0, Setting_Scale, 0, Setting_Scale), UDim2.new(0.5, 0, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, Setting_Lifetime, true) | |
218 | upevent.Event:connect(function() | |
219 | local tween = TweenService:Create(a, TweenInfo.new(Setting_Lifetime), rippletweengoal) | |
220 | tween:Play() | |
221 | wait(Setting_Lifetime) | |
222 | a:Destroy() | |
223 | end) | |
224 | end | |
225 | v.MouseButton1Down:connect(function(x, y) | |
226 | down = true | |
227 | dc_colorguitween:TweenPosition(UDim2.new(Setting_SelectionAlpha, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.75, true) | |
228 | if Setting_EnableMask ~= true then | |
229 | ripple(x, y) | |
230 | end | |
231 | end) | |
232 | v.MouseButton1Up:connect(function(x, y) | |
233 | if game:GetService("ReplicatedStorage"):FindFirstChild("MaterialClickSound") then | |
234 | game:GetService("ReplicatedStorage"):FindFirstChild("MaterialClickSound"):Play() | |
235 | end | |
236 | if down == true then | |
237 | down = false | |
238 | dc_colorguitween:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, 0.3, true) | |
239 | if Setting_EnableMask == true then | |
240 | ripplemask(x, y) | |
241 | end | |
242 | end | |
243 | upevent:Fire() | |
244 | end) | |
245 | v.MouseLeave:connect(function(x, y) | |
246 | down = false | |
247 | dc_colorguitween:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, 0.3, true) | |
248 | upevent:Fire() | |
249 | end) | |
250 | function upd() | |
251 | Setting_EnableMask = game.ReplicatedStorage.UseMask.Value | |
252 | Setting_Color = game.ReplicatedStorage.EffectColor.Value | |
253 | Setting_xoffset = game.ReplicatedStorage["X-Offset"].Value | |
254 | Setting_yoffset = game.ReplicatedStorage["Y-Offset"].Value | |
255 | Setting_Lifetime = game.ReplicatedStorage.Lifetime.Value | |
256 | Setting_Scale = game.ReplicatedStorage.EffectScale.Value | |
257 | Setting_RippleAlpha = game.ReplicatedStorage.EffectTransparency.Value | |
258 | Setting_SelectionAlpha = game.ReplicatedStorage.SelectionTransparency.Value | |
259 | dc.BackgroundColor3 = Setting_Color | |
260 | dc.Visible = Setting_EnableMask | |
261 | end | |
262 | game.ReplicatedStorage.UseMask.Changed:connect(upd) | |
263 | game.ReplicatedStorage.EffectColor.Changed:connect(upd) | |
264 | game.ReplicatedStorage["X-Offset"].Changed:connect(upd) | |
265 | game.ReplicatedStorage["Y-Offset"].Changed:connect(upd) | |
266 | game.ReplicatedStorage.Lifetime.Changed:connect(upd) | |
267 | game.ReplicatedStorage.EffectScale.Changed:connect(upd) | |
268 | game.ReplicatedStorage.EffectTransparency.Changed:connect(upd) | |
269 | ||
270 | end | |
271 | end | |
272 | ||
273 | ||
274 | ||
275 | ||
276 | function CommandBtn() | |
277 | for i,v in pairs(PlatesCommandUI.Main.CommandUI:GetChildren()) do | |
278 | ||
279 | dc.Name = "MaterialSelectedColor" | |
280 | dc.Size = UDim2.new(1, 0, 1, 0) | |
281 | dc.BorderSizePixel = 0 | |
282 | dc.BackgroundColor3 = Setting_Color | |
283 | dc.BackgroundTransparency = 1 | |
284 | dc.ZIndex = v.ZIndex | |
285 | dc.Visible = Setting_EnableMask | |
286 | dc.Parent = v | |
287 | local dc_colorguitween = Instance.new("Frame") | |
288 | dc_colorguitween.Visible = false | |
289 | dc_colorguitween.Name = "ColorTween" | |
290 | dc_colorguitween.Position = UDim2.new(1, 0, 0, 0) | |
291 | dc_colorguitween.Parent = dc | |
292 | dc_colorguitween.Changed:connect(function() | |
293 | dc.BackgroundTransparency = dc_colorguitween.Position.X.Scale | |
294 | end) | |
295 | local rippletweengoal = {} | |
296 | rippletweengoal.ImageTransparency = 1 | |
297 | local maskf = Instance.new("Frame") | |
298 | maskf.Name = "RippleMask" | |
299 | maskf.Size = UDim2.new(1, 0, 1, 0) | |
300 | maskf.ClipsDescendants = true | |
301 | maskf.BackgroundTransparency = 1 | |
302 | maskf.Parent = v | |
303 | local upevent = Instance.new("BindableEvent") | |
304 | upevent.Name = "MouseButton1UpEvent" | |
305 | function ripplemask(x, y) | |
306 | local a = Instance.new("ImageLabel") | |
307 | a.Name = "MaterialRipple" | |
308 | a.Position = UDim2.new(0, x + Setting_xoffset - v.AbsolutePosition.X, 0, y + Setting_yoffset - v.AbsolutePosition.Y) | |
309 | a.Size = UDim2.new(0, 0, 0, 0) | |
310 | a.BackgroundTransparency = 1 | |
311 | a.Image = "rbxasset://textures/whiteCircle.png" | |
312 | a.ImageColor3 = Setting_Color | |
313 | a.ImageTransparency = Setting_RippleAlpha | |
314 | a.AnchorPoint = Vector2.new(0.5, 0.5) | |
315 | a.ZIndex = v.ZIndex | |
316 | a.Parent = maskf | |
317 | a:TweenSize(UDim2.new(0, Setting_Scale, 0, Setting_Scale), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, Setting_Lifetime, true) | |
318 | local tween = TweenService:Create(a, TweenInfo.new(Setting_Lifetime), rippletweengoal) | |
319 | tween:Play() | |
320 | wait(Setting_Lifetime) | |
321 | a:Destroy() | |
322 | end | |
323 | function ripple(x, y) | |
324 | local a = Instance.new("ImageLabel") | |
325 | a.Name = "MaterialRipple" | |
326 | a.Position = UDim2.new(0, x + Setting_xoffset - v.AbsolutePosition.X, 0, y + Setting_yoffset - v.AbsolutePosition.Y) | |
327 | a.Size = UDim2.new(0, 0, 0, 0) | |
328 | a.BackgroundTransparency = 1 | |
329 | a.Image = "rbxasset://textures/whiteCircle.png" | |
330 | a.ImageColor3 = Setting_Color | |
331 | a.ImageTransparency = Setting_RippleAlpha | |
332 | a.AnchorPoint = Vector2.new(0.5, 0.5) | |
333 | a.ZIndex = v.ZIndex - 1 | |
334 | a.Parent = v | |
335 | a:TweenSizeAndPosition(UDim2.new(0, Setting_Scale, 0, Setting_Scale), UDim2.new(0.5, 0, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, Setting_Lifetime, true) | |
336 | upevent.Event:connect(function() | |
337 | local tween = TweenService:Create(a, TweenInfo.new(Setting_Lifetime), rippletweengoal) | |
338 | tween:Play() | |
339 | wait(Setting_Lifetime) | |
340 | a:Destroy() | |
341 | end) | |
342 | end | |
343 | v.MouseButton1Down:connect(function(x, y) | |
344 | down = true | |
345 | dc_colorguitween:TweenPosition(UDim2.new(Setting_SelectionAlpha, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.75, true) | |
346 | if Setting_EnableMask ~= true then | |
347 | ripple(x, y) | |
348 | end | |
349 | end) | |
350 | v.MouseButton1Up:connect(function(x, y) | |
351 | if game:GetService("ReplicatedStorage"):FindFirstChild("MaterialClickSound") then | |
352 | game:GetService("ReplicatedStorage"):FindFirstChild("MaterialClickSound"):Play() | |
353 | end | |
354 | if down == true then | |
355 | down = false | |
356 | dc_colorguitween:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, 0.3, true) | |
357 | if Setting_EnableMask == true then | |
358 | ripplemask(x, y) | |
359 | end | |
360 | end | |
361 | upevent:Fire() | |
362 | end) | |
363 | v.MouseLeave:connect(function(x, y) | |
364 | down = false | |
365 | dc_colorguitween:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, 0.3, true) | |
366 | upevent:Fire() | |
367 | end) | |
368 | function upd() | |
369 | Setting_EnableMask = game.ReplicatedStorage.UseMask.Value | |
370 | Setting_Color = game.ReplicatedStorage.EffectColor.Value | |
371 | Setting_xoffset = game.ReplicatedStorage["X-Offset"].Value | |
372 | Setting_yoffset = game.ReplicatedStorage["Y-Offset"].Value | |
373 | Setting_Lifetime = game.ReplicatedStorage.Lifetime.Value | |
374 | Setting_Scale = game.ReplicatedStorage.EffectScale.Value | |
375 | Setting_RippleAlpha = game.ReplicatedStorage.EffectTransparency.Value | |
376 | Setting_SelectionAlpha = game.ReplicatedStorage.SelectionTransparency.Value | |
377 | dc.BackgroundColor3 = Setting_Color | |
378 | dc.Visible = Setting_EnableMask | |
379 | end | |
380 | game.ReplicatedStorage.UseMask.Changed:connect(upd) | |
381 | game.ReplicatedStorage.EffectColor.Changed:connect(upd) | |
382 | game.ReplicatedStorage["X-Offset"].Changed:connect(upd) | |
383 | game.ReplicatedStorage["Y-Offset"].Changed:connect(upd) | |
384 | game.ReplicatedStorage.Lifetime.Changed:connect(upd) | |
385 | game.ReplicatedStorage.EffectScale.Changed:connect(upd) | |
386 | game.ReplicatedStorage.EffectTransparency.Changed:connect(upd) | |
387 | ||
388 | end | |
389 | end | |
390 | -- END | |
391 | ||
392 | Minimize.MouseButton1Down:connect(function() | |
393 | if CommandUI.Visible == false then | |
394 | Main:TweenSize(UDim2.new(0, 543,0, 297), "Out", "Quad", .5, false) | |
395 | wait(.5) | |
396 | CommandUI.Visible = true | |
397 | Command.Visible = true | |
398 | else | |
399 | Main:TweenSize(UDim2.new(0, 543,0, 31), "Out", "Quad", .5, false) | |
400 | CommandUI.Visible = false | |
401 | Command.Visible = false | |
402 | end | |
403 | end) | |
404 | ||
405 | ||
406 | local xx = math.random(-69.25, 147.75) | |
407 | local zz = math.random(113.75, 330.75) | |
408 | local yy = math.random(-20.5,45.5) | |
409 | local plat = math.random(-10,10) | |
410 | plr = game.Players.LocalPlayer | |
411 | local player | |
412 | local all = "all" | |
413 | local others = "others" | |
414 | local me = "me" | |
415 | local pos | |
416 | local mine = "minefield" | |
417 | local bana = "bananarain" | |
418 | local pla = "plates" | |
419 | local mon = "moneyrain" | |
420 | local mega = "megafield" | |
421 | local size = "platesize" | |
422 | local point = "points" | |
423 | local yata = "yatagarasu" | |
424 | local wati = true | |
425 | did = "s" | |
426 | mem = "s" | |
427 | ||
428 | local swrd = "sword" | |
429 | local pot = "potato" | |
430 | local pie = "pie" | |
431 | local gracoil = "gravcoil" | |
432 | local specoil = "speedcoil" | |
433 | local regcoil = "regencoil" | |
434 | local cola = "cola" | |
435 | local banan = "banana" | |
436 | local para = "parachute" | |
437 | local firew = "firework" | |
438 | local plate = "plate" | |
439 | local burg = "burger" | |
440 | local plamine = "mine" | |
441 | local treer = "tree" | |
442 | local telep = "teleport" | |
443 | local mbag = "bag" | |
444 | ||
445 | local on = "on" | |
446 | local off = "off" | |
447 | local status = "s" | |
448 | ||
449 | local fire = "fire" | |
450 | local black = "blackhole" | |
451 | local ls = "lavaspinner" | |
452 | local bmb = "bomb" | |
453 | local pri = "prison" | |
454 | local spk = "spike" | |
455 | local zomb = "zombie" | |
456 | local bmbc = "bombcloud" | |
457 | local tor = "tornado" | |
458 | local fen = "fence" | |
459 | local dis = "disco" | |
460 | local pbmb = "plrbomb" | |
461 | local cac = "cactus" | |
462 | local wal = "wall" | |
463 | local frz = "freeze" | |
464 | local vol = "volcano" | |
465 | local mun = "moon" | |
466 | local nuk = "nuke" | |
467 | local min = "landmine" | |
468 | local marbl = "marble" | |
469 | ||
470 | local coin = "coin" | |
471 | local chest = "chest" | |
472 | ||
473 | function layer(y) | |
474 | local xx = math.random(-111.6, 111.6) | |
475 | local zz = math.random(-108.2, 108.2) | |
476 | for i = 1,5 do | |
477 | for i = 1,100 do | |
478 | print("Layered!") | |
479 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,y,zz), "D=9Vb7aMuZt!8aMH") | |
480 | xx = math.random(-111.6, 111.6) | |
481 | zz = math.random(-108.2, 108.2) | |
482 | end | |
483 | end | |
484 | end | |
485 | ||
486 | function addplates(stage) | |
487 | local xx = math.random(-111.6, 111.6) | |
488 | local zz = math.random(-108.2, 108.2) | |
489 | local yy = math.random(stage, stage*3) | |
490 | for i = 1,60 do | |
491 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(xx,yy,zz),"D=9Vb7aMuZt!8aMH") | |
492 | xx = math.random(-111.6, 111.6) | |
493 | zz = math.random(-108.2, 108.2) | |
494 | yy = math.random(stage, stage*3) | |
495 | end | |
496 | end | |
497 | ||
498 | function utsuho() | |
499 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(55.8,90,54.1),"D=9Vb7aMuZt!8aMH") | |
500 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
501 | if v.Plate.Position == Vector3.new(55.8,90,54.1) then | |
502 | workspace.RemoteEvents.AddDecal:FireServer(148020567, v, "D=9Vb7aMuZt!8aMH") | |
503 | for i = 1,3 do | |
504 | workspace.RemoteEvents.AddParticles:FireServer(148020567, v, "D=9Vb7aMuZt!8aMH") | |
505 | end | |
506 | v.Plate.Touched:Connect(function(who) | |
507 | if who.Name == "Right Leg" or who.Name == "Left Leg" or who.Name == "Right Arm" or who.Name == "Left Arm" or who.Name == "Torso" or who.Name == "Head" or who.Name == "HumanoidRootPart" then | |
508 | local winner = who.Parent.Name | |
509 | for i,b in pairs (game.Players:GetChildren()) do | |
510 | if b.Team == game.Teams.Playing and b.Name ~= winner then | |
511 | workspace.RemoteEvents.TakeDamageEvent:FireServer(b.Character.Humanoid, 99999, "D=9Vb7aMuZt!8aMH") | |
512 | end | |
513 | end | |
514 | end | |
515 | end) | |
516 | end | |
517 | end | |
518 | layer(-5) | |
519 | wait(10) | |
520 | addplates(5) | |
521 | wait(5) | |
522 | layer(2) | |
523 | layer(5) | |
524 | layer(7) | |
525 | wait(5) | |
526 | addplates(20) | |
527 | wait(10) | |
528 | layer(10) | |
529 | layer(13) | |
530 | layer(16) | |
531 | layer(19) | |
532 | wait(5) | |
533 | addplates(30) | |
534 | wait(5) | |
535 | end | |
536 | ||
537 | Clear.MouseButton1Down:connect(function() | |
538 | CommandBtn() | |
539 | Command.Text = "" | |
540 | end) | |
541 | ||
542 | Close.MouseButton1Down:connect(function() | |
543 | ||
544 | PlatesCommandUI:Destroy() | |
545 | end) | |
546 | ||
547 | Command.Focused:connect(function() | |
548 | Animation.BackgroundTransparency = .5 | |
549 | Command.ClearTextOnFocus = false | |
550 | end) | |
551 | ||
552 | Command.FocusLost:connect(function() | |
553 | Animation.BackgroundTransparency = 0 | |
554 | end) | |
555 | ||
556 | ||
557 | TextButton.MouseButton1Down:connect(function() | |
558 | ||
559 | if string.sub(tostring(Command.Text), 1, 5) == "kill/" then | |
560 | if not all:match(string.sub(tostring(Command.Text), 6)) or others:match(string.sub(tostring(Command.Text), 6)) or me:match(string.sub(tostring(Command.Text), 6)) then | |
561 | for i,v in pairs (game.Players:GetChildren()) do | |
562 | if v.Name ~= "XxCreeperStalkerz" or v.Name ~= "Apostasla" then | |
563 | if v.Name:match(string.sub(tostring(Command.Text), 6)) then | |
564 | player = v.Character.Humanoid | |
565 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
566 | elseif all:match(string.sub(tostring(Command.Text), 6)) then | |
567 | player = v.Character.Humanoid | |
568 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
569 | elseif others:match(string.sub(tostring(Command.Text), 6)) then | |
570 | if v ~= game.Players.LocalPlayer then | |
571 | player = v.Character.Humanoid | |
572 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
573 | elseif me:match(string.sub(tostring(Command.Text), 6)) then | |
574 | if v == game.Players.LocalPlayer then | |
575 | player = v.Character.Humanoid | |
576 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
577 | end | |
578 | end | |
579 | end | |
580 | end | |
581 | end | |
582 | end | |
583 | end | |
584 | if string.sub(tostring(Command.Text), 1, 9) == "loopkill/" then | |
585 | if not all:match(string.sub(tostring(Command.Text), 10)) or others:match(string.sub(tostring(Command.Text), 10)) or me:match(string.sub(tostring(Command.Text), 10)) then | |
586 | for i,v in pairs (game.Players:GetChildren()) do | |
587 | if v.Name ~= "XxCreeperStalkerz" or v.Name ~= "Apostasla" then | |
588 | if v.Name:match(string.sub(tostring(Command.Text), 10)) then | |
589 | while wait(1) do | |
590 | player = v.Character.Humanoid | |
591 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
592 | end | |
593 | elseif all:match(string.sub(tostring(Command.Text), 10)) then | |
594 | while wait(1) do | |
595 | player = v.Character.Humanoid | |
596 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
597 | end | |
598 | elseif others:match(string.sub(tostring(Command.Text), 10)) then | |
599 | if v ~= game.Players.LocalPlayer then | |
600 | while wait(1) do | |
601 | player = v.Character.Humanoid | |
602 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
603 | end | |
604 | elseif me:match(string.sub(tostring(Command.Text), 10)) then | |
605 | if v == game.Players.LocalPlayer then | |
606 | while wait(1) do | |
607 | player = v.Character.Humanoid | |
608 | workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, "D=9Vb7aMuZt!8aMH") | |
609 | end | |
610 | end | |
611 | end | |
612 | end | |
613 | end | |
614 | end | |
615 | end | |
616 | end | |
617 | if string.sub(tostring(Command.Text), 1, 8) == "explode/" then | |
618 | if not all:match(string.sub(tostring(Command.Text), 9)) or others:match(string.sub(tostring(Command.Text), 9)) or me:match(string.sub(tostring(Command.Text), 9)) then | |
619 | for i,v in pairs (game.Players:GetChildren()) do | |
620 | if v.Name ~= "XxCreeperStalkerz" or v.Name ~= "Apostasla" then | |
621 | if v.Name:match(string.sub(tostring(Command.Text), 9)) then | |
622 | pos = v.Character.HumanoidRootPart.Position | |
623 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
624 | elseif all:match(string.sub(tostring(Command.Text), 9)) then | |
625 | pos = v.Character.HumanoidRootPart.Position | |
626 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
627 | elseif others:match(string.sub(tostring(Command.Text), 9)) then | |
628 | if v ~= game.Players.LocalPlayer then | |
629 | pos = v.Character.HumanoidRootPart.Position | |
630 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
631 | elseif me:match(string.sub(tostring(Command.Text), 9)) then | |
632 | if v == game.Players.LocalPlayer then | |
633 | pos = v.Character.HumanoidRootPart.Position | |
634 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
635 | end | |
636 | end | |
637 | end | |
638 | end | |
639 | end | |
640 | end | |
641 | end | |
642 | if string.sub(tostring(Command.Text), 1, 6) == "plate/" then | |
643 | if not all:match(string.sub(tostring(Command.Text), 7)) or others:match(string.sub(tostring(Command.Text), 7)) or me:match(string.sub(tostring(Command.Text), 7)) then | |
644 | for i,v in pairs (game.Players:GetChildren()) do | |
645 | if v.Name:match(string.sub(tostring(Command.Text), 7)) then | |
646 | pos = v.Character.HumanoidRootPart.Position | |
647 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
648 | elseif all:match(string.sub(tostring(Command.Text), 7)) then | |
649 | pos = v.Character.HumanoidRootPart.Position | |
650 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
651 | elseif others:match(string.sub(tostring(Command.Text), 7)) then | |
652 | if v ~= game.Players.LocalPlayer then | |
653 | pos = v.Character.HumanoidRootPart.Position | |
654 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
655 | elseif me:match(string.sub(tostring(Command.Text), 7)) then | |
656 | if v == game.Players.LocalPlayer then | |
657 | pos = v.Character.HumanoidRootPart.Position | |
658 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
659 | end | |
660 | end | |
661 | end | |
662 | end | |
663 | end | |
664 | end | |
665 | if string.sub(tostring(Command.Text), 1, 5) == "tree/" then | |
666 | if not all:match(string.sub(tostring(Command.Text), 6)) or others:match(string.sub(tostring(Command.Text), 6)) or me:match(string.sub(tostring(Command.Text), 6)) then | |
667 | for i,v in pairs (game.Players:GetChildren()) do | |
668 | if v.Name:match(string.sub(tostring(Command.Text), 6)) then | |
669 | pos = v.Character.HumanoidRootPart.Position | |
670 | workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
671 | elseif all:match(string.sub(tostring(Command.Text), 6)) then | |
672 | pos = v.Character.HumanoidRootPart.Position | |
673 | workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
674 | elseif others:match(string.sub(tostring(Command.Text), 6)) then | |
675 | if v ~= game.Players.LocalPlayer then | |
676 | pos = v.Character.HumanoidRootPart.Position | |
677 | workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
678 | elseif me:match(string.sub(tostring(Command.Text), 6)) then | |
679 | if v == game.Players.LocalPlayer then | |
680 | pos = v.Character.HumanoidRootPart.Position | |
681 | workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
682 | end | |
683 | end | |
684 | end | |
685 | end | |
686 | end | |
687 | end | |
688 | if string.sub(tostring(Command.Text), 1, 7) == "banana/" then | |
689 | if not all:match(string.sub(tostring(Command.Text), 8)) or others:match(string.sub(tostring(Command.Text), 8)) or me:match(string.sub(tostring(Command.Text), 8)) then | |
690 | for i,v in pairs (game.Players:GetChildren()) do | |
691 | if v.Name:match(string.sub(tostring(Command.Text), 8)) then | |
692 | pos = v.Character.HumanoidRootPart.Position | |
693 | for i = 1,3 do | |
694 | workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
695 | end | |
696 | elseif all:match(string.sub(tostring(Command.Text), 8)) then | |
697 | pos = v.Character.HumanoidRootPart.Position | |
698 | for i = 1,3 do | |
699 | workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
700 | end | |
701 | elseif others:match(string.sub(tostring(Command.Text), 8)) then | |
702 | if v ~= game.Players.LocalPlayer then | |
703 | pos = v.Character.HumanoidRootPart.Position | |
704 | for i = 1,3 do | |
705 | workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
706 | end | |
707 | elseif me:match(string.sub(tostring(Command.Text), 8)) then | |
708 | if v == game.Players.LocalPlayer then | |
709 | pos = v.Character.HumanoidRootPart.Position | |
710 | for i = 1,3 do | |
711 | workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH") | |
712 | end | |
713 | end | |
714 | end | |
715 | end | |
716 | end | |
717 | end | |
718 | end | |
719 | if string.sub(tostring(Command.Text), 1, 7) == "potato/" then | |
720 | if not all:match(string.sub(tostring(Command.Text), 8)) or others:match(string.sub(tostring(Command.Text), 8)) or me:match(string.sub(tostring(Command.Text), 8)) then | |
721 | for i,v in pairs (game.Players:GetChildren()) do | |
722 | if v.Name ~= "XxCreeperStalkerz" or v.Name ~= "Apostasla" then | |
723 | if v.Name:match(string.sub(tostring(Command.Text), 8)) then | |
724 | for i = 1,3 do | |
725 | workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,"D=9Vb7aMuZt!8aMH") | |
726 | end | |
727 | elseif all:match(string.sub(tostring(Command.Text), 8)) then | |
728 | for i = 1,3 do | |
729 | workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,"D=9Vb7aMuZt!8aMH") | |
730 | end | |
731 | elseif others:match(string.sub(tostring(Command.Text), 8)) then | |
732 | if v ~= game.Players.LocalPlayer then | |
733 | for i = 1,3 do | |
734 | workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,"D=9Vb7aMuZt!8aMH") | |
735 | end | |
736 | elseif me:match(string.sub(tostring(Command.Text), 8)) then | |
737 | if v == game.Players.LocalPlayer then | |
738 | for i = 1,3 do | |
739 | workspace.RemoteEvents.BananaEvent:FireServer(""..v.Name,"D=9Vb7aMuZt!8aMH") | |
740 | end | |
741 | end | |
742 | end | |
743 | end | |
744 | end | |
745 | end | |
746 | end | |
747 | end | |
748 | if string.sub(tostring(Command.Text), 1, 7) == "kawaii/" then | |
749 | local decals = {305103891,148020056,426868863,51193582,147906004,496638309,253197559,148020132,147905960,481751303,493330460,147905379,148020283,149874244,149874205,149874142,149874121,149874091,149874074,149874053,149874019,149873976,149873926,148021078,148021043,148020947,148020932,148020914,148020831,148020602,148020411,148020366,148020343,148020177,148020092,148020028,148019993,147906126,147906096,147906037,147905917,147905713,147905608,147905537,147905513,147905447,147905405,147905353,147905331,147905274,147905257,147905207,147905183,135796114,135795749,135795807,135795953,135795910,135795616,135795592,135795638,135795523} | |
750 | local decal = math.random(#decals) | |
751 | local c = decals[ decal ] | |
752 | ||
753 | local songs = {747000636,919270364,155880750,225557046,919256199,919236601,590243700,235201055,155880750,730013942,737043670,379240208,343508984,383056380,911777530,747000636,920219269,168337558,171222847,363553876,227488587,665015838} | |
754 | local song = math.random(#songs) | |
755 | local b = songs[ song ] | |
756 | ||
757 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
758 | workspace.RemoteEvents.AddDecal:FireServer(c, v, "D=9Vb7aMuZt!8aMH") | |
759 | for i = 1,3 do | |
760 | workspace.RemoteEvents.AddParticles:FireServer(c, v, "D=9Vb7aMuZt!8aMH") | |
761 | end | |
762 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..b, v, "D=9Vb7aMuZt!8aMH") | |
763 | song = math.random(#songs) | |
764 | b = songs[ song ] | |
765 | decal = math.random(#decals) | |
766 | c = decals[ decal ] | |
767 | end | |
768 | end | |
769 | if string.sub(tostring(Command.Text), 1, 7) == "health/" then | |
770 | for i,v in pairs (game.Players:GetChildren()) do | |
771 | if v.Name:match(string.sub(tostring(Command.Text), 8)) then | |
772 | workspace.RemoteEvents.TakeDamageEvent:FireServer(v.Character.Humanoid, v.Character.Humanoid.Health-v.Character.Humanoid.MaxHealth, "D=9Vb7aMuZt!8aMH") | |
773 | end | |
774 | end | |
775 | end | |
776 | if string.sub(tostring(Command.Text), 1, 4) == "god/" then | |
777 | for i,v in pairs (game.Players:GetChildren()) do | |
778 | if v.Name:match(string.sub(tostring(Command.Text), 5)) then | |
779 | repeat wait() workspace.RemoteEvents.TakeDamageEvent:FireServer(v.Character.Humanoid, -999999999, "D=9Vb7aMuZt!8aMH") until v.Character.Humanoid.Health == 0 | |
780 | end | |
781 | end | |
782 | end | |
783 | if string.sub(tostring(Command.Text), 1, 6) == "anime/" then | |
784 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
785 | if v.Owner.Value:match(string.sub(tostring(Command.Text), 7)) then | |
786 | player = v.Owner.Value | |
787 | end | |
788 | end | |
789 | local z | |
790 | local n | |
791 | local decals | |
792 | local decal | |
793 | local chooser = math.random(1,75) | |
794 | local songs = {747000636,919270364,155880750,225557046,919256199,919236601,590243700,235201055,155880750,730013942,737043670,379240208,343508984,383056380,911777530,747000636,920219269,168337558,171222847,363553876,227488587,298226253} | |
795 | local song = math.random(#songs) | |
796 | local x = songs[ song ] | |
797 | ||
798 | if chooser ~= 1 then | |
799 | decals = {305103891,148020056,426868863,51193582,147906004,496638309,253197559,148020132,147905960,481751302,147905379,148020283,149874244,149874204,149874142,149874121,149874091,149874074,149874054,149874019,149873976,149873926,148021078,148021043,148020947,148020932,148020914,148020831,148020602,148020411,148020366,148020343,148020177,148020092,148020028,148019993,147906126,147906096,147906037,147905917,147905713,147905608,147905537,147905513,147905447,147905403,147905353,147905331,147905274,147905257,147905207,147905183,135796113,135795749,135795807,135795953,135795910,135795616,135795592,135795638,135795523} | |
800 | decal = math.random(#decals) | |
801 | z = decals[ decal ] | |
802 | else | |
803 | z = 148020567 | |
804 | x = 156401749 | |
805 | end | |
806 | ||
807 | print("Decal is "..z) | |
808 | print("Audio is "..x) | |
809 | for i,b in pairs (workspace.Plates:GetChildren()) do | |
810 | if b.Owner.Value == player and wati == true then | |
811 | workspace.RemoteEvents.AddDecal:FireServer(z, b, "D=9Vb7aMuZt!8aMH") | |
812 | for i = 1,3 do | |
813 | workspace.RemoteEvents.AddParticles:FireServer(z, b, "D=9Vb7aMuZt!8aMH") | |
814 | end | |
815 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..x, b, "D=9Vb7aMuZt!8aMH") | |
816 | wati = false | |
817 | wait(3) | |
818 | wati = true | |
819 | end | |
820 | end | |
821 | end | |
822 | if string.sub(tostring(Command.Text), 1, 7) == "utsuho/" then | |
823 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
824 | if v.Owner.Value:match(string.sub(tostring(Command.Text), 8)) then | |
825 | z = 148020567 | |
826 | x = 156401749 | |
827 | workspace.RemoteEvents.AddDecal:FireServer(z, v, "D=9Vb7aMuZt!8aMH") | |
828 | for i = 1,3 do | |
829 | workspace.RemoteEvents.AddParticles:FireServer(z, v, "D=9Vb7aMuZt!8aMH") | |
830 | end | |
831 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..x, v, "D=9Vb7aMuZt!8aMH") | |
832 | end | |
833 | end | |
834 | end | |
835 | if string.sub(tostring(Command.Text), 1, 14) == "destroy/server" then | |
836 | local xx = math.random(-151.6, 151.6) | |
837 | local zz = math.random(-108.2, 108.2) | |
838 | for i = 1,10 do | |
839 | for i = 1,50 do | |
840 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(xx,yy,zz), "D=9Vb7aMuZt!8aMH") | |
841 | xx = math.random(-151.6, 151.6) | |
842 | zz = math.random(-158.2, 158.2) | |
843 | yy = math.random(-20.5,45.5) | |
844 | end | |
845 | end | |
846 | wait(3) | |
847 | local decals = {305103891,148020056,426868863,51193582,147906004,496638309,253197559,148020132,147905960,481751303,493330460,147905379,148020283,149874244,149874205,149874142,149874121,149874091,149874074,149874053,149874019,149873976,149873926,148021078,148021043,148020947,148020932,148020914,148020831,148020602,148020411,148020366,148020343,148020177,148020092,148020028,148019993,147906126,147906096,147906037,147905917,147905713,147905608,147905537,147905513,147905447,147905405,147905353,147905331,147905274,147905257,147905207,147905183,135796114,135795749,135795807,135795953,135795910,135795616,135795592,135795638} | |
848 | local decal = math.random(#decals) | |
849 | local c = decals[ decal ] | |
850 | ||
851 | local songs = {919270364,155880750,225557046,919256199,919236601,590243700,235201055,155880750,201179350,730013942,737043670,343514724,379240208,237388464,343508984,284768504,609167755,383056380,164833164,911777530,397723799,298226253} | |
852 | local song = math.random(#songs) | |
853 | local b = songs[ song ] | |
854 | ||
855 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
856 | workspace.RemoteEvents.AddDecal:FireServer(c, v, "D=9Vb7aMuZt!8aMH") | |
857 | for i = 1,5 do | |
858 | workspace.RemoteEvents.AddParticles:FireServer(c, v, "D=9Vb7aMuZt!8aMH") | |
859 | end | |
860 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..b, v, "D=9Vb7aMuZt!8aMH") | |
861 | song = math.random(#songs) | |
862 | b = songs[ song ] | |
863 | decal = math.random(#decals) | |
864 | c = decals[ decal ] | |
865 | end | |
866 | for i = 1,10 do | |
867 | for i = 1,300 do | |
868 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), "D=9Vb7aMuZt!8aMH") | |
869 | xx = math.random(-151.6, 151.6) | |
870 | zz = math.random(-158.2, 158.2) | |
871 | yy = math.random(-20.5,85.5) | |
872 | end | |
873 | end | |
874 | end | |
875 | if string.sub(tostring(Command.Text), 1, 3) == "tp/" then | |
876 | for i,v in pairs (game.Players:GetChildren()) do | |
877 | if v.Name:match(string.sub(tostring(Command.Text), 4)) then | |
878 | player = v.Character.HumanoidRootPart.Position | |
879 | workspace.RemoteEvents.ToolTeleportEvent:FireServer(Vector3.new(player.X,player.Y,player.Z), "D=9Vb7aMuZt!8aMH") | |
880 | end | |
881 | end | |
882 | end | |
883 | ||
884 | if string.sub(tostring(Command.Text), 1, 8) == "platetp/" then | |
885 | for i,v in pairs (game.Players:GetChildren()) do | |
886 | if v.Name:match(string.sub(tostring(Command.Text), 9)) then | |
887 | for i,b in pairs (workspace.Plates:GetChildren()) do | |
888 | if b.Owner.Value == v.Name then | |
889 | local plater = b.Plate.Position | |
890 | workspace.RemoteEvents.ToolTeleportEvent:FireServer(Vector3.new(plater.X,plater.Y,plater.Z), "D=9Vb7aMuZt!8aMH") | |
891 | end | |
892 | end | |
893 | end | |
894 | end | |
895 | end | |
896 | if string.sub(tostring(Command.Text), 1, 7) == "points/" then | |
897 | if not all:match(string.sub(tostring(Command.Text), 8)) or others:match(string.sub(tostring(Command.Text), 8)) or me:match(string.sub(tostring(Command.Text), 8)) then | |
898 | if me:match(string.sub(tostring(Command.Text), 8)) then | |
899 | workspace.RemoteEvents.ShopBuyEvent:FireServer(-999999999, "D=9Vb7aMuZt!8aMH") | |
900 | end | |
901 | end | |
902 | end | |
903 | if string.sub(tostring(Command.Text), 1, 4) == "win/" then | |
904 | for i,v in pairs (game.Players:GetChildren()) do | |
905 | if v.Name:match(string.sub(tostring(Command.Text), 5)) and v.Team == game.Teams.Playing then | |
906 | for i,b in pairs (game.Players:GetChildren()) do | |
907 | if b.Team == game.Teams.Playing and b ~= v then | |
908 | workspace.RemoteEvents.TakeDamageEvent:FireServer(b.Character.Humanoid, 99999, "D=9Vb7aMuZt!8aMH") | |
909 | end | |
910 | end | |
911 | end | |
912 | end | |
913 | end | |
914 | if string.sub(tostring(Command.Text), 1, 9) == "expand50/" then | |
915 | for i,v in pairs (game.Players:GetChildren()) do | |
916 | if v.Name:match(string.sub(tostring(Command.Text), 10)) then | |
917 | if v.gamestats.Plate.Value then | |
918 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, 50, "D=9Vb7aMuZt!8aMH") | |
919 | end | |
920 | end | |
921 | end | |
922 | end | |
923 | if string.sub(tostring(Command.Text), 1, 9) == "expand10/" then | |
924 | for i,v in pairs (game.Players:GetChildren()) do | |
925 | if v.Name:match(string.sub(tostring(Command.Text), 10)) then | |
926 | if v.gamestats.Plate.Value then | |
927 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, 10, "D=9Vb7aMuZt!8aMH") | |
928 | end | |
929 | end | |
930 | end | |
931 | end | |
932 | if string.sub(tostring(Command.Text), 1, 9) == "expand25/" then | |
933 | for i,v in pairs (game.Players:GetChildren()) do | |
934 | if v.Name:match(string.sub(tostring(Command.Text), 10)) then | |
935 | if v.gamestats.Plate.Value then | |
936 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, 25, "D=9Vb7aMuZt!8aMH") | |
937 | end | |
938 | end | |
939 | end | |
940 | end | |
941 | if string.sub(tostring(Command.Text), 1, 10) == "expand100/" then | |
942 | for i,v in pairs (game.Players:GetChildren()) do | |
943 | if v.Name:match(string.sub(tostring(Command.Text), 11)) then | |
944 | if v.gamestats.Plate.Value then | |
945 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, 100, "D=9Vb7aMuZt!8aMH") | |
946 | end | |
947 | end | |
948 | end | |
949 | end | |
950 | if string.sub(tostring(Command.Text), 1, 9) == "shrink50/" then | |
951 | for i,v in pairs (game.Players:GetChildren()) do | |
952 | if v.Name:match(string.sub(tostring(Command.Text), 10)) then | |
953 | if v.gamestats.Plate.Value then | |
954 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, -50, "D=9Vb7aMuZt!8aMH") | |
955 | end | |
956 | end | |
957 | end | |
958 | end | |
959 | if string.sub(tostring(Command.Text), 1, 9) == "shrink10/" then | |
960 | for i,v in pairs (game.Players:GetChildren()) do | |
961 | if v.Name:match(string.sub(tostring(Command.Text), 10)) then | |
962 | if v.gamestats.Plate.Value then | |
963 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, -10, "D=9Vb7aMuZt!8aMH") | |
964 | end | |
965 | end | |
966 | end | |
967 | end | |
968 | if string.sub(tostring(Command.Text), 1, 9) == "shrink25/" then | |
969 | for i,v in pairs (game.Players:GetChildren()) do | |
970 | if v.Name:match(string.sub(tostring(Command.Text), 10)) then | |
971 | if v.gamestats.Plate.Value then | |
972 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, -25, "D=9Vb7aMuZt!8aMH") | |
973 | end | |
974 | end | |
975 | end | |
976 | end | |
977 | if string.sub(tostring(Command.Text), 1, 10) == "shrink100/" then | |
978 | for i,v in pairs (game.Players:GetChildren()) do | |
979 | if v.Name:match(string.sub(tostring(Command.Text), 11)) then | |
980 | if v.gamestats.Plate.Value then | |
981 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, -100, "D=9Vb7aMuZt!8aMH") | |
982 | end | |
983 | end | |
984 | end | |
985 | end | |
986 | if string.sub(tostring(Command.Text), 1, 10) == "obliviate/" then | |
987 | for i,v in pairs (game.Players:GetChildren()) do | |
988 | if v.Name:match(string.sub(tostring(Command.Text), 11)) then | |
989 | if v.gamestats.Plate.Value then | |
990 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, -999999, "D=9Vb7aMuZt!8aMH") | |
991 | end | |
992 | end | |
993 | end | |
994 | end | |
995 | if string.sub(tostring(Command.Text), 1, 6) == "decal/" then | |
996 | for i,b in pairs (workspace.Plates:GetChildren()) do | |
997 | workspace.RemoteEvents.AddDecal:FireServer(string.sub(tostring(Command.Text), 7), b, "D=9Vb7aMuZt!8aMH") | |
998 | end | |
999 | end | |
1000 | if string.sub(tostring(Command.Text), 1, 6) == "audio/" then | |
1001 | for i,b in pairs (workspace.Plates:GetChildren()) do | |
1002 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..string.sub(tostring(Command.Text), 7), b, "D=9Vb7aMuZt!8aMH") | |
1003 | end | |
1004 | end | |
1005 | if string.sub(tostring(Command.Text), 1, 9) == "particle/" then | |
1006 | for i,b in pairs (workspace.Plates:GetChildren()) do | |
1007 | workspace.RemoteEvents.AddParticles:FireServer(string.sub(tostring(Command.Text), 10), b, "D=9Vb7aMuZt!8aMH") | |
1008 | end | |
1009 | end | |
1010 | if string.sub(tostring(Command.Text), 1, 8) == "sparkle/" then | |
1011 | for i,b in pairs (workspace.Plates:GetChildren()) do | |
1012 | workspace.RemoteEvents.AddParticles:FireServer(string.sub(tostring(Command.Text), 9), "D=9Vb7aMuZt!8aMH") | |
1013 | end | |
1014 | end | |
1015 | ||
1016 | if string.sub(tostring(Command.Text), 1, 9) == "detonate/" then | |
1017 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1018 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://134314368", v, "D=9Vb7aMuZt!8aMH") | |
1019 | end | |
1020 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1021 | if v.Name == "Landmine" then | |
1022 | workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(v.Position.X,v.Position.Y+1,v.Position.Z), "D=9Vb7aMuZt!8aMH") | |
1023 | end | |
1024 | end | |
1025 | end | |
1026 | if string.sub(tostring(Command.Text), 1, 10) == "platewalk/" then | |
1027 | if on:match(string.sub(tostring(Command.Text), 11)) then | |
1028 | status = "on" | |
1029 | while status == on do | |
1030 | wait(.15) | |
1031 | pos = game.Players.LocalPlayer.Character.HumanoidRootPart.Position | |
1032 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y-2.5,pos.Z), "D=9Vb7aMuZt!8aMH") | |
1033 | end | |
1034 | end | |
1035 | if off:match(string.sub(tostring(Command.Text), 11)) then | |
1036 | status = "off" | |
1037 | end | |
1038 | end | |
1039 | if string.sub(tostring(Command.Text), 1, 5) == "trap/" then | |
1040 | for i,v in pairs (game.Players:GetChildren()) do | |
1041 | if v.Name:match(string.sub(tostring(Command.Text), 6)) then | |
1042 | player = v.Name | |
1043 | for i,b in pairs (workspace.Plates:GetChildren()) do | |
1044 | if b.Owner.Value == player then | |
1045 | b.Plate.Touched:Connect(function(who) | |
1046 | print("Touched by "..who.Name) | |
1047 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(who.Position.X,who.Position.Y,who.Position.Z), "D=9Vb7aMuZt!8aMH") | |
1048 | end) | |
1049 | end | |
1050 | end | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | if string.sub(tostring(Command.Text), 1, 12) == "EXPLOOOSION/" then | |
1055 | if not all:match(string.sub(tostring(Command.Text), 13)) or others:match(string.sub(tostring(Command.Text), 13)) or me:match(string.sub(tostring(Command.Text), 13)) then | |
1056 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1057 | local becal = 723125463 | |
1058 | workspace.RemoteEvents.AddDecal:FireServer(becal, v, true) | |
1059 | for i = 1,5 do | |
1060 | workspace.RemoteEvents.AddParticles:FireServer(becal, v, true) | |
1061 | end | |
1062 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://665015838", v, "D=9Vb7aMuZt!8aMH") | |
1063 | local xx = math.random(-111.6, 111.6) | |
1064 | local zz = math.random(-108.2, 108.2) | |
1065 | local yy = math.random(-20.5,85.5) | |
1066 | for i = 1,15 do | |
1067 | for i = 1,200 do | |
1068 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), "D=9Vb7aMuZt!8aMH") | |
1069 | xx = math.random(-111.6, 111.6) | |
1070 | zz = math.random(-108.2, 108.2) | |
1071 | yy = math.random(-20.5,85.5) | |
1072 | end | |
1073 | end | |
1074 | end | |
1075 | end | |
1076 | end | |
1077 | ||
1078 | if string.sub(tostring(Command.Text), 1, 6) == "layer/" then | |
1079 | local xx = math.random(-111.6, 111.6) | |
1080 | local zz = math.random(-108.2, 108.2) | |
1081 | print("Layering!") | |
1082 | for i = 1,5 do | |
1083 | for i = 1,100 do | |
1084 | print("Layered!") | |
1085 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,string.sub(tostring(Command.Text),7),zz), "D=9Vb7aMuZt!8aMH") | |
1086 | xx = math.random(-111.6, 111.6) | |
1087 | zz = math.random(-108.2, 108.2) | |
1088 | end | |
1089 | wait(1) | |
1090 | end | |
1091 | end | |
1092 | ||
1093 | if string.sub(tostring(Command.Text), 1, 5) == "tool/" then | |
1094 | if banan:match(string.sub(tostring(Command.Text), 6)) then | |
1095 | print("Giving tool") | |
1096 | local tool = game.ReplicatedStorage["BananaPeel"]:Clone() | |
1097 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1098 | elseif swrd:match(string.sub(tostring(Command.Text), 6)) then | |
1099 | print("Giving tool") | |
1100 | local tool = game.ReplicatedStorage["Sword"]:Clone() | |
1101 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1102 | elseif cola:match(string.sub(tostring(Command.Text), 6)) then | |
1103 | print("Giving tool") | |
1104 | local tool = game.ReplicatedStorage["Bloxy Cola"]:Clone() | |
1105 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1106 | elseif gracoil:match(string.sub(tostring(Command.Text), 6)) then | |
1107 | print("Giving tool") | |
1108 | local tool = game.ReplicatedStorage["GravityCoil"]:Clone() | |
1109 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1110 | elseif regcoil:match(string.sub(tostring(Command.Text), 6)) then | |
1111 | local tool = game.ReplicatedStorage["RegenCoil"]:Clone() | |
1112 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1113 | elseif specoil:match(string.sub(tostring(Command.Text), 6)) then | |
1114 | local tool = game.ReplicatedStorage["SpeedCoil"]:Clone() | |
1115 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1116 | elseif para:match(string.sub(tostring(Command.Text), 6)) then | |
1117 | local tool = game.ReplicatedStorage["Parachute"]:Clone() | |
1118 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1119 | elseif firew:match(string.sub(tostring(Command.Text), 6)) then | |
1120 | local tool = game.ReplicatedStorage["Fireworks"]:Clone() | |
1121 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1122 | elseif pie:match(string.sub(tostring(Command.Text), 6)) then | |
1123 | local tool = game.ReplicatedStorage["PieTool"]:Clone() | |
1124 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1125 | elseif pot:match(string.sub(tostring(Command.Text), 6)) then | |
1126 | local tool = game.ReplicatedStorage["Hot Potato"]:Clone() | |
1127 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1128 | elseif plamine:match(string.sub(tostring(Command.Text), 6)) then | |
1129 | local tool = game.ReplicatedStorage["Place Mine"]:Clone() | |
1130 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1131 | elseif burg:match(string.sub(tostring(Command.Text), 6)) then | |
1132 | local tool = game.ReplicatedStorage["Burger"]:Clone() | |
1133 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1134 | elseif mbag:match(string.sub(tostring(Command.Text), 6)) then | |
1135 | local tool = game.ReplicatedStorage["Moneybag"]:Clone() | |
1136 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1137 | elseif treer:match(string.sub(tostring(Command.Text), 6)) then | |
1138 | local tool = game.ReplicatedStorage["Place Tree"]:Clone() | |
1139 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1140 | elseif telep:match(string.sub(tostring(Command.Text), 6)) then | |
1141 | local tool = game.ReplicatedStorage["Teleport to Plate"]:Clone() | |
1142 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1143 | elseif plate:match(string.sub(tostring(Command.Text), 6)) then | |
1144 | local tool = game.ReplicatedStorage["Place Plate"]:Clone() | |
1145 | tool.Parent = game.Players.LocalPlayer.Backpack | |
1146 | end | |
1147 | end | |
1148 | if string.sub(tostring(Command.Text), 1, 6) == "round/" then | |
1149 | if mine:match(string.sub(tostring(Command.Text), 7)) then | |
1150 | local xx = math.random(-111.6, 111.6) | |
1151 | local zz = math.random(-108.2, 108.2) | |
1152 | local yy = math.random(-20.5,85.5) | |
1153 | for i = 1,50 do | |
1154 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), "D=9Vb7aMuZt!8aMH") | |
1155 | xx = math.random(-111.6, 111.6) | |
1156 | zz = math.random(-108.2, 108.2) | |
1157 | yy = math.random(-20.5,85.5) | |
1158 | end | |
1159 | elseif mega:match(string.sub(tostring(Command.Text), 7)) then | |
1160 | local xx = math.random(-111.6, 111.6) | |
1161 | local zz = math.random(-108.2, 108.2) | |
1162 | local yy = math.random(-20.5,85.5) | |
1163 | for i = 1,10 do | |
1164 | for i = 1,100 do | |
1165 | workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), "D=9Vb7aMuZt!8aMH") | |
1166 | xx = math.random(-111.6, 111.6) | |
1167 | zz = math.random(-108.2, 108.2) | |
1168 | yy = math.random(-20.5,85.5) | |
1169 | end | |
1170 | end | |
1171 | elseif bana:match(string.sub(tostring(Command.Text), 7)) then | |
1172 | local xx = math.random(-111.6, 111.6) | |
1173 | local zz = math.random(-108.2, 108.2) | |
1174 | for i = 1,25 do | |
1175 | for i = 1,100 do | |
1176 | workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(xx,103.5,zz), "D=9Vb7aMuZt!8aMH") | |
1177 | xx = math.random(-111.6, 111.6) | |
1178 | zz = math.random(-108.2, 108.2) | |
1179 | wait() | |
1180 | end | |
1181 | wait(2) | |
1182 | end | |
1183 | elseif pla:match(string.sub(tostring(Command.Text), 7)) then | |
1184 | local xx = math.random(-111.6, 111.6) | |
1185 | local zz = math.random(-108.2, 108.2) | |
1186 | for i = 1,10 do | |
1187 | for i = 1,5 do | |
1188 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(xx,yy,zz), "D=9Vb7aMuZt!8aMH") | |
1189 | xx = math.random(-111.6, 111.6) | |
1190 | zz = math.random(-108.2, 108.2) | |
1191 | yy = math.random(-20.5,45.5) | |
1192 | wait() | |
1193 | end | |
1194 | wait(3.5) | |
1195 | end | |
1196 | elseif mon:match(string.sub(tostring(Command.Text), 7)) then | |
1197 | local xx = math.random(-111.6, 111.6) | |
1198 | local zz = math.random(-108.2, 108.2) | |
1199 | for i = 1,25 do | |
1200 | for i = 1,75 do | |
1201 | workspace.RemoteEvents.MoneybagEvent:FireServer(CFrame.new(Vector3.new(xx,103.5,zz)), "D=9Vb7aMuZt!8aMH") | |
1202 | xx = math.random(-111.6, 111.6) | |
1203 | zz = math.random(-108.2, 108.2) | |
1204 | wait(.1) | |
1205 | end | |
1206 | wait(2) | |
1207 | end | |
1208 | elseif size:match(string.sub(tostring(Command.Text), 7)) then | |
1209 | for i,v in pairs(game.Players:GetChildren()) do | |
1210 | plat = math.random(-10,15) | |
1211 | if v.gamestats.Plate then | |
1212 | game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, plat, "D=9Vb7aMuZt!8aMH") | |
1213 | end | |
1214 | end | |
1215 | elseif yata:match(string.sub(tostring(Command.Text),7)) then | |
1216 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(111.6,10,-108.2), "D=9Vb7aMuZt!8aMH") | |
1217 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(111.6,10,108.2), "D=9Vb7aMuZt!8aMH") | |
1218 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(-111.6,10,108.2), "D=9Vb7aMuZt!8aMH") | |
1219 | workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(-111.6,10,-108.2), "D=9Vb7aMuZt!8aMH") | |
1220 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1221 | if v.Plate.Position.Y == 10 then | |
1222 | workspace.RemoteEvents.AddSound:FireServer("rbxassetid://919270364", v, "D=9Vb7aMuZt!8aMH") | |
1223 | end | |
1224 | end | |
1225 | utsuho() | |
1226 | end | |
1227 | end | |
1228 | if string.sub(tostring(Command.Text), 1, 7) == "delete/" then | |
1229 | if fire:match(string.sub(tostring(Command.Text), 8)) then | |
1230 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1231 | if v.Name == "FirePart" then | |
1232 | v:Destroy() | |
1233 | end | |
1234 | end | |
1235 | elseif black:match(string.sub(tostring(Command.Text), 8)) then | |
1236 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1237 | if v.Name == "Blackhole" then | |
1238 | v:Destroy() | |
1239 | end | |
1240 | end | |
1241 | elseif tor:match(string.sub(tostring(Command.Text), 8)) then | |
1242 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1243 | if v.Name == "Tornado" then | |
1244 | v:Destroy() | |
1245 | end | |
1246 | end | |
1247 | elseif min:match(string.sub(tostring(Command.Text), 8)) then | |
1248 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1249 | if v.Name == "Landmine" then | |
1250 | v:Destroy() | |
1251 | end | |
1252 | end | |
1253 | elseif vol:match(string.sub(tostring(Command.Text), 8)) then | |
1254 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1255 | if v.Name == "Part" and v.BrickColor == BrickColor.new("Crimson") then | |
1256 | v:Destroy() | |
1257 | end | |
1258 | end | |
1259 | elseif dis:match(string.sub(tostring(Command.Text), 8)) then | |
1260 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1261 | if v.Name == "DiscoBallOfDoom" then | |
1262 | v:Destroy() | |
1263 | end | |
1264 | end | |
1265 | elseif nuk:match(string.sub(tostring(Command.Text), 8)) then | |
1266 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1267 | if v.Name == "Nuke" or v.Name == "NukeExplosion" then | |
1268 | v:Destroy() | |
1269 | end | |
1270 | end | |
1271 | elseif mun:match(string.sub(tostring(Command.Text), 8)) then | |
1272 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1273 | if v.Name == "Moon" then | |
1274 | v:Destroy() | |
1275 | end | |
1276 | end | |
1277 | elseif ls:match(string.sub(tostring(Command.Text), 8)) then | |
1278 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1279 | for i,b in pairs (v:GetChildren()) do | |
1280 | if b.Name == "LavaSpinner" then | |
1281 | b:Destroy() | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | for i,v in pairs (workspace.ArenaEvents:GetChildren()) do | |
1286 | if v.Name == "GiantLavaSpinner" then | |
1287 | v:Destroy() | |
1288 | end | |
1289 | end | |
1290 | elseif bmb:match(string.sub(tostring(Command.Text), 8)) then | |
1291 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1292 | for i,b in pairs (v:GetChildren()) do | |
1293 | if b.Name == "TimeBomb" then | |
1294 | b:Destroy() | |
1295 | end | |
1296 | end | |
1297 | end | |
1298 | elseif pri:match(string.sub(tostring(Command.Text), 8)) then | |
1299 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1300 | for i,b in pairs (v:GetChildren()) do | |
1301 | if b.Name == "Cage" then | |
1302 | b:Destroy() | |
1303 | end | |
1304 | end | |
1305 | end | |
1306 | elseif spk:match(string.sub(tostring(Command.Text), 8)) then | |
1307 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1308 | for i,b in pairs (v:GetChildren()) do | |
1309 | if b.Name == "Spike" then | |
1310 | b:Destroy() | |
1311 | end | |
1312 | end | |
1313 | end | |
1314 | elseif zomb:match(string.sub(tostring(Command.Text), 8)) then | |
1315 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1316 | for i,b in pairs (v:GetChildren()) do | |
1317 | if b.Name == "Zombie" then | |
1318 | b:Destroy() | |
1319 | end | |
1320 | end | |
1321 | end | |
1322 | elseif bmbc:match(string.sub(tostring(Command.Text), 8)) then | |
1323 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1324 | for i,b in pairs (v:GetChildren()) do | |
1325 | if b.Name == "BombCloud" then | |
1326 | b:Destroy() | |
1327 | end | |
1328 | end | |
1329 | end | |
1330 | elseif fen:match(string.sub(tostring(Command.Text), 8)) then | |
1331 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1332 | for i,b in pairs (v:GetChildren()) do | |
1333 | if b.Name == "ElectricFence" then | |
1334 | b:Destroy() | |
1335 | end | |
1336 | end | |
1337 | end | |
1338 | elseif cac:match(string.sub(tostring(Command.Text), 8)) then | |
1339 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1340 | for i,b in pairs (v:GetChildren()) do | |
1341 | if b.Name == "Cactus" then | |
1342 | b:Destroy() | |
1343 | end | |
1344 | end | |
1345 | end | |
1346 | elseif wal:match(string.sub(tostring(Command.Text), 8)) then | |
1347 | for i,v in pairs (workspace.Plates:GetChildren()) do | |
1348 | for i,b in pairs (v:GetChildren()) do | |
1349 | if b.Name == "Wall" then | |
1350 | b:Destroy() | |
1351 | end | |
1352 | end | |
1353 | end | |
1354 | elseif pbmb:match(string.sub(tostring(Command.Text), 8)) then | |
1355 | game.Players.LocalPlayer.Character.PlayerTimeBomb:Destroy() | |
1356 | end | |
1357 | elseif frz:match(string.sub(tostring(Command.Text), 8)) then | |
1358 | for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do | |
1359 | if v.Name == "Part" then | |
1360 | v:Destroy() | |
1361 | end | |
1362 | end | |
1363 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
1364 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
1365 | elseif marbl:match(string.sub(tostring(Command.Text), 8)) then | |
1366 | for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do | |
1367 | if v.Name == "Marble" then | |
1368 | v:Destroy() | |
1369 | end | |
1370 | end | |
1371 | end | |
1372 | ||
1373 | CommandBtn() | |
1374 | end) |