View difference between Paste ID: ErL8jc3S and FnPiriMy
SHOW: | | - or go back to the newest paste.
1
ls --[[ TeamDman ]]--
2
3-
ClonyPooPoo = script:Clone()
3+
JayTheLionJR = script:Clone()
4
5
script.Parent = nil
6
7
LocalPlayer = game:service'Players'.LocalPlayer
8
9
Camera = workspace.CurrentCamera
10
11
Mouse = LocalPlayer:GetMouse()
12
13
14
15
CtrlDown = false
16
17
ButtonUnoDown = false
18
19
GUIHidden = false
20
21
Platforming = false
22
23
PlatUpping = false
24
25
PlatDowning = false
26
27
ChatDebounce = false
28
29
UseChat = true
30
31
Limping = false
32
33
34
35
Mode = "None"
36
37
CharacterName = LocalPlayer.Name
38
39
40
41
CopyPasta = nil
42
43
Dragging = nil
44
45
DraggingBP = nil
46
47
GodConnection = nil
48
49
50
51
R = 0
52
53
G = 0
54
55
B = 0
56
57
58
59
X = 0
60
61
Y = 0
62
63
Z = 0
64
65
66
67
Height = 0
68
69
ColorChange = 0.03
70
71
HeightChange = 0.3
72
73
74
75
Sound = Instance.new("Sound",Camera)
76
77
Sound.Pitch = 1
78
79
Sound.Volume = 10
80
81
82
83
Platform = Instance.new("Part")
84
85
Platform.Size = Vector3.new(3,1,3)
86
87
Platform.Transparency = 1
88
89
Platform.Anchored = true
90
91
Platform.CanCollide = true
92
93
94
95
ModeChanged = Instance.new("BindableEvent")
96
97
98
99
KeyBindings = {
100
101
	{"t","Teleport"},
102
103
	{"j","BreakJoints"},
104
105
	{"n","NoClip"},
106
107
	{"u","Ninja",function() LocalPlayer.Character.Parent = Camera end},
108
109
	{"e","Explosion"},
110
111
	{"k","Phaze"},
112
113
	{"c","Copy"},
114
115
	{"v","Paste"},
116
117
	{"b","BloodSuck"},
118
119
	{"-","Remove",
120
121
		function()
122
123
			pcall(function()
124
125
				LocalPlayer.PlayerGui:FindFirstChild("KeyBindings"):Remove()
126
127
			end)
128
129
			for i,v in pairs(getfenv(1)) do
130
131
				getfenv(1)[i] = {}
132
133
			end
134
135
			print = function() end
136
137
		end
138
139
	},
140
141
	{"h","Help",
142
143
		function() 
144
145
			local ScrGui = Instance.new("ScreenGui",LocalPlayer.PlayerGui) 
146
147
			local Txt = Instance.new("TextLabel",ScrGui) 
148
149
			Txt.BackgroundTransparency = 1
150
151
			Txt.TextStrokeTransparency = 0
152
153
			Txt.TextWrap = true 
154
155
			Txt.Size = UDim2.new(1,0,1,0)
156
157
			Txt.FontSize = "Size18"
158
159
			Txt.TextColor3 = Color3.new(1,1,1)
160
161
			Txt.Text = [[
162
163
				Modes shown on the right.
164
165
				To select a mode hold Ctrl then press the designated key.
166
167
				Once selected click to activate the modes function.
168
169
				Some modes don't need to be clicked to activate.
170
171
				Press shift to deselect mode.
172
173
			]]
174
175
			game:GetService("Debris"):AddItem(ScrGui,10) 
176
177
		end
178
179
	},
180
181
	{"g","Toggle GUI",
182
183
		function()
184
185
			local Main = LocalPlayer.PlayerGui:FindFirstChild("KeyBindings").Main
186
187
			if GUIHidden == true then
188
189
				GUIHidden = false
190
191
				Main:TweenPosition(UDim2.new(0.85,0,0.25,0),"Out","Quad",1,true)
192
193
			elseif GUIHidden == false then
194
195
				GUIHidden = true
196
197
				Main:TweenPosition(UDim2.new(1,0,0.25,0),"Out","Quad",1,true)
198
199
			end
200
201
		end
202
203
	},
204
205
	{"m","Destroy"},
206
207
	{"r","Eat"},
208
209
	{";","Host"},
210
211
	{"]","Give"},
212
213
	{"f","BaleFire"},
214
215
	--{"p","Asplosion"},
216
217
	{"z","More",
218
219
		function()
220
221
			local Scr = Instance.new("ScreenGui",LocalPlayer.PlayerGui)
222
223
			Scr.Name = "KeyBindings"
224
225
			local Frames = {}
226
227
			local Frame = Instance.new("Frame",Scr)
228
229
			Frames[#Frames+1] = Frame
230
231
			Frame.Style = "RobloxSquare"
232
233
			Frame.Active = true
234
235
			Frame.Draggable = true
236
237
			Frame.Size = UDim2.new(0.3,0,0.3,0)
238
239
			Frame.Position = UDim2.new(0.15,0,0.15,0)
240
241
			local Close = Instance.new("TextButton",Frame)
242
243
			Close.Text = "Close"
244
245
			Close.FontSize = "Size18"
246
247
			Close.Style = 1
248
249
			Close.TextColor3 = Color3.new(1,0,0)
250
251
			Close.Size = UDim2.new(1,0,0.1,0)
252
253
			Close.MouseButton1Down:connect(function() Scr:Remove() end)
254
255
			local HideName = Close:Clone()
256
257
			HideName.Parent = Frame
258
259
			HideName.Text = "HideName"
260
261
			HideName.Size = UDim2.new(0.5,0,0.1,0)
262
263
			HideName.Position = UDim2.new(0,0,0.1,0)
264
265
			HideName.MouseButton1Down:connect(function()
266
267
				local Head = LocalPlayer.Head
268
269
				local Fake = Head:Clone()
270
271
				Fake.Name = "Fake Head"
272
273
				Fake.face:Remove()
274
275
				Fake.Transparency = 0
276
277
				Head.Transparency = 1
278
279
				Fake.Parent = Head.Parent
280
281
				local Weld = Instance.new("Weld",Fake)
282
283
				Weld.Part0 = Fake
284
285
				Weld.Part1 = Head
286
287
				Weld.C0 = CFrame.new(0,0,0)
288
289
			end)
290
291
			local NilChar = HideName:Clone()
292
293
			NilChar.Parent = Frame
294
295
			NilChar.Text = "Nil Char"
296
297
			NilChar.Position = UDim2.new(0.5,0,0.1,0)
298
299
			NilChar.MouseButton1Down:connect(function()
300
301
				LocalPlayer.Character = nil
302
303
			end)
304
305
			local Dark = NilChar:Clone()
306
307
			Dark.Parent = Frame
308
309
			Dark.Text = "Darken"
310
311
			Dark.Position = UDim2.new(0,0,0.2,0)
312
313
			Dark.MouseButton1Down:connect(function()
314
315
				Darken(LocalPlayer.Character)
316
317
			end)
318
319
			local NewChar = Dark:Clone()
320
321
			NewChar.Parent = Frame
322
323
			NewChar.Text = "New Char"
324
325
			NewChar.Position = UDim2.new(0.5,0,0.2,0)
326
327
			NewChar.MouseButton1Down:connect(function()
328
329
				--[[local Clone = game:service'InsertService':LoadAsset(68452456):children()[1]
330
331
				Clone.Parent = workspace
332
333
				LoclaPlayer.Character = Clone]]--
334
335
				LoadCharacter(CFrame.new(0,50,0))
336
337
			end)
338
339
			local FF = NewChar:Clone()
340
341
			FF.Parent = Frame
342
343
			FF.Text = "ForceField"
344
345
			FF.Position = UDim2.new(0,0,0.3,0)
346
347
			FF.MouseButton1Down:connect(function()
348
349
				local FF = Instance.new("ForceField",LocalPlayer.Character)
350
351
				FF.Name = "KeyBindingForceField"
352
353
			end)
354
355
			local UnFF = FF:Clone()
356
357
			UnFF.Parent = Frame
358
359
			UnFF.Text = "UnForceField"
360
361
			UnFF.Position = UDim2.new(0.5,0,0.3,0)
362
363
			UnFF.MouseButton1Down:connect(function()
364
365
				for _,v in pairs(LocalPlayer.Character:children()) do
366
367
					if v:IsA("ForceField") then
368
369
						v:Remove()
370
371
					end
372
373
				end
374
375
			end)
376
377
			local LoadGui = FF:Clone()
378
379
			LoadGui.Parent = Frame
380
381
			LoadGui.Text = "Load Gui"
382
383
			LoadGui.Position = UDim2.new(0,0,0.4,0)
384
385
			LoadGui.MouseButton1Down:connect(Load)
386
387
			local NoTools = LoadGui:Clone()
388
389
			NoTools.Parent = Frame
390
391
			NoTools.Text = "Remove tools"
392
393
			NoTools.Position = UDim2.new(0.5,0,0.4,0)
394
395
			NoTools.MouseButton1Down:connect(function()
396
397
				pcall(function()
398
399
					LocalPlayer.Backpack:ClearAllChildren()
400
401
				end)
402
403
			end)
404
405
			local NoGuis = NoTools:Clone()
406
407
			NoGuis.Parent = Frame
408
409
			NoGuis.Text = "Remove GUIs"
410
411
			NoGuis.Position = UDim2.new(0,0,0.5,0)
412
413
			NoGuis.MouseButton1Down:connect(function()
414
415
				pcall(function()
416
417
					for _,v in pairs(LocalPlayer.PlayerGui:children()) do
418
419
						if v ~= Scr then
420
421
							v:Destroy()
422
423
						end
424
425
					end
426
427
				end)
428
429
			end)
430
431
			local Limp = NoGuis:Clone()
432
433
			Limp.Parent = Frame
434
435
			Limp.Text = "Limp"
436
437
			Limp.Position = UDim2.new(0.5,0,0.5,0)
438
439
			Limp.MouseButton1Down:connect(function()
440
441
				pcall(function()
442
443
					Limping = true
444
445
					for _,v in pairs(LocalPlayer.Character.Torso:children()) do
446
447
						if v:IsA("JointInstance") and v.Part1.Name ~= "Head" then
448
449
							for i=1,1 do
450
451
								local Glue = Instance.new("Glue",v.Parent)
452
453
								Glue.Part0 = v.Part0
454
455
								Glue.Part1 = v.Part1
456
457
								Glue.C0 = v.C0
458
459
								Glue.C1 = v.C1
460
461
								v.Parent = Glue
462
463
								v.Part1 = nil
464
465
							end
466
467
						end
468
469
					end
470
471
				end)
472
473
			end)
474
475
			local UnLimp = NoGuis:Clone()
476
477
			UnLimp.Parent = Frame
478
479
			UnLimp.Text = "Un Limp"
480
481
			UnLimp.Position = UDim2.new(0,0,0.6,0)
482
483
			UnLimp.MouseButton1Down:connect(function()
484
485
				pcall(function()
486
487
					Limping = false
488
489
					for _,v in pairs(LocalPlayer.Character.Torso:children()) do
490
491
						if v:IsA("Glue") then
492
493
							local Orig = v:children()[1]
494
495
							Orig.Parent = v.Parent
496
497
							Orig.Part1 = v.Part1
498
499
							v.Parent = nil
500
501
						end
502
503
					end
504
505
					LocalPlayer.Character.Humanoid.PlatformStand = false
506
507
				end)
508
509
			end)
510
511
			local God = NoGuis:Clone()
512
513
			God.Parent = Frame
514
515
			God.Text = "God"
516
517
			God.Position = UDim2.new(0.5,0,0.6,0)
518
519
			God.MouseButton1Down:connect(function()
520
521
				pcall(function()
522
523
					if GodConnection ~= nil then GodConnection:disconnect() end
524
525
					GodConnection = LocalPlayer.Character.Torso.Touched:connect(function(v)
526
527
						v:BreakJoints()
528
529
						for i=1,3 do 
530
531
							local Fire = Instance.new("Fire",v)
532
533
							Fire.Color = Color3.new(255,255,255)
534
535
							Fire.SecondaryColor = Color3.new(-255,-255,-255)
536
537
						end
538
539
					end)
540
541
				end)
542
543
			end)
544
545
			local UnGod = God:Clone()
546
547
			UnGod.Parent = Frame
548
549
			UnGod.Text = "UnGod"
550
551
			UnGod.Position = UDim2.new(0,0,0.7,0)
552
553
			UnGod.MouseButton1Down:connect(function()
554
555
				if GodConnection ~= nil then
556
557
					GodConnection:disconnect() 
558
559
				end
560
561
			end)
562
563
			local UnDarken = UnGod:Clone()
564
565
			UnDarken.Parent = Frame
566
567
			UnDarken.Text = "Un Darken"
568
569
			UnDarken.Position = UDim2.new(0.5,0,0.7,0)
570
571
			UnDarken.MouseButton1Down:connect(function()
572
573
				pcall(function()
574
575
					repeat
576
577
						LocalPlayer.Character:FindFirstChild("Skin",true):Destroy()
578
579
					until LocalPlayer.Character:FindFirstChild("Skin") == nil
580
581
				end)
582
583
			end)
584
585
			local RepairLimbs = UnDarken:Clone()
586
587
			RepairLimbs.Parent = Frame
588
589
			RepairLimbs.Text = "Repair Limbs"
590
591
			RepairLimbs.Position = UDim2.new(0,0,0.8,0)
592
593
			RepairLimbs.MouseButton1Down:connect(function()
594
595
				FixLimbs()
596
597
			end)
598
599
			
600
601
			local Home = RepairLimbs:Clone()
602
603
			Home.Parent = Frame
604
605
			Home.Text = "Home"
606
607
			Home.Position = UDim2.new(0.5,0,0.8,0)
608
609
			Home.MouseButton1Down:connect(function()
610
611
				pcall(function()
612
613
					LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
614
615
					LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0)
616
617
					LocalPlayer.Character.Torso.RotVelocity = Vector3.new(0,0,0)
618
619
				end)
620
621
			end)
622
623
		end
624
625
	},
626
627
	{"p","Drag"},
628
629
}
630
631
632
633
function PlaySound(Id)
634
635
	pcall(function()
636
637
		Sound:Stop()
638
639
		Sound.SoundId = Id
640
641
		Sound:Play()
642
643
	end)
644
645
end
646
647
648
649
function GetPlayer(Target)
650
651
	for _,v in pairs(game:service'Players':GetPlayers()) do
652
653
		if Target:IsDescendantOf(v.Character) and v.Character ~= nil then
654
655
			return v
656
657
		end
658
659
	end
660
661
	return nil
662
663
end
664
665
666
667
function ShouldEditPart(Target)
668
669
	local Rtn = true 
670
671
	if Target.Locked == true and CtrlDown == false then
672
673
		Rtn = false
674
675
	end 
676
677
	if Target.Name == "Base" or Target == Platform then
678
679
		Rtn = false
680
681
	end
682
683
	return Rtn
684
685
end
686
687
688
689
690
691
function Darken(Parent)
692
693
	for _,v in pairs(Parent:children()) do
694
695
		wait(1/100^100)
696
697
		for _,i in pairs(v:children()) do
698
699
			if i:IsA("Decal") then
700
701
				i:Remove()
702
703
			end
704
705
		end
706
707
		if v:IsA("BasePart") then
708
709
			local Skin = v:FindFirstChild("Handle") or v
710
711
			Skin = Skin:Clone()
712
713
			Skin.Name = "Skin"
714
715
			Skin.Parent = v.Parent
716
717
			Skin.FormFactor = "Custom"
718
719
			Skin.TopSurface = "Smooth"
720
721
			Skin.BottomSurface = "Smooth"
722
723
			Skin.BrickColor = BrickColor.new("Really black")
724
725
			--[[coroutine.resume(coroutine.create(function()
726
727
				while wait() do
728
729
					local R = 0
730
731
					local G = 0
732
733
					local B = 0
734
735
					local ColorChange = 0.03
736
737
					for i=0,1,ColorChange do	R = i 		Skin.BrickColor = BrickColor.new(R,G,B)			wait(1/100^100) 	end
738
739
					for i=0,1,ColorChange do	G = i 		Skin.BrickColor = BrickColor.new(R,G,B) 		wait(1/100^100) 	end
740
741
					for i=0,1,ColorChange do	B = i 		Skin.BrickColor = BrickColor.new(R,G,B)			wait(1/100^100) 	end
742
743
					for i=1,0,ColorChange*-1 do R = i 		Skin.BrickColor = BrickColor.new(R,G,B) 		wait(1/100^100) 	end
744
745
					for i=1,0,ColorChange*-1 do G = i 		Skin.BrickColor = BrickColor.new(R,G,B) 		wait(1/100^100) 	end
746
747
					for i=1,0,ColorChange*-1 do B = i 		Skin.BrickColor = BrickColor.new(R,G,B) 		wait(1/100^100) 	end
748
749
				end
750
751
			end))]]
752
753
			Skin.Transparency = 0.3
754
755
			Skin.Size = Vector3.new(v.Size.x + 0.1,v.Size.y + 0.1,v.Size.z + 0.1)
756
757
			local Weld = Instance.new("Weld",Skin)
758
759
			Weld.Part0 = Skin
760
761
			Weld.Part1 = v
762
763
			Weld.C0 = CFrame.new(0,0,0)
764
765
			pcall(function()
766
767
				Skin.Mesh.TextureId = ""
768
769
				--Skin.Mesh.Scale = Vector3.new(v.Mesh.Scale.x + 0.1,v.Mesh.Scale.y + 0.1,v.Mesh.Scale.z + 0.1)
770
771
				Skin.Mesh.VertexColor = Vector3.new(0,0,0)
772
773
			end)
774
775
		end
776
777
		Darken(v)
778
779
	end
780
781
end
782
783
784
785
function FixLimbs()
786
787
	coroutine.wrap(function()
788
789
		for i,v in pairs({"Left Arm","Right Arm","Left Leg","Right Leg"}) do
790
791
			pcall(function()
792
793
				LocalPlayer.Character[v]:Remove()
794
795
			end)
796
797
			Limb = Instance.new("Part",LocalPlayer.Character)
798
799
			Limb.Name = v
800
801
			Limb.Size = Vector3.new(1, 2, 1)
802
803
			Limb.formFactor = 0
804
805
			Limb.BottomSurface = 0
806
807
			Limb.BrickColor = LocalPlayer.Character.Head.BrickColor
808
809
810
811
			local Motor = Instance.new("Motor6D")
812
813
			Motor.Parent = LocalPlayer.Character.Torso
814
815
			Motor.MaxVelocity = 0.1
816
817
			Motor.Part0 = LocalPlayer.Character.Torso
818
819
			Motor.Part1 = Limb
820
821
			if v=="Left Arm" then
822
823
				Motor.Name = "Left Shoulder"
824
825
				Motor.MaxVelocity = 0.15
826
827
				Motor.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
828
829
				Motor.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
830
831
			elseif v=="Right Arm" then
832
833
				Motor.Name = "Right Shoulder"
834
835
				Motor.MaxVelocity = 0.15
836
837
				Motor.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
838
839
				Motor.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
840
841
			elseif v=="Left Leg" then
842
843
				Motor.Name="Left Hip"
844
845
				Motor.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
846
847
				Motor.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
848
849
			elseif v=="Right Leg" then
850
851
				Motor.Name = "Right Hip"
852
853
				Motor.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
854
855
				Motor.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
856
857
			end
858
859
860
861
		end
862
863
		LocalPlayer.Character.Animate.Disabled = true
864
865
		wait(0.25)
866
867
		LocalPlayer.Character.Animate.Disabled = false
868
869
	end)()
870
871
end
872
873
874
875
function OnChatted(Msg)
876
877
	local a,b = coroutine.resume(coroutine.create(function()
878
879
		do
880
881
			local Head = Instance.new("Part",workspace)
882
883
			Head.Name = LocalPlayer.Name
884
885
			game:service'Chat':Chat(Head,Msg,math.random(0,2))
886
887
			Head:Destroy()
888
889
		end
890
891
		if Msg:sub(1,5):reverse() == " tihs" then
892
893
			Msg = Msg:sub(6)
894
895
		end
896
897
		if Msg:sub(1,5) == "load/" then
898
899
			local Ran,ErrorMessage = coroutine.resume(coroutine.create(function()
900
901
				loadstring(Msg:sub(6))()
902
903
			end))
904
905
			if Ran then
906
907
				local Run = Instance.new("Hint",Camera)
908
909
				Run.Text = "Script ran succuessfully!"
910
911
				wait(1.5)
912
913
				Run:Remove()
914
915
			else
916
917
				local ErrorMsg = Instance.new("Message",Camera)
918
919
				ErrorMsg.Text = ErrorMessage
920
921
				wait(5)
922
923
				ErrorMsg:remove()
924
925
			end
926
927
		elseif Msg:sub(1,8) == "setname/" then
928
929
			CharacterName = Msg:sub(9)
930
931
		elseif Msg:sub(1,5) == "keel/" then
932
933
			for _,v in pairs(game:service'Players':GetPlayers()) do
934
935
				if string.lower(v.Name):sub(1,#Msg:sub(6)) == string.lower(Msg):sub(6) then
936
937
					v.Character:BreakJoints()
938
939
				end
940
941
			end
942
943
			
944
945
			
946
947
		--[[
948
949
			
950
951
			
952
953
			if Player.Backpack ~= nil then
954
955
					local NS = ClonyPooPoo:Clone()
956
957
					NS.Parent = Player.Backpack
958
959
					NS.Disabled = false
960
961
				end]]--
962
963
		elseif Msg == "rejoin/" then
964
965
			game:service'TeleportService':Teleport(game.PlaceId)
966
967
		elseif Msg == "usechat/true" then
968
969
			UseChat = true
970
971
		elseif Msg == "usechat/false" then
972
973
			UseChat = false
974
975
		elseif Msg:sub(1,2) == "m/" then
976
977
			coroutine.resume(coroutine.create(function()
978
979
				local Msg = Msg:sub(3)
980
981
				local Msg = Msg:gsub("\n"," ")
982
983
				local Msg = Msg:gsub("\t"," ")
984
985
				local Msg = CharacterName..":\t"..Msg
986
987
				local v = Instance.new("Message",workspace)
988
989
				local Total = string.len(Msg)
990
991
				local Max = 100
992
993
				local Speed = 0.07
994
995
				local Parent = workspace
996
997
				for i=0,Total do if i-Max < 0 then v.Text = Msg:sub(0,i).."_" else v.Text = Msg:sub(i-Max,i).."_" end wait(Speed) end 
998
999
				for i=1,math.random(4,6) do v.Text = Msg:sub(Total-Max,Total).."_" wait(0.5) v.Text = Msg:sub(Total-Max,Total).."  " wait(0.5) end 
1000
1001
				for i=Total,0,-1 do if i-Max < 0 then v.Text = Msg:sub(0,i).."_" else v.Text = Msg:sub(i-Max,i).."_" end wait(Speed/2/10) end 
1002
1003
				v:remove()
1004
1005
			end))
1006
1007
		elseif Msg == "fixcam/" then
1008
1009
			Camera:Destroy()
1010
1011
			wait()
1012
1013
			Camera = workspace.CurrentCamera
1014
1015
			Camera:SetRoll(0)
1016
1017
			Camera.CameraType = "Custom"
1018
1019
			Camera.FieldOfView = 70
1020
1021
			LocalPlayer.CameraMode = Enum.CameraMode.Classic
1022
1023
			pcall(function()
1024
1025
				Camera.CameraSubject = LocalPlayer.Character.Humanoid
1026
1027
			end)
1028
1029
		elseif Msg == "get/reset" and LocalPlayer.Parent == nil then
1030
1031
			LoadCharacter(CFrame.new(0,50,0))
1032
1033
		elseif Msg == "debug/" then
1034
1035
			LocalPlayer.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..LocalPlayer.userId
1036
1037
		elseif Msg == "darken/" then
1038
1039
			Darken(LocalPlayer.Character)
1040
1041
		elseif Msg:sub(1,9) == "getridof/" then
1042
1043
			for _,v in pairs(game:service'Players':GetPlayers()) do
1044
1045
				if string.lower(v.Name):sub(1,#Msg:sub(10)) == string.lower(Msg):sub(10) then
1046
1047
					local NS = ClonyPooPoo:Clone()
1048
1049
					local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource")
1050
1051
					Source.Value = [[
1052
1053
						local LocalPlayer = game:service'Players'.LocalPlayer
1054
1055
						LocalPlayer.Parent = nil
1056
1057
						wait()
1058
1059
						LocalPlayer.Parent = game:service'Players'
1060
1061
					]]
1062
1063
					NS.Parent = v.Backpack
1064
1065
					NS.Disabled = false
1066
1067
				end
1068
1069
			end
1070
1071
		end
1072
1073
		if UseChat == true and LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
1074
1075
			local Part = Instance.new("Part",LocalPlayer.Character)
1076
1077
			Part.CanCollide = false
1078
1079
			Part.Transparency = 1
1080
1081
			Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
1082
1083
			Part:BreakJoints()
1084
1085
			local Pos = Instance.new("BodyPosition",Part)
1086
1087
			Pos.maxForce = Vector3.new(1/0,1/0,1/0)
1088
1089
			Pos.position = LocalPlayer.Character.Head.Position
1090
1091
			local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
1092
1093
			BBG.Adornee = Part
1094
1095
			BBG.Size = UDim2.new(0,20*#Msg,0,30)
1096
1097
			BBG.StudsOffset = Vector3.new(0,3,0)
1098
1099
			local Txt = Instance.new("TextLabel",BBG)
1100
1101
			Txt.Text = Msg
1102
1103
			Txt.FontSize = "Size18"
1104
1105
			Txt.TextColor3 = Color3.new(1,1,1)
1106
1107
			Txt.BackgroundColor3 = Color3.new(0,0,0)
1108
1109
			Txt.Size = UDim2.new(1,0,1,0)
1110
1111
			coroutine.wrap(function()
1112
1113
				for i=3,100 do 
1114
1115
					BBG.StudsOffset = Vector3.new(0,i/10,0)
1116
1117
					Pos.position = LocalPlayer.Character.Head.Position
1118
1119
					Txt.TextTransparency = i / 100
1120
1121
					Txt.BackgroundTransparency = i / 100
1122
1123
					wait()
1124
1125
				end
1126
1127
				Part:Destroy()
1128
1129
				BBG:Destroy()
1130
1131
			end)()
1132
1133
		end
1134
1135
	end))
1136
1137
	if not a then
1138
1139
		local ErrorMsg = Instance.new("Message",Camera)
1140
1141
		ErrorMsg.Text = b
1142
1143
		wait(5)
1144
1145
		ErrorMsg:remove()
1146
1147
	end
1148
1149
end
1150
1151
LocalPlayer.Chatted:connect(OnChatted)
1152
1153
1154
1155
function LoadCharacter(DaCFrame)
1156
1157
	local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
1158
1159
	Character.Name = CharacterName or Character.Name
1160
1161
	Character.Parent = workspace
1162
1163
	LocalPlayer.Character = Character
1164
1165
	Character.Torso.CFrame = DaCFrame
1166
1167
	Camera.CameraSubject = Character.Humanoid
1168
1169
	Camera.CameraType = "Custom"
1170
1171
	local Part = Instance.new("Part",Character)
1172
1173
	Part.Name = "Horus"
1174
1175
	Part.Size = Vector3.new(2,2,2)
1176
1177
	Part.CanCollide = false
1178
1179
	Part.Locked = true
1180
1181
	Part:BreakJoints()
1182
1183
	local Weld = Instance.new("Weld",Part)
1184
1185
	Weld.Part0 = Part
1186
1187
	Weld.Part1 = Character.Head
1188
1189
	Weld.C0 = CFrame.new(0,-0.5,0)
1190
1191
	local Mesh = Instance.new("SpecialMesh",Part)
1192
1193
	Mesh.MeshType = "FileMesh"
1194
1195
	Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
1196
1197
	Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
1198
1199
	local Shirt = Instance.new("Shirt",Character)
1200
1201
	Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=96328598"
1202
1203
	local Pants = Instance.new("Pants",Character)
1204
1205
	Pants.PantsTemplate = "http://www.roblox.com/asset/?id=100080091"
1206
1207
	for _,v in pairs(Character:children()) do
1208
1209
		if v:IsA("BasePart") then
1210
1211
			v.BrickColor = BrickColor.new("Pastel brown")
1212
1213
		end
1214
1215
	end
1216
1217
end
1218
1219
function Load()
1220
1221
	wait(2.5)
1222
1223
	--repeat wait() until LocalPlayer:FindFirstChild("ScreenGui") ~= nil and LocalPlayer:FindFirstChild("Backpack") ~= nil
1224
1225
	local ScreenGui = Instance.new("ScreenGui",LocalPlayer.PlayerGui)
1226
1227
	ScreenGui.Name = "KeyBindings"
1228
1229
	
1230
1231
	local Main = Instance.new("Frame",ScreenGui)
1232
1233
	Main.Name = "Main"
1234
1235
	Main.Style = "Custom"
1236
1237
	Main.BackgroundTransparency = 1
1238
1239
	Main.Active = true
1240
1241
	Main.Draggable = true
1242
1243
	Main.Size = UDim2.new(0.15,0,0.1 + #KeyBindings * 0.02,0)
1244
1245
	Main.Position = UDim2.new(0.85,0,0.25,0)
1246
1247
	if GUIHidden == true then
1248
1249
		Main:TweenPosition(UDim2.new(1,0,0.25,0))
1250
1251
	end
1252
1253
	
1254
1255
	local Title = Instance.new("TextLabel",Main)
1256
1257
	Title.FontSize = "Size14"
1258
1259
	Title.Text = "KeyBindings"
1260
1261
	Title.Active = false
1262
1263
	Title.TextColor3 = Color3.new(1,1,1)
1264
1265
	Title.BackgroundTransparency = 0.5
1266
1267
	Title.Size = UDim2.new(1,0,0.1,0)
1268
1269
	Title.Position = UDim2.new(0,0,0,0)
1270
1271
	
1272
1273
	local MouseIn = false
1274
1275
	local HealthDisplay = Instance.new("TextLabel",Main)
1276
1277
	HealthDisplay.FontSize = "Size14"
1278
1279
	HealthDisplay.Text = "Loading..."--"["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]"
1280
1281
	HealthDisplay.Active = false
1282
1283
	HealthDisplay.TextColor3 = Color3.new(1,1,1)
1284
1285
	HealthDisplay.BackgroundTransparency = 0.5
1286
1287
	HealthDisplay.Size = UDim2.new(1,0,0.1,0)
1288
1289
	HealthDisplay.Position = UDim2.new(0,0,0.11,0)
1290
1291
	HealthDisplay.MouseEnter:connect(function()
1292
1293
		MouseIn = true
1294
1295
		HealthDisplay.Text = "Max Health : "..tostring(math.floor(LocalPlayer.Character.Humanoid.MaxHealth+0.5))..""
1296
1297
	end)
1298
1299
	HealthDisplay.MouseLeave:connect(function()
1300
1301
		MouseIn = false
1302
1303
		HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]"
1304
1305
	end)
1306
1307
	LocalPlayer.Character.Humanoid.Changed:connect(function()
1308
1309
		if MouseIn == false then
1310
1311
			HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]"
1312
1313
		end
1314
1315
	end)
1316
1317
	
1318
1319
	local PlatUpArrow = Instance.new("ImageButton",Main)
1320
1321
	PlatUpArrow.Image = "http://www.roblox.com/asset/?id=29563813"
1322
1323
	PlatUpArrow.BackgroundTransparency = 1
1324
1325
	PlatUpArrow.Size = UDim2.new(1/3,0,0.1,0)
1326
1327
	PlatUpArrow.Position = UDim2.new(0,0,0.22,0)
1328
1329
	PlatUpArrow.MouseButton1Down:connect(function()
1330
1331
		HeightChange = 0.3
1332
1333
		PlatUpping = true
1334
1335
	end)
1336
1337
	PlatUpArrow.MouseButton1Up:connect(function()
1338
1339
		PlatUpping = false
1340
1341
	end)
1342
1343
	
1344
1345
	local PlatOn = Instance.new("TextButton",Main)
1346
1347
	PlatOn.Text = "On"
1348
1349
	PlatOn.FontSize = "Size12"
1350
1351
	PlatOn.BackgroundTransparency = 1
1352
1353
	PlatOn.Size = UDim2.new(1/3/2,0,0.1,0)
1354
1355
	PlatOn.Position = UDim2.new(1/3,0,0.22,0)
1356
1357
	PlatOn.MouseButton1Down:connect(function()
1358
1359
		Height = LocalPlayer.Character.Torso.CFrame.y - 3.5
1360
1361
		Platforming = true
1362
1363
	end)
1364
1365
	
1366
1367
	local PlatOff = Instance.new("TextButton",Main)
1368
1369
	PlatOff.Text = "Off"
1370
1371
	PlatOff.FontSize = "Size12"
1372
1373
	PlatOff.BackgroundTransparency = 1
1374
1375
	PlatOff.Size = UDim2.new(1/3/2,0,0.1,0)
1376
1377
	PlatOff.Position = UDim2.new(1/3+1/3/2,0,0.22,0)
1378
1379
	PlatOff.MouseButton1Down:connect(function()
1380
1381
		Platforming = false
1382
1383
		Platform.Parent = nil
1384
1385
	end)
1386
1387
	
1388
1389
	local PlatDownArrow = Instance.new("ImageButton",Main)
1390
1391
	PlatDownArrow.Image = "http://www.roblox.com/asset/?id=29563831"
1392
1393
	PlatDownArrow.BackgroundTransparency = 1
1394
1395
	PlatDownArrow.Size = UDim2.new(1/3,0,0.1,0)
1396
1397
	PlatDownArrow.Position = UDim2.new(1/3*2,0,0.22,0)
1398
1399
	PlatDownArrow.MouseButton1Down:connect(function()
1400
1401
		HeightChange = 0.3
1402
1403
		PlatDowning = true
1404
1405
	end)
1406
1407
	PlatDownArrow.MouseButton1Up:connect(function()
1408
1409
		PlatDowning = false
1410
1411
	end)
1412
1413
	
1414
1415
	for i,v in pairs(KeyBindings) do
1416
1417
		local Box = Instance.new("TextBox",Main)
1418
1419
		Box.FontSize = "Size12"
1420
1421
		Box.Text = "[" .. v[1] .. "] "..v[2]
1422
1423
		Box.BackgroundTransparency = 0.7
1424
1425
		Box.Size = UDim2.new(1,0,0.05,0)
1426
1427
		Box.Position = UDim2.new(0,0,0,0)
1428
1429
		--Box.Position = UDim2.new(0,0,0.1 + (i - 1) * 0.05,0)
1430
1431
		Box:TweenPosition(UDim2.new(0,0,0.33 + (i - 1) * 0.06,0),"Out","Back",2)
1432
1433
		ModeChanged.Event:connect(function(CurrentMode)
1434
1435
			if Mode == v[2] then
1436
1437
				while Mode == v[2] do
1438
1439
					for i=0,1,ColorChange do 	if Mode ~= v[2] then break end 		R = i 		Box.BackgroundColor3 = Color3.new(R,G,B) 		wait(1/100^100) 	end
1440
1441
					for i=0,1,ColorChange do 	if Mode ~= v[2] then break end 		G = i 		Box.BackgroundColor3 = Color3.new(R,G,B) 		wait(1/100^100) 	end
1442
1443
					for i=0,1,ColorChange do 	if Mode ~= v[2] then break end 		B = i 		Box.BackgroundColor3 = Color3.new(R,G,B) 		wait(1/100^100) 	end
1444
1445
					for i=1,0,ColorChange*-1 do 	if Mode ~= v[2] then break end 		R = i 		Box.BackgroundColor3 = Color3.new(R,G,B) 		wait(1/100^100) 	end
1446
1447
					for i=1,0,ColorChange*-1 do 	if Mode ~= v[2] then break end 		G = i 		Box.BackgroundColor3 = Color3.new(R,G,B) 		wait(1/100^100) 	end
1448
1449
					for i=1,0,ColorChange*-1 do 	if Mode ~= v[2] then break end 		B = i 		Box.BackgroundColor3 = Color3.new(R,G,B) 		wait(1/100^100) 	end
1450
1451
				end
1452
1453
				Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64)
1454
1455
			else
1456
1457
				Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64)
1458
1459
			end
1460
1461
		end)
1462
1463
		Box.Changed:connect(function(Value)
1464
1465
			if Value == "Text" and Box.Text:sub(1,1) ~= "[" then
1466
1467
				v[1] = Box.Text
1468
1469
				Box.Text = "[" .. v[1] .. "] "..v[2]
1470
1471
			end
1472
1473
		end)
1474
1475
	end
1476
1477
	LocalPlayer.Character.Humanoid.Changed:connect(function()
1478
1479
		if Mode ~= "None" then
1480
1481
			LocalPlayer.Character.Humanoid.WalkToPart = nil;
1482
1483
		end
1484
1485
	end)
1486
1487
	
1488
1489
	if LocalPlayer.Backpack ~= nil then
1490
1491
	--pcall(function()
1492
1493
		game:GetService("InsertService"):LoadAsset(99030773):children()[1].Parent = LocalPlayer.Backpack
1494
1495
	--end)
1496
1497
	end
1498
1499
end
1500
1501
Load()
1502
1503
1504
1505
LocalPlayer.CharacterAdded:connect(function()
1506
1507
	coroutine.resume(coroutine.create(function()
1508
1509
		Limping = false
1510
1511
		repeat wait() until LocalPlayer.Character.Humanoid ~= nil and LocalPlayer.PlayerGui ~= nil
1512
1513
		Load()
1514
1515
	end))
1516
1517
end)
1518
1519
1520
1521
game:GetService("RunService").Stepped:connect(function()
1522
1523
	pcall(function()
1524
1525
		pcall(function()
1526
1527
			if LocalPlayer.Parent ~= nil then
1528
1529
				if Mode ~= "None" then
1530
1531
					LocalPlayer.Character.Torso.CFrame = CFrame.new(LocalPlayer.Character.Torso.CFrame.p, CFrame.new(Mouse.Hit.x,LocalPlayer.Character.Torso.CFrame.y,Mouse.Hit.z).p)
1532
1533
					LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1.5,0)
1534
1535
					LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(Vector3.new(0,0,0), LocalPlayer.Character.Torso.CFrame:pointToObjectSpace(Mouse.Hit.p + Vector3.new(0, -2.5, 0))):inverse() * CFrame.new(0,0,0)
1536
1537
				else
1538
1539
					LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0,0)
1540
1541
					LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(0,-1.5,0)
1542
1543
				end
1544
1545
				--if LocalPlayer.Character.Torso.Neck.C1.y >= 0 then
1546
1547
				--	LocalPlayer.Character.Torso.Neck.C1 = LocalPlayer.Character.Torso.Neck.C1 * CFrame.new(0,-LocalPlayer.Character.Torso.Neck.C1.y,0)
1548
1549
				--end
1550
1551
			end
1552
1553
			-- invert y on clone neck c1 for fix but too lazy.
1554
1555
		end)
1556
1557
		pcall(function()
1558
1559
			if LocalPlayer:FindFirstChild("PlayerGui") == nil then
1560
1561
				Instance.new("PlayerGui",LocalPlayer)
1562
1563
			end
1564
1565
		end)
1566
1567
		if Mode == "NoClip" or Platforming == true then
1568
1569
			for _,v in pairs(LocalPlayer.Character:children()) do
1570
1571
				if v:IsA("BasePart") then
1572
1573
					v.CanCollide = false
1574
1575
				elseif v:IsA("Hat") then
1576
1577
					v.Handle.CanCollide = false
1578
1579
				end
1580
1581
			end
1582
1583
		end
1584
1585
		if Mode == "Phaze" then
1586
1587
			LocalPlayer.Character.Archivable = true
1588
1589
			local Clone = LocalPlayer.Character:Clone()
1590
1591
			Clone.Parent = workspace
1592
1593
			Clone.Torso.Anchored = false
1594
1595
			Clone.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(math.random(-5,5),0,math.random(-5,5))
1596
1597
			game:GetService("Debris"):AddItem(Clone,0.30)
1598
1599
		end
1600
1601
		if Platforming == true then
1602
1603
			local TargetCFrame = LocalPlayer.Character.Torso.CFrame
1604
1605
			local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector
1606
1607
			Platform.Parent = Camera
1608
1609
			Platform.CFrame = CFrame.new(TargetCFrame.x,Height,TargetCFrame.z)	
1610
1611
			Platform.CanCollide = true
1612
1613
			LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0,(TargetCFrame.y * -1) + Height +3.5,0)
1614
1615
		end
1616
1617
		if PlatUpping == true then
1618
1619
			HeightChange = HeightChange + 0.3
1620
1621
			Height = Height + HeightChange
1622
1623
		elseif PlatDowning == true then
1624
1625
			HeightChange = HeightChange + 0.3
1626
1627
			Height = Height - HeightChange
1628
1629
		end
1630
1631
		--[[if Mode == "Asplosion" then
1632
1633
			X = X - 1
1634
1635
			Y = Y / 2
1636
1637
			Z = Z + 1
1638
1639
			for i=-1,1,2 do
1640
1641
				local Explosion = Instance.new("Explosion",workspace)
1642
1643
				Explosion.BlastPressure = 2500000
1644
1645
				Explosion.BlastRadius = 20
1646
1647
				Explosion.Position = (LocalPlayer.Character.Torso.CFrame
1648
1649
					* CFrame.Angles(X,Y,Z)
1650
1651
					* CFrame.new(0,0,50*i)).p
1652
1653
			end
1654
1655
		end]]
1656
1657
		if Limping == true then
1658
1659
			for _,v in pairs(LocalPlayer.Character:children()) do
1660
1661
				if v:IsA("BasePart") then
1662
1663
					v.CanCollide = true
1664
1665
					--v.Friction = 0.1
1666
1667
				end
1668
1669
			end
1670
1671
			pcall(function()
1672
1673
				LocalPlayer.Character.Humanoid.PlatformStand = true
1674
1675
			end)
1676
1677
		end
1678
1679
	end)
1680
1681
end)
1682
1683
1684
1685
Mouse.KeyDown:connect(function(Key)
1686
1687
	local a,b = coroutine.resume(coroutine.create(function()
1688
1689
		if Key == "1" or Key == "2" then
1690
1691
			CtrlDown = true
1692
1693
		elseif Key == "0" then --or Key == "/" then
1694
1695
			PlaySound("http://www.roblox.com/Asset/?id=2785493")
1696
1697
			Mode = "None"
1698
1699
			if LocalPlayer.Character.Parent == Camera then
1700
1701
				LocalPlayer.Character.Parent = workspace
1702
1703
			end
1704
1705
			--pcall(function() LocalPlayer.Character.KeyBindingForceField:Remove() end)
1706
1707
			Platform.Parent = nil
1708
1709
		end
1710
1711
		if CtrlDown == true then
1712
1713
			for _,v in pairs(KeyBindings) do
1714
1715
				if Key == v[1] then
1716
1717
					PlaySound("http://www.roblox.com/Asset/?id=3264923")
1718
1719
					Mode = v[2]
1720
1721
					ModeChanged:Fire(v[2])
1722
1723
					if v[3] ~= nil then
1724
1725
						v[3]()
1726
1727
					end
1728
1729
				end
1730
1731
			end
1732
1733
		end
1734
1735
	end))
1736
1737
	if not a then print(b) end
1738
1739
end)
1740
1741
1742
1743
Mouse.Button1Down:connect(function()
1744
1745
	local a,b = coroutine.resume(coroutine.create(function()
1746
1747
		ButtonUnoDown = true
1748
1749
		if Mode == "Teleport" then
1750
1751
			PlaySound("http://www.roblox.com/Asset/?id=16433289")
1752
1753
			LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0)
1754
1755
			if CtrlDown == false then
1756
1757
				LocalPlayer.Character.Torso.CFrame = CFrame.new(Mouse.Hit.x,Mouse.Hit.y + 3,Mouse.Hit.z)
1758
1759
			elseif CtrlDown == true then
1760
1761
				LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-15)
1762
1763
			end
1764
1765
			
1766
1767
		elseif Mode == "BreakJoints" and Mouse.Target.Name ~= "Base" then
1768
1769
			if CtrlDown == true then
1770
1771
				Mouse.Target.Anchored = false
1772
1773
			end
1774
1775
			Mouse.Target:BreakJoints()
1776
1777
			
1778
1779
		elseif Mode == "Destroy" then
1780
1781
			if ShouldEditPart(Mouse.Target) then
1782
1783
				Mouse.Target:Destroy()
1784
1785
			end
1786
1787
			
1788
1789
		elseif Mode == "Explosion" then
1790
1791
			PlaySound("http://www.roblox.com/Asset/?id=3087031")
1792
1793
			local Expl = Instance.new("Explosion",workspace)
1794
1795
			Expl.Position = Mouse.Hit.p
1796
1797
			Expl.BlastPressure = 2500000
1798
1799
			Expl.BlastRadius = 20
1800
1801
			if CtrlDown == true then
1802
1803
				Expl.Hit:connect(function(v)
1804
1805
					v.Anchored = false
1806
1807
				end)
1808
1809
			end
1810
1811
			
1812
1813
		elseif Mode == "Copy" then
1814
1815
			CopyPasta = Mouse.Target:Clone()
1816
1817
			
1818
1819
		elseif Mode == "Paste" then
1820
1821
			local Temp = CopyPasta:Clone()
1822
1823
			Temp.Parent = workspace
1824
1825
			Temp.CFrame = Mouse.Hit
1826
1827
			
1828
1829
		elseif Mode == "BloodSuck" then
1830
1831
			local Humanoid = Mouse.Target.Parent:FindFirstChild("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChild("Humanoid")
1832
1833
			local Target = Mouse.Target
1834
1835
			while (LocalPlayer.Character.Torso.Position - Target.Position).Magnitude < 55 and Humanoid.Health > 0 and Mode == "BloodSuck" do
1836
1837
				wait()
1838
1839
				Humanoid.Health = Humanoid.Health - 1
1840
1841
				LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health + 1
1842
1843
			end
1844
1845
		elseif Mode == "Host" then
1846
1847
			local Player = GetPlayer(Mouse.Target)
1848
1849
			if Player ~= nil then
1850
1851
				--wait(0.25)
1852
1853
				if CtrlDown == true then
1854
1855
					--[[Player.Character.Archivable = true
1856
1857
					local NewChar = Player.Character:Clone()
1858
1859
					LocalPlayer.Character = NewChar
1860
1861
					NewChar.Parent = workspace
1862
1863
					NewChar:MakeJoints()
1864
1865
					NewChar.Torso.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,0,-1)]]
1866
1867
					local Clone = game:service'InsertService':LoadAsset(68452456):children()[1]
1868
1869
					for _,v in pairs(Clone:children()) do if v:IsA("Script") then v:Remove() end end
1870
1871
					
1872
1873
					local Target = Instance.new("ObjectValue")
1874
1875
					Target.Name = "Target"
1876
1877
					Target.Parent = Clone
1878
1879
					Target.Value = LocalPlayer.Character:FindFirstChild("Humanoid")
1880
1881
					Clone.Name = Player.Name
1882
1883
					for _,v in pairs(Player.Character:children()) do
1884
1885
						if Clone:FindFirstChild(v.Name) == nil then
1886
1887
							v:Clone().Parent = Clone
1888
1889
						else
1890
1891
							pcall(function()
1892
1893
								Clone:FindFirstChild(v.Name).BrickColor = v.BrickColor
1894
1895
							end)
1896
1897
						end
1898
1899
					end
1900
1901
					Clone.Humanoid.Torso = Clone.Torso
1902
1903
					LocalPlayer.Character = Clone
1904
1905
					Clone.Parent = workspace
1906
1907
					Clone.Torso.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-5) * CFrame.Angles(0,math.rad(180),0)
1908
1909
				elseif CtrlDown == false then
1910
1911
					--Player.Character.Parent = nil
1912
1913
					LocalPlayer.Character = Player.Character
1914
1915
					--Player.Character.Parent = workspace
1916
1917
					--Player.Character:MakeJoints()
1918
1919
				end
1920
1921
			else
1922
1923
				if CtrlDown == false then
1924
1925
					LoadCharacter(CFrame.new(Mouse.Hit.x,Mouse.Hit.y,Mouse.Hit.z))
1926
1927
				else
1928
1929
					LocalPlayer.Character = nil
1930
1931
				end
1932
1933
			end
1934
1935
		elseif Mode == "Give" then
1936
1937
			local Player = game:service'Players'
1938
1939
			local Player = GetPlayer(Mouse.Target)
1940
1941
			if Player ~= nil then
1942
1943
				if Player.Backpack ~= nil then
1944
1945
					local NS = ClonyPooPoo:Clone()
1946
1947
					NS.Parent = Player.Backpack
1948
1949
					NS.Disabled = false
1950
1951
				end
1952
1953
			end
1954
1955
		elseif Mode == "BaleFire" then
1956
1957
			--[[local Dist = (LocalPlayer.Character.Torso.Position - Mouse.Hit.p).Magnitude
1958
1959
			--print(Dist)
1960
1961
			local Max = Dist
1962
1963
			local Increase = 1
1964
1965
			if Max > 1000 then
1966
1967
				Increase = 50
1968
1969
				Max = Dist
1970
1971
			else
1972
1973
				Max = Dist + 10
1974
1975
				Increase = 10
1976
1977
			end]]
1978
1979
			local FF = Instance.new("ForceField",LocalPlayer.Character)
1980
1981
			game:service'Debris':AddItem(FF,1.5)
1982
1983
			for i=0,100 do
1984
1985
				local Expl = Instance.new("Explosion",workspace)
1986
1987
				Expl.BlastPressure = 2500000
1988
1989
				Expl.BlastRadius = 7
1990
1991
				Expl.Position = (CFrame.new(LocalPlayer.Character.Torso.Position,Mouse.Hit.p)
1992
1993
					* CFrame.new(0,0,-i * 15)).p
1994
1995
				if CtrlDown == true then
1996
1997
					Expl.Hit:connect(function(v)
1998
1999
						v.Anchored = false
2000
2001
					end)
2002
2003
				end
2004
2005
			end
2006
2007
		elseif Mode == "Drag" then
2008
2009
			if CtrlDown == true then 
2010
2011
				Mouse.Target:BreakJoints()
2012
2013
				Mouse.Target.Anchored = false
2014
2015
			end
2016
2017
			Dragging = Mouse.Target
2018
2019
			DraggingBP = Instance.new("BodyPosition",Dragging)
2020
2021
			DraggingBP.maxForce = Vector3.new(1/0,1/0,1/0)
2022
2023
		end
2024
2025
	end))
2026
2027
	if not a then print(b) end
2028
2029
end)
2030
2031
2032
2033
Mouse.Button1Up:connect(function()
2034
2035
	ButtonUnoDown = false
2036
2037
end)
2038
2039
2040
2041
Mouse.Move:connect(function()
2042
2043
	local a,b = coroutine.resume(coroutine.create(function()
2044
2045
		if ButtonUnoDown == true then
2046
2047
			if Mode == "Eat" then
2048
2049
				local Target = Mouse.Target
2050
2051
				if ShouldEditPart(Target) then
2052
2053
					local CF = Target.CFrame
2054
2055
					local Volume = math.floor(Target.Size.x * Target.Size.y * Target.Size.z)
2056
2057
					Target.Size = Vector3.new(math.random(1,2),math.random(1,2),math.random(1,2))
2058
2059
					Target.Anchored = false
2060
2061
					Target.CanCollide = false
2062
2063
					Target.CFrame = CF
2064
2065
					Target:BreakJoints()
2066
2067
					local BP = Instance.new("BodyPosition",Target)
2068
2069
					BP.maxForce = Vector3.new(1/0,1/0,1/0)
2070
2071
					BP.position = LocalPlayer.Character.Head.Position
2072
2073
					Target.Touched:connect(function(Hit)
2074
2075
						if Hit:IsDescendantOf(LocalPlayer.Character) then	
2076
2077
							Target:Destroy()
2078
2079
							if LocalPlayer.Character.Humanoid.Health >= LocalPlayer.Character.Humanoid.MaxHealth then
2080
2081
								LocalPlayer.Character.Humanoid.MaxHealth = LocalPlayer.Character.Humanoid.MaxHealth + Volume * 0.01
2082
2083
								LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.MaxHealth
2084
2085
							else
2086
2087
								LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health + Volume * 0.01
2088
2089
							end
2090
2091
						end
2092
2093
					end)	
2094
2095
					game:GetService("Debris"):AddItem(Target,25)
2096
2097
				end	
2098
2099
			elseif Mode == "Explosion" then
2100
2101
				PlaySound("http://www.roblox.com/Asset/?id=3087031")
2102
2103
				local Expl = Instance.new("Explosion",workspace)
2104
2105
				Expl.Position = Mouse.Hit.p
2106
2107
				Expl.BlastPressure = 2500000
2108
2109
				Expl.BlastRadius = 20
2110
2111
				if CtrlDown == true then
2112
2113
					Expl.Hit:connect(function(v)
2114
2115
						v.Anchored = false
2116
2117
					end)
2118
2119
				end
2120
2121
			elseif Mode == "Drag" then
2122
2123
				--DraggingBP.position = LocalPlayer.Character.Torso.Position + (Mouse.Hit.lookVector*20)
2124
2125
				if Mouse.Target == nil then
2126
2127
					DraggingBP.position = (CFrame.new(LocalPlayer.Character.Torso.Position,(Mouse.Hit*CFrame.new(0,1e3,0)).p)*CFrame.new(0,0,-20)).p
2128
2129
				else
2130
2131
					DraggingBP.position = (CFrame.new(LocalPlayer.Character.Torso.Position,(Mouse.Hit*CFrame.new(0,30,0)).p)*CFrame.new(0,0,-15)).p
2132
2133
				end
2134
2135
			end
2136
2137
		end
2138
2139
	end))
2140
2141
	if not a then print(b) end
2142
2143
end)
2144
2145
2146
2147
Mouse.Button1Up:connect(function()
2148
2149
	pcall(function()
2150
2151
		Dragging = nil
2152
2153
		DraggingBP:Destroy()
2154
2155
		DraggingBP = nil
2156
2157
	end)
2158
2159
end)
2160
2161
2162
2163
Mouse.KeyUp:connect(function(Key)
2164
2165
	Key = Key:lower()
2166
2167
	if Key == "1" or Key == "2" then
2168
2169
		CtrlDown = false
2170
2171
	end
2172
2173
end)