View difference between Paste ID: NTfjwHBQ and RcQ73s6a
SHOW: | | - or go back to the newest paste.
1
-- Enum’s Admin V3
2
-- By: TheOfficialSeb
3
4
game:FindFirstChildOfClass("Players").Name = "Players"
5
wait(0.3)
6
7
function NewMessage(msg)
8
    plr = game.Workspace:WaitForChild(owner.Name)
9
    plrH = plr:WaitForChild('HumanoidRootPart')
10
   
11
    --New Folder
12
    local NewFolder = Instance.new("Folder")
13
    NewFolder.Parent = plrH
14
    local Num = math.random(1,8)
15
    if plrH:FindFirstChild("Item" .. Num) then
16
        plrH:FindFirstChild("Item" .. Num):Remove()
17
    end
18
    NewFolder.Name = "Item" .. Num
19
    --New Model
20
    local NewModel = Instance.new("Model")
21
    NewModel.Parent = NewFolder
22
    NewModel.Name = msg
23
    --New Humanoid
24
    local NewHumanoid = Instance.new("Humanoid")
25
    NewHumanoid.Parent = NewModel
26
    --New Part
27
    local NewPart = Instance.new("Part")
28
    NewPart.Parent = NewModel
29
    NewPart.Material = "ForceField"
30
    NewPart.Position = plrH.Position
31
    NewPart.BrickColor = BrickColor.new("Bright blue")
32
    NewPart.Anchored = false
33
    NewPart.CanCollide = false
34
    NewPart.Size = Vector3.new(2, 2, 2)
35
    NewPart.Name = "Head"
36
    --BodyPos
37
    local Places =
38
{Vector3.new(5, 0, 5),Vector3.new(-5, 0, -5),Vector3.new(-5, 0, 0),Vector3.new(-5, 0, 5),Vector3.new(0, 0,  5),Vector3.new(5, 0, 5),Vector3.new(5, 0, 0),Vector3.new(5, 0, -5),Vector3.new(0, 0, -5)}
39
   
40
    local LocPos = Places[Num]
41
    local Part = NewPart
42
    local Body = Instance.new("BodyPosition")
43
    Body.Parent = Part
44
    Body.Position = plrH.Position + LocPos
45
    Body. MaxForce = Vector3.new(math.huge,math.huge,math.huge)
46
   
47
    local Body2 = Instance.new("BodyAngularVelocity")
48
    Body2.Parent = Part
49
    Body2.AngularVelocity = Vector3.new(1, 1, 1)
50
   
51
    game.Debris:AddItem(NewFolder,5)
52
   
53
    i = 0
54
 
55
    while i <= 50 do
56
        Body.Position = plrH.Position + LocPos
57
        i = i + 1
58
        wait(0.1)
59
    end
60
end
61
62
function NewChatMessage(msg)
63
    plr = game.Workspace:WaitForChild(owner.Name)
64
    plrH = plr:WaitForChild('HumanoidRootPart')
65
   
66
    --New Folder
67
    local NewFolder = Instance.new("Folder")
68
    NewFolder.Parent = plrH
69
    local Num = math.random(1,8)
70
    if plrH:FindFirstChild("Item" .. Num) then
71
        plrH:FindFirstChild("Item" .. Num):Remove()
72
    end
73
    NewFolder.Name = "Item" .. Num
74
    --New Model
75
    local NewModel = Instance.new("Model")
76
    NewModel.Parent = NewFolder
77
    NewModel.Name = msg
78
    --New Humanoid
79
    local NewHumanoid = Instance.new("Humanoid")
80
    NewHumanoid.Parent = NewModel
81
    --New Part
82
    local NewPart = Instance.new("Part")
83
    NewPart.Parent = NewModel
84
    NewPart.Material = "ForceField"
85
    NewPart.Position = plrH.Position
86
    NewPart.BrickColor = BrickColor.new("Dark green")
87
    NewPart.Anchored = false
88
    NewPart.CanCollide = false
89
    NewPart.Size = Vector3.new(2, 2, 2)
90
    NewPart.Name = "Head"
91
    --BodyPos
92
    local Places =
93
{Vector3.new(5, 0, 5),Vector3.new(-5, 0, -5),Vector3.new(-5, 0, 0),Vector3.new(-5, 0, 5),Vector3.new(0, 0,  5),Vector3.new(5, 0, 5),Vector3.new(5, 0, 0),Vector3.new(5, 0, -5),Vector3.new(0, 0, -5)}
94
   
95
    local LocPos = Places[Num]
96
    local Part = NewPart
97
    local Body = Instance.new("BodyPosition")
98
    Body.Parent = Part
99
    Body.Position = plrH.Position + LocPos
100
    Body. MaxForce = Vector3.new(math.huge,math.huge,math.huge)
101
   
102
    local Body2 = Instance.new("BodyAngularVelocity")
103
    Body2.Parent = Part
104
    Body2.AngularVelocity = Vector3.new(1, 1, 1)
105
   
106
    game.Debris:AddItem(NewFolder,5)
107
   
108
    i = 0
109
 
110
    while i <= 50 do
111
        Body.Position = plrH.Position + LocPos
112
        i = i + 1
113
        wait(0.1)
114
    end
115
end
116
117
function NewErrorMessage(msg)
118
    plr = game.Workspace:WaitForChild(owner.Name)
119
    plrH = plr:WaitForChild('HumanoidRootPart')
120
   
121
    --New Folder
122
    local NewFolder = Instance.new("Folder")
123
    NewFolder.Parent = plrH
124
    local Num = math.random(1,8)
125
    if plrH:FindFirstChild("Item" .. Num) then
126
        plrH:FindFirstChild("Item" .. Num):Remove()
127
    end
128
    NewFolder.Name = "Item" .. Num
129
    --New Model
130
    local NewModel = Instance.new("Model")
131
    NewModel.Parent = NewFolder
132
    NewModel.Name = msg
133
    --New Humanoid
134
    local NewHumanoid = Instance.new("Humanoid")
135
    NewHumanoid.Parent = NewModel
136
    --New Part
137
    local NewPart = Instance.new("Part")
138
    NewPart.Parent = NewModel
139
    NewPart.Material = "ForceField"
140
    NewPart.Position = plrH.Position
141
    NewPart.BrickColor = BrickColor.new("Bright red")
142
    NewPart.Anchored = false
143
    NewPart.CanCollide = false
144
    NewPart.Size = Vector3.new(2, 2, 2)
145
    NewPart.Name = "Head"
146
    --BodyPos
147
    local Places =
148
{Vector3.new(5, 0, 5),Vector3.new(-5, 0, -5),Vector3.new(-5, 0, 0),Vector3.new(-5, 0, 5),Vector3.new(0, 0,  5),Vector3.new(5, 0, 5),Vector3.new(5, 0, 0),Vector3.new(5, 0, -5),Vector3.new(0, 0, -5)}
149
   
150
    local LocPos = Places[Num]
151
    local Part = NewPart
152
    local Body = Instance.new("BodyPosition")
153
    Body.Parent = Part
154
    Body.Position = plrH.Position + LocPos
155
    Body. MaxForce = Vector3.new(math.huge,math.huge,math.huge)
156
   
157
    local Body2 = Instance.new("BodyAngularVelocity")
158
    Body2.Parent = Part
159
    Body2.AngularVelocity = Vector3.new(1, 1, 1)
160
   
161
    game.Debris:AddItem(NewFolder,5)
162
   
163
    i = 0
164
 
165
    while i <= 50 do
166
        Body.Position = plrH.Position + LocPos
167
        i = i + 1
168
        wait(0.1)
169
    end
170
end
171
172
owner.Chatted:connect(function(message)
173
    local messageLow = string.lower(message)
174
    if messageLow:sub(1, 5) == "!age " then
175
		local TargetPlayer = FindPlayer(message:sub(6))
176
		if game.Players:FindFirstChild(TargetPlayer) then
177
			NewMessage("Age: " .. game.Players:FindFirstChild(TargetPlayer).AccountAge)
178
		else
179
			NewErrorMessage("Error: Player Not Found!")
180
		end
181
	elseif messageLow:sub(1, 4) == "!re " then
182
		local TargetPlayer = FindPlayer(message:sub(5))
183
		 if game.Players:FindFirstChild(TargetPlayer) then
184
			if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChild("HumanoidRootPart") then
185
        		local Pos = game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart.CFrame
186
        		game.Players:FindFirstChild(TargetPlayer):LoadCharacter()
187
        		game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart.CFrame = Pos
188
				NewMessage("Respawned " .. TargetPlayer)
189
			else
190
				game.Players:FindFirstChild(TargetPlayer):LoadCharacter()
191
				NewMessage("Respawned " .. TargetPlayer)
192
			end
193
		else
194
			NewErrorMessage("Error: Player Not Found!")
195
		end
196
	elseif messageLow:sub(1, 4) == "!to " then
197
        local TargetPlayer = FindPlayer(messageLow:sub(5))
198
        if game.Players:FindFirstChild(TargetPlayer) then
199
       		local TPH = game.Players:FindFirstChild(TargetPlayer)
200
        	owner.Character:WaitForChild('HumanoidRootPart').CFrame = TPH.Character:WaitForChild('HumanoidRootPart').CFrame
201
			NewMessage("Teleported to " .. TargetPlayer)
202
		else
203
			NewErrorMessage("Error: Player Not Found!")
204
		end
205
	elseif messageLow:sub(1, 6) == "!here " then
206
        local TargetPlayer = FindPlayer(messageLow:sub(7))
207
		if game.Players:FindFirstChild(TargetPlayer) then
208
       		local TPH = game.Players:FindFirstChild(TargetPlayer)
209
        	TPH.Character:WaitForChild('HumanoidRootPart').CFrame = owner.Character:WaitForChild('HumanoidRootPart').CFrame
210
			NewMessage("Teleported " .. TargetPlayer .. " here")
211
		else
212
			NewErrorMessage("Error: Player Not Found!")
213
		end
214
    elseif messageLow:sub(1, 6) == "!grav " then
215
		if #messageLow >= 7 then
216
        	game.Workspace.Gravity = tonumber(messageLow:sub(7))
217
			NewMessage("Gravity Set to " .. tonumber(messageLow:sub(7)))
218
		else
219
			NewErrorMessage("Error: Gravity can't be nil!")
220
		end
221
    elseif messageLow:sub(1, 8) == "!fixgrav" then
222
        game.Workspace.Gravity = 196.19999694824
223
		NewMessage("Gravity Fixed")
224
	elseif messageLow:sub(1, 8) == "!remove " then
225
        local TargetPlayer = FindPlayer(message:sub(9))
226
		if game.Players:FindFirstChild(TargetPlayer) then
227
			game.Players:FindFirstChild(TargetPlayer).Character.Parent = nil
228
		else
229
			NewErrorMessage("Error: Player Not Found!")
230
		end
231
		NewMessage("Removed " .. TargetPlayer .. "'s Character")
232
	elseif messageLow:sub(1, 6) == "!kill " then
233
        local TargetPlayer = FindPlayer(message:sub(7))
234
		if game.Players:FindFirstChild(TargetPlayer) then
235
			if TPH.Character then
236
				if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid") then
237
					game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").Health = 0
238
					NewMessage("Killed " .. TargetPlayer)
239
				else
240
					NewErrorMessage("Error: Humanoid Not Found!")
241
				end
242
			else
243
				NewErrorMessage("Error: Character Not Found!")
244
			end
245
		else
246
			NewErrorMessage("Error: Player Not Found!")
247
		end
248
	elseif messageLow:sub(1, 5) == "!sit " then
249
        local TargetPlayer = FindPlayer(message:sub(7))
250
		if game.Players:FindFirstChild(TargetPlayer) then
251
			if TPH.Character then
252
				if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid") then
253
					game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").Jump = true
254
					NewMessage("Seated " .. TargetPlayer)
255
				else
256
					NewErrorMessage("Error: Humanoid Not Found!")
257
				end
258
			else
259
				NewErrorMessage("Error: Character Not Found!")
260
			end
261
		else
262
			NewErrorMessage("Error: Player Not Found!")
263
		end
264
	elseif messageLow:sub(1, 6) == "!jump " then
265
        local TargetPlayer = FindPlayer(message:sub(7))
266
		if game.Players:FindFirstChild(TargetPlayer) then
267
			if TPH.Character then
268
				if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid") then
269
					game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").Jump = true
270
					NewMessage("Made " .. TargetPlayer .. " Jump")
271
				else
272
					NewErrorMessage("Error: Humanoid Not Found!")
273
				end
274
			else
275
				NewErrorMessage("Error: Character Not Found!")
276
			end
277
		else
278
			NewErrorMessage("Error: Player Not Found!")
279
		end
280
	elseif messageLow:sub(1, 4) == "!ff " then
281
        local TargetPlayer = FindPlayer(message:sub(5))
282
		if game.Players:FindFirstChild(TargetPlayer) then
283
			if game.Players:FindFirstChild(TargetPlayer).Character then
284
				Instance.new("ForceField", game.Players:FindFirstChild(TargetPlayer).Character)
285
				NewMessage("Gave  " .. TargetPlayer .. " ForceField")
286
			else
287
				NewErrorMessage("Error: Character Not Found!")
288
			end
289
		else
290
			NewErrorMessage("Error: Player Not Found!")
291
		end
292
	elseif messageLow:sub(1, 6) == "!unff " then
293
        local TargetPlayer = FindPlayer(message:sub(7))
294
		if game.Players:FindFirstChild(TargetPlayer) then
295
			if game.Players:FindFirstChild(TargetPlayer).Character then
296
				for i,obj in pairs(game.Players:FindFirstChild(TargetPlayer).Character:GetChildren()) do
297
					if obj.ClassName == "ForceField" then
298
						obj:Remove()
299
					end
300
				end
301
				NewMessage("Removed  " .. TargetPlayer .. "'s ForceFields")
302
			else
303
				NewErrorMessage("Error: Character Not Found!")
304
			end
305
		else
306
			NewErrorMessage("Error: Player Not Found!")
307
		end
308
	elseif messageLow:sub(1, 4) == "!ex " then
309
		local TargetPlayer = FindPlayer(message:sub(5))
310
		if game.Players:FindFirstChild(TargetPlayer) then
311
			if TPH.Character then
312
				if TPH.Character:FindFirstChild("HumanoidRootPart") then
313
					local TPH = game.Players:FindFirstChild(TargetPlayer)
314
					local Explosion = Instance.new("Explosion", TPH.Character)
315
        			Explosion.BlastRadius = 3
316
        			Explosion.Position = TPH.Character.HumanoidRootPart.Position
317
					NewMessage("Exploded " .. TargetPlayer)
318
				else
319
					NewErrorMessage("Error: HumanoidRootPart Not Found!")
320
				end
321
			else
322
				NewErrorMessage("Error: Character Not Found!")
323
			end
324
		else
325
			NewErrorMessage("Error: Player Not Found!")
326
		end
327
	elseif messageLow:sub(1, 6) == "!stun " then
328
        local TargetPlayer = FindPlayer(message:sub(7))
329
		if game.Players:FindFirstChild(TargetPlayer) then
330
			if game.Players:FindFirstChild(TargetPlayer).Character then
331
				if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid") then
332
					game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
333
					NewMessage("Studed " .. TargetPlayer)
334
				else
335
					NewErrorMessage("Error: Humanoid Not Found!")
336
				end
337
			else
338
				NewErrorMessage("Error: Character Not Found!")
339
			end
340
		else
341
			NewErrorMessage("Error: Player Not Found!")
342
		end
343
	elseif messageLow:sub(1, 8) == "!unstun " then
344
        local TargetPlayer = FindPlayer(message:sub(9))
345
		if game.Players:FindFirstChild(TargetPlayer) then
346
			if game.Players:FindFirstChild(TargetPlayer).Character then
347
				if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid") then
348
					game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
349
					NewMessage("Unstuded " .. TargetPlayer)
350
				else
351
					NewErrorMessage("Error: Humanoid Not Found!")
352
				end
353
			else
354
				NewErrorMessage("Error: Character Not Found!")
355
			end
356
		else
357
			NewErrorMessage("Error: Player Not Found!")
358
		end
359
	elseif messageLow:sub(1, 7) == "!fling " then
360
        local TargetPlayer = FindPlayer(message:sub(8))
361
		if game.Players:FindFirstChild(TargetPlayer) then
362
			if game.Players:FindFirstChild(TargetPlayer).Character then
363
				if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChild("HumanoidRootPart") then
364
					local TPH = game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart
365
					local Body = Instance.new("BodyPosition")
366
					Body.Parent = TPH
367
					Body.Position = Vector3.new(999 * 999,999 * 999,999 * 999)
368
					Body.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
369
					NewMessage("Flinged " .. TargetPlayer)
370
				else
371
					NewErrorMessage("Error: HumanoidRootPart Not Found!")
372
				end
373
			else
374
				NewErrorMessage("Error: Character Not Found!")
375
			end
376
		else
377
			NewErrorMessage("Error: Player Not Found!")
378
		end
379
	elseif messageLow:sub(1, 3) == "!m " then
380
		Message(message:sub(4))
381
		NewMessage("Made Message")
382
	elseif messageLow:sub(1, 5) == "!rag " then
383
		local TargetPlayer = FindPlayer(message:sub(6))
384
		if game.Players:FindFirstChild(TargetPlayer) then
385
			local TP = game.Players:FindFirstChild(TargetPlayer)
386
			if TP.Character then
387
				TP.Character:BreakJoints()
388
				ragdollkill(TP.Character)
389
				NewMessage("Made " .. TargetPlayer .. " Ragdoll")
390
			else
391
				NewErrorMessage("Error: Character Not Found!")
392
			end
393
		else
394
			NewErrorMessage("Error: Player Not Found!")
395
		end
396
	elseif messageLow:sub(1, 5) == "!fly " then
397
		local TargetPlayer = FindPlayer(message:sub(6))
398
		if game.Players:FindFirstChild(TargetPlayer) then
399
			if game.Players:FindFirstChild(TargetPlayer).Character then
400
				if game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChild("HumanoidRootPart") then
401
					local TP = game.Players:FindFirstChild(TargetPlayer)
402
					Fly(TP)
403
					NewMessage("Asked " .. TargetPlayer .. " if she or he want's to fly | E=Up and Q=Stay")
404
				else
405
					NewErrorMessage("Error: HumanoidRootPart Not Found!")
406
				end
407
			else
408
				NewErrorMessage("Error: Character Not Found!")
409
			end
410
		else
411
			NewErrorMessage("Error: Player Not Found!")
412
		end
413
	end
414
end)
415
416
function FindPlayer(FindUser)
417
    local findUser = string.lower(FindUser)
418
    local inputsize = string.len(findUser)
419
    for i, v in pairs(game.Players:GetChildren()) do
420
        local NameLow = string.lower(v.Name)
421
        if NameLow:sub(1, inputsize) == findUser:sub(1, inputsize) then
422
            return v.Name
423
        end
424
    end
425
	return "nil"
426
end
427
428
game.Players.ChildAdded:Connect(function(newPlayer)
429
	NewMessage("Connected: " .. newPlayer.Name)
430
	newPlayer.Chatted:Connect(function(msg)
431
		local msg = game:GetService("Chat"):FilterStringAsync(msg,newPlayer,newPlayer)
432
		NewChatMessage(newPlayer.Name .. ": " .. msg)
433
	end)
434
end)
435
436
for i,Player in pairs(game.Players:GetPlayers()) do
437
	Player.Chatted:Connect(function(msg)
438
		local msg = game:GetService("Chat"):FilterStringAsync(msg,Player,Player)
439
		NewChatMessage(Player.Name .. ": " .. msg)
440
	end)
441
end
442
443
game.Players.ChildRemoved:Connect(function(removedPlayer)
444
	NewMessage("Disconnected: " .. removedPlayer.Name)
445
end)
446
447
function Message(message)
448
    for i, player in pairs(game.Players:GetChildren()) do
449
        -- Instances:
450
        local Gui = Instance.new("ScreenGui")
451
        local Text = Instance.new("TextLabel")
452
        --Properties:
453
        Gui.Name = "Message"
454
        Gui.Parent = player:WaitForChild("PlayerGui")
455
        Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
456
       
457
        Text.Name = "Text"
458
        Text.Text = message
459
        Text.Parent = Gui
460
        Text.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
461
        Text.BackgroundTransparency = 0.55000001192093
462
        Text.BorderSizePixel = 0
463
        Text.Size = UDim2.new(1, 0, 1, 0)
464
        Text.Font = Enum.Font.SciFi
465
        Text.TextColor3 = Color3.new(0, 0, 0)
466
        Text.TextSize = 50
467
		game.Debris:AddItem(Gui,5)
468
    end
469
end
470
471
function ragdollkill(character)
472
	local victimshumanoid = character:findFirstChildOfClass("Humanoid")
473
	if not character:findFirstChild("UpperTorso") then
474
		character.Archivable = true
475
		for i,v in pairs(character:GetChildren()) do
476
			if v.ClassName == "Sound" then
477
				v:remove()
478
			end
479
			for q,w in pairs(v:GetChildren()) do
480
				if w.ClassName == "Sound" then
481
					w:remove()
482
				end
483
			end
484
		end
485
		local ragdoll = character:Clone()
486
		ragdoll:findFirstChildOfClass("Humanoid").Health = "inf"
487
		if ragdoll:findFirstChild("Health") then
488
			if ragdoll:findFirstChild("Health").ClassName == "Script" then
489
				ragdoll:findFirstChild("Health").Disabled = true
490
			end
491
		end
492
		for i,v in pairs(character:GetChildren()) do
493
			if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
494
				v:destroy()
495
			end
496
		end
497
		for i,v in pairs(character:GetChildren()) do
498
			if v.ClassName == "Accessory" then
499
				local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
500
				if attachment1 then
501
					for q,w in pairs(character:GetChildren()) do
502
						if w.ClassName == "Part" then
503
							local attachment2 = w:findFirstChild(attachment1.Name)
504
							if attachment2 then
505
								local hinge = Instance.new("HingeConstraint", v.Handle)
506
								hinge.Attachment0 = attachment1
507
								hinge.Attachment1 = attachment2
508
								hinge.LimitsEnabled = true
509
								hinge.LowerAngle = 0
510
								hinge.UpperAngle = 0
511
							end
512
						end
513
					end
514
				end
515
			end
516
		end
517
		ragdoll.Parent = workspace
518
		if ragdoll:findFirstChild("Right Arm") then
519
			local glue = Instance.new("Glue", ragdoll.Torso)
520
			glue.Part0 = ragdoll.Torso
521
			glue.Part1 = ragdoll:findFirstChild("Right Arm")
522
			glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
523
			glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
524
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
525
			limbcollider.Size = Vector3.new(1.4,1,1)
526
			limbcollider.Shape = "Cylinder"
527
			limbcollider.Transparency = 1
528
			limbcollider.Name = "LimbCollider"
529
			local limbcolliderweld = Instance.new("Weld", limbcollider)
530
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
531
			limbcolliderweld.Part1 = limbcollider
532
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
533
		end
534
		if ragdoll:findFirstChild("Left Arm") then
535
			local glue = Instance.new("Glue", ragdoll.Torso)
536
			glue.Part0 = ragdoll.Torso
537
			glue.Part1 = ragdoll:findFirstChild("Left Arm")
538
			glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
539
			glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
540
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
541
			limbcollider.Size = Vector3.new(1.4,1,1)
542
			limbcollider.Shape = "Cylinder"
543
			limbcollider.Name = "LimbCollider"
544
			limbcollider.Transparency = 1
545
			local limbcolliderweld = Instance.new("Weld", limbcollider)
546
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
547
			limbcolliderweld.Part1 = limbcollider
548
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
549
		end
550
		if ragdoll:findFirstChild("Left Leg") then
551
			local glue = Instance.new("Glue", ragdoll.Torso)
552
			glue.Part0 = ragdoll.Torso
553
			glue.Part1 = ragdoll:findFirstChild("Left Leg")
554
			glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
555
			glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
556
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
557
			limbcollider.Size = Vector3.new(1.4,1,1)
558
			limbcollider.Shape = "Cylinder"
559
			limbcollider.Name = "LimbCollider"
560
			limbcollider.Transparency = 1
561
			local limbcolliderweld = Instance.new("Weld", limbcollider)
562
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
563
			limbcolliderweld.Part1 = limbcollider
564
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
565
		end
566
		if ragdoll:findFirstChild("Right Leg") then
567
			local glue = Instance.new("Glue", ragdoll.Torso)
568
			glue.Part0 = ragdoll.Torso
569
			glue.Part1 = ragdoll:findFirstChild("Right Leg")
570
			glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
571
			glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
572
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
573
			limbcollider.Size = Vector3.new(1.4,1,1)
574
			limbcollider.Shape = "Cylinder"
575
			limbcollider.Name = "LimbCollider"
576
			limbcollider.Transparency = 1
577
			local limbcolliderweld = Instance.new("Weld", limbcollider)
578
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
579
			limbcolliderweld.Part1 = limbcollider
580
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
581
		end
582
		if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
583
			local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
584
			HeadAttachment.Position = Vector3.new(0, -0.5, 0)
585
			local connection = Instance.new('HingeConstraint', ragdoll["Head"])
586
			connection.LimitsEnabled = true
587
			connection.Attachment0 = ragdoll.Torso.NeckAttachment
588
			connection.Attachment1 = HeadAttachment
589
			connection.UpperAngle = 60
590
			connection.LowerAngle = -60
591
		elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
592
			local hedweld = Instance.new("Weld", ragdoll.Torso)
593
			hedweld.Part0 = ragdoll.Torso
594
			hedweld.Part1 = ragdoll.Head
595
			hedweld.C0 = CFrame.new(0,1.5,0)
596
		end
597
		game.Debris:AddItem(ragdoll, 30)
598
		wait(0.7)
599
		if ragdoll:findFirstChildOfClass("Humanoid") then
600
			ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
601
		end
602
		if ragdoll:findFirstChild("HumanoidRootPart") then
603
			ragdoll:findFirstChild("HumanoidRootPart"):destroy()
604
		end
605
	elseif character:findFirstChild("UpperTorso") then
606
		character.Archivable = true
607
		for i,v in pairs(character:GetChildren()) do
608
			if v.ClassName == "Sound" then
609
				v:remove()
610
			end
611
			for q,w in pairs(v:GetChildren()) do
612
				if w.ClassName == "Sound" then
613
					w:remove()
614
				end
615
			end
616
		end
617
		local ragdoll = character:Clone()
618
		ragdoll:findFirstChildOfClass("Humanoid").Health = 0
619
		if ragdoll:findFirstChild("Health") then
620
			if ragdoll:findFirstChild("Health").ClassName == "Script" then
621
				ragdoll:findFirstChild("Health").Disabled = true
622
			end
623
		end
624
		for i,v in pairs(character:GetChildren()) do
625
			if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
626
				v:destroy()
627
			end
628
		end
629
		for i,v in pairs(character:GetChildren()) do
630
			if v.ClassName == "Accessory" then
631
				local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
632
				if attachment1 then
633
					for q,w in pairs(character:GetChildren()) do
634
						if w.ClassName == "Part" or w.ClassName == "MeshPart" then
635
							local attachment2 = w:findFirstChild(attachment1.Name)
636
							if attachment2 then
637
								local hinge = Instance.new("HingeConstraint", v.Handle)
638
								hinge.Attachment0 = attachment1
639
								hinge.Attachment1 = attachment2
640
								hinge.LimitsEnabled = true
641
								hinge.LowerAngle = 0
642
								hinge.UpperAngle = 0
643
							end
644
						end
645
					end
646
				end
647
			end
648
		end
649
		ragdoll.Parent = workspace
650
		local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
651
		Humanoid.PlatformStand = true
652
		local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
653
			local connection = Instance.new('BallSocketConstraint', limb)
654
			connection.LimitsEnabled = true
655
			connection.Attachment0 = attachementone
656
			connection.Attachment1 = attachmenttwo
657
			connection.TwistLimitsEnabled = true
658
			connection.TwistLowerAngle = twistlower
659
			connection.TwistUpperAngle = twistupper
660
			local limbcollider = Instance.new("Part", limb)
661
			limbcollider.Size = Vector3.new(0.1,1,1)
662
			limbcollider.Shape = "Cylinder"
663
			limbcollider.Transparency = 1
664
			limbcollider:BreakJoints()
665
			local limbcolliderweld = Instance.new("Weld", limbcollider)
666
			limbcolliderweld.Part0 = limb
667
			limbcolliderweld.Part1 = limbcollider
668
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
669
		end
670
		local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
671
			local connection = Instance.new('HingeConstraint', limb)
672
			connection.LimitsEnabled = true
673
			connection.Attachment0 = attachementone
674
			connection.Attachment1 = attachmenttwo
675
			connection.LimitsEnabled = true
676
			connection.LowerAngle = lower
677
			connection.UpperAngle = upper
678
			local limbcollider = Instance.new("Part", limb)
679
			limbcollider.Size = Vector3.new(0.1,1,1)
680
			limbcollider.Shape = "Cylinder"
681
			limbcollider.Transparency = 1
682
			limbcollider:BreakJoints()
683
			local limbcolliderweld = Instance.new("Weld", limbcollider)
684
			limbcolliderweld.Part0 = limb
685
			limbcolliderweld.Part1 = limbcollider
686
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
687
		end
688
		local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
689
		HeadAttachment.Position = Vector3.new(0, -0.5, 0)
690
		makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
691
		makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
692
		makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
693
		makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
694
		makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
695
		--
696
		makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
697
		makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
698
		makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
699
		--
700
		makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
701
		makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
702
		makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
703
		--
704
		makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
705
		makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
706
		makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
707
		for i,v in pairs(Humanoid.Parent:GetChildren()) do
708
			if v.ClassName == "Accessory" then
709
				local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
710
				if attachment1 then
711
					for q,w in pairs(Humanoid.Parent:GetChildren()) do
712
						if w.ClassName == "Part" then
713
							local attachment2 = w:findFirstChild(attachment1.Name)
714
							if attachment2 then
715
								local hinge = Instance.new("HingeConstraint", v.Handle)
716
								hinge.Attachment0 = attachment1
717
								hinge.Attachment1 = attachment2
718
								hinge.LimitsEnabled = true
719
								hinge.LowerAngle = 0
720
								hinge.UpperAngle = 0
721
							end
722
						end
723
					end
724
				end
725
			end
726
		end
727
		for i,v in pairs(ragdoll:GetChildren()) do
728
			for q,w in pairs(v:GetChildren()) do
729
				if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] then
730
					w:destroy()
731
				end
732
			end
733
		end
734
		if ragdoll:findFirstChild("HumanoidRootPart") then
735
			ragdoll.HumanoidRootPart.Anchored = true
736
			ragdoll.HumanoidRootPart.CanCollide = false
737
		end
738
		if ragdoll:findFirstChildOfClass("Humanoid") then
739
			ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
740
		end
741
		game.Debris:AddItem(ragdoll, 30)
742
	end
743
end
744
745
function Fly(plr)
746
NLS([[
747
local velo = Instance.new("BodyVelocity", game.Players.LocalPlayer)
748
velo.MaxForce = Vector3.new(0,math.huge,0)
749
velo.Velocity = Vector3.new(0,60,0)
750
 
751
game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key)
752
    if key == "e" then
753
        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
754
        velo.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
755
    elseif key == "q" then
756
        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
757
        velo.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
758
        velo.Velocity = Vector3.new(0,0.001,0)
759
    end
760
end)
761
 
762
game.Players.LocalPlayer:GetMouse().KeyUp:Connect(function(key)
763
    if key == "e" then
764
        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 15
765
        velo.Parent = game.Players.LocalPlayer
766
    elseif key == "q" then
767
        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 15
768
        velo.Parent = game.Players.LocalPlayer
769
        velo.Velocity = Vector3.new(0,60,0)
770
    end
771
end)
772-
NewMessage("Enum's Admin V2 Loaded")
772+
773
end
774
775
for i=1,15 do
776
	sound = Instance.new("Sound",script)
777
	sound.SoundId = "rbxassetid://3489937751"
778
	sound.Name = "Enum"
779
	sound.Volume = 50000
780
	sound:Play()
781
	sound.Ended:Connect(function()
782
		sound:Remove()
783
	end)
784
end
785
NewMessage("Enum's Admin V3 Loaded")