View difference between Paste ID: tTY2Z7ti and s3zF0pb9
SHOW: | | - or go back to the newest paste.
1-
Admin = game.Players.iWafflecious.Name
1+
Admin = game.Players.BATTLEGAMESMAKER.Name
2
3
local sg = Instance.new("ScreenGui",game.Players[Admin].PlayerGui)
4
local f = Instance.new("Frame",sg)
5
f.BackgroundColor3 = Color3.new(0,0,0)
6
f.BorderColor3 = Color3.new(255,0,0)
7
f.Position = UDim2.new(0.01,0,0.7,0)
8
f.Size = UDim2.new(0,500,0,29)
9
local tb1 = Instance.new("TextBox",f)
10
tb1.Name = "TextBox1"
11
tb1.BackgroundColor3 = Color3.new(255,255,255)
12
tb1.BorderSizePixel = 0
13
tb1.Position = UDim2.new(0,45,0,2)
14
tb1.Size = UDim2.new(0,200,0,25)
15
tb1.Font = "Arial"
16
tb1.FontSize = "Size18"
17
tb1.Text = ""
18
tb1.TextXAlignment = "Left"
19
local tb2 = Instance.new("TextBox",f)
20
tb2.Name = "TextBox2"
21
tb2.BackgroundColor3 = Color3.new(255,255,255)
22
tb2.BorderSizePixel = 0
23
tb2.Position = UDim2.new(0,311,0,2)
24
tb2.Size = UDim2.new(0,109,0,25)
25
tb2.Font = "Arial"
26
tb2.FontSize = "Size18"
27
tb2.Text = ""
28
tb2.TextXAlignment = "Left"
29
local tbutton = Instance.new("TextButton",f)
30
tbutton.BackgroundColor3 = Color3.new(0,0,0)
31
tbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
32
tbutton.Position = UDim2.new(0,423,0,2)
33
tbutton.Size = UDim2.new(0,75,0,25)
34
tbutton.Text = "Execute"
35
tbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
36
local t1 = Instance.new("TextLabel",f)
37
t1.Name = "TextLabel1"
38
t1.BackgroundColor3 = Color3.new(0,0,0)
39
t1.BorderSizePixel = 0
40
t1.Position = UDim2.new(0,2,0,2)
41
t1.Size = UDim2.new(0,40,0,25)
42
t1.Text = "Player:"
43
t1.TextColor3 = Color3.new(200/255,200/255,200/255)
44
local t2 = Instance.new("TextLabel",f)
45
t2.Name = "TextLabel2"
46
t2.BackgroundColor3 = Color3.new(0,0,0)
47
t2.BorderSizePixel = 0
48
t2.Position = UDim2.new(0,248,0,2)
49
t2.Size = UDim2.new(0,60,0,25)
50
t2.Text = "Command:"
51
t2.TextColor3 = Color3.new(200/255,200/255,200/255)
52
53
function Execute()
54
	if tb2.Text == "kill" then
55
		local player = game.Players:FindFirstChild(tb1.Text)
56
		if player ~= nil then
57
			player.Character:BreakJoints()
58
		end
59
	elseif tb2.Text == "loopkill" then
60
		local player = game.Players:FindFirstChild(tb1.Text)
61
		if player ~= nil then
62
			while true do
63
				wait(0.1)
64
				player.Character:BreakJoints()
65
			end
66
		end
67
	elseif tb2.Text == "explode" then
68
		local player = game.Players:FindFirstChild(tb1.Text)
69
		if player ~= nil then
70
			local e = Instance.new("Explosion",player.Character.Head)
71
			e.Position = player.Character.Head.Position
72
		end
73
	elseif tb2.Text == "maxhealth" then
74
		local player = game.Players:FindFirstChild(tb1.Text)
75
		if player ~= nil then
76
			player.Character.Humanoid.MaxHealth = math.huge
77
			player.Character.Humanoid.Health = math.huge
78
		end
79
	elseif tb2.Text == "forcefield" then
80
		local player = game.Players:FindFirstChild(tb1.Text)
81
		if player ~= nil then
82
			local f = Instance.new("ForceField",player.Character)
83
		end
84
	elseif tb2.Text == "sparkles" then
85
		local player = game.Players:FindFirstChild(tb1.Text)
86
		if player ~= nil then
87
			local s = Instance.new("Sparkles",player.Character.Head)
88
			local s = Instance.new("Sparkles",player.Character.Torso)
89
			local s = Instance.new("Sparkles",player.Character["Left Arm"])
90
			local s = Instance.new("Sparkles",player.Character["Right Arm"])
91
			local s = Instance.new("Sparkles",player.Character["Left Leg"])
92
			local s = Instance.new("Sparkles",player.Character["Right Leg"])
93
		end
94
	elseif tb2.Text == "fire" then
95
		local player = game.Players:FindFirstChild(tb1.Text)
96
		if player ~= nil then
97
			local s = Instance.new("Fire",player.Character.Head)
98
			local s = Instance.new("Fire",player.Character.Torso)
99
			local s = Instance.new("Fire",player.Character["Left Arm"])
100
			local s = Instance.new("Fire",player.Character["Right Arm"])
101
			local s = Instance.new("Fire",player.Character["Left Leg"])
102
			local s = Instance.new("Fire",player.Character["Right Leg"])
103
		end
104
	elseif tb2.Text == "punish" then
105
		local player = game.Players:FindFirstChild(tb1.Text)
106
		if player ~= nil then
107
			player.Character.Parent = game.ServerStorage
108
		end
109
	elseif tb2.Text == "unpunish" then
110
		local player = game.Players:FindFirstChild(tb1.Text)
111
		if player ~= nil then
112
			player.Character.Parent = game.Workspace
113
			player.Character:MakeJoints()
114
		end
115
	elseif tb2.Text == "respawn" then
116
		local player = game.Players:FindFirstChild(tb1.Text)
117
		if player ~= nil then
118
			player:LoadCharacter()
119
		end
120
	elseif tb2.Text == "kick" then
121
		local player = game.Players:FindFirstChild(tb1.Text)
122
		if player ~= nil then
123
			player:remove()
124
		end
125
	elseif tb2.Text == "crash" then
126
		local player = game.Players:FindFirstChild(tb1.Text)
127
		if player ~= nil then
128
			while true do
129
				local h = Instance.new("HopperBin",player.Backpack)
130
			end
131
		end
132
	elseif tb2.Text == "chat" then
133
		local player = game.Players:FindFirstChild(tb1.Text)
134
		if player ~= nil then
135
			local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
136
			f.Name = "Chat Gui"
137
			f.BackgroundColor3 = Color3.new(0,0,0)
138
			f.BorderColor3 = Color3.new(255,0,0)
139
			f.Position = UDim2.new(0.01,0,0.7,30)
140
			f.Size = UDim2.new(0,500,0,29)
141
			local tbox = Instance.new("TextBox",f)
142
			tbox.BackgroundColor3 = Color3.new(255,255,255)
143
			tbox.BorderSizePixel = 0
144
			tbox.Position = UDim2.new(0,45,0,2)
145
			tbox.Size = UDim2.new(0,375,0,25)
146
			tbox.Font = "Arial"
147
			tbox.FontSize = "Size18"
148
			tbox.Text = ""
149
			tbox.TextXAlignment = "Left"
150
			local tb = Instance.new("TextButton",f)
151
			tb.BackgroundColor3 = Color3.new(0,0,0)
152
			tb.BorderColor3 = Color3.new(200/255,200/255,200/255)
153
			tb.Position = UDim2.new(0,423,0,2)
154
			tb.Size = UDim2.new(0,75,0,25)
155
			tb.Text = "Execute"
156
			tb.TextColor3 = Color3.new(200/255,200/255,200/255)
157
			local tl = Instance.new("TextLabel",f)
158
			tl.BackgroundColor3 = Color3.new(0,0,0)
159
			tl.BorderSizePixel = 0
160
			tl.Position = UDim2.new(0,2,0,2)
161
			tl.Size = UDim2.new(0,40,0,25)
162
			tl.Text = "Say:"
163
			tl.TextColor3 = Color3.new(200/255,200/255,200/255)
164
			local exitbutton = Instance.new("TextButton",f)
165
			exitbutton.BackgroundColor3 = Color3.new(0,0,0)
166
			exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
167
			exitbutton.Position = UDim2.new(0,423,0,-28)
168
			exitbutton.Size = UDim2.new(0,75,0,25)
169
			exitbutton.Text = "Exit"
170
			exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
171
			game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
172
			local function Execute()
173
				local player = game.Players:FindFirstChild(tb1.Text)
174
				if player ~= nil then
175
					game:GetService("Chat"):Chat(player.Character.Head,""..tbox.Text.."")
176
				end
177
			end
178
			tb.MouseButton1Down:connect(Execute)
179
			local function Exit()
180
				f:Destroy()
181
				game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
182
			end
183
			exitbutton.MouseButton1Down:connect(Exit)
184
		end
185
	elseif tb2.Text == "newbase" then
186
		local b = Instance.new("Part",game.Workspace)
187
		b.Name = "BasePlate"
188
		b.BrickColor = BrickColor.new("Bright green")
189
		b.Anchored = true
190
		b.Locked = true
191
		b.FormFactor = "Plate"
192
		b.Size = Vector3.new(512,0.4,512)
193
	elseif tb2.Text == "guy" then
194
		local player = game.Players:FindFirstChild(tb1.Text)
195
		if player ~= nil then
196
			local d = player.Character:GetChildren()
197
			for i=1, #d do
198
				if (d[i].className == "Hat") then
199
					d[i]:remove()
200
				end
201
			end
202
			local h = Instance.new("Hat",player.Character)
203
			h.AttachmentForward = Vector3.new(0,0,-1)
204
			h.AttachmentPos = Vector3.new(0,-0.05,0)
205
			h.AttachmentRight = Vector3.new(1,0,0)
206
			h.AttachmentUp = Vector3.new(0,1,0)
207
			local handle = Instance.new("Part",h)
208
			handle.Name = "Handle"
209
			handle.CanCollide = false
210
			handle.Locked = true
211
			handle.FormFactor = "Symmetric"
212
			handle.Size = Vector3.new(1,1,2)
213
			local m = Instance.new("SpecialMesh",handle)
214
			m.MeshId = "http://www.roblox.com/asset/?id=16627529"
215
			m.MeshType = "FileMesh"
216
			m.Scale = Vector3.new(1.05,1.05,1.05)
217
			m.TextureId = "http://www.roblox.com/asset/?id=50891348"
218
			local w = Instance.new("Weld",player.Character.Head)
219
			w.Part0 = player.Character.Head
220
			w.Part1 = handle
221
			w.C0 = CFrame.new(0,0.5,0)
222
			local la = Instance.new("CharacterMesh",player.Character)
223
			la.BodyPart = "LeftArm"
224
			la.MeshId = "27111419"
225
			local ll = Instance.new("CharacterMesh",player.Character)
226
			ll.BodyPart = "LeftLeg"
227
			ll.MeshId = "27111857"
228
			local ra = Instance.new("CharacterMesh",player.Character)
229
			ra.BodyPart = "RightArm"
230
			ra.MeshId = "27111864"
231
			local rl = Instance.new("CharacterMesh",player.Character)
232
			rl.BodyPart = "RightLeg"
233
			rl.MeshId = "27111882"
234
			local t = Instance.new("CharacterMesh",player.Character)
235
			t.BodyPart = "Torso"
236
			t.MeshId = "27111894"
237
			player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=31123853"
238
		end
239
	elseif tb2.Text == "girl" then
240
		local player = game.Players:FindFirstChild(tb1.Text)
241
		if player ~= nil then
242
			local d = player.Character:GetChildren()
243
			for i=1, #d do
244
				if (d[i].className == "Hat") then
245
					d[i]:remove()
246
				end
247
			end
248
			local h = Instance.new("Hat",player.Character)
249
			h.AttachmentForward = Vector3.new(0,-0.1,-0.995)
250
			h.AttachmentPos = Vector3.new(0,0.9,0)
251
			h.AttachmentRight = Vector3.new(1,0,0)
252
			h.AttachmentUp = Vector3.new(0,0.995,-0.1)
253
			local handle = Instance.new("Part",h)
254
			handle.Name = "Handle"
255
			handle.CanCollide = false
256
			handle.Locked = true
257
			handle.FormFactor = "Symmetric"
258
			handle.Size = Vector3.new(1,1,2)
259
			local m = Instance.new("SpecialMesh",handle)
260
			m.MeshId = "http://www.roblox.com/asset/?id=13070796"
261
			m.MeshType = "FileMesh"
262
			m.TextureId = "http://www.roblox.com/asset/?id=14765363"
263
			local w = Instance.new("Weld",player.Character.Head)
264
			w.Part0 = player.Character.Head
265
			w.Part1 = handle
266
			w.C0 = CFrame.new(0,-0.3,0)
267
			local la = Instance.new("CharacterMesh",player.Character)
268
			la.BodyPart = "LeftArm"
269
			la.MeshId = "27111419"
270
			local ll = Instance.new("CharacterMesh",player.Character)
271
			ll.BodyPart = "LeftLeg"
272
			ll.MeshId = "27111857"
273
			local ra = Instance.new("CharacterMesh",player.Character)
274
			ra.BodyPart = "RightArm"
275
			ra.MeshId = "27111864"
276
			local rl = Instance.new("CharacterMesh",player.Character)
277
			rl.BodyPart = "RightLeg"
278
			rl.MeshId = "27111882"
279
			local t = Instance.new("CharacterMesh",player.Character)
280
			t.BodyPart = "Torso"
281
			t.MeshId = "27111894"
282
			player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=174005785"
283
		end
284
	elseif tb2.Text == "btools" then
285
		local player = game.Players:FindFirstChild(tb1.Text)
286
		if player ~= nil then
287
			local c = Instance.new("HopperBin",player.Backpack)
288
			c.BinType = "Clone"
289
			local gt = Instance.new("HopperBin",player.Backpack)
290
			gt.BinType = "GameTool"
291
			local g = Instance.new("HopperBin",player.Backpack)
292
			g.BinType = "Grab"
293
			local h = Instance.new("HopperBin",player.Backpack)
294
			h.BinType = "Hammer"
295
		end
296
	elseif tb2.Text == "day" then
297
		game.Lighting.TimeOfDay = "14:00:00"
298
	elseif tb2.Text == "night" then
299
		game.Lighting.TimeOfDay = "1:00:00"
300
	elseif tb2.Text == "ambient" then
301
		local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
302
		f.Name = "Ambient Changer"
303
		f.BackgroundColor3 = Color3.new(0,0,0)
304
		f.BorderColor3 = Color3.new(1,0,0)
305
		f.Position = UDim2.new(0.01,0,0.7,30)
306
		f.Size = UDim2.new(0,500,0,29)
307
		local tbox1 = Instance.new("TextBox",f)
308
		tbox1.BackgroundColor3 = Color3.new(1,1,1)
309
		tbox1.BorderSizePixel = 0
310
		tbox1.Position = UDim2.new(0,90,0,2)
311
		tbox1.Size = UDim2.new(0,50,0,25)
312
		tbox1.Font = "Arial"
313
		tbox1.FontSize = "Size18"
314
		tbox1.Text = ""
315
		local tbox2 = Instance.new("TextBox",f)
316
		tbox2.BackgroundColor3 = Color3.new(1,1,1)
317
		tbox2.BorderSizePixel = 0
318
		tbox2.Position = UDim2.new(0,230,0,2)
319
		tbox2.Size = UDim2.new(0,50,0,25)
320
		tbox2.Font = "Arial"
321
		tbox2.FontSize = "Size18"
322
		tbox2.Text = ""
323
		local tbox3 = Instance.new("TextBox",f)
324
		tbox3.BackgroundColor3 = Color3.new(1,1,1)
325
		tbox3.BorderSizePixel = 0
326
		tbox3.Position = UDim2.new(0,370,0,2)
327
		tbox3.Size = UDim2.new(0,50,0,25)
328
		tbox3.Font = "Arial"
329
		tbox3.FontSize = "Size18"
330
		tbox3.Text = ""
331
		local button = Instance.new("TextButton",f)
332
		button.BackgroundColor3 = Color3.new(0,0,0)
333
		button.BorderColor3 = Color3.new(200/255,200/255,200/255)
334
		button.Position = UDim2.new(0,423,0,2)
335
		button.Size = UDim2.new(0,75,0,25)
336
		button.Text = "Execute"
337
		button.TextColor3 = Color3.new(200/255,200/255,200/255)
338
		local textlabel1 = Instance.new("TextLabel",f)
339
		textlabel1.BackgroundTransparency = 1
340
		textlabel1.BorderSizePixel = 0
341
		textlabel1.Position = UDim2.new(0,2,0,2)
342
		textlabel1.Size = UDim2.new(0,60,0,25)
343
		textlabel1.Text = "Ambience:"
344
		textlabel1.TextColor3 = Color3.new(200/255,200/255,200/255)
345
		local textlabel2 = Instance.new("TextLabel",f)
346
		textlabel2.Name = "Red"
347
		textlabel2.BackgroundTransparency = 1
348
		textlabel2.BorderSizePixel = 0
349
		textlabel2.Position = UDim2.new(0,60,0,2)
350
		textlabel2.Size = UDim2.new(0,30,0,25)
351
		textlabel2.Font = "SourceSansBold"
352
		textlabel2.FontSize = "Size18"
353
		textlabel2.Text = "Red"
354
		textlabel2.TextColor3 = Color3.new(1,0,0)
355
		local textlabel3 = Instance.new("TextLabel",f)
356
		textlabel3.Name = "Green"
357
		textlabel3.BackgroundTransparency = 1
358
		textlabel3.BorderSizePixel = 0
359
		textlabel3.Position = UDim2.new(0,180,0,2)
360
		textlabel3.Size = UDim2.new(0,50,0,25)
361
		textlabel3.Font = "SourceSansBold"
362
		textlabel3.FontSize = "Size18"
363
		textlabel3.Text = "Green"
364
		textlabel3.TextColor3 = Color3.new(0,1,0)
365
		local textlabel4 = Instance.new("TextLabel",f)
366
		textlabel4.Name = "Blue"
367
		textlabel4.BackgroundTransparency = 1
368
		textlabel4.BorderSizePixel = 0
369
		textlabel4.Position = UDim2.new(0,325,0,2)
370
		textlabel4.Size = UDim2.new(0,50,0,25)
371
		textlabel4.Font = "SourceSansBold"
372
		textlabel4.FontSize = "Size18"
373
		textlabel4.Text = "Blue"
374
		textlabel4.TextColor3 = Color3.new(100/255,100/255,1)
375
		local exitbutton = Instance.new("TextButton",f)
376
		exitbutton.BackgroundColor3 = Color3.new(0,0,0)
377
		exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
378
		exitbutton.Position = UDim2.new(0,423,0,-28)
379
		exitbutton.Size = UDim2.new(0,75,0,25)
380
		exitbutton.Text = "Exit"
381
		exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
382
		game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
383
		local function lightingchange()
384
			game.Lighting.Ambient = Color3.new(tbox1.Text,tbox2.Text,tbox3.Text)
385
		end
386
		button.MouseButton1Down:connect(lightingchange)
387
		local function exit()
388
			game.Players[Admin].PlayerGui.ScreenGui["Ambient Changer"]:Destroy()
389
			game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
390
		end
391
		exitbutton.MouseButton1Down:connect(exit)
392
	elseif tb2.Text == "oambient" then
393
		local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
394
		f.Name = "Ambient Changer"
395
		f.BackgroundColor3 = Color3.new(0,0,0)
396
		f.BorderColor3 = Color3.new(1,0,0)
397
		f.Position = UDim2.new(0.01,0,0.7,30)
398
		f.Size = UDim2.new(0,500,0,29)
399
		local tbox1 = Instance.new("TextBox",f)
400
		tbox1.BackgroundColor3 = Color3.new(1,1,1)
401
		tbox1.BorderSizePixel = 0
402
		tbox1.Position = UDim2.new(0,90,0,2)
403
		tbox1.Size = UDim2.new(0,50,0,25)
404
		tbox1.Font = "Arial"
405
		tbox1.FontSize = "Size18"
406
		tbox1.Text = ""
407
		local tbox2 = Instance.new("TextBox",f)
408
		tbox2.BackgroundColor3 = Color3.new(1,1,1)
409
		tbox2.BorderSizePixel = 0
410
		tbox2.Position = UDim2.new(0,230,0,2)
411
		tbox2.Size = UDim2.new(0,50,0,25)
412
		tbox2.Font = "Arial"
413
		tbox2.FontSize = "Size18"
414
		tbox2.Text = ""
415
		local tbox3 = Instance.new("TextBox",f)
416
		tbox3.BackgroundColor3 = Color3.new(1,1,1)
417
		tbox3.BorderSizePixel = 0
418
		tbox3.Position = UDim2.new(0,370,0,2)
419
		tbox3.Size = UDim2.new(0,50,0,25)
420
		tbox3.Font = "Arial"
421
		tbox3.FontSize = "Size18"
422
		tbox3.Text = ""
423
		local button = Instance.new("TextButton",f)
424
		button.BackgroundColor3 = Color3.new(0,0,0)
425
		button.BorderColor3 = Color3.new(200/255,200/255,200/255)
426
		button.Position = UDim2.new(0,423,0,2)
427
		button.Size = UDim2.new(0,75,0,25)
428
		button.Text = "Execute"
429
		button.TextColor3 = Color3.new(200/255,200/255,200/255)
430
		local textlabel1 = Instance.new("TextLabel",f)
431
		textlabel1.BackgroundTransparency = 1
432
		textlabel1.BorderSizePixel = 0
433
		textlabel1.Position = UDim2.new(0,2,0,2)
434
		textlabel1.Size = UDim2.new(0,60,0,25)
435
		textlabel1.Text = "oAmbience:"
436
		textlabel1.TextColor3 = Color3.new(200/255,200/255,200/255)
437
		local textlabel2 = Instance.new("TextLabel",f)
438
		textlabel2.Name = "Red"
439
		textlabel2.BackgroundTransparency = 1
440
		textlabel2.BorderSizePixel = 0
441
		textlabel2.Position = UDim2.new(0,60,0,2)
442
		textlabel2.Size = UDim2.new(0,30,0,25)
443
		textlabel2.Font = "SourceSansBold"
444
		textlabel2.FontSize = "Size18"
445
		textlabel2.Text = "Red"
446
		textlabel2.TextColor3 = Color3.new(1,0,0)
447
		local textlabel3 = Instance.new("TextLabel",f)
448
		textlabel3.Name = "Green"
449
		textlabel3.BackgroundTransparency = 1
450
		textlabel3.BorderSizePixel = 0
451
		textlabel3.Position = UDim2.new(0,180,0,2)
452
		textlabel3.Size = UDim2.new(0,50,0,25)
453
		textlabel3.Font = "SourceSansBold"
454
		textlabel3.FontSize = "Size18"
455
		textlabel3.Text = "Green"
456
		textlabel3.TextColor3 = Color3.new(0,1,0)
457
		local textlabel4 = Instance.new("TextLabel",f)
458
		textlabel4.Name = "Blue"
459
		textlabel4.BackgroundTransparency = 1
460
		textlabel4.BorderSizePixel = 0
461
		textlabel4.Position = UDim2.new(0,325,0,2)
462
		textlabel4.Size = UDim2.new(0,50,0,25)
463
		textlabel4.Font = "SourceSansBold"
464
		textlabel4.FontSize = "Size18"
465
		textlabel4.Text = "Blue"
466
		textlabel4.TextColor3 = Color3.new(100/255,100/255,1)
467
		local exitbutton = Instance.new("TextButton",f)
468
		exitbutton.BackgroundColor3 = Color3.new(0,0,0)
469
		exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
470
		exitbutton.Position = UDim2.new(0,423,0,-28)
471
		exitbutton.Size = UDim2.new(0,75,0,25)
472
		exitbutton.Text = "Exit"
473
		exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
474
		game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
475
		local function lightingchange()
476
			game.Lighting.OutdoorAmbient = Color3.new(tbox1.Text,tbox2.Text,tbox3.Text)
477
		end
478
		button.MouseButton1Down:connect(lightingchange)
479
		local function exit()
480
			game.Players[Admin].PlayerGui.ScreenGui["Ambient Changer"]:Destroy()
481
			game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
482
		end
483
		exitbutton.MouseButton1Down:connect(exit)
484
	elseif tb2.Text == "brightness" then
485
		local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
486
		f.Name = "Brightness"
487
		f.BackgroundColor3 = Color3.new(0,0,0)
488
		f.BorderColor3 = Color3.new(1,0,0)
489
		f.Position = UDim2.new(0.01,0,0.7,30)
490
		f.Size = UDim2.new(0,500,0,29)
491
		local tb = Instance.new("TextBox",f)
492
		tb.BackgroundColor3 = Color3.new(1,1,1)
493
		tb.BorderSizePixel = 0
494
		tb.Position = UDim2.new(0,65,0,2)
495
		tb.Size = UDim2.new(0,355,0,25)
496
		tb.Font = "Arial"
497
		tb.FontSize = "Size18"
498
		tb.Text = ""
499
		tb.TextXAlignment = "Left"
500
		local button = Instance.new("TextButton",f)
501
		button.BackgroundColor3 = Color3.new(0,0,0)
502
		button.BorderColor3 = Color3.new(200/255,200/255,200/255)
503
		button.Position = UDim2.new(0,423,0,2)
504
		button.Size = UDim2.new(0,75,0,25)
505
		button.Text = "Execute"
506
		button.TextColor3 = Color3.new(200/255,200/255,200/255)
507
		local tl = Instance.new("TextLabel",f)
508
		tl.BackgroundColor3 = Color3.new(0,0,0)
509
		tl.BorderSizePixel = 0
510
		tl.Position = UDim2.new(0,2,0,2)
511
		tl.Size = UDim2.new(0,60,0,25)
512
		tl.Text = "Brightness:"
513
		tl.TextColor3 = Color3.new(200/255,200/255,200/255)
514
		local exitbutton2 = Instance.new("TextButton",f)
515
		exitbutton2.BackgroundColor3 = Color3.new(0,0,0)
516
		exitbutton2.BorderColor3 = Color3.new(200/255,200/255,200/255)
517
		exitbutton2.Position = UDim2.new(0,423,0,-28)
518
		exitbutton2.Size = UDim2.new(0,75,0,25)
519
		exitbutton2.Text = "Exit"
520
		exitbutton2.TextColor3 = Color3.new(200/255,200/255,200/255)
521
		game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
522
		local function change()
523
			game.Lighting.Brightness = tb.Text
524
		end
525
		button.MouseButton1Down:connect(change)
526
		local function exit2()
527
			game.Players[Admin].PlayerGui.ScreenGui.Brightness:Destroy()
528
			game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
529
		end
530
		exitbutton2.MouseButton1Down:connect(exit2)
531
	elseif tb2.Text == "quickscript" then
532
		local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
533
		f.Name = "QuickScript"
534
		f.BackgroundColor3 = Color3.new(0,0,0)
535
		f.BorderColor3 = Color3.new(1,0,0)
536
		f.Position = UDim2.new(0.01,0,0.7,30)
537
		f.Size = UDim2.new(0,500,0,29)
538
		local tb = Instance.new("TextBox",f)
539
		tb.BackgroundColor3 = Color3.new(1,1,1)
540
		tb.ClearTextOnFocus = false
541
		tb.Position = UDim2.new(0,70,0,2)
542
		tb.Size = UDim2.new(0,350,0,25)
543
		tb.Font = "SourceSansBold"
544
		tb.FontSize = "Size14"
545
		tb.Text = ""
546
		tb.TextColor3 = Color3.new(0,0,0)
547
		tb.TextXAlignment = "Left"
548
		local button = Instance.new("TextButton",f)
549
		button.BackgroundColor3 = Color3.new(0,0,0)
550
		button.BorderColor3 = Color3.new(200/255,200/255,200/255)
551
		button.Position = UDim2.new(0,423,0,2)
552
		button.Size = UDim2.new(0,75,0,25)
553
		button.Text = "Execute"
554
		button.TextColor3 = Color3.new(200/255,200/255,200/255)
555
		local tl = Instance.new("TextLabel",f)
556
		tl.BackgroundTransparency = 1
557
		tl.BorderSizePixel = 1
558
		tl.Position = UDim2.new(0,2,0,2)
559
		tl.Size = UDim2.new(0,65,0,25)
560
		tl.Text = "QuickScript:"
561
		tl.TextColor3 = Color3.new(200/255,200/255,200/255)
562
		local exitbutton = Instance.new("TextButton",f)
563
		exitbutton.BackgroundColor3 = Color3.new(0,0,0)
564
		exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
565
		exitbutton.Position = UDim2.new(0,423,0,-28)
566
		exitbutton.Size = UDim2.new(0,75,0,25)
567
		exitbutton.Text = "Exit"
568
		exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
569
		game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
570
		local function execute()
571
			loadstring(tb.Text)()
572
		end
573
		button.MouseButton1Down:connect(execute)
574
		local function exit()
575
			game.Players[Admin].PlayerGui.ScreenGui.QuickScript:Destroy()
576
			game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
577
		end
578
		exitbutton.MouseButton1Down:connect(exit)
579
	elseif tb2.Text == "runscript" then
580
		local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
581
		f.Name = "ScriptBuilder"
582
		f.BackgroundColor3 = Color3.new(0,0,0)
583
		f.BorderColor3 = Color3.new(1,0,0)
584
		f.Position = UDim2.new(0.01,0,0.7,-1)
585
		f.Size = UDim2.new(0,500,0,-400)
586
		local tb = Instance.new("TextBox",f)
587
		tb.BackgroundColor3 = Color3.new(1,1,1)
588
		tb.BorderColor3 = Color3.new(1,0,0)
589
		tb.ClearTextOnFocus = false
590
		tb.MultiLine = true
591
		tb.Position = UDim2.new(0,17,0,2)
592
		tb.Size = UDim2.new(0,481,0,368)
593
		tb.Font = "SourceSansBold"
594
		tb.FontSize = "Size14"
595
		tb.Text = ""
596
		tb.TextColor3 = Color3.new(0,0,0)
597
		tb.TextXAlignment = "Left"
598
		tb.TextYAlignment = "Top"
599
		tb.ClipsDescendants = true
600
		local button = Instance.new("TextButton",f)
601
		button.BackgroundColor3 = Color3.new(0,0,0)
602
		button.BorderColor3 = Color3.new(200/255,200/255,200/255)
603
		button.Position = UDim2.new(0,223,0,373)
604
		button.Size = UDim2.new(0,75,0,25)
605
		button.Text = "Run"
606
		button.TextColor3 = Color3.new(200/255,200/255,200/255)
607
		local la = Instance.new("TextLabel",f)
608
		la.BackgroundTransparency = 1
609
		la.Position = UDim2.new(0,0,0,0)
610
		la.Size = UDim2.new(0,15,0,15)
611
		la.Text = "1"
612
		la.TextColor3 = Color3.new(200/255,200/255,200/255)
613
		local lb = Instance.new("TextLabel",f)
614
		lb.BackgroundTransparency = 1
615
		lb.Position = UDim2.new(0,0,0,14)
616
		lb.Size = UDim2.new(0,15,0,15)
617
		lb.Text = "2"
618
		lb.TextColor3 = Color3.new(200/255,200/255,200/255)
619
		local lc = Instance.new("TextLabel",f)
620
		lc.BackgroundTransparency = 1
621
		lc.Position = UDim2.new(0,0,0,28)
622
		lc.Size = UDim2.new(0,15,0,15)
623
		lc.Text = "3"
624
		lc.TextColor3 = Color3.new(200/255,200/255,200/255)
625
		local ld = Instance.new("TextLabel",f)
626
		ld.BackgroundTransparency = 1
627
		ld.Position = UDim2.new(0,0,0,42)
628
		ld.Size = UDim2.new(0,15,0,15)
629
		ld.Text = "4"
630
		ld.TextColor3 = Color3.new(200/255,200/255,200/255)
631
		local le = Instance.new("TextLabel",f)
632
		le.BackgroundTransparency = 1
633
		le.Position = UDim2.new(0,0,0,56)
634
		le.Size = UDim2.new(0,15,0,15)
635
		le.Text = "5"
636
		le.TextColor3 = Color3.new(200/255,200/255,200/255)
637
		local lf = Instance.new("TextLabel",f)
638
		lf.BackgroundTransparency = 1
639
		lf.Position = UDim2.new(0,0,0,70)
640
		lf.Size = UDim2.new(0,15,0,15)
641
		lf.Text = "6"
642
		lf.TextColor3 = Color3.new(200/255,200/255,200/255)
643
		local lg = Instance.new("TextLabel",f)
644
		lg.BackgroundTransparency = 1
645
		lg.Position = UDim2.new(0,0,0,84)
646
		lg.Size = UDim2.new(0,15,0,15)
647
		lg.Text = "7"
648
		lg.TextColor3 = Color3.new(200/255,200/255,200/255)
649
		local lh = Instance.new("TextLabel",f)
650
		lh.BackgroundTransparency = 1
651
		lh.Position = UDim2.new(0,0,0,98)
652
		lh.Size = UDim2.new(0,15,0,15)
653
		lh.Text = "8"
654
		lh.TextColor3 = Color3.new(200/255,200/255,200/255)
655
		local li = Instance.new("TextLabel",f)
656
		li.BackgroundTransparency = 1
657
		li.Position = UDim2.new(0,0,0,112)
658
		li.Size = UDim2.new(0,15,0,15)
659
		li.Text = "9"
660
		li.TextColor3 = Color3.new(200/255,200/255,200/255)
661
		local lj = Instance.new("TextLabel",f)
662
		lj.BackgroundTransparency = 1
663
		lj.Position = UDim2.new(0,0,0,126)
664
		lj.Size = UDim2.new(0,15,0,15)
665
		lj.Text = "10"
666
		lj.TextColor3 = Color3.new(200/255,200/255,200/255)
667
		local lk = Instance.new("TextLabel",f)
668
		lk.BackgroundTransparency = 1
669
		lk.Position = UDim2.new(0,0,0,140)
670
		lk.Size = UDim2.new(0,15,0,15)
671
		lk.Text = "11"
672
		lk.TextColor3 = Color3.new(200/255,200/255,200/255)
673
		local ll = Instance.new("TextLabel",f)
674
		ll.BackgroundTransparency = 1
675
		ll.Position = UDim2.new(0,0,0,154)
676
		ll.Size = UDim2.new(0,15,0,15)
677
		ll.Text = "12"
678
		ll.TextColor3 = Color3.new(200/255,200/255,200/255)
679
		local lm = Instance.new("TextLabel",f)
680
		lm.BackgroundTransparency = 1
681
		lm.Position = UDim2.new(0,0,0,168)
682
		lm.Size = UDim2.new(0,15,0,15)
683
		lm.Text = "13"
684
		lm.TextColor3 = Color3.new(200/255,200/255,200/255)
685
		local ln = Instance.new("TextLabel",f)
686
		ln.BackgroundTransparency = 1
687
		ln.Position = UDim2.new(0,0,0,182)
688
		ln.Size = UDim2.new(0,15,0,15)
689
		ln.Text = "14"
690
		ln.TextColor3 = Color3.new(200/255,200/255,200/255)
691
		local lo = Instance.new("TextLabel",f)
692
		lo.BackgroundTransparency = 1
693
		lo.Position = UDim2.new(0,0,0,196)
694
		lo.Size = UDim2.new(0,15,0,15)
695
		lo.Text = "15"
696
		lo.TextColor3 = Color3.new(200/255,200/255,200/255)
697
		local lp = Instance.new("TextLabel",f)
698
		lp.BackgroundTransparency = 1
699
		lp.Position = UDim2.new(0,0,0,210)
700
		lp.Size = UDim2.new(0,15,0,15)
701
		lp.Text = "16"
702
		lp.TextColor3 = Color3.new(200/255,200/255,200/255)
703
		local lq = Instance.new("TextLabel",f)
704
		lq.BackgroundTransparency = 1
705
		lq.Position = UDim2.new(0,0,0,224)
706
		lq.Size = UDim2.new(0,15,0,15)
707
		lq.Text = "17"
708
		lq.TextColor3 = Color3.new(200/255,200/255,200/255)
709
		local lr = Instance.new("TextLabel",f)
710
		lr.BackgroundTransparency = 1
711
		lr.Position = UDim2.new(0,0,0,238)
712
		lr.Size = UDim2.new(0,15,0,15)
713
		lr.Text = "18"
714
		lr.TextColor3 = Color3.new(200/255,200/255,200/255)
715
		local ls = Instance.new("TextLabel",f)
716
		ls.BackgroundTransparency = 1
717
		ls.Position = UDim2.new(0,0,0,252)
718
		ls.Size = UDim2.new(0,15,0,15)
719
		ls.Text = "19"
720
		ls.TextColor3 = Color3.new(200/255,200/255,200/255)
721
		local lt = Instance.new("TextLabel",f)
722
		lt.BackgroundTransparency = 1
723
		lt.Position = UDim2.new(0,0,0,266)
724
		lt.Size = UDim2.new(0,15,0,15)
725
		lt.Text = "20"
726
		lt.TextColor3 = Color3.new(200/255,200/255,200/255)
727
		local lu = Instance.new("TextLabel",f)
728
		lu.BackgroundTransparency = 1
729
		lu.Position = UDim2.new(0,0,0,280)
730
		lu.Size = UDim2.new(0,15,0,15)
731
		lu.Text = "21"
732
		lu.TextColor3 = Color3.new(200/255,200/255,200/255)
733
		local lv = Instance.new("TextLabel",f)
734
		lv.BackgroundTransparency = 1
735
		lv.Position = UDim2.new(0,0,0,294)
736
		lv.Size = UDim2.new(0,15,0,15)
737
		lv.Text = "22"
738
		lv.TextColor3 = Color3.new(200/255,200/255,200/255)
739
		local lw = Instance.new("TextLabel",f)
740
		lw.BackgroundTransparency = 1
741
		lw.Position = UDim2.new(0,0,0,308)
742
		lw.Size = UDim2.new(0,15,0,15)
743
		lw.Text = "23"
744
		lw.TextColor3 = Color3.new(200/255,200/255,200/255)
745
		local lx = Instance.new("TextLabel",f)
746
		lx.BackgroundTransparency = 1
747
		lx.Position = UDim2.new(0,0,0,322)
748
		lx.Size = UDim2.new(0,15,0,15)
749
		lx.Text = "24"
750
		lx.TextColor3 = Color3.new(200/255,200/255,200/255)
751
		local ly = Instance.new("TextLabel",f)
752
		ly.BackgroundTransparency = 1
753
		ly.Position = UDim2.new(0,0,0,336)
754
		ly.Size = UDim2.new(0,15,0,15)
755
		ly.Text = "25"
756
		ly.TextColor3 = Color3.new(200/255,200/255,200/255)
757
		local lz = Instance.new("TextLabel",f)
758
		lz.BackgroundTransparency = 1
759
		lz.Position = UDim2.new(0,0,0,350)
760
		lz.Size = UDim2.new(0,15,0,15)
761
		lz.Text = "26"
762
		lz.TextColor3 = Color3.new(200/255,200/255,200/255)
763
		local exitbutton = Instance.new("TextButton",f)
764
		exitbutton.BackgroundColor3 = Color3.new(0,0,0)
765
		exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
766
		exitbutton.Position = UDim2.new(0,423,0,403)
767
		exitbutton.Size = UDim2.new(0,75,0,25)
768
		exitbutton.Text = "Exit"
769
		exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
770
		game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
771
		local function run()
772
			loadstring(tb.Text)()
773
		end
774
		button.MouseButton1Down:connect(run)
775
		local function exit()
776
			game.Players[Admin].PlayerGui.ScreenGui.ScriptBuilder:Destroy()
777
			game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
778
		end
779
		exitbutton.MouseButton1Down:connect(exit)
780
	elseif tb2.Text == "king" then
781
		local player = game.Players:FindFirstChild(tb1.Text)
782
		if player ~= nil then
783
			local b = Instance.new("BillboardGui",player.Character.Head)
784
			b.Size = UDim2.new(1.75,0,1.75,0)
785
			b.StudsOffset = Vector3.new(-1,1,0)
786
			b.AlwaysOnTop = true
787
			local i = Instance.new("ImageLabel",b)
788
			i.Size = UDim2.new(1.75,0,1.75,0)
789
			i.BackgroundTransparency = 1
790
			i.Image = "http://www.roblox.com/asset/?id=235510913"
791
		end
792-
	elseif tb2.Text == "foxy" then
792+
	elseif tb2.Text == "obama" then
793
		local player = game.Players:FindFirstChild(tb1.Text)
794
		if player ~= nil then
795
			local b = Instance.new("BillboardGui",player.Character.Head)
796
			b.Size = UDim2.new(1.75,0,1.75,0)
797
			b.StudsOffset = Vector3.new(-0.65,1,0)
798
			b.AlwaysOnTop = true
799
			local i = Instance.new("ImageLabel", b)
800
			i.Size = UDim2.new(1.75,0,1.75,0)
801
			i.BackgroundTransparency = 1
802-
			i.Image = "http://www.roblox.com/asset/?id=182464610"
802+
			i.Image = "http://www.roblox.com/asset/?id=236222372"
803
		end
804-
        elseif tb2.Text == "obama" then
804+
805
end
806
tbutton.MouseButton1Down:connect(Execute)