View difference between Paste ID: rW9s7ubR and Vp6LjT6c
SHOW: | | - or go back to the newest paste.
1
-- __  __                          ___                  
2
--                          _     __           
3
--  `      __   __  _  __  __   _    ____  
4
--   , `   '__` '         ',__ 
5
--    `   __    _  _ _  __, `
6
--    _ _ ______ ____ ____ _____
7
--    _______ ___  ____ ____ 
8
--------------------------Version Beta--------------------------
9
---------------------------------------------------------------
10
---------------------------N3xul---------------------------
11
---------------------------------------------------------------
12
13
local gCoreGui = gameGetService('CoreGui')
14
local gPlayers = gameGetService('Players')
15
local gLighting = gameGetService('Lighting')
16
local gWorkspace = gameGetService('Workspace')
17-
local Player = game.Players.LocalPlayer
17+
local Player = game.Players.lolfarmer
18-
local Mouse = PlayerGetMouse()
18+
19
local LP = gPlayers.lolfarmer
20-
local LP = gPlayers.LocalPlayer
20+
21-
local MOUSE = LPGetMouse()
21+
22
local gPlayers = gameGetService(Players)
23
local admin = gPlayers.lolfarmer.Name
24-
local admin = gPlayers.LocalPlayer.Name
24+
25
local services={}
26
local cmds={}
27
local std={}
28
local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = 
29
game.Lighting.FogEnd, fs = game.Lighting.FogStart}
30
function FIND_CHILD(PATH, NAME) if PATHFindFirstChild(NAME) then return true end return false end
31
32
local Version = '1.9'
33
34
wait(0.1)
35
36
services.players=gPlayers
37
services.lighting=gameGetService('Lighting')
38
services.workspace=gameGetService('Workspace')
39
services.events = {}
40
local user = gPlayers.lolfarmer
41-
local user = gPlayers.LocalPlayer
41+
42
local gPlayers = gameGetService('Players')
43
local gLighting = gameGetService('Lighting')
44
local gWorkspace = gameGetService('Workspace')
45
46
local cmdprefix=';'
47
local scriptprefix=''
48
local split= 
49
50
-------------------------
51
-----Ban information-----
52
-------------------------
53
54
local BanFolder = Instance.new(Fire, game.ContextActionService)
55
BanFolder.Name = BanList
56
BanFolder.RobloxLocked = true
57
_G.Banned = function(Ban)
58
        local SValue = Instance.new(StringValue, BanFolder)
59
        SValue.Value = Ban
60
        SValue.RobloxLocked = true
61
end
62
63
BannedPlayers = {
64
	'norma832', -- oh my god leave me alone
65
	'LordCrazy13' -- u are just annoying
66
}
67
68
------------------------
69
-------Admin Data-------
70
------------------------
71
72
local AdminFolder = Instance.new(Folder, game.ContextActionService)
73
AdminFolder.Name = AdminList
74
AdminFolder.RobloxLocked = true
75
_G.Admin = function(Admin)
76
	local SValue = Instance.new(StringValue, AdminFolder)
77
	SValue.Value = Admin
78
	SValue.RobloxLocked = true
79
end
80
81
------------------------
82
-----Defines Admins-----
83
------------------------
84
85
local admins = {
86
	'DontAddAnything(MakesItBug)',
87
}
88
89
-------------------------------------------
90
---Commands that show up in the CMD list---
91
-------------------------------------------
92
93
CMDs = {
94
	'1. ff player',
95
	'2. unff player',
96
	'3. fire player',
97
	'4. unfire player',
98
	'5. sparkles player',
99
	'6. unsparkles player',
100
	'7. smoke player',
101
	'8. unsmoke player',
102
	'9. btools player',
103
	'10. god player',
104
	'11. sgod player',
105
	'12. ungod player',
106
	'13. heal player',
107
	'14. freeze player',
108
	'15. thaw player',
109
	'16. kill player',
110
	'17. sound',
111
	'18. volume',
112
	'19. pitch',
113
	'20. explode player',
114
	'21. invisible player',
115
	'22. visible player',
116
	'23. goto player',
117
	'24. bring player',
118
	'25. tp player',
119
	'26. char player',
120
	'27. speed player',
121
	'28. time',
122
	'29. kick player',
123
	'30. ban player',
124
	'31. unlockws',
125
	'32. unanchorws',
126
	'33. hat player',
127
	'34. gear player',
128
	'35. m message',
129
	'36. skick player',
130
	'37. admin player',
131
	'38. unadmin player',
132
	'39. firstp player',
133
	'40. thirdp player',
134
	'41. chat player',
135
	'42. insert',
136
	'43. name player',
137
	'44. unname player',
138
	'45. stun player',
139
	'46. unstun player',
140
	'47. sit player',
141
	'48. guest player',
142
	'49. damage player',
143
	'50. view player',
144
	'51. unview player',
145
	'52. nolimbs player',
146
	'53. box player 1012',
147
	'54. nobox player',
148
	'55. ghost player',
149
	'56. sphere player',
150
	'57. loadmap',
151
	'58. sky',
152
	'59. ambient',
153
	'60. gui',
154
	'61. jail player',
155
	'62. unjail player',
156
	'63. shutdown',
157
	'64. animation player',
158
	'65. normal player',
159
	'66. creeper player',
160
	'67. uncreeper player',
161
	'68. shrek player',
162
	'69. unshrek player',
163
	'70. spam',
164
	'71. nospam',
165
	'72. control player',
166
	'73. nuke player',
167
	'74. infect player',
168
	'75. uninfect player',
169
	'76. duck player',
170
	'77. unduck player',
171
	'78. disable player',
172
	'79. enable player',
173
	'80. size player',
174
	'81. confuse player',
175
	'82. unconfuse player',
176
	'83. clone player',
177
	'84. spin player',
178
	'85. unspin player',
179
	'86. dog player',
180
	'87. undog player',
181
	'88. tptool',
182
	'89. loopsit player',
183
	'90. unloopsit player',
184
	'91. loopjump player',
185
	'92. unloopjump player',
186
	'93. loopheal player',
187
	'94. unloopheal player',
188
	'95. fling player',
189
	'96. ayylmao player',
190
	'97. nograv player',
191
	'98. grav player',
192
	'99. seizure player',
193
	'100. unseizure player',
194
	'101. cape 1012',
195
	'102. uncape',
196
	'103. paper player',
197
	'104. punish player',
198
	'105. unpunish player',
199
	'106. disco',
200
	'107. undisco',
201
	'108. lockws',
202
	'109. base',
203
	'110. fix',
204
	'111. flood',
205
	'112. spookyify',
206
	'113. explorer (Possible crash)',
207
	'114. decalspam ID',
208
	'115. wtrbtools',
209
	'116. respawn',
210
	'117. lightsaber',
211
	'118. draw',
212
	'119. devuzi',
213
	'- float player',
214
	'- unfloat player',
215
	'- noclip',
216
	'- clip',
217
	'- prefix string',
218
	'- admins',
219
	'- bans',
220
	'- cmds',
221
	'- version'
222
}
223
224
-------
225
--Lib--
226
-------
227
228
updateevents=function()
229
	for i,v in pairs(services.events) do services.eventsremove(i) vdisconnect() end
230
	for i,v in pairs(gPlayersplayers())do
231
		local ev = v.Chattedconnect(function(msg) do_exec(msg,v) end)
232
		services.events[#services.events+1] = ev
233
	end
234
end
235
236
std.inTable=function(tbl,val)
237
    if tbl==nil then return false end
238
239
    for _,v in pairs(tbl)do
240
        if v==val then return true end
241
    end 
242
	return false
243
end
244
245
std.out=function(str)
246
    print(str)
247
end
248
249
std.list=function(tbl)
250
    local str=''
251
    for i,v in pairs(tbl)do
252
        str=str..tostring(v)
253
        if i~=#tbl then str=str..', ' end
254
    end 
255
	return str
256
end
257
258
std.endat=function(str,val)
259
    local z=strfind(val)
260
    if z then 
261
		return strsub(0,z-string.len(val)),true
262
    else 
263
		return str,false 
264
	end
265
end
266
267
std.first=function(str) return strsub(1,1) end
268
269
isAdmin=function(name)
270
    if name==admin then
271
        return true
272
    elseif admins[name]==true then
273
        return true
274
    end
275
    return false
276
end
277
278
local exec=function(str)
279
    spawn(function()
280
        local script, loaderr = loadstring(str)
281
        if not script then
282
            error(loaderr)
283
        else
284
        	script()
285
		end
286
    end)
287
end
288
289
local findCmd=function(cmd_name)
290
    for i,v in pairs(cmds)do
291
        if v.NAMElower()==cmd_namelower() or std.inTable(v.ALIAS,cmd_namelower())then
292
            return v
293
        end
294
    end
295
end
296
297
local getCmd=function(msg)
298
    local cmd,hassplit=std.endat(msglower(),split)
299
    if hassplit then 
300
		return {cmd,true} 
301
	else 
302
		return {cmd,false}
303
	end
304
end
305
306
local getprfx=function(strn)
307
    if strnsub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
308
    elseif strnsub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
309
    end return
310
end
311
312
local getArgs=function(str)
313
    local args={}
314
    local new_arg=nil
315
    local hassplit=nil
316
    local s=str
317
    repeat
318
        new_arg,hassplit=std.endat(slower(),split)
319
        if new_arg~='' then
320
            args[#args+1]=new_arg
321
            s=ssub(string.len(new_arg)+string.len(split)+1)
322
        end
323
    until hassplit==false
324
    return args
325
end
326
327
local function execCmd(str, plr)
328
    local s_cmd
329
    local a
330
    local cmd
331
    s_cmd = getCmd(str)
332
    cmd = findCmd(s_cmd[1])
333
    if cmd == nil then return end
334
    a = strsub(string.len(s_cmd[1]) + string.len(split) + 1)
335
    local args=getArgs(a)
336
337
    pcall(function()
338
	cmd.FUNC(args, plr)
339
	end)
340
end
341
342
function do_exec(str,plr)
343
	if not isAdmin(plr.Name)then return end	
344
	
345
    str=strgsub('e ','')
346
347
    local t=getprfx(str)
348
    if t==nil then return end
349
    str=strsub(t[2])
350
    if t[1]=='exec' then
351
        exec(str)
352
    elseif t[1]=='cmd' then
353
        execCmd(str, plr)
354
    end
355
end
356
357
updateevents()
358
_G.exec_cmd = execCmd
359
--game.Players.lolfarmer.Chattedconnect(doexec)
360-
--game.Players.LocalPlayer.Chattedconnect(doexec)
360+
361
local _char=function(plr_name)
362
    for i,v in pairs(game.PlayersGetChildren())do
363
        if vIsA'Player'then
364
            if v.Name==plr_name then return v.Character end
365
        end
366
    end
367
    return
368
end
369
370
local _plr=function(plr_name)
371
    for i,v in pairs(game.PlayersGetChildren())do
372
        if vIsA'Player'then
373
            if v.Name==plr_name then return v end
374
        end
375
    end
376
    return
377
end
378
379
function addcmd(name,desc,alias,func)
380
    cmds[#cmds+1]=
381
    {
382
        NAME=name;
383
        DESC=desc;
384
        ALIAS=alias;
385
        FUNC=func;
386
    }
387
end
388
389
local function getPlayer(name)
390
	local nameTable = {}
391
	name=namelower()
392
	if name == me then
393
		nameTable[#nameTable+1]=admin
394
	elseif name == others then
395
		for i,v in pairs(gPlayersGetChildren()) do
396
            if vIsA'Player'then
397
                if v.Name~=admin then
398
                    nameTable[#nameTable+1]=v.Name
399
                end
400
            end
401
		end
402
	elseif name == all then
403
		for i,v in pairs(gPlayersGetChildren()) do
404
            if vIsA'Player'then 
405
                nameTable[#nameTable+1]=v.Name
406
            end
407
		end
408
	else
409
		for i,v in pairs(gPlayersGetChildren()) do
410
			local lname = v.Namelower()
411
			local i,j = lnamefind(name)
412
			if i == 1 then
413
				return {v.Name}
414
			end
415
		end
416
	end
417
	return nameTable
418
end
419
420
---------------
421
---Cape Info---
422
---------------
423
424
local capeColor = 1012
425
426
function Cape(playerCaped)
427
428
if playerCaped.CharacterFindFirstChild(Cape) ~= nil then
429
	playerCaped.Character.CapeDestroy()
430
end
431
432
repeat
433
	wait()
434
until playerCaped and playerCaped.Character and playerCaped.CharacterFindFirstChild(Torso)
435
436
local Torso = playerCaped.Character.Torso
437
438
local Cape = Instance.new(Part, Torso.Parent)
439
Cape.Name = Cape
440
Cape.Anchored = false
441
Cape.CanCollide = false
442
Cape.TopSurface = 0
443
Cape.BottomSurface = 0
444
Cape.BrickColor = BrickColor.new( .. capeColor)
445
Cape.Material = Neon
446
Cape.formFactor = Custom
447
Cape.Size = Vector3.new(0.2,0.2,0.2)
448
449
local msh = Instance.new(BlockMesh, Cape)
450
msh.Scale = Vector3.new(9,17.5,.5)
451
452
local motor1 = Instance.new(Motor, Cape)
453
motor1.Part0 = Cape
454
motor1.Part1 = Torso
455
456
motor1.MaxVelocity = 1
457
motor1.C0 = CFrame.new(0,1.75,0)CFrame.Angles(0,math.rad(90),0)
458
motor1.C1 = CFrame.new(0,1,.45)CFrame.Angles(0,math.rad(90),0)
459
460
local wave = false
461
462
repeat wait(144)
463
local ang = 0.2
464
local oldmag = Torso.Velocity.magnitude
465
local mv = .1
466
467
if wave then
468
	ang = ang + ((Torso.Velocity.magnitude10)  .05) + 1
469
	wave = false
470
else
471
	wave = false
472
end
473
ang = ang + math.min(Torso.Velocity.magnitude30, 1)
474
motor1.MaxVelocity = math.min((Torso.Velocity.magnitude10), .04) + mv
475
motor1.DesiredAngle = -ang
476
if motor1.CurrentAngle  -.05 and motor1.DesiredAngle  -.05 then
477
	motor1.MaxVelocity = .04
478
end
479
repeat
480
	wait()
481
until 
482
motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag)  = (Torso.Velocity.magnitude10) + 1
483
if Torso.Velocity.magnitude  .1 then
484
	wait(.1)
485
end
486
until not Cape or Cape.Parent ~= Torso.Parent
487
end
488
489
game.Lighting.Outlines = false -- outlines look ugly
490
491
----------------
492
----Commands----
493
----------------
494
495
addcmd('ff','gives ff to player',{},
496
function(args)
497
    local players = getPlayer(args[1])
498
    for i,v in pairs(players)do
499
        local pchar=_char(v)
500
        Instance.new(ForceField, pchar)
501
    end
502
end)
503
504
addcmd('unff', 'takes away ff from player',{'unff'},
505
function(args)
506
    local players = getPlayer(args[1])
507
    for i,v in pairs(players)do
508
        local pchar=_char(v)
509
        for j,v1 in pairs(pcharGetChildren()) do
510
			if v1IsA(ForceField) then
511
				v1Destroy()
512
			end
513
		end
514
    end
515
end)
516
517
addcmd('fire', 'set a player on fire',{},
518
function(args)
519
    local players = getPlayer(args[1])
520
    for i,v in pairs(players)do
521
        local pchar=_char(v)
522
        local Fire1 = Instance.new(Fire, pchar.Head)
523
        local Fire2 = Instance.new(Fire, pchar.Torso)
524
        local Fire3 = Instance.new(Fire, pchar[Left Arm])
525
        local Fire4 = Instance.new(Fire, pchar[Right Arm])
526
        local Fire5 = Instance.new(Fire, pchar[Left Leg])
527
        local Fire6 = Instance.new(Fire, pchar[Right Leg])
528
        Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
529
        Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
530
        Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
531
        Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
532
        Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
533
        Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
534
        Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
535
        Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
536
        Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
537
        Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
538
        Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
539
        Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
540
    end
541
end)
542
543
addcmd('nofire', 'extinguish a player',{'unfire'},
544
function(args)
545
    local players = getPlayer(args[1])
546
    for i,v in pairs(players)do
547
        local pchar=_char(v)
548
        for j,v1 in pairs(pchar.HeadGetChildren()) do
549
			if v1IsA(Fire) then
550
				v1Destroy()
551
			end
552
end
553
        for j,v1 in pairs(pchar.TorsoGetChildren()) do
554
			if v1IsA(Fire) then
555
				v1Destroy()
556
			end
557
end
558
        for j,v1 in pairs(pchar[Left Arm]GetChildren()) do
559
			if v1IsA(Fire) then
560
				v1Destroy()
561
			end
562
end
563
        for j,v1 in pairs(pchar[Right Arm]GetChildren()) do
564
			if v1IsA(Fire) then
565
				v1Destroy()
566
			end
567
end
568
        for j,v1 in pairs(pchar[Left Leg]GetChildren()) do
569
			if v1IsA(Fire) then
570
				v1Destroy()
571
			end
572
end
573
        for j,v1 in pairs(pchar[Right Leg]GetChildren()) do
574
			if v1IsA(Fire) then
575
				v1Destroy()
576
			end
577
		end
578
    end
579
end)
580
581
addcmd('sparkles', 'give a player sparkles',{},
582
function(args)
583
    local players = getPlayer(args[1])
584
    for i,v in pairs(players)do
585
        local pchar=_char(v)
586
        local Sparkles1 = Instance.new(Sparkles, pchar.Head)
587
        local Sparkles2 = Instance.new(Sparkles, pchar.Torso)
588
        local Sparkles3 = Instance.new(Sparkles, pchar[Left Arm])
589
        local Sparkles4 = Instance.new(Sparkles, pchar[Right Arm])
590
        local Sparkles5 = Instance.new(Sparkles, pchar[Left Leg])
591
        local Sparkles6 = Instance.new(Sparkles, pchar[Right Leg])
592
        Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
593
        Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
594
        Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
595
        Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
596
        Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
597
        Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
598
    end
599
end)
600
601
addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles'},
602
function(args)
603
    local players = getPlayer(args[1])
604
    for i,v in pairs(players)do
605
        local pchar=_char(v)
606
        for j,v1 in pairs(pchar.HeadGetChildren()) do
607
			if v1IsA(Sparkles) then
608
				v1Destroy()
609
			end
610
end
611
        for j,v1 in pairs(pchar.TorsoGetChildren()) do
612
			if v1IsA(Sparkles) then
613
				v1Destroy()
614
			end
615
end
616
        for j,v1 in pairs(pchar[Left Arm]GetChildren()) do
617
			if v1IsA(Sparkles) then
618
				v1Destroy()
619
			end
620
end
621
        for j,v1 in pairs(pchar[Right Arm]GetChildren()) do
622
			if v1IsA(Sparkles) then
623
				v1Destroy()
624
			end
625
end
626
        for j,v1 in pairs(pchar[Left Leg]GetChildren()) do
627
			if v1IsA(Sparkles) then
628
				v1Destroy()
629
			end
630
end
631
        for j,v1 in pairs(pchar[Right Leg]GetChildren()) do
632
			if v1IsA(Sparkles) then
633
				v1Destroy()
634
			end
635
		end
636
    end
637
end)
638
639
addcmd('smoke', 'give a player smoke',{},
640
function(args)
641
    local players = getPlayer(args[1])
642
    for i,v in pairs(players)do
643
        local pchar=_char(v)
644
        Instance.new(Smoke, pchar.Torso)
645
    end
646
end)
647
648
addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
649
function(args)
650
    local players = getPlayer(args[1])
651
    for i,v in pairs(players)do
652
        local pchar=_char(v)
653
        for j,v1 in pairs(pchar.TorsoGetChildren()) do
654
			if v1IsA(Smoke) then
655
				v1Destroy()
656
			end
657
		end
658
    end
659
end)
660
661
addcmd('btools', 'gives a player btools',{},
662
function(args)
663
    local players = getPlayer(args[1])
664
    if players ~= nil then
665
		for i, v in pairs(players) do
666
	  		Instance.new(HopperBin, gPlayers[v].Backpack).BinType = 2
667
			Instance.new(HopperBin, gPlayers[v].Backpack).BinType = 3
668
			Instance.new(HopperBin, gPlayers[v].Backpack).BinType = 4
669
			Notify('Gave ' .. gPlayers[v].Name .. ' btools')
670
		end
671
	end
672
end)
673
674
addcmd('devuzi', 'its da dev uzi',{},
675
function(args)
676
wait(0.001); 
677
678
--------------------------------------------------------------------------------------
679
680
_clear=function()
681
        local c={char;bag;gui;};
682
        for i=1,#c do
683
                local c=c[i]children();
684
                for i=1,#c do
685
                        if(c[i].Name==name)then
686
                                c[i].Parent=nil;
687
                        end;
688
                end;
689
        end;
690
        local n=name..user.Name;
691
        local c=workspacechildren();
692
        for i=1,#c do
693
                if(c[i].Name==n)then
694
                        c[i].Parent=nil;
695
                end;
696
        end;
697
end;
698
699
_valid_key=function(object,key)
700
        return object[key],key;
701
end;
702
703
_new=function(class)
704
        return function(props)
705
                if(type(list_base_props)=='table')then
706
                        for i,v in next,list_base_props do
707
                                if(props[i]==nil)then
708
                                        props[i]=v;
709
                                end;
710
                        end;
711
                end;
712
                
713
                local object=class;
714
                
715
                if(type(class)=='string')then
716
                        object=Instance.new(classsub(1,1)upper()..classsub(2));
717
                end;
718
                
719
                local parent=props[1];
720
                        props[1]=nil;
721
                
722
                for i,v in next,props do
723
                        local load,res,key=pcall(_valid_key,object,isub(1,1)upper()..isub(2));
724
                        if(not load)then
725
                                load,res,key=pcall(_valid_key,object,i);
726
                        end;
727
                        
728
                        if(key)then
729
                                t=type(res);
730
                                s=tostring(res);
731
                                if(t=='userdata'and s=='Signal '..key)then
732
                                        if(type(v)=='table')then
733
                                                for i=1,#v do
734
                                                        resconnect(v[i]);
735
                                                end;
736
                                        else
737
                                                resconnect(v);
738
                                        end;
739
                                else
740
                                        object[key]=v;
741
                                end;
742
                        end;
743
                end;
744
                
745
                if(parent)then
746
                        object.Parent=parent;
747
                end;
748
                
749
                return object;
750
        end;
751
end;
752
753
_RGB=function(r,g,b)
754
        return Color3.new(r255,g255,b255);
755
end;
756
757
_copy=function(o)
758
        local def=o.archivable;
759
        o.archivable=true;
760
        local c=oclone();
761
        o.archivable=def;
762
        return c;
763
end;
764
765
_hum=function(char)
766
        local hum=charfindFirstChild'Humanoid';
767
        if(not hum or hum.className~='Humanoid')then
768
                local c=charchildren();
769
                for i=1,#c do
770
                        if(c[i].className=='Humanoid')then
771
                                return c[i];
772
                        end;
773
                end;
774
        else
775
                return hum;
776
        end;
777
end;
778
779
_hum_tag=function(hum)
780
        local c=humfindFirstChild'creator'or Instance.new('ObjectValue',hum);
781
                c.Name='creator';
782
                c.Value=user;
783
        if(hum.Health==0 and not humfindFirstChild'killed')then
784
                Instance.new('BoolValue',hum).Name='killed';
785
                bullets.clip=bullets.clip+10;
786
        end;
787
end;
788
789
_hum_dam=function(hum,dam,percent)
790
        hum.Health=hum.Health-(percent and hum.MaxHealth(dam0.01)or dam);
791
        if(hum.Health=hum.MaxHealth0.1)then
792
                _hum_tag(hum);
793
        end;
794
end;
795
796
_ray=function(v0,v1,i)
797
        local mag=(v0-v1).magnitude;
798
        local ray=Ray.new(v0,(v1-v0).unit(mag999 and 999 or mag));
799
        
800
        return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
801
end;
802
803
_must=function(v0,v1,i)
804
        local hit,pos=_ray(v0,v1,i);
805
        return not hit and mouse.target or hit,pos;
806
end;
807
808
_cframe=function(x,y,z,r0,r1,r2)
809
        return CFrame.Angles(
810
                math.rad(r0 or 0),
811
                math.rad(r1 or 0),
812
                math.rad(r2 or 0)
813
        )CFrame.new(x,y,z);
814
end;
815
816
_update=function()
817
        if(bool_active and not screen.Parent)then
818
                screen.Parent=gui;
819
        elseif(not bool_active and screen.Parent)then
820
                screen.Parent=nil;
821
        end;
822
end;
823
824
_light=function(v0,v1)
825
        local mag=(v0-v1).magnitude;
826
        local len=math.random(2,7);
827
                len=lenmag2 and mag2 or len;
828
        
829
        local light=_new'part'{
830
                cFrame=CFrame.new(v0,v1);
831
                size=Vector3.new(1,1,1);
832
                color=_RGB(255,255,0);
833
                anchored=true;
834
                inv;
835
        };
836
                _new'blockMesh'{
837
                        scale=Vector3.new(0.2,0.2,len);
838
                        offset=Vector3.new(0,0,-len2);
839
                        light;
840
                };
841
                
842
        local bb=_new'billboardGui'{
843
                size=UDim2.new(2,0,2,0);
844
                adornee=light;
845
                light;
846
        };
847
                _new'imageLabel'{
848
                        image=urlformat(109101526);
849
                        backgroundTransparency=1;
850
                        size=UDim2.new(1,0,1,0);
851
                        bb;
852
                };
853
                
854
        _rem(light,0.15);
855
end;
856
857
_rem=function(object,del)
858
        if(del)then
859
                delay(del,function()
860
                        if(object.Parent)then
861
                                object.Parent=nil;
862
                        end;
863
                end);
864
        else
865
                pcall(function()
866
                        if(object.Parent)then
867
                                object.Parent=nil;
868
                        end;
869
                end);
870
        end;
871
end;
872
873
_blood=function(pos,count)
874
        for i=1,count do
875
                local p=_new'part'{
876
                        rotVelocity=Vector3.new(math.random(),math.random(),math.random())50;
877
                        position=pos+Vector3.new(math.random(),math.random(),math.random());
878
                        velocity=Vector3.new(math.random(),math.random(),math.random())50;
879
                        size=Vector3.new(math.random(),math.random(),math.random())3;
880
                        color=_RGB(255,0,0);
881
                        transparency=0.5;
882
                        canCollide=true;
883
                        bottomSurface=0;
884
                        topSurface=0;
885
                        formFactor=3;
886
                        locked=true;
887
                        inv;
888
                };
889
                delay(5,function()
890
                        p.Parent=nil;
891
                end);
892
        end;
893
end;
894
895
_make_hue=function()
896
        h_hue=_new'part'{
897
                size=Vector3.new(0.25,1.8,0.35);
898
                color=_RGB(100,100,100);
899
                formFactor=3;
900
                name='hue';
901
                handle;
902
        };
903
        hh_weld=_new'weld'{
904
                c1=_cframe(0,0.5,0);
905
                part0=handle;
906
                part1=h_hue;
907
                handle;
908
        };
909
end;
910
911
_shot=function(v0,v1)
912
        if(not time_left)then
913
                time_left=0;
914
        end;
915
        if(time_lefttime())then
916
                return nil;
917
        else
918
                time_left=time()+math.random(1,10)100;
919
        end;
920
        
921
        if(bullets.current1)then
922
                local tick_sound=headfindFirstChild'tick_sound'or _new'sound'{
923
                        soundId='rbxassetsoundsSWITCH3.wav';
924
                        name='tick_sound';
925
                        volume=0.2;
926
                        pitch=2;
927
                        head;
928
                };
929
                tick_soundplay();
930
                if(bullets.clip0)then
931
                        time_left=time()+2;
932
                        h_huebreakJoints();
933
                        h_hue.CanCollide=true;
934
                        h_hue.Velocity=(h_hue.CFrameCFrame.new(0,5,0)).lookVector10;
935
                        _rem(h_hue,10);
936
                        delay(1.9,function()
937
                                _make_hue();
938
                                local got=(bullets.clipbullets.maximum and 
939
                                        bullets.maximum or 
940
                                        bullets.clip)-bullets.current;
941
942
                                bullets.clip=bullets.clip-got;
943
                                bullets.current=bullets.current+got;
944
                        end);
945
                end;
946
                return nil;
947
        else
948
                bullets.current=bullets.current-1;
949
                
950
                h_weld.C1=_cframe(0,0.75,0,
951
                                        -math.random(1000,1100)10,180,0);
952
                d_weld.C1=_cframe(0,-0.25,0.3);
953
                
954
                lightstuff.Visible=true;
955
                delay(0.1,function()
956
                        lightstuff.Visible=false;
957
                end);
958
                
959
                _rem(_new'part'{
960
                        velocity=CFrame.new(drag.Position,(drag.CFrameCFrame.new(-4,-5,0)).p).lookVector10;
961
                        cFrame=drag.CFrameCFrame.new(-0.5,0,0);
962
                        size=Vector3.new(0.1,0.1,0.4);
963
                        color=_RGB(200,200,0);
964
                        material='Slate';
965
                        canCollide=true;
966
                        formFactor=3;
967
                        inv;
968
                },5);
969
                delay(0.1,function()
970
                        d_weld.C1=_cframe(0,-0.25,0);
971
                        if(bool_active)then
972
                                h_weld.C1=h_weld_cf_active;
973
                        end;
974
                end)
975
        end;
976
        
977
        local hit,pos=_must(v0,v1,char);
978
        
979
        shot_soundplay();
980
        
981
        _light(v0,v1);
982
        
983
        if(not hit)then return nil;end;
984
        
985
        if(hit.Parent.className=='Hat')then
986
                hitbreakJoints();
987
                hit.CanCollide=true;
988
                hit.Velocity=CFrame.new(v0,pos).lookVectormath.random(30,50);
989
                hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
990
        else
991
                local hum=_hum(hit.Parent);
992
                if(not hum)then
993
                        if(hit.Anchored==false and hit.Size.magnitude4)then
994
                                hitbreakJoints();
995
                                hit.CanCollide=true;
996
                        end;
997
                else
998
                        _hum_dam(hum,math.random(4,6));
999
                        _blood(pos,math.random(3,6));
1000
                        hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))6;
1001
                        if(hit.Name=='Head')then
1002
                                hum.Health=0;
1003
                                _blood(pos,math.random(3,6));
1004
                                delay(0.001,function()
1005
                                        _new(workspaceFindFirstChild'head_shot'or'sound'){
1006
                                                pitch=math.random(70,100)0.01;
1007
                                                soundId=urlformat(1876552);
1008
                                                name='head_shot';
1009
                                                workspace;
1010
                                        }play();
1011
                                end);
1012
                                _hum_tag(hum);
1013
                                _rem(_new'part'{
1014
                                        cFrame=CFrame.new(v0,pos)CFrame.new(0,0,-(v0-pos).magnitude0.5);
1015
                                        size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
1016
                                        color=torso.Color;
1017
                                        transparency=0.5;
1018
                                        canCollide=false;
1019
                                        bottomSurface=0;
1020
                                        anchored=true;
1021
                                        formFactor=3;
1022
                                        topSurface=0;
1023
                                        inv;
1024
                                },30);
1025
                                hit.Parent=nil;
1026
                                for b=0,1 do
1027
                                        for a=0,1 do
1028
                                                for i=0,1 do
1029
                                                        _rem(_new'part'{
1030
                                                                velocity=CFrame.new(v0,pos).lookVector20;
1031
                                                                cFrame=hit.CFrameCFrame.new(i,-b,a);
1032
                                                                size=Vector3.new(0.5,0.5,0.5);
1033
                                                                color=_RGB(255,255,255);
1034
                                                                bottomSurface=0;
1035
                                                                canCollide=true;
1036
                                                                transparency=0;
1037
                                                                formFactor=3;
1038
                                                                topSurface=0;
1039
                                                                hum;
1040
                                                        },30);
1041
                                                end;
1042
                                        end;
1043
                                end;
1044
                        end;
1045
                end;
1046
        end;
1047
end;
1048
1049
----------------------------------------------------------------------------------------
1050
1051
_cf_select=function(mouse)
1052
        mouse.Icon=urlformat(109111387);--108999296
1053
        bool_active=true;
1054
        
1055
        local arm=charfindFirstChild'Right Arm';
1056
        local weld=torsofindFirstChild'Right Shoulder';
1057
        if(arm and weld)then
1058
                h_weld.Part0=arm;
1059
                h_weld.C1=h_weld_cf_active;
1060
                
1061
                weld.Part1=nil;
1062
                weld.Part0=nil;
1063
                
1064
                weld=_new(torsofindFirstChild'right_arml'or'weld'){
1065
                        name='right_arml';
1066
                        part0=torso;
1067
                        part1=arm;
1068
                        torso;
1069
                };
1070
                
1071
                arml=(arml or 0)+1;
1072
                local alv=arml;
1073
                local gyro=torsofindFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
1074
                        gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
1075
                        gyro.P=30000;
1076
                        gyro.D=1000;
1077
                        gyro.Name='p_gyro';
1078
                repeat
1079
                        local pos=mouse.hit.p;
1080
                        local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
1081
                        
1082
                        val=-math.pi0.5;
1083
                        valp=val-1;
1084
                        p0=torso.CFrame;
1085
                        p0=p0+((p0CFrame.Angles(valp,0,0)).lookVector0.5)+(p0CFrame.Angles(0,val,0)).lookVector;
1086
                        p1=p0+((p0.p-pos).unit-2);
1087
                        p2=CFrame.new((p0.p+p1.p)2,p0.p)CFrame.Angles(val,val,0);
1088
                        hitpos=torso.Position;
1089
                        cj=CFrame.new(hitpos);
1090
                        c0=torso.CFrameinverse()cj;
1091
                        c1=p2inverse()cj;
1092
                        weld.C0=c0;
1093
                        weld.C1=c1;
1094
                        
1095
                        gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
1096
                        
1097
                        wait(0.001);
1098
                until arml~=alv;
1099
                gyro.Parent=nil;
1100
        end;
1101
end;
1102
1103
_cf_deselect=function()
1104
        bool_active=false;
1105
        arml=(arml or 0)+1;
1106
        loop_shot=(loop_shot or 0)+1;
1107
                
1108
        h_weld.Part0=torso;
1109
        h_weld.C1=h_weld_cf_inactive;
1110
        
1111
        local weld=torsofindFirstChild'right_arml';
1112
        if(weld)then
1113
                weld.Part1=nil;
1114
                weld.Part0=nil;
1115
        end;
1116
        local arm=charfindFirstChild'Right Arm';
1117
        local weld=torsofindFirstChild'Right Shoulder';
1118
        if(arm and weld)then
1119
                weld.Part0=torso;
1120
                weld.Part1=arm;
1121
        end;
1122
end;
1123
1124
_cf_mouse=function(event,fun)
1125
        mouse[eventsub(1,1)upper()..eventsub(2)]connect(function(...)
1126
                if(bool_active)then
1127
                        fun(...);
1128
                end;
1129
        end);
1130
end;
1131
1132
----------------------------------------------------------------------------------------
1133
1134
do
1135
        local main=getfenv(0);
1136
        local c=gamechildren();
1137
        local check=function(v)
1138
                if(v.className~=''and v.className~='Instance'and gameservice(v.className))then
1139
                        main[v.classNamesub(1,1)lower()..v.classNamesub(2)]=v;
1140
                end;
1141
        end;
1142
        for i=1,#c do
1143
                pcall(check,c[i]);
1144
        end;
1145
end;
1146
1147
----------------------------------------------------------------------------------------
1148
1149
bullets={
1150
        maximum=51111111111111111111111111110;
1151
        current=511111111111111111111111111111110;
1152
        clip=5011111111111111111111111111111114;
1153
};
1154
1155
list_base_props={
1156
        backgroundColor3=_RGB(0,0,0);
1157
        textColor3=_RGB(200,200,200);
1158
        borderSizePixel=0;
1159
        color=_RGB(0,0,0);
1160
        archivable=false;
1161
        canCollide=false;
1162
        bottomSurface=0;
1163
        topSurface=0;
1164
        formFactor=0;
1165
        locked=true;
1166
};
1167
1168
----------------------------------------------------------------------------------------
1169
1170
user=players.lolfarmer;
1171-
user=players.localPlayer;
1171+
1172-
mouse=usergetMouse();
1172+
1173
bag=user.Backpack;
1174
torso=char.Torso;
1175
head=char.Head;
1176
hum=_hum(char);
1177
1178
url='rbxassetid%d';
1179
name='dev-uzi';
1180
1181
h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
1182
                                                        0,90,-70);
1183
h_weld_cf_active=_cframe(0,0.75,0,
1184
                                                -110,180,0);
1185
1186
assert(hum,'humanoid is not found');
1187
1188
----------------------------------------------------------------------------------------
1189
1190
_clear();
1191
1192
----------------------------------------------------------------------------------------
1193
1194
_cf_mouse('button1Down',function()
1195
        loop_shot=(loop_shot or 0)+1;
1196
        local vers=loop_shot;
1197
        local step=runService.Stepped;
1198
        repeat
1199
                _shot((tube.CFrameCFrame.new(0,0,tube.Size.Z0.5)).p,mouse.hit.p);
1200
                stepwait();--wait(0.001);
1201
        until vers~=loop_shot;
1202
end);
1203
1204
_cf_mouse('button1Up',function()
1205
        loop_shot=(loop_shot or 0)+1;
1206
end);
1207
1208
_cf_mouse('move',function()
1209
        cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
1210
end);
1211
1212
_cf_mouse('keyDown',function(k)
1213
        if(k=='r')then
1214
                if(bullets.clip0 and time_left=time())then
1215
                        local got=(bullets.clipbullets.maximum and 
1216
                                bullets.maximum or 
1217
                                bullets.clip)-bullets.current;
1218
1219
                        bullets.clip=bullets.clip-got;
1220
                        bullets.current=bullets.current+got;
1221
                        if(got~=0)then
1222
                                time_left=time()+2;
1223
                        end;
1224
                end;
1225
        end;
1226
end);
1227
1228
----------------------------------------------------------------------------------------
1229
1230
screen=_new'screenGui'{
1231
        name=name;
1232
};
1233
1234
cross_f=_new'frame'{
1235
        size=UDim2.new(0,21,0,21);
1236
        backgroundTransparency=1;
1237
        screen;
1238
};
1239
1240
for i=0,1 do
1241
        _new'frame'{
1242
                position=UDim2.new(0,13i,0,11);
1243
                size=UDim2.new(0,10,0,1);
1244
                cross_f;
1245
        };
1246
end;
1247
1248
for i=0,1 do
1249
        _new'frame'{
1250
                position=UDim2.new(0,11,0,13i);
1251
                size=UDim2.new(0,1,0,10);
1252
                cross_f;
1253
        };
1254
end;
1255
1256
----------------------------------------------------------------------------------------
1257
1258
shot_sound=_new(headfindFirstChild'2920959'or'sound'){
1259
        soundId=urlformat(2920959);
1260
        pitch=1.4;
1261
        head;
1262
};
1263
if(shot_sound.Name~='2920959')then
1264
        shot_sound.Name='2920959';
1265
        shot_soundplay();
1266
end;
1267
1268
bin=_new'hopperBin'{
1269
        deselected=_cf_deselect;
1270
        selected=_cf_select;
1271
        name=name;
1272
        bag;
1273
};
1274
1275
inv=_new'model'{
1276
        name=name;
1277
        char;
1278
};
1279
1280
handle=_new'part'{
1281
        size=Vector3.new(0.3,1.3,0.4);
1282
        color=_RGB(140,140,140);
1283
        name='handle';
1284
        formFactor=3;
1285
        inv;
1286
        touched=function(hit)
1287
                if(hit.Parent.className=='Model')then
1288
                        local hum=_hum(hit.Parent);
1289
                        if(hum~=nil)then
1290
                                _hum_dam(hum,handle.Velocity.magnitude);
1291
                        end;
1292
                end;
1293
        end;
1294
};
1295
        h_weld=_new'weld'{
1296
                c1=h_weld_cf_inactive;
1297
                part1=handle;
1298
                part0=torso;
1299
                handle;
1300
        };
1301
                _make_hue();
1302
                
1303
                h_part=_new'part'{
1304
                        size=Vector3.new(0.4,0.4,1.4);
1305
                        color=_RGB(140,140,140);
1306
                        name='handle';
1307
                        formFactor=3;
1308
                        handle;
1309
                };
1310
                hp_weld=_new'weld'{
1311
                        c1=_cframe(0,-1.32,-0.3,
1312
                                                20,0,0);
1313
                        part0=handle;
1314
                        part1=h_part;
1315
                        handle;
1316
                };
1317
                
1318
                drag=_new'part'{
1319
                        size=Vector3.new(0.5,0.45,1.5);
1320
                        color=_RGB(100,100,100);
1321
                        name='handle';
1322
                        formFactor=3;
1323
                        handle;
1324
                };
1325
                d_weld=_new'weld'{
1326
                        c1=_cframe(0,-0.25,0);
1327
                        part0=h_part;
1328
                        part1=drag;
1329
                        handle;
1330
                };
1331
                
1332
                tube=_new'part'{
1333
                        size=Vector3.new(0.2,0.2,1.5);
1334
                        color=_RGB(0,0,0);
1335
                        name='handle';
1336
                        formFactor=3;
1337
                        handle;
1338
                };
1339
                t_weld=_new'weld'{
1340
                        c1=_cframe(0,-0.3,-0.1);
1341
                        part0=h_part;
1342
                        part1=tube;
1343
                        handle;
1344
                };
1345
1346
bullets_label=_new'textLabel'{
1347
        textStrokeColor3=_RGB(0,0,0);
1348
        textColor3=_RGB(200,200,200);
1349
        textStrokeTransparency=0;
1350
        backgroundTransparency=1;
1351
        fontSize=5;
1352
        screen;
1353
};
1354
1355
lightstuff=_new'frame'{
1356
        backgroundColor3=_RGB(255,255,255);
1357
        position=UDim2.new(0,0,0,-1);
1358
        backgroundTransparency=0.5;
1359
        size=UDim2.new(1,0,1,1);
1360
        borderSizePixel=0;
1361
        visible=false;
1362
        screen;
1363
};
1364
1365
coroutine.wrap(function()
1366
        local red,white,green;
1367
        repeat
1368
                if(screen.Parent)then
1369
                        if(not green and bullets.current==bullets.maximum)then
1370
                                green=true;
1371
                                bullets_label.TextColor3=_RGB(0,200,0);
1372
                        elseif(not red and bullets.current==0)then
1373
                                red=true;
1374
                                bullets_label.TextColor3=_RGB(200,0,0);
1375
                        elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
1376
                                bullets_label.TextColor3=_RGB(200,200,200);
1377
                                green=false;
1378
                                red=false;
1379
                        end;
1380
                        bullets_label.Text=('Bullets %d%d')format(bullets.current,bullets.clip);
1381
                        bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
1382
                        bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
1383
                end;
1384
                wait(0.001);
1385
        until nil;
1386
end)();
1387
1388
----------------------------------------------------------------------------------------
1389
1390
_G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
1391
local vers=_G.dev_pistol_version;
1392
repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
1393
if(hum.Health==0)then
1394
        _clear();
1395
end;
1396
script.Disabled=true;
1397
1398
--mediafire-----------------------------------------------------------------------------
1399
1400
1401
1402
end)
1403
1404
addcmd('draw', 'drawing tool',{},
1405
function(args)
1406
for i,v in next,gamechildren()do
1407
	pcall(function()
1408
		local c=v.className;
1409
		rawset(getfenv(0),csub(1,1)lower()..csub(2),gameservice(c));
1410
	end);
1411
end;
1412
1413
1414
user=players.lolfarmer;
1415
uname=user.Name;
1416-
user=players.LocalPlayer;
1416+
1417
pack=user.Backpack;
1418
1419
keyDowns={};
1420
freeKeys={};
1421
shortcuts={};
1422
1423
_G.mine=_G.mine or{};
1424
1425
name='Draw3D';
1426
url='httpwww.roblox.comassetid=%d';
1427
1428
iconNormal=urlformat(96578285);
1429
iconOnDown=urlformat(96584484);
1430
1431
ver=0;
1432
drawPixel=0.10;
1433
_G.drawLimit=_G.drawLimit or 1000;
1434
1435
_G.drawColor=_G.drawColor or Color3.new();
1436
1437
1438
1439
1440
1441
destroy=game.remove;
1442
find=game.findFirstChild;
1443
new=Instance.new;
1444
with=function(c)
1445
	return function(p)
1446
		local o=type(c)=='string'and new(c)or c;
1447
		local x=p.Parent;p.Parent=nil;
1448
		for i,v in next,p do
1449
			o[i]=v;
1450
		end;
1451
		if(x)then
1452
			o.Parent=x;
1453
		end;
1454
		return o;
1455
	end;
1456
end;
1457
getPlace=function()
1458
	if(find(workspace,'draw')==nil)then
1459
		new('Model',workspace).Name='draw';
1460
	end;
1461
	if(find(workspace.draw,uname)==nil)then
1462
		new('Model',workspace.draw).Name=uname;
1463
	end;
1464
	return workspace.draw[uname];
1465
end;
1466
drawLine=function(start,target)
1467
	local gui=with'BlockMesh'{
1468
		Parent=with'Part'{
1469
			CFrame=CFrame.new(start,target)CFrame.new(0,0,-(start-target).magnitude2);
1470
			Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325drawPixel);
1471
			Parent=getPlace();
1472
			Color=_G.drawColor;
1473
			BottomSurface=0;
1474
			Anchored=true;
1475
			TopSurface=0;
1476
			formFactor=3;
1477
			Name=name;
1478
	}}.Parent;
1479
	table.insert(_G.mine,gui);
1480
	return gui;
1481
end;
1482
onDown=function()
1483
	if(drawing)then
1484
		return nil;
1485
	end;
1486
	if(selectGui.Adornee)then
1487
		destroy(selectGui.Adornee);
1488
	end;
1489
	
1490
	drawing=true;
1491
	
1492
	mouse.Icon=iconOnDown;
1493
	ver=ver+1;
1494
	
1495
	
1496
	local cVer,start,target=ver,mouse.hit.p;
1497
	
1498
	local group={};
1499
	repeat
1500
		Wait(0.02);
1501
		
1502
		if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
1503
			
1504
			target=mouse.hit.p;
1505
			
1506
			table.insert(group,drawLine(start,target));
1507
			
1508
			start=target;
1509
		end;
1510
	until ver~=cVer;
1511
	drawing=false;
1512
	
1513
	local groupM=new('Model',getPlace());
1514
	for i,v in next,group do
1515
		if(vIsDescendantOf(Workspace))then
1516
			v.Parent=groupM;
1517
		end;
1518
	end;
1519
	if(next(groupMchildren())==nil)then
1520
		destroy(groupM);
1521
	end;
1522
end;
1523
onUp=function()
1524
	mouse.Icon=iconNormal;
1525
	ver=ver+1;
1526
end;
1527
onKeyDown=function(k)
1528
	if(freeKeys[k]==false)then
1529
		return false;
1530
	end;
1531
	freeKeys[k]=false;
1532
	Wait(0.01);
1533
	if(keyDowns[k])then
1534
		keyDowns[k]();
1535
	elseif(shortcuts[k])then
1536
		shortcuts[k]();
1537
	end;
1538
end;
1539
onKeyUp=function(k)
1540
	freeKeys[k]=true;
1541
end;
1542
onMove=function()
1543
1544
end;
1545
onSelect=function(lmouse)
1546
	frame.Visible=true;
1547
1548
	mouse=lmouse;
1549
	
1550
	mouse.Icon=iconNormal;
1551
	
1552
	mouse.Button1Downconnect(onDown);
1553
	mouse.KeyDownconnect(onKeyDown);
1554
	mouse.Button1Upconnect(onUp);
1555
	mouse.KeyUpconnect(onKeyUp);
1556
	mouse.Moveconnect(onMove);
1557
end;
1558
onDeselect=function()
1559
	ver=ver+1;
1560
	frame.Visible=false;
1561
	selectGui.Adornee=nil;
1562
	mouse.Icon=iconNormal;
1563
	for i,v in next,freeKeys do
1564
		freeKeys[i]=true;
1565
	end;
1566
end;
1567
addButton=function(title,shortcut,fun)
1568
	with'TextButton'{
1569
		Text=string.format(' %s (%s)',title,shortcut);
1570
		TextXAlignment=0;
1571
		Parent=frame;
1572
	}.MouseButton1Upconnect(fun);
1573
	
1574
	shortcuts[shortcut]=fun;
1575
	
1576
	local c=#framechildren();
1577
	for i,v in next,framechildren()do
1578
		v.Position=UDim2.new(0,0,0,20(i-1));
1579
		v.Size=UDim2.new(1,0,0,20);
1580
	end;
1581
	
1582
	frame.Position=UDim2.new(1,-152,.5,-c10);
1583
	frame.Size=UDim2.new(0,150,0,c20);
1584
end;
1585
1586
1587
1588
1589
1590
1591
1592
1593
for i,v in next,{guis;pack;}do
1594
	pcall(function()
1595
		repeat until destroy(v[name]);
1596
	end);
1597
end;
1598
1599
1600
1601
tool=with'HopperBin'{
1602
	Parent=pack;
1603
	Name=name;
1604
};
1605
tool.Deselectedconnect(onDeselect);
1606
tool.Selectedconnect(onSelect);
1607
1608
1609
1610
1611
screen=with'ScreenGui'{
1612
	Parent=guis;
1613
	Name=name;
1614
};
1615
frame=with'Frame'{
1616
	Parent=screen;
1617
	Visible=false;
1618
};
1619
clframe=with'Frame'{
1620
	Position=UDim2.new(.5,-50,.5,-50);
1621
	Size=UDim2.new(0,100,0,100);
1622
	Visible=false;
1623
	Parent=screen;
1624
};
1625
selectGui=with'SelectionBox'{
1626
	Parent=screen;
1627
};
1628
1629
local c=0;
1630
for y=0,7 do
1631
	for x=0,7 do
1632
		local color=BrickColor.palette(c).Color;
1633
		
1634
		with'ImageButton'{
1635
			Position=UDim2.new(.125x,0,.125y);
1636
			Size=UDim2.new(.125,0,.125);
1637
			BackgroundColor3=color;
1638
			Parent=clframe;
1639
		}.MouseButton1Upconnect(function()
1640
			clframe.Visible=false;
1641
			_G.drawColor=color;
1642
		end);
1643
		
1644
		c=c+1;
1645
	end;
1646
end;
1647
1648
addButton('Color','c',function()
1649
	clframe.Visible=true;
1650
end);
1651
addButton('Remove your draws','r',function()
1652
	repeat
1653
		destroy(_G.mine[1]);
1654
		table.remove(_G.mine,1);
1655
		Wait(0.01);
1656
	until nil;
1657
end);
1658
addButton('Remove global draws','k',function()
1659
	destroy(workspace.draw);
1660
	while(_G.mine[1])do
1661
		destroy(_G.mine[1]);
1662
		table.remove(_G.mine,1);
1663
	end;
1664
end);
1665
addButton('Remove selected','x',function()
1666
	repeat
1667
		if(find(workspace,'draw'))then
1668
			local dt=mouse.target;
1669
			if(dt and dtIsDescendantOf(workspace.draw))then
1670
				selectGui.Adornee=dt.Parent;
1671
			else
1672
				selectGui.Adornee=nil;
1673
			end;
1674
		else
1675
			selectGui.Adornee=nil;
1676
		end;
1677
		Wait(0.01);
1678
	until freeKeys.x;
1679
	selectGui.Adornee=nil;
1680
end);
1681
1682
1683
1684
1685
repeat
1686
	Wait(0.01);
1687
	if(next(_G.mine)and _G.mine[_G.drawLimit])then
1688
		destroy(_G.mine[1]);
1689
		table.remove(_G.mine,1);
1690
	end;
1691
until script.Parent==nil or tool.Parent==nil;
1692
script.Disabled=true;
1693
destroy(screen);
1694
1695
end)
1696
1697
addcmd('god', 'gods player',{},
1698
function(args)
1699
    local players = getPlayer(args[1])
1700
    for i,v in pairs(players)do
1701
        local pchar=_char(v)
1702
        if pchar then pchar.Humanoid.MaxHealth=math.huge end
1703
    end
1704
end)
1705
1706
addcmd('sgod', 'silently gods player',{},
1707
function(args)
1708
    local players = getPlayer(args[1])
1709
    for i,v in pairs(players)do
1710
        local pchar=_char(v)
1711
        spawn(function()
1712
            pchar.Humanoid.MaxHealth = 10000000
1713
			wait()
1714
			pchar.Humanoid.Health = 10000000
1715
			Notify('Godded ' .. gPlayers[v].Name)
1716
        end)
1717
    end
1718
end)
1719
1720
addcmd('ungod', 'removes god from a player',{},
1721
function(args)
1722
    local players = getPlayer(args[1])
1723
    for i,v in pairs(players)do
1724
        local pchar=_char(v)
1725
        if pchar then 
1726
			pchar.Humanoid.MaxHealth=100 
1727
			pchar.Humanoid.Health=100
1728
		end
1729
    end
1730
end)
1731
1732
addcmd('heal', 'resets a players health',{},
1733
function(args)
1734
    local players = getPlayer(args[1])
1735
    for i,v in pairs(players)do
1736
        local pchar=_char(v)
1737
        if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
1738
    end
1739
end)
1740
1741
addcmd('decalspam', 'you can already guess...',{},
1742
function(args)
1743
Notify('Decal Spammed ID ' ..args[1])
1744
decalID = args[1]
1745
function exPro(root)
1746
for _, v in pairs(rootGetChildren()) do
1747
if vIsA(Decal) and v.Texture ~= httpwww.roblox.comassetid=..decalID then
1748
v.Parent = nil
1749
elseif vIsA(BasePart) then
1750
v.Material = Plastic
1751
v.Transparency = 0
1752
local One = Instance.new(Decal, v)
1753
local Two = Instance.new(Decal, v)
1754
local Three = Instance.new(Decal, v)
1755
local Four = Instance.new(Decal, v)
1756
local Five = Instance.new(Decal, v)
1757
local Six = Instance.new(Decal, v)
1758
One.Texture = httpwww.roblox.comassetid=..decalID
1759
Two.Texture = httpwww.roblox.comassetid=..decalID
1760
Three.Texture = httpwww.roblox.comassetid=..decalID
1761
Four.Texture = httpwww.roblox.comassetid=..decalID
1762
Five.Texture = httpwww.roblox.comassetid=..decalID
1763
Six.Texture = httpwww.roblox.comassetid=..decalID
1764
One.Face = Front
1765
Two.Face = Back
1766
Three.Face = Right
1767
Four.Face = Left
1768
Five.Face = Top
1769
Six.Face = Bottom
1770
end
1771
exPro(v)
1772
end
1773
end
1774
function asdf(root)
1775
for _, v in pairs(rootGetChildren()) do
1776
asdf(v)
1777
end
1778
end
1779
exPro(game.Workspace)
1780
asdf(game.Workspace)
1781
end)
1782
1783
addcmd('sky', 'sets the sky',{},
1784
function(args)
1785
s = Instance.new(Sky)
1786
s.Name = Sky
1787
s.Parent = game.Lighting
1788
skyboxID = args[1]
1789
s.SkyboxBk = httpwww.roblox.comassetid=..skyboxID
1790
s.SkyboxDn = httpwww.roblox.comassetid=..skyboxID
1791
s.SkyboxFt = httpwww.roblox.comassetid=..skyboxID
1792
s.SkyboxLf = httpwww.roblox.comassetid=..skyboxID
1793
s.SkyboxRt = httpwww.roblox.comassetid=..skyboxID
1794
s.SkyboxUp = httpwww.roblox.comassetid=..skyboxID
1795
game.Lighting.TimeOfDay = 12
1796
end)
1797
1798
addcmd('freeze', 'freezes a player',{'freeze'},
1799
function(args)
1800
	local players = getPlayer(args[1])
1801
	if players ~= nil then
1802
		for i, v in pairs(players) do
1803
			_char(v).Torso.Anchored = true
1804
		end
1805
	end
1806
end)
1807
1808
addcmd('thaw', 'unfreezes a player',{},
1809
function(args)
1810
	local players = getPlayer(args[1])
1811
	if players ~= nil then
1812
		for i, v in pairs(players) do
1813
			_char(v).Torso.Anchored = false
1814
		end
1815
	end
1816
end)
1817
1818
addcmd('kill', 'kills a player',{},
1819
function(args)
1820
    local players = getPlayer(args[1])
1821
    for i,v in pairs(players)do
1822
        local pchar=_char(v)
1823
        if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
1824
		Notify('RIP ' .. gPlayers[v].Name)
1825
    end
1826
end)
1827
1828
addcmd('sound', 'plays a sound',{},
1829
function(args)
1830
    local function dels(instance)
1831
        for i,v in pairs(instanceGetChildren())do
1832
            if vIsA'Sound'then vDestroy()end
1833
            dels(v)
1834
        end
1835
    end
1836
    dels(workspace)
1837
1838
    local c = args[1] or 'stop'
1839
    if std.inTable({'stop'}, clower()) then return end
1840
	local s = Instance.new(Sound, workspace)
1841
	s.Name = IYsound
1842
	s.Looped = true
1843
	s.SoundId = rbxassetid .. c
1844
    s.Volume = 1
1845
	sPlay()
1846
	Notify('Playing ' .. c)
1847
end)
1848
1849
addcmd('volume','changes volume of sound',{},
1850
function(args)
1851
	for i,v in pairs(game.WorkspaceGetChildren())do
1852
		if vIsA(Sound) and v.Name == IYsound then
1853
			v.Volume = args[1]
1854
			Notify('Changed volume to ' .. args[1])
1855
		end
1856
	end
1857
end)
1858
1859
addcmd('pitch','changes pitch of sound',{},
1860
function(args)
1861
	for i,v in pairs(game.WorkspaceGetChildren())do
1862
		if vIsA(Sound) and v.Name == IYsound then
1863
			v.Pitch = args[1]
1864
			Notify('Changed pitch to ' .. args[1])
1865
		end
1866
	end
1867
end)
1868
1869
addcmd('explode', 'explode a player', {},
1870
function(args)
1871
    local players = getPlayer(args[1])
1872
    for i, v in pairs(players) do
1873
        local char = _char(v)
1874
        if charFindFirstChild(Torso) then
1875
            Instance.new(Explosion, char).Position = char.Torso.Position					
1876
        end
1877
    end
1878
end)
1879
1880
addcmd('flood', 'makes a flood e.e', {},
1881
function(args)
1882
game.Workspace.TerrainSetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, Solid, X)
1883
end)
1884
1885
addcmd('spookyify', 'makes it sp00ky', {},
1886
function(args)
1887
local music = Instance.new(Sound, workspace)
1888
music.SoundId = httpwww.roblox.comassetid=257569267
1889
music.Volume = 20
1890
music.Looped = true
1891
musicPlay()
1892
1893
tex1 = httpwww.roblox.comassetid=185495987
1894
tex2 = httpwww.roblox.comassetid=260858020
1895
tex3 = httpwww.roblox.comassetid=149213919
1896
tex4 = httpwww.roblox.comassetid=171905673
1897
1898
local w = game.WorkspaceGetChildren()
1899
1900
for i= 1,#w do
1901
    if w[i]isA(BasePart) then
1902
        pe = Instance.new(ParticleEmitter, w[i])
1903
        pe.Texture = tex4
1904
        pe.VelocitySpread = 5
1905
    end
1906
end
1907
1908
local playerLeaderstats = {}
1909
for i, v in pairs(game.PlayersGetChildren()) do
1910
table.insert(playerLeaderstats, v)
1911
end
1912
for i, v in pairs(playerLeaderstats) do
1913
pe = Instance.new(ParticleEmitter,v.Character.Torso)
1914
pe.Texture = httpwww.roblox.comassetid=171905673
1915
pe.VelocitySpread = 50
1916
end
1917
1918
texture = httpwww.roblox.comassetid=185495987
1919
1920
local A = game.WorkspaceGetChildren()
1921
local B = game.WorkspaceGetChildren()
1922
local C = game.WorkspaceGetChildren()
1923
local D = game.WorkspaceGetChildren()
1924
local E = game.WorkspaceGetChildren()
1925
local F = game.WorkspaceGetChildren()
1926
for i,v in pairs(A) do
1927
    if vIsA(Part) then
1928
    local d =    Instance.new(Decal,v)
1929
        v.Decal.Face = Top
1930
        v.Decal.Texture = texture
1931
        v.Anchored = true        
1932
    end
1933
end
1934
1935
for i,v in pairs(B) do
1936
    if vIsA(Part) then
1937
        local s = Instance.new(Decal,v)
1938
        s.Face = Front
1939
        s.Texture = texture
1940
    end
1941
end
1942
1943
for i,v in pairs(C) do
1944
    if vIsA(Part) then
1945
        local h = Instance.new(Decal,v)
1946
        h.Face = Back
1947
        h.Texture = texture
1948
    end
1949
end
1950
1951
for i,v in pairs(D) do
1952
    if vIsA(Part) then
1953
        local j = Instance.new(Decal,v)
1954
        j.Face = Left
1955
        j.Texture = texture
1956
    end
1957
end
1958
1959
for i,v in pairs(E) do
1960
    if vIsA(Part) then
1961
        local k = Instance.new(Decal,v)
1962
        k.Face = Right
1963
        k.Texture = texture
1964
    end
1965
end
1966
1967
for i,v in pairs(F) do
1968
    if vIsA(Part) then
1969
        local l = Instance.new(Decal,v)
1970
        l.Face = Bottom
1971
        l.Texture = texture
1972
    end
1973
1974
	imageOne = httpwww.roblox.comassetid=169585459
1975
imageTwo = httpwww.roblox.comassetid=169585475
1976
imageThree = httpwww.roblox.comassetid=169585485
1977
imageFour = httpwww.roblox.comassetid=169585502
1978
imageFive = httpwww.roblox.comassetid=169585515
1979
imageSix = httpwww.roblox.comassetid=169585502
1980
imageSeven = httpwww.roblox.comassetid=169585485
1981
imageEight = httpwww.roblox.comassetid=169585475
1982
1983
Spooky = Instance.new(Sound, workspace)
1984
Spooky.Name = Spooky
1985
Spooky.SoundId = rbxassetid174270407
1986
Spooky.Volume = 15
1987
Spooky.Looped = true
1988
SpookyPlay()
1989
1990
Sky = Instance.new(Sky, game.Lighting)
1991
Sky.SkyboxBk = imageOne
1992
Sky.SkyboxDn = imageOne
1993
Sky.SkyboxFt = imageOne
1994
Sky.SkyboxLf = imageOne
1995
Sky.SkyboxRt = imageOne
1996
Sky.SkyboxUp = imageOne
1997
1998
1999
while true do
2000
    Sky.SkyboxBk = imageOne
2001
    Sky.SkyboxDn = imageOne
2002
    Sky.SkyboxFt = imageOne
2003
    Sky.SkyboxLf = imageOne
2004
    Sky.SkyboxRt = imageOne
2005
    Sky.SkyboxUp = imageOne
2006
    wait(0.15)
2007
    Sky.SkyboxBk = imageTwo
2008
    Sky.SkyboxDn = imageTwo
2009
    Sky.SkyboxFt = imageTwo
2010
    Sky.SkyboxLf = imageTwo
2011
    Sky.SkyboxRt = imageTwo
2012
    Sky.SkyboxUp = imageTwo
2013
    wait(0.15)
2014
    Sky.SkyboxBk = imageThree
2015
    Sky.SkyboxDn = imageThree
2016
    Sky.SkyboxFt = imageThree
2017
    Sky.SkyboxLf = imageThree
2018
    Sky.SkyboxRt = imageThree
2019
    Sky.SkyboxUp = imageThree
2020
    wait(0.15)
2021
    Sky.SkyboxBk = imageFour
2022
    Sky.SkyboxDn = imageFour
2023
    Sky.SkyboxFt = imageFour
2024
    Sky.SkyboxLf = imageFour
2025
    Sky.SkyboxRt = imageFour
2026
    Sky.SkyboxUp = imageFour
2027
    wait(0.15)
2028
    Sky.SkyboxBk = imageFive
2029
    Sky.SkyboxDn = imageFive
2030
    Sky.SkyboxFt = imageFive
2031
    Sky.SkyboxLf = imageFive
2032
    Sky.SkyboxRt = imageFive
2033
    Sky.SkyboxUp = imageFive
2034
    wait(0.15)
2035
    Sky.SkyboxBk = imageSix
2036
    Sky.SkyboxDn = imageSix
2037
    Sky.SkyboxFt = imageSix
2038
    Sky.SkyboxLf = imageSix
2039
    Sky.SkyboxRt = imageSix
2040
    Sky.SkyboxUp = imageSix
2041
    wait(0.15)
2042
    Sky.SkyboxBk = imageSeven
2043
    Sky.SkyboxDn = imageSeven
2044
    Sky.SkyboxFt = imageSeven
2045
    Sky.SkyboxLf = imageSeven
2046
    Sky.SkyboxRt = imageSeven
2047
    Sky.SkyboxUp = imageSeven
2048
    wait(0.15)
2049
    Sky.SkyboxBk = imageEight
2050
    Sky.SkyboxDn = imageEight
2051
    Sky.SkyboxFt = imageEight
2052
    Sky.SkyboxLf = imageEight
2053
    Sky.SkyboxRt = imageEight
2054
    Sky.SkyboxUp = imageEight
2055
    wait(0.15)
2056
    
2057
end
2058
end
2059
end)
2060
2061
addcmd('invisible', 'make a player invisible',{},
2062
function(args)
2063
    local players = getPlayer(args[1])
2064
    for i, v in pairs(players) do
2065
        for k, v2 in pairs(_char(v)GetChildren()) do
2066
			if v2.className == Part then
2067
                if v2.Name ~= HumanoidRootPart then v2.Transparency = 1 end
2068
            elseif v2.className == Hat then
2069
                if v2FindFirstChild(Handle) then
2070
                    v2.Handle.Transparency = 1 
2071
					Notify(gPlayers[v].Name .. ' is now invisible')
2072
                end
2073
			end
2074
            if v2FindFirstChild(face) then
2075
                v2.faceDestroy()
2076
			end
2077
		end
2078
    end
2079
end)
2080
2081
addcmd('visible', 'make a player visible',{},
2082
function(args)
2083
    local players = getPlayer(args[1])
2084
    for i, v in pairs(players) do
2085
        for k, v2 in pairs(_char(v)GetChildren()) do
2086
            if v2.className == Part then
2087
				if v2.Name ~= HumanoidRootPart then v2.Transparency = 0 end
2088
				elseif v2.className == Hat then
2089
                if v2FindFirstChild(Handle) then v2.Handle.Transparency = 0 end
2090
				Notify(gPlayers[v].Name .. ' is now visible')
2091
            end
2092
			if v2FindFirstChild(face) then
2093
				v2.faceDestroy()
2094
			end
2095
		end
2096
    end
2097
end)
2098
2099
addcmd('goto', 'go to a player',{},
2100
function(args)
2101
    local players = getPlayer(args[1])
2102
	if players ~= nil and _char(players[1])FindFirstChild(HumanoidRootPart) then
2103
		_char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
2104
	end
2105
end)
2106
2107
addcmd('bring', 'bring a player to you',{},
2108
function(args)
2109
    local players = getPlayer(args[1])
2110
	for i,v in pairs(players) do
2111
		if _char(v)FindFirstChild(HumanoidRootPart) then
2112
			_char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame	
2113
		end
2114
	end
2115
end)
2116
2117
addcmd('tp', 'teleport player 1 to player 2',{},
2118
function(args)
2119
    local players1=getPlayer(args[1])
2120
    local players2=getPlayer(args[2])
2121
    if not players2[1] then return end
2122
    for i,v in pairs(players1) do
2123
		if _char(v)FindFirstChild(HumanoidRootPart) and _char(players2[1])FindFirstChild(HumanoidRootPart) then
2124
			_char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
2125
			wait(0.1)
2126
			_char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
2127
		end		
2128
	end
2129
end)
2130
2131
addcmd('char', 'change a players appearance',{},
2132
function(args)
2133
    local players = getPlayer(args[1])
2134
    if not args[1]or not args[2]then return end
2135
    local id=args[2]
2136
	if players ~= nil then
2137
		for i,v in pairs(players) do
2138
			gPlayers[v].CharacterAppearance = httpwww.roblox.comAssetCharacterFetch.ashxuserId=..id
2139
			if _char(v)FindFirstChild(Head) then
2140
				_char(v).HeadDestroy()	
2141
			end
2142
		end
2143
	end
2144
end)
2145
2146
addcmd('speed', 'change a players walkspeed',{},
2147
function(args)
2148
    local players = getPlayer(args[1])
2149
    if not args[1]or not args[2]then return end
2150
    local num=args[2]
2151
	for i,v in pairs(players) do
2152
		if _char(v)FindFirstChild(Humanoid) then
2153
			_char(v).Humanoid.WalkSpeed=tonumber(num)
2154
			Notify(gPlayers[v].Name .. ' now has speed set to ' .. args[2])
2155
		end
2156
	end
2157
end)
2158
2159
addcmd('lightsaber', 'gives lightsaber',{},
2160
function(args)
2161
Players = gameGetService(Players)
2162
Player = Players.lolfarmer
2163
Bp = Player.Backpack
2164-
Player = Players.LocalPlayer
2164+
2165
Char = Player.Character
2166
Head = Char.Head
2167
Torso = Char.Torso
2168
Hum = Char.Humanoid
2169
Humanoid = Hum
2170
Neck = Torso[Neck]
2171
LS = Torso[Left Shoulder]
2172
RS = Torso[Right Shoulder]
2173
Ra = Char[Right Arm]
2174
La = Char[Left Arm]
2175
mouse = nil
2176
Mouse = nil
2177
2178
bets =
2179
{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z, }
2180
inew = Instance.new
2181
it = Instance.new
2182
bc = BrickColor.new
2183
vn = Vector3.new
2184
cn = CFrame.new
2185
ca = CFrame.Angles
2186
mpi = math.pi
2187
v3 = vn
2188
mr = math.rad
2189
br = BrickColor.new
2190
cf = CFrame.new
2191
ca = CFrame.Angles
2192
Colors = {Really Red}
2193
BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
2194
TrailColor = BladeColor
2195
HopperName = light saber
2196
Rage = 100000
2197
MaxRage = Rage
2198
SwordType = Single
2199
LeftDebounce = {}
2200
RightDebounce = {}
2201
OtherDebounce = {}
2202
Anim = {key = {}}
2203
for i=1,#bets do table.insert(Anim.key,bets) end
2204
Anim.Move = None
2205
Anim.Click = false
2206
Anim.Button = false
2207
Anim.CanBerserk = 0
2208
Anim.ComboBreak = false
2209
Anim.Equipped = false
2210
keydown = false
2211
Speed = 2
2212
RageIncome = 500
2213
Left = false
2214
Right = false
2215
Anim.Act = false
2216
RealSpeed = 35
2217
DebounceSpeed = 0.85Speed
2218
RageCost = {
2219
[Berserk] = 200;
2220
[RotorBlade] = 30;
2221
[Blocking] = 0.1;
2222
[Boomerang] = 30;
2223
[RageRegening] = -0.7;
2224
[BoulderForce] = 45;
2225
[ForceWave] = 65;
2226
[ForceWave] = 32;
2227
[Teleport] = 25;
2228
[DualSpin] = 4;
2229
}
2230
MagnitudeHit = {
2231
[ForceWave] = 500;
2232
}
2233
Damage = {
2234
[RotorBlade] = 8;
2235
[BoulderForce] = 100;
2236
[Boomerang] = 100;
2237
[ForceWave] = 100;
2238
[DualSpin] = 5;
2239
}
2240
Props = {}
2241
Props.MaxTeleDistance = 500
2242
Props.Buff = 1
2243
BlastMesh = Instance.new(FileMesh)
2244
BlastMesh.MeshId = httpwww.roblox.comassetid=20329976
2245
RingMesh = Instance.new(FileMesh)
2246
RingMesh.MeshId = httpwww.roblox.comassetid=3270017
2247
RockMesh = Instance.new(FileMesh)
2248
RockMesh.MeshId = httpwww.roblox.comassetid=1290033
2249
RockMesh.TextureId = httpwww.roblox.comassetid=1290030
2250
DiamondMesh = Instance.new(FileMesh)
2251
DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
2252
RingMesh = Instance.new(FileMesh)
2253
RingMesh.MeshId = httpwww.roblox.comassetid=3270017
2254
RockMesh = Instance.new(FileMesh)
2255
RockMesh.MeshId = httpwww.roblox.comassetid=1290033
2256
RockMesh.TextureId = httpwww.roblox.comassetid=1290030
2257
DiamondMesh = Instance.new(FileMesh)
2258
DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
2259
RockMesh = Instance.new(FileMesh)
2260
RockMesh.MeshId = httpwww.roblox.comassetid=1290033
2261
RockMesh.TextureId = httpwww.roblox.comassetid=1290030
2262
DiamondMesh = Instance.new(FileMesh)
2263
DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
2264
DiamondMesh = Instance.new(FileMesh)
2265
DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
2266
2267
function rayCast(Pos, Dir, Max, Ignore)
2268
return WorkspaceFindPartOnRay(Ray.new(Pos, Dir.unit  (Max or 999.999)), Ignore)
2269
end
2270
function MinusRage(raggge)
2271
Rage = Rage - raggge
2272
if Rage  0 then Rage = 0 end
2273
end
2274
2275
function r(zParent,zName)
2276
if zParentfindFirstChild(zName) ~= nil then
2277
zParent[zName]Remove()
2278
else
2279
end
2280
end
2281
function rclass(zParent,zClass)
2282
local ch = zParentGetChildren()
2283
for i=1,#ch do
2284
if (ch.className == zClass) then
2285
chRemove()
2286
else
2287
end
2288
end
2289
end
2290
2291
function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
2292
local funcw = Instance.new(Weld)
2293
funcw.Name = zName
2294
funcw.Parent = zParent
2295
funcw.Part0 = zPart0
2296
funcw.Part1 = zPart1
2297
if (zCoco == true) then
2298
funcw.C0 = CFrame.new(a,b,c) CFrame.fromEulerAnglesXYZ(d,e,f)
2299
else
2300
funcw.C1 = CFrame.new(a,b,c) CFrame.fromEulerAnglesXYZ(d,e,f)
2301
end
2302
return funcw
2303
end
2304
function Dash(ob,se,mes,of)
2305
local off = nil
2306
if of == nil then off = 0 else off = of end
2307
pcall(function()
2308
coroutine.resume(coroutine.create(function()
2309
local dashin = true
2310
local oldpos = (ob.CFrame CFrame.new(0,off,0)).p
2311
coroutine.resume(coroutine.create(function()
2312
wait(se) dashin = false end))
2313
for i=1,9999 do
2314
if dashin == false then break end
2315
local newpos = (ob.CFrame CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
2316
local np = Instance.new(Part)
2317
np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
2318
np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
2319
np.formFactor = Custom np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
2320
local mp = nil
2321
if mes ~= nil then
2322
np.Size = Vector3.new(2,mag,2) mp = Instance.new(FileMesh,np) mp.MeshId = mes else
2323
np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new(BlockMesh,np) end
2324
np.CFrame = CFrame.new(newpos,oldpos)
2325
np.CFrame = np.CFrame + np.CFrame.lookVector (mag2)
2326
if mes == BlastMesh.MeshId then np.CFrame = np.CFrame ca(mr(-90),0,0) else np.CFrame = np.CFrame ca(0,0,mr(-45)) end
2327
oldpos = newpos
2328
coroutine.resume(coroutine.create(function()
2329
for i=1,0,-0.1 do
2330
np.Transparency = np.Transparency + 0.03
2331
--if mes ~= nil then
2332
--mp.Scale = Vector3.new(i,mag,i) else
2333
mp.Scale = Vector3.new(i,i,1) -- end
2334
wait()
2335
end
2336
npRemove()
2337
end))
2338
wait(0.08)
2339
end
2340
end))
2341
end)
2342
end
2343
Sounds = {
2344
Boom = httpwww.roblox.comassetid=16976189;
2345
SniperFire = httpwww.roblox.comassetid=1369158;
2346
ShotgunFire2 = httpwww.roblox.comassetid=1868836;
2347
MinigunFire = httpwww.roblox.comassetid=2692806;
2348
MinigunCharge = httpwww.roblox.comassetid=2692844;
2349
MinigunDischarge = httpwww.roblox.comassetid=1753007;
2350
Flashbang = httpwww.roblox.comassetid=16976189;
2351
Beep = httpwww.roblox.comassetid=15666462;
2352
Smash = httpwww.roblox.comassetid=2801263;
2353
Punch = httpwww.roblox.comassetid=31173820;
2354
Slash = rbxassetsoundsswordslash.wav;
2355
Falcon = httpwww.roblox.comassetid=1387390;
2356
Cast = httpwww.roblox.comassetid=2101137;
2357
Spin = httpwww.roblox.comassetid=1369159;
2358
Abscond = httpwww.roblox.comassetid=2767090;
2359
ElectricalCharge = httpwww.roblox.comassetid=2800815;
2360
FireExplosion = httpwww.roblox.comassetid=3264793;
2361
SaberLightUp = httpwww.roblox.comassetid=10209303;
2362
SaberSlash = httpwww.roblox.comassetid=10209280;
2363
SaberHit = httpwww.roblox.comassetid=44463749;
2364
EnergyBlast = httpwww.roblox.comassetid=10209268;
2365
}
2366
function Sound(sid,pit,vol)
2367
local ss = Instance.new(Sound)
2368
ss.Name = Sound
2369
ss.Parent = Head
2370
ss.SoundId = sid
2371
ss.Pitch = pit
2372
ss.Volume = vol
2373
ss.PlayOnRemove = true
2374
wait()
2375
ssRemove()
2376
end
2377
2378
2379
r(Char,SwordPack)
2380
r(Char,Suit)
2381
r(Char,Saber ..Player.Name)
2382
r(Pg,Sabers)
2383
Suit = inew(Model)
2384
Suit.Name = Suit
2385
Suit.Parent = Char
2386
function p(pa,sh,x,y,z,c,a,tr,re,bc)
2387
local fp = it(Part,pa)
2388
fp.formFactor = Custom
2389
fp.Shape = sh
2390
fp.Size = v3(x,y,z)
2391
fp.CanCollide = c
2392
fp.Anchored = a
2393
fp.BrickColor = br(bc)
2394
fp.Transparency = tr
2395
fp.Reflectance = re
2396
fp.BottomSurface = 0
2397
fp.TopSurface = 0
2398
fp.CFrame = Torso.CFrame
2399
fpBreakJoints()
2400
return fp
2401
end
2402
function weld(pa,p0,p1,x,y,z,a,b,c)
2403
local fw = it(Weld,pa)
2404
fw.Part0 = p0
2405
fw.Part1 = p1
2406
fw.C0 = cf(x,y,z) ca(a,b,c)
2407
return fw
2408
end
2409
function ft(tab,nam)
2410
if tab == nil or nam == nil then print(U Fail table) return false end
2411
for i=1,#tab do
2412
if tab == nam then
2413
return i
2414
else
2415
end
2416
end
2417
return nil
2418
end
2419
function spm(ty,pa,ssx,ssy,ssz)
2420
local sp = it(SpecialMesh,pa)
2421
sp.MeshType = ty
2422
sp.Scale = Vector3.new(ssx,ssy,ssz)
2423
return sp
2424
end
2425
Torso.Transparency = 1
2426
Torm = Instance.new(Model,Char)
2427
Torm.Name = Saber ..Player.Name
2428
Tor = p(Torm,Block,1.98,1.98,1,false,false,0,0,basda) Tor.Name = Torso
2429
Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
2430
pcall(function() Char.ShirtClone().Parent = Torm end)
2431
pcall(function() Char.PantsClone().Parent = Torm end)
2432
function ShockWave(onb,scale,col)
2433
coroutine.resume(coroutine.create(function()
2434
local e1 = Instance.new(Part)
2435
e1.Anchored = true
2436
e1.formFactor = Custom
2437
e1.CanCollide = false
2438
e1.Size = Vector3.new(1,1,1)
2439
e1.BrickColor = BrickColor.new(col)
2440
e1.Transparency = 0.6
2441
e1.TopSurface = 0
2442
e1.BottomSurface = 0
2443
e1.Parent = Torm
2444
e1.CFrame = onb.CFrame
2445
e1.CFrame = e1.CFrame CFrame.Angles(math.rad(-90),0,0)
2446
local e1m = Instance.new(SpecialMesh)
2447
e1m.MeshType = FileMesh
2448
e1m.Scale = Vector3.new(3,3,3)
2449
e1m.Parent = e1
2450
e1m.MeshId = RingMesh.MeshId
2451
local r1 = Instance.new(Part)
2452
r1.Anchored = true
2453
r1.formFactor = Custom
2454
r1.CanCollide = false
2455
r1.Size = Vector3.new(1,1,1)
2456
r1.BrickColor = BrickColor.new(col)
2457
r1.Transparency = 0.6
2458
r1.TopSurface = 0
2459
r1.BottomSurface = 0
2460
r1.Parent = Torm
2461
r1.CFrame = e1.CFrame CFrame.Angles(math.rad(90),0,0)
2462
local r1m = Instance.new(SpecialMesh)
2463
r1m.MeshType = FileMesh
2464
r1m.Scale = Vector3.new(3,3,3)
2465
r1m.Parent = r1
2466
r1m.MeshId = BlastMesh.MeshId
2467
for i=1,30 do
2468
local pluscal = scale38
2469
e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2470
r1m.Scale = r1m.Scale + Vector3.new(pluscal1.5,pluscal3,pluscal1.5)
2471
r1.CFrame = r1.CFrame  CFrame.Angles(0,math.rad(6),0)
2472
wait()
2473
end
2474
for i=1,30 do
2475
local pluscal = scale38
2476
e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2477
r1m.Scale = r1m.Scale + Vector3.new(pluscal1.5,pluscal4,pluscal1.5)
2478
r1.CFrame = r1.CFrame  CFrame.Angles(0,math.rad(6),0)
2479
e1.Transparency = e1.Transparency + 0.1
2480
r1.Transparency = r1.Transparency + 0.1
2481
wait()
2482
end
2483
e1Remove()
2484
r1Remove()
2485
end))
2486
end
2487
2488
function Explode(onb,scale,col)
2489
coroutine.resume(coroutine.create(function()
2490
local e1 = Instance.new(Part)
2491
e1.Anchored = true
2492
e1.formFactor = Custom
2493
e1.CanCollide = false
2494
e1.Size = Vector3.new(1,1,1)
2495
e1.BrickColor = BrickColor.new(col)
2496
e1.Transparency = 0.6
2497
e1.TopSurface = 0
2498
e1.BottomSurface = 0
2499
e1.Parent = Torm
2500
e1.CFrame = onb.CFrame
2501
local e1m = Instance.new(SpecialMesh)
2502
e1m.MeshType = Sphere
2503
e1m.Parent = e1
2504
local r1 = Instance.new(Part)
2505
r1.Anchored = true
2506
r1.formFactor = Custom
2507
r1.CanCollide = false
2508
r1.Size = Vector3.new(1,1,1)
2509
r1.BrickColor = BrickColor.new(col)
2510
r1.Transparency = 0.6
2511
r1.TopSurface = 0
2512
r1.BottomSurface = 0
2513
r1.Parent = Torm
2514
r1.CFrame = e1.CFrame CFrame.Angles(math.rad(180),0,0)
2515
local r1m = Instance.new(SpecialMesh)
2516
r1m.MeshType = FileMesh
2517
r1m.Scale = Vector3.new(3,3,3)
2518
r1m.Parent = r1
2519
r1m.MeshId = RingMesh.MeshId
2520
local r2 = Instance.new(Part)
2521
r2.Anchored = true
2522
r2.formFactor = Custom
2523
r2.CanCollide = false
2524
r2.Size = Vector3.new(1,1,1)
2525
r2.BrickColor = BrickColor.new(col)
2526
r2.Transparency = 0.6
2527
r2.TopSurface = 0
2528
r2.BottomSurface = 0
2529
r2.Parent = Torm
2530
r2.CFrame = e1.CFrame CFrame.Angles(0,math.rad(180),0)
2531
local r2m = Instance.new(SpecialMesh)
2532
r2m.MeshType = FileMesh
2533
r2m.Parent = r2
2534
r2m.Scale = Vector3.new(3,3,3)
2535
r2m.MeshId = RingMesh.MeshId
2536
local bla = Instance.new(Part)
2537
bla.Anchored = true
2538
bla.formFactor = Custom
2539
bla.CanCollide = false
2540
bla.Size = Vector3.new(1,1,1)
2541
bla.BrickColor = BrickColor.new(col)
2542
bla.Transparency = 0.6
2543
bla.TopSurface = 0
2544
bla.BottomSurface = 0
2545
bla.Parent = Torm
2546
bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
2547
local blam = Instance.new(SpecialMesh)
2548
blam.MeshType = FileMesh
2549
blam.Parent = bla
2550
blam.Scale = Vector3.new(5,5,5)
2551
blam.MeshId = BlastMesh.MeshId
2552
for i=1,30 do
2553
local pluscal = scale38
2554
e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2555
r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2556
r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2557
blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal2,pluscal)
2558
bla.CFrame = bla.CFrame  CFrame.Angles(0,math.rad(12),0)
2559
r1.CFrame = r1.CFrame  CFrame.Angles(math.rad(6),0,0)
2560
r2.CFrame = r2.CFrame  CFrame.Angles(0,math.rad(6),0)
2561
wait()
2562
end
2563
for i=1,30 do
2564
local pluscal = scale38
2565
e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2566
r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2567
r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
2568
blam.Scale = blam.Scale + Vector3.new(pluscal1.5,pluscal3,pluscal1.5)
2569
bla.CFrame = bla.CFrame  CFrame.Angles(0,math.rad(12),0)
2570
r1.CFrame = r1.CFrame  CFrame.Angles(math.rad(6),0,0)
2571
r2.CFrame = r2.CFrame  CFrame.Angles(0,math.rad(6),0)
2572
bla.Transparency = bla.Transparency + 0.1
2573
e1.Transparency = e1.Transparency + 0.1
2574
r1.Transparency = r1.Transparency + 0.1
2575
r2.Transparency = r2.Transparency + 0.1
2576
wait()
2577
end
2578
e1Remove()
2579
r1Remove()
2580
r2Remove()
2581
end))
2582
end
2583
H1 = p(Torm,Block,0.5,0.9,0.5,false,false,0,0.1,Medium stone grey) spm(Head,H1,1,1.3,1)
2584
H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
2585
H2 = p(Torm,Block,0.5,0.9,0.5,false,false,0,0.1,Medium stone grey) spm(Head,H2,1,1.3,1)
2586
H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
2587
Des1 = p(Torm,Block,0.6,0.1,0.6,false,false,0,0.1,Black) Instance.new(CylinderMesh,Des1)
2588
Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
2589
Des2 = p(Torm,Block,0.6,0.1,0.6,false,false,0,0.1,Black) Instance.new(CylinderMesh,Des2)
2590
Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
2591
Des21 = p(Torm,Block,0.6,0.1,0.6,false,false,0,0.1,Black) Des21m = Instance.new(CylinderMesh,Des21) Des21m.Scale = Vector3.new(1,0.6,1)
2592
Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
2593
Des22 = p(Torm,Block,0.6,0.1,0.6,false,false,0,0.1,Black) Des22m = Instance.new(CylinderMesh,Des22) Des22m.Scale = Vector3.new(1,0.6,1)
2594
Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
2595
2596
Blad1 = p(Torm,Block,0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm(Head,Blad1,1,1,1)
2597
Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
2598
Blad2 = p(Torm,Block,0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm(Head,Blad2,1,1,1)
2599
Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
2600
Glow1 = p(Torm,Block,0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm(Head,Glow1,1,1,1)
2601
Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
2602
Glow2 = p(Torm,Block,0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm(Head,Glow2,1,1,1)
2603
Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
2604
2605
r(Bp,HopperName)
2606
bin = inew(HopperBin)
2607
bin.Name = HopperName
2608
bin.Parent = Bp
2609
2610
Gui = Instance.new(ScreenGui,Pg)
2611
Gui.Name = Sabers
2612
Frame = Instance.new(Frame,Gui)
2613
Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
2614
ImageGui = Instance.new(ImageLabel,Frame)
2615
ImageGui.Image = httpwww.roblox.comassetid=51262246
2616
ImageGui.BackgroundTransparency = 1
2617
ImageGui.Size = UDim2.new(0.3,0,0.075,0)
2618
HealthBar = Instance.new(ImageLabel,Frame)
2619
HealthBar.Image = httpwww.roblox.comassetid=48965808
2620
HealthBar.BorderSizePixel = 0
2621
HealthBar.Size = UDim2.new(0.23,0,0.017,0)
2622
HealthBar.Position = UDim2.new(0.06,0,0.017,0)
2623
RageBar = Instance.new(ImageLabel,Frame)
2624
RageBar.Image = httpwww.roblox.comassetid=48965808
2625
RageBar.BorderSizePixel = 0
2626
RageBar.Size = UDim2.new(0.165,0,0.012,0)
2627
RageBar.Position = UDim2.new(0.06,0,0.04,0)
2628
RageBar.BackgroundColor3 = BrickColor.new(Alder).Color
2629
SelectBar = Instance.new(ImageButton,Frame)
2630
SelectBar.Image = httpwww.roblox.comassetid=48965808
2631
SelectBar.BorderSizePixel = 0
2632
SelectBar.Size = UDim2.new(0.1,0,0.07,0)
2633
SelectBar.Position = UDim2.new(0.8,0,0.6,0)
2634
SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
2635
SelectrBar = Instance.new(TextLabel,SelectBar)
2636
SelectrBar.BackgroundTransparency = 1
2637
SelectrBar.BorderSizePixel = 0
2638
SelectrBar.Size = UDim2.new(0,0,0,0)
2639
SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
2640
SelectrBar.Font = ArialBold
2641
SelectrBar.FontSize = Size18
2642
SelectBar.MouseButton1Upconnect(function()
2643
if Anim.Move ~= None then return end
2644
if Anim.Act == true then return end
2645
if Anim.Equipped == false then return end
2646
if SwordType == Single then
2647
Anim.Move = Changing
2648
Anims.ChangeToDual(0,1,0.065Speed) SwordType = Dual
2649
Anim.Move = None
2650
else
2651
Anim.Move = Changing
2652
Anims.ChangeToSingle(0,1,0.065Speed) SwordType = Single
2653
Anim.Move = None
2654
end
2655
end)
2656
coroutine.resume(coroutine.create(function()
2657
while true do
2658
wait(0.05)
2659
local hh = Hum.Health local hmh = Hum.MaxHealth
2660
HealthBar.Size = UDim2.new((hhhmh)0.23,0,0.017,0)
2661
if ((hhhmh)100)  75 then
2662
HealthBar.BackgroundColor3 = BrickColor.new(Alder).Color
2663
elseif ((hhhmh)100)  25 and ((hhhmh)100)  76 then
2664
HealthBar.BackgroundColor3 = BrickColor.new(Deep orange).Color
2665
elseif ((hhhmh)100)  26 then
2666
HealthBar.BackgroundColor3 = BrickColor.new(Bright red).Color
2667
end
2668
RageBar.Size = UDim2.new((RageMaxRage)0.165,0,0.012,0)
2669
SelectrBar.Text = SwordType
2670
end
2671
end))
2672
-------
2673
function TellXPos(brick1,posd)
2674
local lb = p(nil,Block,1,1,1,true,false,1,0.1,BladeColor)
2675
lb.CFrame = CFrame.new((brick1.CFrame cf(-10,0,0)).p)
2676
local rb = p(nil,Block,1,1,1,true,false,1,0.1,BladeColor)
2677
rb.CFrame = CFrame.new((brick1.CFrame cf(10,0,0)).p)
2678
local posml = math.abs((posd - rb.Position).magnitude)
2679
local posmr = math.abs((posd - lb.Position).magnitude)
2680
if posml  posmr then
2681
return left
2682
else
2683
return right
2684
end
2685
end
2686
function GetNearPlayer(urpos,maxmag)
2687
if maxmag == nil then return nil end
2688
for i,v in pairs(game.PlayersGetChildren()) do
2689
if v.Character ~= Char and v.Character ~= nil and v.CharacterfindFirstChild(Torso) ~= nil and math.abs((v.Character.Torso.Position-urpos).magnitude)  maxmag then
2690
return v.Character.Torso
2691
end
2692
end
2693
return nil
2694
end
2695
function Dmgz(hum,dmg)
2696
dmg = dmgProps.Buff
2697
hum.Health = hum.Health - dmg
2698
Rage = Rage + ((dmg1.25)RageIncome)
2699
if Rage  MaxRage then Rage = MaxRage end
2700
end
2701
coroutine.resume(coroutine.create(function()
2702
while true do
2703
wait()
2704
if Right == true and Anim.Move == ForceWave then
2705
for i,v in pairs(workspaceGetChildren()) do
2706
coroutine.resume(coroutine.create(function()
2707
if v ~= Char and v ~= nil and vfindFirstChild(Torso) ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude)  MagnitudeHit[Anim.Move] then
2708
local hit = v.Torso
2709
if hit ~= nil and hit.ParentfindFirstChild(Humanoid) ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
2710
Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
2711
table.insert(RightDebounce,hit.Parent.Name)
2712
wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
2713
end
2714
else
2715
if vIsA(BasePart) and v.Anchored == false and math.abs((v.Position-Blad2.Position).magnitude)  MagnitudeHit[Anim.Move] then vBreakJoints() v.Velocity = cf(Blad2.Position,v.Position).lookVector30 + Vector3.new(0,20,0) end
2716
end
2717
end))
2718
end -- for
2719
end
2720
end
2721
end))
2722
Blad1.Touchedconnect(function(hit)
2723
if Left == true then
2724
if hit ~= nil and hit.ParentfindFirstChild(Humanoid) ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
2725
coroutine.resume(coroutine.create(function()
2726
table.insert(LeftDebounce,hit.Parent.Name)
2727
wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
2728
end))
2729
Sound(Sounds.SaberHit,1,1)
2730
Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
2731
else
2732
--if hit.ParentfindFirstChild(Humanoid) == nil and not hitIsDescendantOf(Char) and hit.Anchored == false then hitBreakJoints() hit.Velocity = cf(Blad1.Position,hit.Position).lookVector30 end
2733
end
2734
end
2735
end)
2736
2737
Blad2.Touchedconnect(function(hit)
2738
if Right == true then
2739
if hit ~= nil and hit.ParentfindFirstChild(Humanoid) ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
2740
coroutine.resume(coroutine.create(function()
2741
table.insert(RightDebounce,hit.Parent.Name)
2742
wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
2743
end))
2744
Sound(Sounds.SaberHit,1,1)
2745
Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
2746
else
2747
--if hit.ParentfindFirstChild(Humanoid) == nil and not hitIsDescendantOf(Char) and hit.Anchored == false then hitBreakJoints() hit.Velocity = cf(Blad2.Position,hit.Position).lookVector30 end
2748
end
2749
end
2750
end)
2751
LW = inew(Weld)
2752
RW = inew(Weld)
2753
Fla = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
2754
Fra = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
2755
Flaw = fWeld(Weld,Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
2756
Fraw = fWeld(Weld,Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
2757
Flaw.C1 = CFrame.new(0,0.5,0)
2758
Fraw.C1 = CFrame.new(0,0.5,0)
2759
2760
Fll = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
2761
Frl = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
2762
Fllw = fWeld(Weld,Fll,Torso,Fll,true,0,0,0,0,0,0)
2763
Frlw = fWeld(Weld,Fll,Torso,Frl,true,0,0,0,0,0,0)
2764
2765
function FeetWeld(yesorno,lhh,rhh)
2766
if yesorno == false then
2767
lhh.Parent = nil
2768
rhh.Parent = nil
2769
Lh.Parent = Torso
2770
Rh.Parent = Torso
2771
Lh.Part0 = Tor
2772
Rh.Part0 = Tor
2773
Lh.Part1 = Char[Left Leg]
2774
Rh.Part1 = Char[Right Leg]
2775
return Lh,Rh
2776
else
2777
Rh.Parent = nil
2778
Lh.Parent = nil
2779
local hl,hr = it(Weld,Torso),it(Weld,Torso)
2780
hl.Part0 = Fll
2781
hr.Part0 = Frl
2782
hl.Part1 = Char[Left Leg]
2783
hr.Part1 = Char[Right Leg]
2784
hr.C1 = cf(-0.5,1.75,0)
2785
hl.C1 = cf(0.5,1.75,0)
2786
return hl,hr
2787
end
2788
end
2789
Anims = {}
2790
Anims.Equip = function(i1,i2,is)
2791
Anim.Act = true
2792
for i=i1,i2,is do
2793
RW.C1 = ca(mr(40i),mr(20i),0)
2794
RW.C0 = cf(-0.4i,-0.1i,0.4i)
2795
wait()
2796
end
2797
H1w.Part0 = Ra
2798
H1w.Part1 = H1
2799
H1w.C0 = cf(0,-1.1,0) ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
2800
Sound(Sounds.Slash,1,1)
2801
for i=i1,i2,is do
2802
H1w.C0 = cf(0,-1.1,0) ca(0,mr(90+(270i)),0)
2803
LW.C1 = ca(mr(-80i),mr(40i),0)
2804
LW.C0 = cf(0.6i,0.3i,-1i)
2805
RW.C1 = ca(mr(40+(-120i)),mr(20+(-60i)),0)
2806
RW.C0 = cf(-0.4+(-0.2i),-0.1+(0.4i),0.4+(-1.4i))
2807
wait()
2808
end
2809
Sound(Sounds.SaberLightUp,3,1)
2810
for i=i1,i2,is do
2811
Blad1w.C0 = cf(0,0.95+(0.95i),0)
2812
Blad2w.C0 = cf(0,0.95+(0.95i),0)
2813
M1.Scale = Vector3.new(1,1i,1)
2814
M2.Scale = Vector3.new(1,1i,1)
2815
Blad1.Transparency = 0.9-(1i)
2816
Blad2.Transparency = 0.9-(1i)
2817
Glow1w.C0 = cf(0,0.95+(0.95i),0)
2818
Glow2w.C0 = cf(0,0.95+(0.95i),0)
2819
GM1.Scale = Vector3.new(1,1i,1)
2820
GM2.Scale = Vector3.new(1,1i,1)
2821
Glow1.Transparency = 1.05-(0.5i)
2822
Glow2.Transparency = 1.05-(0.5i)
2823
wait()
2824
end
2825
Anim.Act = false
2826
end
2827
Anims.UnEquip = function(i1,i2,is)
2828
Anim.Act = true
2829
Sound(Sounds.SaberLightUp,3,1)
2830
for i=i1,i2,is do
2831
Blad1w.C0 = cf(0,0.95+(0.95i),0)
2832
Blad2w.C0 = cf(0,0.95+(0.95i),0)
2833
M1.Scale = Vector3.new(1,1i,1)
2834
M2.Scale = Vector3.new(1,1i,1)
2835
Blad1.Transparency = 0.9-(1i)
2836
Blad2.Transparency = 0.9-(1i)
2837
Glow1w.C0 = cf(0,0.95+(0.95i),0)
2838
Glow2w.C0 = cf(0,0.95+(0.95i),0)
2839
GM1.Scale = Vector3.new(1,1i,1)
2840
GM2.Scale = Vector3.new(1,1i,1)
2841
Glow1.Transparency = 1.05-(0.5i)
2842
Glow2.Transparency = 1.05-(0.5i)
2843
wait()
2844
end
2845
Sound(Sounds.Slash,1,1)
2846
for i=i1,i2,is do
2847
H1w.C0 = cf(0,-1.1,0) ca(0,mr(90+(270i)),0)
2848
LW.C1 = ca(mr(-80i),mr(40i),0)
2849
LW.C0 = cf(0.6i,0.3i,-1i)
2850
RW.C1 = ca(mr(40+(-120i)),mr(20+(-60i)),0)
2851
RW.C0 = cf(-0.4+(-0.2i),-0.1+(0.4i),0.4+(-1.4i))
2852
wait()
2853
end
2854
H1w.Part0 = Torso
2855
H1w.Part1 = H1
2856
H1w.C0 = cf(0.4,-0.7,0.5) ca(0,0,mr(45))
2857
H1w.C1 = cf(0,0,0) ca(0,0,0)
2858
for i=i1,i2,is do
2859
RW.C1 = ca(mr(40i),mr(20i),0)
2860
RW.C0 = cf(-0.4i,-0.1i,0.4i)
2861
wait()
2862
end
2863
Anim.Act = false
2864
end
2865
Anims.ChangeToDual = function(i1,i2,is)
2866
Anim.Act = true
2867
for i=i1,i2,isSpeed do
2868
H1w.C0 = cf(0,-1.1,0) ca(mr(-80i),mr(50i),0)
2869
wait()
2870
end
2871
Sound(Sounds.SaberHit,1,1)
2872
Sound(Sounds.SaberLightUp,2,0.5)
2873
H1w.Part0 = La
2874
H1w.Part1 = H1
2875
H2w.Part0 = Ra
2876
H2w.Part1 = H2
2877
H2w.C1 = ca(mr(-90),0,0)
2878
for i=i1,i2,isSpeed do
2879
H1w.C0 = cf(0,-1.1,0) ca(0,mr(-90+(-90i)),mr(20+(-20i)))
2880
H2w.C0 = cf(0,-1.1,0) ca(0,mr(90+(90i)),mr(-35+(-35i)))
2881
LW.C1 = ca(mr(-80+(20i)),mr(40+(-70i)),0)
2882
LW.C0 = cf(0.6+(-0.6i),0.3+(-0.3i),-1+(0.5i))
2883
RW.C1 = ca(mr(-80+(20i)),mr(-40+(70i)),0)
2884
RW.C0 = cf(-0.6+(0.6i),0.3+(-0.3i),-1+(0.5i))
2885
wait()
2886
end
2887
Anim.Act = false
2888
end
2889
Anims.ChangeToSingle = function(i1,i2,is)
2890
Anim.Act = true
2891
for i=i2,i1,-isSpeed do
2892
H1w.C0 = cf(0,-1.1,0) ca(0,mr(-90+(-90i)),mr(20+(-20i)))
2893
H2w.C0 = cf(0,-1.1,0) ca(0,mr(90+(90i)),mr(-35+(-35i)))
2894
LW.C1 = ca(mr(-80+(20i)),mr(40+(-70i)),0)
2895
LW.C0 = cf(0.6+(-0.6i),0.3+(-0.3i),-1+(0.5i))
2896
RW.C1 = ca(mr(-80+(20i)),mr(-40+(70i)),0)
2897
RW.C0 = cf(-0.6+(0.6i),0.3+(-0.3i),-1+(0.5i))
2898
wait()
2899
end
2900
H1w.Part0 = Ra
2901
H1w.Part1 = H1
2902
H2w.Part0 = H1
2903
H2w.Part1 = H2
2904
H2w.C1 = ca(0,0,0)
2905
H2w.C0 = cf(0,-0.8,0) ca(mr(180),0,0)
2906
Sound(Sounds.SaberLightUp,2,0.5)
2907
Sound(Sounds.SaberHit,1,1)
2908
for i=i2,i1,-isSpeed do
2909
H1w.C0 = cf(0,-1.1,0) ca(mr(-80i),mr(50i),0)
2910
wait()
2911
end
2912
Anim.Act = false
2913
end
2914
Anims.RotorBlade = function(i1,i2,is,RaigCost)
2915
local lolpos = (Torso.Position - mouse.hit.p).unit
2916
local allx = (lolpos.y80)-10
2917
local ally = (((mouse.X-(mouse.ViewSizeX2))mouse.ViewSizeX)1.8)-90
2918
Anim.Act = true
2919
for i=i1,i2,is do
2920
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
2921
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(90i),0)
2922
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
2923
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(((-90)+ally)i),0)
2924
Torw.C1 = ca(0,mr(-90i),0)
2925
wait()
2926
end
2927
DebounceSpeed = DebounceSpeed - (0.5Speed)
2928
Hum.WalkSpeed = Hum.WalkSpeed + (8Speed)
2929
Left = true
2930
Right = true
2931
Dash(Blad1,2Speed,nil,2)
2932
Dash(Blad2,2Speed,nil,2)
2933
H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,-0.4,0) ca(mr(-90),0,0)
2934
local soundtime = 0
2935
for i=i1,i24,is do
2936
if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
2937
H1w.C0 = cf(0,-1.1,0) ca(0,mr(360i),0)
2938
wait()
2939
end
2940
H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,0,0) ca(mr(-90),0,0)
2941
DebounceSpeed = DebounceSpeed + (0.5Speed)
2942
Hum.WalkSpeed = Hum.WalkSpeed - (8Speed)
2943
Left = false
2944
Right = false
2945
for i=i2,i1,-is do
2946
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
2947
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(90i),0)
2948
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
2949
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(((-90)+ally)i),0)
2950
Torw.C1 = ca(0,mr(-90i),0)
2951
wait()
2952
end
2953
Torw.C1 = ca(0,0,0)
2954
Anim.Act = false
2955
end
2956
-------
2957
Anims.Boomerang = function(i1,i2,is,RaigCost)
2958
MinusRage(RaigCost)
2959
local lolpos = (Head.Position - mouse.hit.p).unit
2960
local allx = (lolpos.y80)-10
2961
Anim.Act = true
2962
for i=i1,i2,is do
2963
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
2964
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(60i),0)
2965
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
2966
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-60i),0)
2967
Torw.C1 = ca(0,mr(-60i),0)
2968
H1w.C0 = cf(0,-1.1,0) ca(mr(80i),0,0)
2969
wait()
2970
end
2971
DebounceSpeed = DebounceSpeed - (0.5Speed)
2972
Left = true
2973
Right = true
2974
Dash(Blad1,3.8Speed,nil,2)
2975
Dash(Blad2,3.8Speed,nil,2)
2976
H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,-0.4,0) ca(mr(-90),0,0)
2977
local soundtime = 0
2978
for i=i1,i2,is2 do
2979
if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
2980
H1w.C0 = cf(10i,-1.1+(-15i),0) ca(mr(90),mr(720i),0)
2981
wait()
2982
end
2983
for i=i1,i2,is2 do
2984
if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
2985
H1w.C0 = cf(10+(-20i),-16.1,0) ca(mr(90),mr(720i),0)
2986
wait()
2987
end
2988
for i=i1,i2,is2 do
2989
if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
2990
H1w.C0 = cf(-10+(10i),-16.1+(15i),0) ca(mr(90),mr(720i),0)
2991
wait()
2992
end
2993
H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,0,0) ca(mr(-90),0,0)
2994
DebounceSpeed = DebounceSpeed + (0.5Speed)
2995
Left = false
2996
Right = false
2997
for i=i2,i1,-is do
2998
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
2999
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(60i),0)
3000
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
3001
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-60i),0)
3002
Torw.C1 = ca(0,mr(-60i),0)
3003
H1w.C0 = cf(0,-1.1,0) ca(mr(80i),0,0)
3004
wait()
3005
end
3006
Torw.C1 = ca(0,0,0)
3007
Anim.Act = false
3008
end
3009
Anims.BoulderForce = function(i1,i2,is,RaigCost)
3010
MinusRage(RaigCost)
3011
Anim.Act = true
3012
for i=i1,i2,is do
3013
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
3014
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
3015
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
3016
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
3017
Torw.C1 = ca(0,mr(50i),0)
3018
wait()
3019
end
3020
local bould = p(workspace,Block,4,4,8,true,true,0,0,Medium stone grey) bould.Name = Boulder bould.Material = Concrete
3021
local rm = RockMeshClone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
3022
bould.Elasticity = 0 bould.Friction = 2 bould.CFrame = cf(Torso.Position.x+(math.random(-14,14)),Torso.Position.y-5,Torso.Position.z+(math.random(-14,14))) CFrame.Angles(math.random(-33,33)10,math.random(-33,33)10,math.random(-33,33)10)
3023
local warpdes = true
3024
local bpos = bould.Position
3025
Sound(Sounds.Cast,0.95,0.8)
3026
coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
3027
for i=0,1,0.08 do bould.CFrame = CFrame.new(bpos.x,bpos.y,bpos.z) + Vector3.new(0,20i,0) wait() end wait(1) bould.CFrame = CFrame.new(bpos.x,bpos.y+20,bpos.z) bould.CFrame = cf(bould.Position,mouse.hit.p)
3028
bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector (math.random(180,350)) bould.Touchedconnect(function(hit) Functions.BoulderTouch(hit,bould) end)
3029
wait(0.5)
3030
warpdes = false
3031
game.DebrisAddItem(bould,10)
3032
for i=i2,i1,-is do
3033
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
3034
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
3035
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
3036
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
3037
Torw.C1 = ca(0,mr(50i),0)
3038
wait()
3039
end
3040
Torw.C1 = ca(0,0,0)
3041
Anim.Act = false
3042
end
3043
Anims.ForceWave = function(i1,i2,is,RaigCost)
3044
local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
3045
if Hit == nil then Anim.Act = false return end
3046
MinusRage(RaigCost)
3047
Anim.Act = true
3048
lh2,rh2 = FeetWeld(true,Lh,Rh)
3049
local bp2 = Instance.new(BodyPosition,Torso)
3050
bp2.maxForce = Vector3.new(0,math.huge,0)
3051
Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
3052
DebounceSpeed = DebounceSpeed + (1.1Speed)
3053
bp2.position = Torso.Position + Vector3.new(0,25,0)
3054
Dash(Blad1,2.5Speed)
3055
Dash(Blad2,2.5Speed)
3056
local wav = p(Torm,Block,0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
3057
local wavm = BlastMeshClone()
3058
wavm.Parent = wav
3059
wavm.Scale = Vector3.new(15,6,15)
3060
local cff = Torso.CFrame - Vector3.new(0,0,0)
3061
coroutine.resume(coroutine.create(function()
3062
Dash(Blad1,4Speed)
3063
Dash(Blad2,4Speed)
3064
for i=i1,i2,isSpeed do
3065
LW.C1 = ca(mr(-80+(-100i)),mr(40-(40i)),mr(45i))
3066
LW.C0 = cf(0.6,0.3+(1.4i),-1+(1i))
3067
RW.C1 = ca(mr(-80+(-100i)),mr(-40+(40i)),mr(-45i))
3068
RW.C0 = cf(-0.6,0.3+(1.4i),-1+(1i))
3069
lh2.C1 = ca(mr(30i),0,mr(15i))
3070
rh2.C1 = ca(mr(30i),0,mr(-15i))
3071
lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
3072
rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
3073
H1w.C0 = cf(0,-1.1+(-0.9i),0) ca(0,mr(360i),0)
3074
H1w.C1 = ca(mr(-90+(40i)),0,0)
3075
wait()
3076
end for i=i1,i23,isSpeed do H1w.C1 = ca(mr(-50),mr(360i),0) wait() end end)) Sound(Sounds.Cast,0.45,1) for i=i1,i25,is do Functions.BrickWarpDesign(Torso,13) wav.CFrame = cff ca(0,mr(180i),0) wait() end
3077
for i=1,0.3,-0.14Speed do wav.Transparency = i wait() end wavRemove()
3078
for i=i2,i1,-isSpeed do
3079
LW.C1 = ca(mr(-80+(-100i)),mr(40-(40i)),mr(45i))
3080
LW.C0 = cf(0.6,0.3+(1.4i),-1+(1i))
3081
RW.C1 = ca(mr(-80+(-100i)),mr(-40+(40i)),mr(-45i))
3082
RW.C0 = cf(-0.6,0.3+(1.4i),-1+(1i))
3083
lh2.C1 = ca(mr(30i),0,mr(15i))
3084
rh2.C1 = ca(mr(30i),0,mr(-15i))
3085
lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
3086
rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
3087
H1w.C0 = cf(0,-1.1+(-0.9i),0) ca(0,mr(360i),0)
3088
H1w.C1 = ca(mr(-90+(40i)),0,0)
3089
wait()
3090
end
3091
bp2Remove()
3092
local bg = Instance.new(BodyGyro,Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
3093
local bp = Instance.new(BodyPosition,Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
3094
rpos = math.abs(hitpos.y - Torso.Position.y)
3095
rpos = rpos - 1.2
3096
local tpos = Torso.Position
3097
Hum.WalkSpeed = 0
3098
Hum.PlatformStand = true
3099
Dash(Blad2,1.6Speed,RingMesh.MeshId)
3100
for i=i1,i2,is do
3101
bp.position = tpos - Vector3.new(0,rposi,0)
3102
Neck.C0 = cf(0,1-(0.5i),-0.5i) ca(Neck.C1toEulerAnglesXYZ())
3103
Torw.C1 = ca(mr(20i),0,0)
3104
Torw.C0 = cf(0,-0.2i,-0.2i)
3105
lh2.C0 = cf(-0.5,-1.9+(1i),-1.1i) ca(mr(10i),mr(90),0)
3106
rh2.C0 = cf(0.5,-1.9+(1i),0.1i) ca(mr(-95i),mr(-90),0)
3107
LW.C1 = ca(mr(-80+(30i)),mr(40),0)
3108
LW.C0 = cf(0.6,0.3-(0.3i),-1+(0.3i))
3109
RW.C1 = ca(mr(-80+(30i)),mr(-40),0)
3110
RW.C0 = cf(-0.6,0.3-(0.3i),-1+(0.3i))
3111
H1w.C0 = cf(0,-1.1,0) ca(mr(55i),0,0)
3112
wait()
3113
end
3114
wait(0.25)
3115
Sound(Sounds.Boom,0.5,1)
3116
Sound(Sounds.EnergyBlast,0.9,1)
3117
Right = true
3118
ShockWave(Torso,50,BladeColor)
3119
wait(1.5)
3120
Right = false
3121
local t2pos = Torso.Position
3122
for i=i2,i1,-is do
3123
bp.position = t2pos - Vector3.new(0,1.5-(1.5i),0)
3124
Neck.C0 = cf(0,1-(0.5i),-0.5i) ca(Neck.C1toEulerAnglesXYZ())
3125
Torw.C1 = ca(mr(20i),0,0)
3126
Torw.C0 = cf(0,-0.2i,-0.2i)
3127
lh2.C0 = cf(-0.5,-1.9+(1i),-1.1i) ca(mr(10i),mr(90),0)
3128
rh2.C0 = cf(0.5,-1.9+(1i),0.1i) ca(mr(-95i),mr(-90),0)
3129
LW.C1 = ca(mr(-80+(30i)),mr(40),0)
3130
LW.C0 = cf(0.6,0.3-(0.3i),-1+(0.3i))
3131
RW.C1 = ca(mr(-80+(30i)),mr(-40),0)
3132
RW.C0 = cf(-0.6,0.3-(0.3i),-1+(0.3i))
3133
H1w.C0 = cf(0,-1.1,0) ca(mr(55i),0,0)
3134
wait()
3135
end
3136
DebounceSpeed = DebounceSpeed - (1.1Speed)
3137
bpRemove()
3138
bgRemove()
3139
Hum.PlatformStand = false
3140
Hum.WalkSpeed = RealSpeed
3141
Torw.C1 = ca(0,0,0)
3142
Anim.Act = false
3143
Lh,Rh = FeetWeld(false,lh2,rh2)
3144
end
3145
Anims.DualSpin = function(i1,i2,is,RaigCost)
3146
MinusRage(RaigCost)
3147
Anim.Act = true
3148
for i=i1,i2,isSpeed do
3149
H1w.C0 = cf(0,-1.1,0) ca(0,mr(-180-(-90i)),mr(0i)) H1w.C1 = ca(mr(-90-(60i)),0,mr(0i))
3150
H2w.C0 = cf(0,-1.1,0) ca(0,mr(180-(270i)),mr(0i)) H2w.C1 = ca(mr(-90+(-30i)),0,0)
3151
LW.C1 = ca(mr(-60+(-40i)),mr(-30+(-75i)),mr(0i))
3152
LW.C0 = cf(0.13i,0.5i,-0.5+(0.5i))
3153
RW.C1 = ca(mr(-60+(-20i)),mr(30+(45i)),mr(0i))
3154
RW.C0 = cf(0.13i,0.4i,-0.5+(0.4i))
3155
wait()
3156
end
3157
DebounceSpeed = DebounceSpeed - (0.5Speed) Right = true Left = true Dash(Blad1,2.6Speed,nil,2) Dash(Blad2,2.6Speed,nil,2) local x,y,z = Neck.C0toEulerAnglesXYZ()
3158
local soundtime = 0
3159
for i=i1,i24,isSpeed do if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end Torw.C1 = ca(0,mr(i360),0) Neck.C0 = cf(0,1,0) ca(x,y,z+mr(-360i)) wait() end Neck.C0 = cf(0,1,0) ca(x,y,z)Torw.C1 = ca(0,0,0)
3160
DebounceSpeed = DebounceSpeed + (0.5Speed) for i=i2,i1,-isSpeed do
3161
H1w.C0 = cf(0,-1.1,0) ca(0,mr(-180-(-90i)),mr(0i)) H1w.C1 = ca(mr(-90-(60i)),0,mr(0i))
3162
H2w.C0 = cf(0,-1.1,0) ca(0,mr(180-(270i)),mr(0i)) H2w.C1 = ca(mr(-90+(-30i)),0,0)
3163
LW.C1 = ca(mr(-60+(-40i)),mr(-30+(-75i)),mr(0i))
3164
LW.C0 = cf(0.13i,0.5i,-0.5+(0.5i))
3165
RW.C1 = ca(mr(-60+(-20i)),mr(30+(45i)),mr(0i))
3166
RW.C0 = cf(0.13i,0.4i,-0.5+(0.4i))
3167
wait()
3168
end Right = false Left = false
3169
Anim.Act = false
3170
end
3171
3172
----------------------------
3173
----------------------------
3174
----------------------------
3175
----------------------------
3176
3177
Lh = Torso[Left Hip]
3178
Rh = Torso[Right Hip]
3179
3180
Functions = {}
3181
Functions.BoulderTouch = function(hit2,bould)
3182
print(bould.Name)
3183
for i,v in pairs(workspaceGetChildren()) do
3184
if v ~= Char and v ~= nil and vfindFirstChild(Torso) ~= nil and vfindFirstChild(Humanoid) ~= nil then
3185
if math.abs((v.Torso.Position-bould.Position).magnitude)  11 and ft(RightDebounce,v.Name) == nil then
3186
Sound(Sounds.Smash,1,1)
3187
Dmgz(v.Humanoid,Damage[BoulderForce])
3188
table.insert(RightDebounce,v.Name)
3189
print(v.Name)
3190
coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
3191
end
3192
else
3193
if v ~= bould and vIsA(BasePart) and v.Anchored == false and math.abs((v.Position-bould.Position).magnitude)  11 then vBreakJoints() v.Velocity = cf(bould.Position,v.Position).lookVector10 + Vector3.new(0,10,0) end
3194
end
3195
end -- for
3196
end
3197
Functions.Sparkle = function(bb,scal,si)
3198
if si == nil then si = 1 end
3199
local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
3200
local np = p(Torm,Block,0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
3201
np.CFrame = cf(rand.x,rand.y,rand.z) ca(math.random(-33,33)10,math.random(-33,33)10,math.random(-33,33)10)
3202
local dm = DiamondMeshClone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
3203
coroutine.resume(coroutine.create(function()
3204
for i=0,1si,0.1si do
3205
dm.Scale = Vector3.new(1i,1.25i,1i)
3206
wait()
3207
end
3208
end))
3209
coroutine.resume(coroutine.create(function()
3210
wait(0.1)
3211
for i=0,1,0.1 do
3212
np.Transparency = i
3213
wait()
3214
end
3215
npRemove()
3216
end))
3217
end
3218
Functions.BrickWarpDesign = function(bb,scal)
3219
local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
3220
local mag = (rand - bb.Position).magnitude
3221
local np = p(Torm,Block,0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
3222
np.CFrame = cf(bb.Position,rand)
3223
np.CFrame = np.CFrame + np.CFrame.lookVector((scal5)+(mag2))
3224
coroutine.resume(coroutine.create(function()
3225
for i=0.1,1,0.05 do
3226
np.Transparency = i
3227
wait()
3228
end
3229
npRemove()
3230
end))
3231
end
3232
Functions.RageRegen = function()
3233
local lostcontrol = false
3234
local hpos = Torso.Position.y + 10
3235
Anim.Move = RageRegening
3236
Anim.Act = true
3237
local wav = p(Torm,Block,0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
3238
local wavm = BlastMeshClone()
3239
wavm.Parent = wav
3240
local wavv = 0
3241
wavm.Scale = Vector3.new(5,3.5,5)
3242
wav.CFrame = cf((Torso.CFrame  CFrame.new(0,-2.5,0)).p) ca(0,mr(wavv),0)
3243
local bp = Instance.new(BodyPosition,Torso)
3244
bp.maxForce = Vector3.new(0,math.huge,0)
3245
Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
3246
bp.position = Torso.Position + Vector3.new(0,10,0)
3247
local bpos = bp.position
3248
coroutine.resume(coroutine.create(function()
3249
lh2,rh2 = FeetWeld(true,Lh,Rh)
3250
if SwordType == Single then
3251
for i=0,1,0.1Speed do
3252
LW.C1 = ca(mr(-80+(-30i)),mr(40-(40i)),0)
3253
LW.C0 = cf(0.6-(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(120i),0)
3254
RW.C1 = ca(mr(-80+(-30i)),mr(-40+(40i)),0)
3255
RW.C0 = cf(-0.6+(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(-120i),0)
3256
lh2.C1 = ca(mr(30i),0,mr(15i))
3257
rh2.C1 = ca(mr(30i),0,mr(-15i))
3258
lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
3259
rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
3260
wait()
3261
end
3262
else
3263
for i=0,1,0.1Speed do
3264
LW.C1 = ca(mr(-60+(-50i)),mr(-40-(-40i)),0)
3265
LW.C0 = cf(-0.1,0.8i,-0.5+(1.2i)) ca(0,mr(120i),0)
3266
RW.C1 = ca(mr(-60+(-50i)),mr(40+(-40i)),0)
3267
RW.C0 = cf(0.1,0.8i,-0.5+(1.2i)) ca(0,mr(-120i),0)
3268
lh2.C1 = ca(mr(30i),0,mr(15i))
3269
rh2.C1 = ca(mr(30i),0,mr(-15i))
3270
lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
3271
rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
3272
wait()
3273
end
3274
end
3275
local function movezx(i1,i2,is,bp)
3276
if SwordType == Single then
3277
for i=i1,i2,isSpeed do
3278
LW.C1 = ca(mr(-120+(20i)),0,0)
3279
LW.C0 = cf(0,0.8,0.7) ca(0,mr(120+(20i)),0)
3280
RW.C1 = ca(mr(-120+(20i)),0,0)
3281
RW.C0 = cf(0,0.8,0.7) ca(0,mr(-120+(-20i)),0)
3282
lh2.C1 = ca(mr(30+(-15i)),0,mr(15+(-8i)))
3283
rh2.C1 = ca(mr(30+(-15i)),0,mr(-15+(8i)))
3284
lh2.C0 = cf(-0.7,-1.9,0.35)
3285
rh2.C0 = cf(0.7,-1.9,0.35)
3286
bp.position = Vector3.new(bpos.x,(hpos+10)+(3i),bpos.z)
3287
wait()
3288
end
3289
else
3290
for i=i1,i2,isSpeed do
3291
LW.C1 = ca(mr(-110),mr(0),0)
3292
LW.C0 = cf(-0.1,0.8,0.7) ca(0,mr(120+(20i)),0)
3293
RW.C1 = ca(mr(-110),mr(0),0)
3294
RW.C0 = cf(0.1,0.8,0.7) ca(0,mr(-120+(-20i)),0)
3295
lh2.C1 = ca(mr(30+(-15i)),0,mr(15+(-8i)))
3296
rh2.C1 = ca(mr(30+(-15i)),0,mr(-15+(8i)))
3297
lh2.C0 = cf(-0.7,-1.9,0.35)
3298
rh2.C0 = cf(0.7,-1.9,0.35)
3299
bp.position = Vector3.new(bpos.x,(hpos+10)+(3i),bpos.z)
3300
wait()
3301
end
3302
end
3303
end
3304
local moved = 2
3305
repeat
3306
if Rage = MaxRage or Anim.key.z == false then break end
3307
if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
3308
until Rage = MaxRage or Anim.key.z == false or lostcontrol == true
3309
if SwordType == Single then
3310
for i=1,0,-0.1Speed do
3311
LW.C1 = ca(mr(-80+(-30i)),mr(40-(40i)),0)
3312
LW.C0 = cf(0.6-(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(120i),0)
3313
RW.C1 = ca(mr(-80+(-30i)),mr(-40+(40i)),0)
3314
RW.C0 = cf(-0.6+(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(-120i),0)
3315
lh2.C1 = ca(mr(30i),0,mr(15i))
3316
rh2.C1 = ca(mr(30i),0,mr(-15i))
3317
lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
3318
rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
3319
wait()
3320
end
3321
else
3322
for i=1,0,-0.1Speed do
3323
LW.C1 = ca(mr(-60+(-50i)),mr(-40-(-40i)),0)
3324
LW.C0 = cf(-0.1,0.8i,-0.5+(1.2i)) ca(0,mr(120i),0)
3325
RW.C1 = ca(mr(-60+(-50i)),mr(40+(-40i)),0)
3326
RW.C0 = cf(0.1,0.8i,-0.5+(1.2i)) ca(0,mr(-120i),0)
3327
lh2.C1 = ca(mr(30i),0,mr(15i))
3328
rh2.C1 = ca(mr(30i),0,mr(-15i))
3329
lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
3330
rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
3331
wait()
3332
end
3333
end
3334
Lh,Rh = FeetWeld(false,lh2,rh2)
3335
wait(0.6)
3336
Anim.Act = false
3337
Anim.Move = None
3338
end))
3339
for i=1,0.3,-0.14Speed do wav.Transparency = i wait() end
3340
rpos = 0
3341
Sound(Sounds.Cast,0.8,1)
3342
repeat wait()
3343
local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
3344
if Hit == nil then lostcontrol = true break end
3345
hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
3346
if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost[RageRegening]RageIncome)
3347
wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) ca(0,mr(wavv),0)
3348
until Rage = MaxRage or Anim.key.z == false
3349
for i=0.3,01,0.14Speed do wav.Transparency = i wait() end wavRemove()
3350
bpRemove()
3351
Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
3352
end
3353
Functions.Teleport = function(i1,i2,is,RaigCost)
3354
Anim.Act = true
3355
for i=i1,i2,isSpeed do
3356
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
3357
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
3358
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
3359
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
3360
Torw.C1 = ca(0,mr(50i),0)
3361
wait()
3362
end
3363
local tele = false
3364
local tele2 = false -- for mouse
3365
local mouseact = mouse.Button1Upconnect(function() tele2 = true end)
3366
coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
3367
local telepos = Torso.Position
3368
local telehit = nil
3369
local wav = p(Torm,Block,0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
3370
local wavm = BlastMeshClone()
3371
wavm.Parent = wav
3372
local wavv = 0
3373
wavm.Scale = Vector3.new(3.5,2,3.5)
3374
repeat
3375
local mpos = mouse.hit.p + Vector3.new(0,2,0)
3376
telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
3377
wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
3378
if telehit ~= nil then wav.Transparency = 0 wav.CFrame = cf(telepos.x,telepos.y+1,telepos.z) ca(0,mr(wavv),0) else wav.Transparency = 1 end
3379
wait() until tele == true or tele2 == true mouseactdisconnect()
3380
if telehit == nil or math.abs((Torso.Position - telepos).magnitude)  Props.MaxTeleDistance then
3381
Sound(Sounds.Punch,1,1) for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5i),2,3.5+(5i)) wav.Transparency = i wait() end wavRemove()
3382
wavRemove()
3383
else
3384
MinusRage(RaigCost)
3385
for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
3386
ShockWave(Torso,7,BladeColor)
3387
Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
3388
ShockWave(Torso,7,BladeColor)
3389
for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
3390
for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5i),2,3.5+(5i)) wav.Transparency = i wait() end wavRemove()
3391
end
3392
for i=i2,i1,-isSpeed do
3393
LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
3394
LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
3395
RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
3396
RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
3397
Torw.C1 = ca(0,mr(50i),0)
3398
wait()
3399
end
3400
Anim.Act = false
3401
end
3402
3403
--------------------------------------------------------------------------------------------------------------
3404
--------------------------------------------------------------------------------------------------------------
3405
--------------------------------------------------------------------------------------------------------------
3406
--------------------------------------------------------------------------------------------------------------
3407
bin.Selectedconnect(function(mm)
3408
Mouse = mouse
3409
mouse = mm
3410
Torso[Left Hip].Part0 = Tor
3411
Torso[Right Hip].Part0 = Tor
3412
RS.Parent = nil
3413
LS.Parent = nil
3414
RW.Parent = Torso
3415
RW.Part0 = Fra
3416
RW.Part1 = Ra
3417
LW.Parent = Torso
3418
LW.Part0 = Fla
3419
LW.Part1 = La
3420
RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
3421
LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
3422
Anims.Equip(0,1,0.07Speed)
3423
Anim.Equipped = true
3424
mouse.KeyDownconnect(function(key)
3425
keylower()
3426
pcall(function() Anim.key[keylower()] = true end)
3427
keydown = true
3428
if key == z and Anim.Move == None and not Anim.Act then
3429
Functions.RageRegen()
3430
end
3431
if SwordType == Single then
3432
if key == e and Anim.Move == None and not Anim.Act and RageCost[RotorBlade] = Rage then
3433
Anim.Move = RotorBlade
3434
Anims.RotorBlade(0,1,0.08Speed,RageCost[RotorBlade])
3435
Anim.Move = None
3436
elseif key == q and Anim.Move == None and not Anim.Act and RageCost[Boomerang] = Rage then
3437
Anim.Move = Boomerang
3438
Anims.Boomerang(0,1,0.08Speed,RageCost[Boomerang])
3439
Anim.Move = None
3440
elseif key == f and Anim.Move == None and not Anim.Act and RageCost[BoulderForce] = Rage then
3441
Anim.Move = BoulderForce
3442
Anims.BoulderForce(0,1,0.08Speed,RageCost[BoulderForce])
3443
Anim.Move = None
3444
elseif key == r and Anim.Move == None and not Anim.Act and RageCost[ForceWave] = Rage then
3445
Anim.Move = ForceWave
3446
Anims.ForceWave(0,1,0.08Speed,RageCost[ForceWave])
3447
Anim.Move = None
3448
elseif key == t and Anim.Move == None and not Anim.Act and RageCost[Teleport] = Rage then
3449
Anim.Move = Teleport
3450
Functions.Teleport(0,1,0.08Speed,RageCost[Teleport])
3451
Anim.Move = None
3452
end
3453
elseif SwordType == Dual then
3454
if key == e and Anim.Move == None and not Anim.Act and RageCost[DualSpin] = Rage then
3455
Anim.Move = DualSpin
3456
Anims.DualSpin(0,1,0.08Speed,RageCost[DualSpin])
3457
Anim.Move = None
3458
end
3459
end
3460
end)
3461
mouse.KeyUpconnect(function(key)
3462
pcall(function() Anim.key[keylower()] = false end)
3463
keydown = false
3464
end)
3465
3466
mouse.Button1Downconnect(function() Anim.Button = true
3467
if not Anim.Click and Anim.Move == None and not Anim.Act then
3468
Anim.Click = true
3469
if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
3470
if Anim.CanBerserk == 0 and RageCost[Berserk] = Rage then
3471
Rage = Rage - RageCost[Berserk]
3472
Anim.ComboBreak = true
3473
Speed = Speed + 0.5
3474
Anim.CanBerserk = Anim.CanBerserk + 1
3475
--Anim.Move = LeftPunch
3476
--Anims.LeftPunch(0,1,0.1Speed,0) Anim.Move = None
3477
elseif Anim.CanBerserk == 2 then
3478
Anim.CanBerserk = 0
3479
end
3480
coroutine.resume(coroutine.create(function() local oldcomb = Anim.CanBerserk wait(0.5) if Anim.ComboBreak == true and Anim.CanBerserk == oldcomb then Anim.ComboBreak = false Speed = Speed -0.5 Anim.CanBerserk = 0 end end))
3481
wait(0.1)
3482
Anim.Click = false
3483
end
3484
end)
3485
mouse.Button1Upconnect(function() Anim.Button = false
3486
end)
3487
end)
3488
bin.Deselectedconnect(function(mouse)
3489
Anim.Equipped = false
3490
if SwordType == Dual then Anims.ChangeToSingle(0,1,0.25Speed) SwordType = Single end
3491
Anims.UnEquip(1,0,-0.08Speed)
3492
RW.Parent = nil
3493
LW.Parent = nil
3494
RS.Parent = Torso
3495
RS.Part0 = Torso
3496
RS.Part1 = Ra
3497
LS.Parent = Torso
3498
LS.Part0 = Torso
3499
LS.Part1 = La
3500
if Rh.Parent == nil then
3501
FeetWeld(false,Lh,Rh)
3502
end
3503
Torso[Left Hip].Part0 = Torso
3504
Torso[Right Hip].Part0 = Torso
3505
end)
3506
Hum.WalkSpeed = RealSpeed
3507
Rage = 100000
3508
wait(5)
3509
end)
3510
3511
addcmd('time', 'change the time of day',{},
3512
function(args)
3513
    if not args[1]then return end
3514
    local time_=tonumber(args[1])
3515
	Notify('Time set to ' .. args[1])
3516
    
3517
    game.LightingSetMinutesAfterMidnight(time_60)
3518
end)
3519
3520
addcmd('kick', 'kick a player',{},
3521
function(args)
3522
    local players = getPlayer(args[1])
3523
	for i,v in pairs(players) do
3524
lol=function(wt) -- thx man
3525
 if(wt~=nil)then 
3526
    spawn(function()
3527
        pcall(function()
3528
local vic=wt
3529
3530
local skt=Instance.new(SkateboardPlatform, vic)
3531
skt.CFrame=CFrame.new(math.random(-1000,1000),1000,math.random(-1000,1000))
3532
skt.CanCollide=false
3533
skt.Anchored=false
3534
skt.Transparency=1
3535
skt.Size=Vector3.new(5,1,5)
3536
vic.Humanoid.WalkSpeed=0
3537
vic.Humanoid.Jump=true
3538
wait(.2)
3539
local wld=Instance.new(Weld, workspace)
3540
wld.Part0=vic.Torso
3541
wld.Part1=skt
3542
wld.C0=CFrame.new(0,-500,0)
3543
wait(.5)
3544
skt.Anchored=true
3545
wldDestroy()
3546
Notify('Kicked ' .. gPlayers[v].Name)
3547
end)
3548
 end);
3549
 end;
3550
end;
3551
lol(gPlayers[v].Character)
3552
end
3553
end)
3554
3555
addcmd('ban', 'ban a player',{},
3556
function(args)
3557
gameGetService(RunService).Heartbeatconnect(function(heart)
3558
    local players = getPlayer(args[1])
3559
	for i,v in pairs(players) do
3560
lol=function(wt) -- thx man
3561
 if(wt~=nil)then 
3562
    spawn(function()
3563
        pcall(function()
3564
local vic=wt
3565
3566
local skt=Instance.new(SkateboardPlatform, vic)
3567
skt.CFrame=CFrame.new(math.random(-1000,1000),1000,math.random(-1000,1000))
3568
skt.CanCollide=false
3569
skt.Anchored=false
3570
skt.Transparency=1
3571
skt.Size=Vector3.new(5,1,5)
3572
vic.Humanoid.WalkSpeed=0
3573
vic.Humanoid.Jump=true
3574
wait(.2)
3575
local wld=Instance.new(Weld, workspace)
3576
wld.Part0=vic.Torso
3577
wld.Part1=skt
3578
wld.C0=CFrame.new(0,-500,0)
3579
wait(.5)
3580
skt.Anchored=true
3581
wldDestroy()
3582
Notify('Banned ' .. gPlayers[v].Name)
3583
end)
3584
 end);
3585
 end;
3586
end;
3587
lol(gPlayers[v].Character)
3588
end
3589
end)
3590
end)
3591
3592
addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
3593
function(args)
3594
	Notify('Workspace unlocked')
3595
	wait(1)
3596
    local function unlock(instance) 
3597
        for i,v in pairs(instanceGetChildren()) do
3598
            if vIsA(BasePart) then
3599
                v.Locked = false
3600
            end
3601
            unlock(v)
3602
        end
3603
    end
3604
    unlock(workspace)
3605
end)
3606
3607
addcmd('lockws', 'lock the whole workspace',{'lock'},
3608
function(args)
3609
	Notify('Workspace locked')
3610
	wait(1)
3611
    local function lock(instance) 
3612
        for i,v in pairs(instanceGetChildren()) do
3613
            if vIsA(BasePart) then
3614
                v.Locked = true
3615
            end
3616
            lock(v)
3617
        end
3618
    end
3619
    lock(workspace)
3620
end)
3621
3622
addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
3623
function(args)
3624
Notify('What have you done ' .. Player.Name .. '!')
3625
wait(1)
3626
   local function unanchor(instance) 
3627
        for i,v in pairs(instanceGetChildren()) do
3628
            if vIsA(BasePart) then
3629
                v.Anchored=false
3630
            end
3631
            unanchor(v)
3632
        end
3633
    end
3634
    unanchor(workspace)
3635
end)
3636
3637
addcmd('hat', 'give player a hat ingame',{},
3638
function(args)
3639
    if not args[1] or not args[2] then return end
3640
	local players = getPlayer(args[1])
3641
    local id=args[2]
3642
	local hat = gameGetService(InsertService)LoadAsset(id)
3643
	if hatIsA(Hat) then
3644
		for i,v in pairs(players) do
3645
			hatclone().Parent = _char(v)
3646
		end		
3647
	end
3648
	hatDestroy()
3649
end)
3650
3651
addcmd('gear', 'give player a gear ingame',{},
3652
function(args)
3653
	spawn(function()
3654
	    if not args[1] or not args[2] then return end
3655
		local players = getPlayer(args[1])
3656
	    local id=args[2]
3657
		local model = gameGetService(InsertService)LoadAsset(id)
3658
		for i,v in pairs(players) do
3659
			for _,j in pairs(modelGetChildren()) do
3660
				if jIsA(Tool) then
3661
					jClone().Parent = gPlayers[v].Backpack
3662
					Notify('Gave ' .. gPlayers[v].Name .. ' ' .. args[2])
3663
				end
3664
			end
3665
		end
3666
		modelDestroy()
3667
	end)
3668
end)
3669
3670
addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
3671
function(args)
3672
	local players = getPlayer(args[1])
3673
	for i,v in pairs(players) do
3674
		spawn(function()
3675
			gPlayers[v].PersonalServerRank = 240
3676
			gPlayers[v].BackpackWaitForChild(ClassicTool)
3677
			gPlayers[v].PersonalServerRank = 0
3678
		end)
3679
	end
3680
end)
3681
3682
addcmd('admin', 'gives a player admin',{},
3683
function(args)
3684
    if not args[1]then return end
3685
    local players = getPlayer(args[1])
3686
    table.foreach(players,function(k,v)
3687
        admins[v]=true
3688
        Notify('Gave' .. gPlayers[v].Name .. ' admin.')
3689
    end)
3690
	for i,v in pairs(players) do
3691
		local pchar = gPlayers[v].Character
3692
		game.ChatChat(pchar.Head, You've been given admin.)
3693
		wait(2.5)
3694
		game.ChatChat(pchar.Head, 'Prefix is ' .. cmdprefix .. '')
3695
	end
3696
end)
3697
3698
addcmd('unadmin', 'removes a players admin',{},
3699
function(args)
3700
    if not args[1] then return end
3701
    local players = getPlayer(args[1])
3702
    table.foreach(players,function(k,v)
3703
        admins[v]=nil
3704
        Notify(gPlayers[v].Name .. ' no longer has Admin.')
3705
    end)
3706
end)
3707
3708
addcmd('explorer', 'opens DEX',{},
3709
function(args)
3710
function makeThread(str)
3711
	local newstr = coroutine.resume(coroutine.create(function()n
3712
	newstr = newstr .. str .. n
3713
	newstr = newstr .. end))n
3714
	return newstr
3715
end
3716
3717
local gui = gameGetObjects(rbxassetid464671430)[1]
3718
gui.ExplorerPanel.LocalScript.Source = string.gsub(gui.ExplorerPanel.LocalScript.Source,script.Parent,game.CoreGui.Dex.ExplorerPanel)
3719
gui.PropertiesFrame.Properties.Source = string.gsub(gui.PropertiesFrame.Properties.Source,script.Parent.Parent,game.CoreGui.Dex)
3720
gui.Selection.Source = string.gsub(gui.Selection.Source,script.Parent,game.CoreGui.Dex)
3721
gui.ScriptEditor.LocalScript.Source = string.gsub(gui.ScriptEditor.LocalScript.Source,script.Parent,game.CoreGui.Dex.ScriptEditor)
3722
gui.Parent = game.CoreGui
3723
3724
local a = makeThread(gui.ExplorerPanel.LocalScript.Source)
3725
local b = makeThread(gui.PropertiesFrame.Properties.Source)
3726
local c = makeThread(gui.Selection.Source)
3727
local d = makeThread(gui.ScriptEditor.LocalScript.Source)
3728
3729
loadstring(a..b..c..d)()
3730
end)
3731
3732
addcmd('firstp', 'forces player to go into first person',{},
3733
function(args)
3734
    local players = getPlayer(args[1])
3735
    for i,v in pairs(players)do
3736
        gPlayers[v].CameraMode = LockFirstPerson
3737
		Notify(gPlayers[v].Name .. ' is now first person')
3738
    end
3739
end)
3740
3741
addcmd('base', 'spawns a base',{},
3742
function(args)
3743
local pt = Instance.new(Part)
3744
pt.BrickColor = BrickColor.new(Silver)
3745
pt.Anchored = true
3746
pt.CanCollide = true
3747
pt.BottomSurface = Weld
3748
pt.Parent = workspace
3749
pt.Name = (math.random(1,1000000))
3750
pt.Size = Vector3.new(1000, 1, 1000)
3751
Notify('Created new base')
3752
end)
3753
3754
addcmd('fix', 'restores lighting and what not',{},
3755
function(args)
3756
game.Lighting.Ambient = origsettings.abt
3757
game.Lighting.Brightness = origsettings.brt
3758
game.Lighting.TimeOfDay = origsettings.time
3759
game.Lighting.FogColor = origsettings.fclr
3760
game.Lighting.FogEnd = origsettings.fe
3761
game.Lighting.FogStart = origsettings.fs
3762
end)
3763
3764
addcmd('thirdp', 'allows player to go into third person',{},
3765
function(args)
3766
    local players = getPlayer(args[1])
3767
    for i,v in pairs(players)do
3768
        gPlayers[v].CameraMode = Classic
3769
		Notify(gPlayers[v].Name .. ' is now third person')
3770
    end
3771
end)
3772
3773
addcmd('chat', 'forces player to chat what you input',{},
3774
function(args)
3775
    local players = getPlayer(args[1])
3776
	local MSG = table.concat(args,  )
3777
	local newMSG = string.gsub(MSG, args[1] ..  , )
3778
    for i,v in pairs(players)do
3779
        game.ChatChat(gPlayers[v].Character.Head, newMSG)
3780
    end
3781
end)
3782
3783
addcmd('insert', 'inserts a model',{},
3784
function(args)
3785
    local model = gameGetService(InsertService)LoadAsset(args[1])
3786
    model.Parent = game.Workspace
3787
    modelMoveTo(game.Players.lolfarmer.Character.Torso.Position)
3788
    modelMakeJoints()
3789-
    modelMoveTo(game.Players.LocalPlayer.Character.Torso.Position)
3789+
3790
3791
addcmd('name', 'names player',{},
3792
function(args)
3793
    local players = getPlayer(args[1])
3794
    local msg = table.concat(args,  )
3795
    local newmsg = string.gsub(msg, args[1] ..  , )
3796
	for i,v in pairs(players) do
3797
		for a, mod in pairs(gPlayers[v].Characterchildren()) do
3798
		if modFindFirstChild(TAG) then
3799
		gPlayers[v].Character.Head.Transparency = 0
3800
		modDestroy()
3801
		end
3802
		end
3803
		
3804
		local char = gPlayers[v].Character
3805
		local model = Instance.new(Model, char)
3806
		local clone = char.HeadClone()
3807
		local hum = Instance.new(Humanoid, model)
3808
		local weld = Instance.new(Weld, clone)
3809
			model.Name = newmsg 
3810
			clone.Parent = model
3811
			hum.Name = TAG
3812
			hum.MaxHealth = 100
3813
			hum.Health = 100
3814
			weld.Part0 = clone
3815
			weld.Part1 = char.Head
3816
			char.Head.Transparency = 1
3817
			Notify(gPlayers[v].Name .. ' name set to ' ..newmsg)
3818
	end
3819
end)
3820
3821
addcmd('unname', 'unnames player',{},
3822
function(args)
3823
    local players = getPlayer(args[1])
3824
    local name = (args[2])
3825
	for i,v in pairs(players) do
3826
		for a, mod in pairs(gPlayers[v].Characterchildren()) do
3827
			if modFindFirstChild(TAG) then
3828
				gPlayers[v].Character.Head.Transparency = 0
3829
				modDestroy()
3830
				Notify('Unnamed ' ..gPlayers[v].Name)
3831
			end
3832
		end
3833
	end
3834
end)
3835
3836
addcmd('stun', 'stuns player',{},
3837
function(args)
3838
    local players = getPlayer(args[1])
3839
	for i,v in pairs(players) do
3840
		gPlayers[v].Character.Humanoid.PlatformStand = true
3841
	end
3842
end)
3843
3844
addcmd('unstun', 'stuns player',{},
3845
function(args)
3846
    local players = getPlayer(args[1])
3847
	for i,v in pairs(players) do
3848
		gPlayers[v].Character.Humanoid.PlatformStand = false
3849
	end
3850
end)
3851
3852
addcmd('sit', 'stuns player',{},
3853
function(args)
3854
    local players = getPlayer(args[1])
3855
	for i,v in pairs(players) do
3856
		gPlayers[v].Character.Humanoid.Sit = true
3857
	end
3858
end)
3859
3860
addcmd('guest', 'ew a guest',{},
3861
function(args)
3862
	local players = getPlayer(args[1])
3863
	for i,v in pairs(players) do
3864
		gPlayers[v].CharacterAppearance = httpwww.roblox.comAssetCharacterFetch.ashxuserId=1
3865
		gPlayers[v].CharacterBreakJoints()
3866
	end
3867
end)
3868
3869
addcmd('damage', 'damages a player',{},
3870
function(args)
3871
	local players = getPlayer(args[1])
3872
	for i,v in pairs(players) do
3873
		gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
3874
		Notify('Gave ' .. gPlayers[v].Name .. ' damage')
3875
	end
3876
end)
3877
3878
addcmd('view', 'views player',{},
3879
function(args)
3880
	local players = getPlayer(args[1])
3881
	for i,v in pairs(players) do
3882
		game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
3883
		Notify('Viewing ' .. gPlayers[v].Name)
3884
	end
3885
end)
3886
3887
addcmd('unview', 'stops viewing player',{},
3888
function()
3889
	game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
3890
	Notify('View turned off')
3891
end)
3892
3893
addcmd('nolimbs', 'removes limbs from player',{},
3894
function(args)
3895
	local players = getPlayer(args[1])
3896
	for i,v in pairs(players) do
3897
		for i,v in pairs(gPlayers[v].CharacterGetChildren()) do
3898
			if vIsA(BasePart) and
3899
				v.Name == Right Leg or
3900
				v.Name == Left Leg or
3901
				v.Name == Right Arm or
3902
				v.Name == Left Arm then
3903
				vRemove()
3904
			end
3905
		end
3906
	end	
3907
end)
3908
3909
addcmd('box', 'creates a box around player',{},
3910
function(args)
3911
    local players = getPlayer(args[1])
3912
    for i,v in pairs(players)do
3913
        local pchar=_char(v)
3914
        local SB = Instance.new(SelectionBox, pchar)
3915
        SB.Adornee = SB.Parent
3916
        SB.Color = BrickColor.new( .. (args[2]))
3917
    end
3918
end)
3919
3920
addcmd('nobox', 'takes away box from player',{'unbox'},
3921
function(args)
3922
    local players = getPlayer(args[1])
3923
    for i,v in pairs(players)do
3924
        local pchar=_char(v)
3925
        for i,v in pairs(gPlayers[v].CharacterGetChildren()) do
3926
			if vIsA(SelectionBox) then
3927
				vDestroy()
3928
			end
3929
	    end
3930
    end
3931
end)
3932
3933
addcmd('ghost', 'ghostifys player',{},
3934
function(args)
3935
    local players = getPlayer(args[1])
3936
    for i,v in pairs(players)do
3937
        local pchar=gPlayers[v].Character
3938
        pchar.Head.Transparency = 0.5
3939
        pchar.Torso.Transparency = 0.5
3940
        pchar[Left Arm].Transparency = 0.5
3941
        pchar[Right Arm].Transparency = 0.5
3942
        pchar[Left Leg].Transparency = 0.5
3943
        pchar[Right Leg].Transparency = 0.5
3944
        pchar.Head.face.Transparency = 0.5
3945
    end
3946
end)
3947
3948
addcmd('sphere', 'puts sphere around player',{},
3949
function(args)
3950
    local players = getPlayer(args[1])
3951
    for i,v in pairs(players)do
3952
        local pchar=gPlayers[v].Character
3953
        local SS = Instance.new(SelectionSphere, pchar)
3954
        SS.Adornee = SS.Parent
3955
    end
3956
end)
3957
3958
addcmd('loadmap','loads map from model',{},
3959
function(args)
3960
    pcall(function()
3961
	for i,v in pairs(workspaceGetChildren()) do
3962
		if v.Name~=Camera and v.Name~=Terrain then
3963
			vDestroy()
3964
		end
3965
	end
3966
	workspace.TerrainClear()
3967
	for i,v in pairs(game.PlayersGetChildren()) do
3968
		local plr = v
3969
		local prt = Instance.new(Model, workspace)
3970
		Instance.new(Part, prt).Name=Torso
3971
		Instance.new(Part, prt).Name=Head
3972
		Instance.new(Humanoid, prt).Name=Humanoid
3973
		plr.Character = prt
3974
	end
3975
	if (args[1]) == sfotho then
3976
	    local b = Insert(296400126, game.Workspace, sfotho)
3977
	    bMakeJoints()
3978
	end
3979
	local b = Insert(args[1], game.Workspace, LoadedMap)
3980
	bMakeJoints()
3981
end)
3982
Notify('Loaded Map')
3983
end)
3984
3985
addcmd('ambient','changes ambient',{},
3986
function(args)
3987
	game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
3988
end)
3989
3990
addcmd('gui','gives YourMom GUI',{},
3991
function(args)
3992
	loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
3993
end)
3994
3995
addcmd('jail','jails player',{},
3996
function(args)
3997
	local players = getPlayer(args[1])
3998
    for i,v in pairs(players)do
3999
        local pchar=gPlayers[v].Character
4000
        local JailPlayer = DATA.JAILClone()
4001
	    JailPlayer.Parent = game.Workspace
4002
	    JailPlayerMoveTo(pchar.Torso.Position)
4003
	    JailPlayer.Name = JAIL_ .. gPlayers[v].Name
4004
		if pcharFindFirstChild(HumanoidRootPart) then
4005
			pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
4006
		end		
4007
    end
4008
end)
4009
4010
addcmd('unjail','unjails player',{},
4011
function(args)
4012
	local players = getPlayer(args[1])
4013
	for i,v in pairs(players)do
4014
		game.Workspace[JAIL_ .. gPlayers[v].Name]Destroy()
4015
	end
4016
end)
4017
4018
addcmd('shutdown', 'shuts the server down',{},
4019
function(args)
4020
	local function ShutDown(Base)
4021
		for i,v in pairs(BaseGetChildren()) do
4022
			vDestroy()
4023
			Notify('Shutting Down...')
4024
		end
4025
	end
4026
	ShutDown(game.Players)
4027
end)
4028
4029
addcmd('animation','makes player animate',{'anim'},
4030
function(args)
4031
    local players = getPlayer(args[1])
4032
    for i,v in pairs(players)do
4033
	    local pchar = gPlayers[v].Character
4034
        local ID = args[2]
4035
4036
        if args[2] == climb then
4037
	        ID = 180436334
4038
    end
4039
        if args[2] == fall then
4040
	        ID = 180436148
4041
    end
4042
        if args[2] == jump then
4043
	        ID = 125750702
4044
    end
4045
        if args[2] == sit then
4046
	        ID = 178130996
4047
    end
4048
        for _,x in pairs(gPlayers[v].Character.AnimateGetChildren()) do
4049
            if xIsA(StringValue) then
4050
                for _,c in pairs(xGetChildren()) do
4051
	                if cIsA(Animation) then
4052
	            	    c.AnimationId = rbxassetid .. ID
4053
	                end
4054
	            end
4055
            end
4056
        end
4057
    end
4058
end)
4059
4060
addcmd('normal','turns player back to normal',{},
4061
function(args)
4062
    local players = getPlayer(args[1])
4063
    for i,v in pairs(players)do
4064
		local pchar = gPlayers[v].Character
4065
		
4066
	    pchar.Torso.Neck.C0 = CFrame.new(0,1,0)  CFrame.Angles(math.rad(90),math.rad(180),0)
4067
	    pchar.Torso[Right Shoulder].C0 = CFrame.new(1,0.5,0)  CFrame.Angles(0,math.rad(90),0)
4068
	    pchar.Torso[Left Shoulder].C0 = CFrame.new(-1,0.5,0)  CFrame.Angles(0,math.rad(-90),0)
4069
	    pchar.Torso[Right Hip].C0 = CFrame.new(1,-1,0)  CFrame.Angles(0,math.rad(90),0)
4070
	    pchar.Torso[Left Hip].C0 = CFrame.new(-1,-1,0)  CFrame.Angles(0,math.rad(-90),0)
4071
	
4072
	    for i,v in pairs(pchar.HeadGetChildren()) do
4073
		    if vIsA(SpecialMesh) then
4074
			    vDestroy()
4075
		    end
4076
	    end
4077
	
4078
		for i,v in pairs(pcharGetChildren()) do
4079
			if vIsA(Shirt) then
4080
				vDestroy()
4081
			end
4082
		end
4083
		
4084
		for i,v in pairs(pcharGetChildren()) do
4085
			if vIsA(Pants) then
4086
				vDestroy()
4087
			end
4088
		end
4089
		
4090
		if Player.CharacterFindFirstChild(Shirt Graphic) ~= nil then
4091
			Player.Character[Shirt Graphic].Graphic = 
4092
		end
4093
		
4094
		local HeadMesh = Instance.new(SpecialMesh, pchar.Head)
4095
		HeadMesh.MeshType = Head
4096
		HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
4097
		
4098
		pchar.Head.Transparency = 0
4099
		pchar.Torso.Transparency = 0
4100
		pchar[Left Arm].Transparency = 0
4101
		pchar[Right Arm].Transparency = 0
4102
		pchar[Left Leg].Transparency = 0
4103
		pchar[Right Leg].Transparency = 0
4104
		
4105
		for i,v in pairs(pchar.HeadGetChildren()) do
4106
			if vIsA(Decal) then
4107
				vDestroy()
4108
			end
4109
		end
4110
		
4111
		local face = Instance.new(Decal, pchar.Head)
4112
		face.Name = face
4113
		face.Texture = rbxassettexturesface.png
4114
		face.Face = Front
4115
		
4116
		for i,v in pairs(pcharGetChildren()) do
4117
			if vIsA(Seat) then
4118
				vDestroy()
4119
			end
4120
		end
4121
		
4122
		for i,v in pairs(pchar.TorsoGetChildren()) do
4123
			if vIsA(Weld) then
4124
				vDestroy()
4125
			end
4126
		end
4127
		
4128
		for i,v in pairs(pchar.TorsoGetChildren()) do
4129
			if vIsA(SpecialMesh) then
4130
				vDestroy()
4131
			end
4132
		end
4133
		
4134
		pchar[Body Colors].HeadColor = BrickColor.new(Cool yellow)
4135
		pchar[Body Colors].LeftArmColor = BrickColor.new(Cool yellow)
4136
		pchar[Body Colors].LeftLegColor = BrickColor.new(Medium blue)
4137
		pchar[Body Colors].RightArmColor = BrickColor.new(Cool yellow)
4138
		pchar[Body Colors].RightLegColor = BrickColor.new(Medium blue)
4139
		pchar[Body Colors].TorsoColor = BrickColor.new(Bright blue)
4140
		for _,v in pairs(Player.CharacterGetChildren()) do
4141
			if vIsA(Hat) then
4142
				vDestroy()
4143
			end
4144
		end
4145
    end
4146
end)
4147
4148
addcmd('creeper','make the player a creeper',{'crpr'},
4149
function(args)
4150
    local players = getPlayer(args[1])
4151
    for i,v in pairs(players)do
4152
	local pchar = gPlayers[v].Character
4153
        if gPlayers[v] and pchar and pcharfindFirstChild(Torso) then
4154
            if pcharFindFirstChild(Shirt) then
4155
	            pchar.Shirt.Parent = pchar.Torso
4156
            end
4157
            if pcharFindFirstChild(Pants) then
4158
	            pchar.Pants.Parent = pchar.Torso
4159
            end
4160
            if pcharFindFirstChild(Shirt Graphic) then
4161
	            pchar[Shirt Graphic].Graphic = 
4162
            end
4163
            for i,v in pairs(pcharGetChildren()) do
4164
	            if vIsA(Hat) then
4165
		            vDestroy()
4166
	            end
4167
            end
4168
            pchar.Torso.Neck.C0 = CFrame.new(0,1,0)  CFrame.Angles(math.rad(90),math.rad(180),0)
4169
            pchar.Torso[Right Shoulder].C0 = CFrame.new(0,-1.5,-.5)  CFrame.Angles(0,math.rad(90),0)
4170
            pchar.Torso[Left Shoulder].C0 = CFrame.new(0,-1.5,-.5)  CFrame.Angles(0,math.rad(-90),0)
4171
            pchar.Torso[Right Hip].C0 = CFrame.new(0,-1,.5)  CFrame.Angles(0,math.rad(90),0)
4172
            pchar.Torso[Left Hip].C0 = CFrame.new(0,-1,.5)  CFrame.Angles(0,math.rad(-90),0)
4173
            pchar[Body Colors].HeadColor = BrickColor.new(Bright green)
4174
            pchar[Body Colors].LeftArmColor = BrickColor.new(Bright green)
4175
            pchar[Body Colors].LeftLegColor = BrickColor.new(Bright green)
4176
            pchar[Body Colors].RightArmColor = BrickColor.new(Bright green)
4177
            pchar[Body Colors].RightLegColor = BrickColor.new(Bright green)
4178
            pchar[Body Colors].TorsoColor = BrickColor.new(Bright green)
4179
        end
4180
    end
4181
end)
4182
4183
addcmd('uncreeper','makes player back to normal',{},
4184
function(args)
4185
	local players = getPlayer(args[1])
4186
	for i,v in pairs(players)do
4187
	    execCmd(fix  .. gPlayers[v].Name, Player)
4188
	end
4189
end)
4190
4191
addcmd('shrek', 'makes player shrek',{},
4192
function(args)
4193
	local players = getPlayer(args[1])
4194
	for i,v in pairs(players) do
4195
		local pchar = gPlayers[v].Character
4196
		for i,v in pairs(pcharGetChildren()) do
4197
			if vIsA(Hat) or vIsA(CharacterMesh) or vIsA(Shirt) or vIsA(Pants) then
4198
				vDestroy()
4199
			end
4200
		end
4201
		for i,v in pairs(pchar.HeadGetChildren()) do
4202
			if vIsA(Decal) or vIsA(SpecialMesh) then
4203
				vDestroy()
4204
			end
4205
		end
4206
		
4207
		local mesh = Instance.new(SpecialMesh, pchar.Head)
4208
		mesh.MeshType = FileMesh
4209
		pchar.Head.Mesh.MeshId = httpwww.roblox.comassetid=19999257
4210
		pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
4211
		pchar.Head.Mesh.TextureId = httpwww.roblox.comassetid=156397869
4212
		
4213
		local Shirt = Instance.new(Shirt, gPlayers[v].Character)
4214
		local Pants = Instance.new(Pants, gPlayers[v].Character)
4215
		
4216
		Shirt.ShirtTemplate = rbxassetid133078194
4217
		Pants.PantsTemplate = rbxassetid133078204
4218
	end
4219
end)
4220
4221
addcmd('unshrek','makes player back to normal',{},
4222
function(args)
4223
	local players = getPlayer(args[1])
4224
	for i,v in pairs(players)do
4225
	    execCmd(fix  .. gPlayers[v].Name, Player)
4226
	end
4227
end)
4228
4229
local Spamming = false
4230
4231
addcmd('spam','spams text',{},
4232
function(args)
4233
	Spamming = true
4234
	spawn(function()
4235
		while wait(0) do
4236
			if Spamming == true then
4237
	            while wait(0.1) do
4238
		            if Spamming == true then
4239
			            game.PlayersChat(  .. args[1])
4240
		        elseif Spamming == false then
4241
			            return
4242
			        end
4243
			    end
4244
	        end
4245
	    end
4246
	end)
4247
end)
4248
4249
addcmd('nospam','stops spamming',{},
4250
function(args)
4251
	Spamming = false
4252
end)
4253
4254
addcmd('control','controls player',{},
4255
function(args)
4256
	local players = getPlayer(args[1])
4257
	for i,v in pairs(players)do
4258
		local pchar = gPlayers[v].Character
4259
		if gPlayers[v] and pchar then
4260
			pchar.Humanoid.PlatformStand = true
4261
			local w = Instance.new(Weld, Player.Character.Torso) 
4262
			w.Part0 = Player.Character.Torso 
4263
			w.Part1 = pchar.Torso  
4264
			local w2 = Instance.new(Weld, Player.Character.Head) 
4265
			w2.Part0 = Player.Character.Head 
4266
			w2.Part1 = pchar.Head  
4267
			local w3 = Instance.new(Weld, Player.CharacterfindFirstChild(Right Arm)) 
4268
			w3.Part0 = Player.CharacterfindFirstChild(Right Arm)
4269
			w3.Part1 = pcharfindFirstChild(Right Arm) 
4270
			local w4 = Instance.new(Weld, Player.CharacterfindFirstChild(Left Arm))
4271
			w4.Part0 = Player.CharacterfindFirstChild(Left Arm)
4272
			w4.Part1 = pcharfindFirstChild(Left Arm) 
4273
			local w5 = Instance.new(Weld, Player.CharacterfindFirstChild(Right Leg)) 
4274
			w5.Part0 = Player.CharacterfindFirstChild(Right Leg)
4275
			w5.Part1 = pcharfindFirstChild(Right Leg) 
4276
			local w6 = Instance.new(Weld, Player.CharacterfindFirstChild(Left Leg)) 
4277
			w6.Part0 = Player.CharacterfindFirstChild(Left Leg)
4278
			w6.Part1 = pcharfindFirstChild(Left Leg) 
4279
			char.Head.faceDestroy()
4280
			for i,v in pairs(pcharGetChildren()) do
4281
				if vIsA(BasePart) then 
4282
					v.CanCollide = false
4283
				end
4284
			end
4285
			for i,v in pairs(charGetChildren()) do
4286
				if vIsA(BasePart) then
4287
					v.Transparency = 1 
4288
				elseif vIsA(Hat) then
4289
					vDestroy()
4290
				end
4291
			end
4292
			pchar.Parent = char
4293
			pchar.Humanoid.Changedconnect(function()
4294
				pchar.Humanoid.PlatformStand = true
4295
			end)
4296
		end
4297
		end
4298
end)
4299
4300
addcmd('nuke','nukes player',{},
4301
function(args)
4302
	local players = getPlayer(args[1])
4303
	for i,v in pairs(players)do
4304
		local pchar = gPlayers[v].Character
4305
		if gPlayers[v] and pchar and pcharFindFirstChild(Torso)  then
4306
			local nuke = Instance.new(Part, game.Workspace)
4307
			nuke.Anchored = true
4308
			nuke.CanCollide = false
4309
			nuke.FormFactor = Symmetric
4310
			nuke.Shape = Ball
4311
			nuke.Size = Vector3.new(1,1,1)
4312
			nuke.BrickColor = BrickColor.new(New Yeller)
4313
			nuke.Transparency = 0.5
4314
			nuke.Reflectance = 0.2
4315
			nuke.TopSurface = 0
4316
			nuke.BottomSurface = 0
4317
			nuke.Touchedconnect(function (hit)
4318
				if hit and hit.Parent then
4319
					local boom = Instance.new(Explosion, game.Workspace)
4320
					boom.Position = hit.Position
4321
					boom.BlastRadius = 11
4322
					boom.BlastPressure = math.huge
4323
				end
4324
			end)
4325
			local CF = pchar.Torso.CFrame
4326
			nuke.CFrame = CF
4327
			for i = 1,333 do
4328
				nuke.Size = nuke.Size + Vector3.new(3,3,3)
4329
				nuke.CFrame = CF
4330
				wait(144)
4331
			end
4332
			nukeDestroy()
4333
		end
4334
	end
4335
end)
4336
4337
addcmd('infect','infects player',{},
4338
function(args)
4339
	local players = getPlayer(args[1])
4340
	for i,v in pairs(players)do
4341
		function infect(rip)
4342
		local pchar = gPlayers[v].Character
4343
			for i,v in pairs(pcharGetChildren()) do
4344
				if vIsA(Hat) or vIsA(Shirt) or vIsA(Pants) then
4345
					vDestroy()
4346
					Notify(gPlayers[v].Name .. ' is now infected')
4347
				end
4348
			end
4349
			if pchar.TorsoFindFirstChild(roblox) then
4350
				pchar.Torso.robloxDestroy()
4351
			end
4352
			if pchar.HeadFindFirstChild(face) then
4353
				pchar.Head.face.Texture = httpwww.roblox.comassetid=94634491
4354
			end
4355
			if pcharFindFirstChild(Body Colors) then
4356
				local Colors = pchar[Body Colors]
4357
				local Skin = BrickColor.new(Pastel green)
4358
				local Clothes = BrickColor.new(Reddish brown)
4359
				Colors.HeadColor = Skin
4360
				Colors.LeftArmColor = Skin
4361
				Colors.RightArmColor = Skin
4362
				Colors.LeftLegColor = Clothes
4363
				Colors.RightLegColor = Clothes
4364
				Colors.TorsoColor = Clothes
4365
			end
4366
			local w1 = Instance.new(Weld, pchar)
4367
			w1.Part0 = pchar[Right Arm]
4368
			w1.Part1 = pchar.Torso
4369
			w1.C0 = CFrame.new(-1.5, 0.5, 0.5)  CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
4370
			local w2 = Instance.new(Weld, pchar)
4371
			w2.Part0 = pchar[Left Arm]
4372
			w2.Part1 = pchar.Torso
4373
			w2.C0 = CFrame.new(1.5, 0.5, 0.5)  CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
4374
			local rip = false
4375
			local connect1 = pchar[Left Arm].Touchedconnect(function(hit)
4376
				if connect1 == false then
4377
					connect1 = true
4378
					if game.PlayersFindFirstChild(hit.Parent.Name) then
4379
						infect(game.Players[hit.Parent.Name])
4380
					end
4381
					wait(0.5)
4382
					connect1 = true
4383
				end
4384
			end)
4385
			local connect2 = pchar[Right Arm].Touchedconnect(function(hit)
4386
				if connect2 == false then
4387
					connect2 = true
4388
					if game.PlayersFindFirstChild(hit.Parent.Name) then
4389
						infect(game.Players[hit.Parent.Name])
4390
					end
4391
					wait(0.5)
4392
					connect2 = true
4393
				end
4394
			end)
4395
			local IV = Instance.new(IntValue, pchar)
4396
			IV.Name = Infected
4397
			IV.Value = 0
4398
			IV.Changedconnect(function()
4399
				connect1disconnect()
4400
				connect2disconnect()
4401
			end)
4402
		end
4403
		infect(v)
4404
	end
4405
end)
4406
4407
addcmd('uninfect','makes player back to normal',{},
4408
function(args)
4409
	local players = getPlayer(args[1])
4410
	for i,v in pairs(players)do
4411
	    execCmd(fix  .. gPlayers[v].Name, Player)
4412
		Notify(gPlayers[v].Name .. 'is no longer infected')
4413
	end
4414
end)
4415
4416
addcmd('duck','makes players head a duck',{},
4417
function(args)
4418
	local players = getPlayer(args[1])
4419
	for i,v in pairs(players)do
4420
	    local pchar = gPlayers[v].Character
4421
	    for i,v in pairs(pchar.TorsoGetChildren()) do
4422
		    if vIsA(Decal) then
4423
			    vDestroy()
4424
		    end
4425
	    end
4426
	    for i,v in pairs(pcharGetChildren()) do
4427
		    if vIsA(Hat) then
4428
			    vDestroy()
4429
		    end
4430
	    end
4431
	    local duck = Instance.new(SpecialMesh, pchar.Torso)
4432
	    duck.MeshType = FileMesh
4433
	    duck.MeshId = httpwww.roblox.comassetid=9419831
4434
	    duck.TextureId = httpwww.roblox.comassetid=9419827
4435
	    duck.Scale = Vector3.new(5, 5, 5)
4436
	    pchar.Head.Transparency = 1
4437
	    pchar[Left Arm].Transparency = 1
4438
	    pchar[Right Arm].Transparency = 1
4439
	    pchar[Left Leg].Transparency = 1
4440
	    pchar[Right Leg].Transparency = 1
4441
	    pchar.Head.face.Transparency = 1
4442
	end
4443
end)
4444
4445
addcmd('unduck','makes player back to normal',{},
4446
function(args)
4447
	local players = getPlayer(args[1])
4448
	for i,v in pairs(players)do
4449
	    execCmd(fix  .. gPlayers[v].Name, Player)
4450
	end
4451
end)
4452
4453
addcmd('disable','removes players humanoid',{},
4454
function(args)
4455
	local players = getPlayer(args[1])
4456
	for i,v in pairs(players)do
4457
		local pchar = gPlayers[v].Character
4458
	    if pcharFindFirstChild(Humanoid) then
4459
		   pchar.Humanoid.Name = HUMANOID_ .. gPlayers[v].Name
4460
		   local humanoid = pchar[HUMANOID_ .. gPlayers[v].Name]
4461
		   humanoid.Parent = game.ContextActionService
4462
		Notify(gPlayers[v].Name .. ' has been disabled')
4463
	    end
4464
	end
4465
end)
4466
4467
addcmd('enable','gives player humanoid',{},
4468
function(args)
4469
	local players = getPlayer(args[1])
4470
	for i,v in pairs(players)do
4471
		local pchar = gPlayers[v].Character
4472
	    if pcharFindFirstChild(Humanoid) then
4473
		    return
4474
	    else
4475
		    local humanoid = game.ContextActionService[HUMANOID_ .. gPlayers[v].Name]
4476
		    humanoid.Parent = pchar
4477
		    humanoid.Name = Humanoid
4478
			Notify(gPlayers[v].Name .. ' has been enabled')
4479
	    end
4480
	end
4481
end)
4482
4483
addcmd('size','changes size of player',{},
4484
function(args)
4485
	local players = getPlayer(args[1])
4486
	for i,v in pairs(players)do
4487
	local pchar = gPlayers[v].Character
4488
		local function scale(chr,scl)
4489
		
4490
			for _,v in pairs(pcharGetChildren()) do
4491
				if vIsA(Hat) then
4492
					vClone()
4493
					v.Parent = game.Lighting
4494
				end
4495
			end
4496
				
4497
		    local Head = chr['Head']
4498
		    local Torso = chr['Torso']
4499
		    local LA = chr['Left Arm']
4500
		    local RA = chr['Right Arm']
4501
		    local LL = chr['Left Leg']
4502
		    local RL = chr['Right Leg']
4503
		    local HRP = chr['HumanoidRootPart']
4504
		
4505
		    wait(0.1)
4506
		   
4507
		    Head.formFactor = 3
4508
		    Torso.formFactor = 3
4509
		    LA.formFactor = 3
4510
		    RA.formFactor = 3
4511
		    LL.formFactor = 3
4512
		    RL.formFactor = 3
4513
		    HRP.formFactor = 3
4514
		    
4515
		    Head.Size = Vector3.new(scl  2, scl, scl)
4516
		    Torso.Size = Vector3.new(scl  2, scl  2, scl)
4517
		    LA.Size = Vector3.new(scl, scl  2, scl)
4518
		    RA.Size = Vector3.new(scl, scl  2, scl)
4519
		    LL.Size = Vector3.new(scl, scl  2, scl)
4520
		    RL.Size = Vector3.new(scl, scl  2, scl)
4521
		    HRP.Size = Vector3.new(scl  2, scl  2, scl)
4522
		    
4523
		    local Motor1 = Instance.new('Motor6D', Torso)
4524
		    Motor1.Part0 = Torso
4525
		    Motor1.Part1 = Head
4526
	    	Motor1.C0 = CFrame.new(0, 1  scl, 0)  CFrame.Angles(-1.6, 0, 3.1)
4527
	    	Motor1.C1 = CFrame.new(0, -0.5  scl, 0)  CFrame.Angles(-1.6, 0, 3.1)
4528
	    	Motor1.Name = Neck
4529
				    
4530
	    	local Motor2 = Instance.new('Motor6D', Torso)
4531
	    	Motor2.Part0 = Torso
4532
	    	Motor2.Part1 = LA
4533
	    	Motor2.C0 = CFrame.new(-1  scl, 0.5  scl, 0)  CFrame.Angles(0, -1.6, 0)
4534
	    	Motor2.C1 = CFrame.new(0.5  scl, 0.5  scl, 0)  CFrame.Angles(0, -1.6, 0)
4535
	    	Motor2.Name = Left Shoulder
4536
	    	
4537
	    	local Motor3 = Instance.new('Motor6D', Torso)
4538
	   		Motor3.Part0 = Torso
4539
	    	Motor3.Part1 = RA
4540
	    	Motor3.C0 = CFrame.new(1  scl, 0.5  scl, 0)  CFrame.Angles(0, 1.6, 0)
4541
	    	Motor3.C1 = CFrame.new(-0.5  scl, 0.5  scl, 0)  CFrame.Angles(0, 1.6, 0)
4542
	    	Motor3.Name = Right Shoulder
4543
	    	
4544
	    	local Motor4 = Instance.new('Motor6D', Torso)
4545
	    	Motor4.Part0 = Torso
4546
	    	Motor4.Part1 = LL
4547
	    	Motor4.C0 = CFrame.new(-1  scl, -1  scl, 0)  CFrame.Angles(0, -1.6, 0)
4548
	    	Motor4.C1 = CFrame.new(-0.5  scl, 1  scl, 0)  CFrame.Angles(0, -1.6, 0)
4549
	    	Motor4.Name = Left Hip
4550
	    	
4551
	    	local Motor5 = Instance.new('Motor6D', Torso)
4552
	    	Motor5.Part0 = Torso
4553
	    	Motor5.Part1 = RL
4554
	    	Motor5.C0 = CFrame.new(1  scl, -1  scl, 0)  CFrame.Angles(0, 1.6, 0)
4555
	    	Motor5.C1 = CFrame.new(0.5  scl, 1  scl, 0)  CFrame.Angles(0, 1.6, 0)
4556
	    	Motor5.Name = Right Hip
4557
	    	
4558
	    	local Motor6 = Instance.new('Motor6D', HRP)
4559
	    	Motor6.Part0 = HRP
4560
	    	Motor6.Part1 = Torso
4561
	    	Motor6.C0 = CFrame.new(0, 0, 0)  CFrame.Angles(-1.6, 0, -3.1)
4562
	    	Motor6.C1 = CFrame.new(0, 0, 0)  CFrame.Angles(-1.6, 0, -3.1)
4563
	    	    
4564
		end
4565
		
4566
		scale(pchar, args[2])
4567
	
4568
		for _,v in pairs(game.LightingGetChildren()) do
4569
			if vIsA(Hat) then
4570
				v.Parent = pchar
4571
			end
4572
		end
4573
	end
4574
end)
4575
4576
addcmd('confuse','reverses players speed',{'reverse'},
4577
function(args)
4578
	local players = getPlayer(args[1])
4579
	for i,v in pairs(players)do
4580
	    local pchar = gPlayers[v].Character
4581
	    pchar.Humanoid.WalkSpeed = tonumber(-16)
4582
	end
4583
end)
4584
4585
addcmd('unconfuse','reverses players speed',{'unreverse'},
4586
function(args)
4587
	local players = getPlayer(args[1])
4588
	for i,v in pairs(players)do
4589
	    local pchar = gPlayers[v].Character
4590
	    pchar.Humanoid.WalkSpeed = tonumber(16)
4591
	end
4592
end)
4593
4594
addcmd('clone','clones player',{},
4595
function(args)
4596
	local players = getPlayer(args[1])
4597
	for i,v in pairs(players)do
4598
	    local pchar = gPlayers[v].Character
4599
	    pchar.Archivable = true
4600
	    local clone = pcharClone()
4601
	    clone.Parent = game.Workspace
4602
	    cloneMoveTo(pcharGetModelCFrame().p)
4603
	    cloneMakeJoints()
4604
	    pchar.Archivable = false
4605
	end
4606
end)
4607
4608
addcmd('spin','spins player',{},
4609
function(args)
4610
	local players = getPlayer(args[1])
4611
	for i,v in pairs(players)do
4612
	    local pchar = gPlayers[v].Character
4613
	    for i,v in pairs(pchar.TorsoGetChildren()) do
4614
		    if v.Name == Spinning then
4615
			    vDestroy()
4616
		    end
4617
	    end
4618
	    local Torso = pchar.Torso
4619
	    local BG = Instance.new(BodyGyro, Torso)
4620
	    BG.Name = Spinning
4621
	    BG.maxTorque = Vector3.new(0, math.huge, 0)
4622
	    BG.P = 11111
4623
	    BG.cframe = Torso.CFrame
4624
	    repeat wait(144)
4625
		    BG.CFrame = BG.CFrame  CFrame.Angles(0,math.rad(30),0)
4626
	    until not BG or BG.Parent ~= Torso
4627
	end
4628
end)
4629
4630
addcmd('unspin','stops spinning player',{},
4631
function(args)
4632
	local players = getPlayer(args[1])
4633
	for i,v in pairs(players)do
4634
	    local pchar = gPlayers[v].Character
4635
	    for i,v in pairs(pchar.TorsoGetChildren()) do
4636
		    if v.Name == Spinning then
4637
			    vDestroy()
4638
		    end
4639
	    end
4640
	end
4641
end)
4642
4643
addcmd('dog','makes player a dog',{},
4644
function(args)
4645
	local players = getPlayer(args[1])
4646
	for i,v in pairs(players)do
4647
	    local pchar = gPlayers[v].Character
4648
	    if pcharFindFirstChild(Shirt) then
4649
		    pchar.ShirtDestroy()
4650
	    end
4651
	    if pcharFindFirstChild(Pants) then
4652
		    pchar.PantsDestroy()
4653
	    end
4654
	    if pcharFindFirstChild(Shirt Graphic) then
4655
		    pchar[Shirt Graphic].Graphic = 
4656
	    end
4657
	    pchar.Torso.Transparency = 1
4658
	    pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2)  CFrame.Angles(math.rad(90),math.rad(180),0)
4659
	    pchar.Torso[Right Shoulder].C0 = CFrame.new(.5,-1.5,-1.5)  CFrame.Angles(0,math.rad(90),0)
4660
	    pchar.Torso[Left Shoulder].C0 = CFrame.new(-.5,-1.5,-1.5)  CFrame.Angles(0,math.rad(-90),0)
4661
	    pchar.Torso[Right Hip].C0 = CFrame.new(1.5,-1,1.5)  CFrame.Angles(0,math.rad(90),0)
4662
	    pchar.Torso[Left Hip].C0 = CFrame.new(-1.5,-1,1.5)  CFrame.Angles(0,math.rad(-90),0)
4663
	    local FakeTorso = Instance.new(Seat, pchar)
4664
	    FakeTorso.Name = FakeTorso
4665
	    FakeTorso.FormFactor = Symmetric
4666
	    FakeTorso.TopSurface = 0
4667
	    FakeTorso.BottomSurface = 0
4668
	    FakeTorso.Size = Vector3.new(3,1,4)
4669
	    FakeTorso.BrickColor = BrickColor.new(Brown)
4670
	    FakeTorso.CFrame = pchar.Torso.CFrame
4671
	    local BF = Instance.new(BodyForce, FakeTorso)
4672
	    BF.Force = Vector3.new(0, FakeTorsoGetMass()  196.25, 0)
4673
	    local W = Instance.new(Weld, pchar.Torso)
4674
	    W.Part0 = pchar.Torso
4675
	    W.Part1 = FakeTorso
4676
	    W.C0 = CFrame.new(0,-.5,0)
4677
	    local BC = pchar[Body Colors]
4678
	    BC.HeadColor = BrickColor.new(Brown)
4679
	    BC.LeftArmColor = BrickColor.new(Brown)
4680
	    BC.LeftLegColor = BrickColor.new(Brown)
4681
	    BC.RightArmColor = BrickColor.new(Brown)
4682
	    BC.RightLegColor = BrickColor.new(Brown)
4683
	    BC.TorsoColor = BrickColor.new(Brown)
4684
	end
4685
end)
4686
4687
addcmd('undog','makes player back to normal',{},
4688
function(args)
4689
	local players = getPlayer(args[1])
4690
	for i,v in pairs(players)do
4691
	    execCmd(fix  .. gPlayers[v].Name, Player)
4692
	end
4693
end)
4694
4695
addcmd('tptool','gives player tptool',{''},
4696
function(args)
4697
	local tool = DATA.TeleportClone()
4698
	tool.Parent = Player.Backpack
4699
end)
4700
4701
addcmd('loopsit','loop sits player',{},
4702
function(args)
4703
	local players = getPlayer(args[1])
4704
	for i,v in pairs(players)do
4705
	    local pchar = gPlayers[v].Character
4706
	    if pcharFindFirstChild(LoopSit) then
4707
		    pchar.LoopSit.Name = NotLoopSit
4708
		    wait(0.1)
4709
		    pchar.NotLoopSitDestroy()
4710
	    end
4711
	    local LoopSit = Instance.new(StringValue, pchar)
4712
	    LoopSit.Name = LoopSit
4713
	    Notify(gPlayers[v].Name .. ' is now loopsitting')
4714
	    repeat wait(0.1)
4715
		    pchar.Humanoid.Sit = true
4716
			Notify(gPlayers[v].Name .. ' is now loopsitting')
4717
	    until LoopSit.Name == NotLoopSit
4718
	end
4719
end)
4720
4721
addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
4722
function(args)
4723
	local players = getPlayer(args[1])
4724
	for i,v in pairs(players)do
4725
	    local pchar = gPlayers[v].Character
4726
	    if pcharFindFirstChild(LoopSit) then
4727
		    pchar.LoopSit.Name = NotLoopSit
4728
		    wait(0.1)
4729
		    pchar.NotLoopSitDestroy()
4730
			Notify(gPlayers[v].Name .. ' is no longer loopsitting')
4731
	    end
4732
	end
4733
end)
4734
4735
addcmd('loopjump','loop jumps player',{},
4736
function(args)
4737
	local players = getPlayer(args[1])
4738
	for i,v in pairs(players)do
4739
	    local pchar = gPlayers[v].Character
4740
	    if pcharFindFirstChild(LoopJump) then
4741
		    pchar.LoopJump.Name = NotLoopJump
4742
		    wait(0.1)
4743
		    pchar.NotLoopJumpDestroy()
4744
	    end
4745
	    local LoopJump = Instance.new(StringValue, pchar)
4746
	    LoopJump.Name = LoopJump
4747
		Notify('loopjumping ' .. gPlayers[v].Name)
4748
	    repeat wait(0.1)
4749
		    pchar.Humanoid.Jump = true
4750
	    until LoopJump.Name == NotLoopJump
4751
	end
4752
end)
4753
4754
addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
4755
function(args)
4756
	local players = getPlayer(args[1])
4757
	for i,v in pairs(players)do
4758
	    local pchar = gPlayers[v].Character
4759
	    if pcharFindFirstChild(LoopJump) then
4760
		    pchar.LoopJump.Name = NotLoopJump
4761
		    wait(0.1)
4762
		    pchar.NotLoopJumpDestroy()
4763
			Notify(gPlayers[v].Name .. ' is no longer loopjumping')
4764
	    end
4765
	end
4766
end)
4767
4768
addcmd('loopheal','loop heals player',{},
4769
function(args)
4770
	local players = getPlayer(args[1])
4771
	for i,v in pairs(players)do
4772
	    local pchar = gPlayers[v].Character
4773
	    if pcharFindFirstChild(LoopHeal) then
4774
		    pchar.LoopHeal.Name = NotLoopHeal
4775
		    wait(0.1)
4776
		    pchar.NotLoopHealDestroy()
4777
	    end
4778
	    local LoopHeal = Instance.new(StringValue, pchar)
4779
	    LoopHeal.Name = LoopHeal
4780
		Notify('loophealing' .. gPlayers[v].Name)
4781
	    repeat wait(0.1)
4782
		    pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
4783
	    until LoopHeal.Name == NotLoopHeal
4784
	end
4785
end)
4786
4787
addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
4788
function(args)
4789
	local players = getPlayer(args[1])
4790
	for i,v in pairs(players)do
4791
	    local pchar = gPlayers[v].Character
4792
	    if pcharFindFirstChild(LoopHeal) then
4793
		    pchar.LoopHeal.Name = NotLoopHeal
4794
		    wait(0.1)
4795
		    pchar.NotLoopHealDestroy()
4796
			Notify(gPlayers[v].Name .. ' no longer has loopheal')
4797
	    end
4798
	end
4799
end)
4800
4801
addcmd('fling','flings player',{},
4802
function(args)
4803
	local players = getPlayer(args[1])
4804
	for i,v in pairs(players)do
4805
	    local pchar = gPlayers[v].Character
4806
		if pcharFindFirstChild(Humanoid) then
4807
			local xran
4808
			local zran
4809
			repeat
4810
				xran = math.random(-9999,9999)
4811
			until math.abs(xran) = 5555
4812
			repeat
4813
				zran = math.random(-9999,9999)
4814
			until math.abs(zran) = 5555
4815
			pchar.Humanoid.Sit = true
4816
			pchar.Torso.Velocity = Vector3.new(0,0,0)
4817
			local BF = Instance.new(BodyForce, pchar.Torso)
4818
			BF.force = Vector3.new(xran  4, 9999  5, zran  4)
4819
			Notify('Flung ' .. gPlayers[v].Name .. ' D')
4820
		end
4821
	end
4822
end)
4823
4824
addcmd('nograv','makes player have moon gravity',{''},
4825
function(args)
4826
	local players = getPlayer(args[1])
4827
	for i,v in pairs(players)do
4828
	    local pchar = gPlayers[v].Character
4829
	    for i,v in pairs(pchar.TorsoGetChildren()) do
4830
		    if v.Name == NoGrav then
4831
			    vDestroy()
4832
		    end
4833
	    end
4834
	    local BF = Instance.new(BodyForce, pchar.Torso)
4835
	    BF.Name = NoGrav
4836
	    BF.Force = Vector3.new(0,2700,0)
4837
		Notify(gPlayers[v].Name .. ' now has nograv')
4838
	end
4839
end)
4840
4841
addcmd('grav','makes player have normal gravity',{''},
4842
function(args)
4843
	local players = getPlayer(args[1])
4844
	for i,v in pairs(players)do
4845
	    local pchar = gPlayers[v].Character
4846
	    for i,v in pairs(pchar.TorsoGetChildren()) do
4847
		    if v.Name == NoGrav then
4848
			    vDestroy()
4849
				Notify(gPlayers[v].Name .. ' now has grav')
4850
		    end
4851
	    end
4852
	end
4853
end)
4854
4855
addcmd('seizure','makes player have a seizure',{''},
4856
function(args)
4857
	local players = getPlayer(args[1])
4858
	for i,v in pairs(players)do
4859
	    local pchar = gPlayers[v].Character
4860
	    if pcharFindFirstChild(Seizure) then
4861
		    
4862
	    end
4863
	    local Seizure = Instance.new(StringValue, pchar)
4864
	    Seizure.Name = Seizure
4865
	    pchar.Humanoid.PlatformStand = true
4866
		repeat wait()
4867
		    pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
4868
		    pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
4869
		until Seizure.Name == NotSeizure
4870
	end
4871
end)
4872
4873
addcmd('unseizure','makes player stop having a seizure',{''},
4874
function(args)
4875
	local players = getPlayer(args[1])
4876
	for i,v in pairs(players)do
4877
	    local pchar = gPlayers[v].Character
4878
	    if pcharFindFirstChild(Seizure) then
4879
	        pchar.Humanoid.PlatformStand = false
4880
		    pchar.Seizure.Name = NotSeizure
4881
		    wait(0.1)
4882
		    pchar.NotSeizureDestroy()
4883
	    end
4884
	end
4885
end)
4886
4887
addcmd('wtrbtools', 'tools from welcome to roblox building',{},
4888
function(args)
4889
x = gameGetService(InsertService)LoadAsset(73089166)
4890
for i,v in pairs(xGetChildren()) do
4891
v.Parent = game.Players.lolfarmer.Backpack
4892
end
4893-
v.Parent = game.Players.LocalPlayer.Backpack
4893+
4894
x = gameGetService(InsertService)LoadAsset(73089204)
4895
for i,v in pairs(xGetChildren()) do
4896
v.Parent = game.Players.lolfarmer.Backpack
4897
end
4898-
v.Parent = game.Players.LocalPlayer.Backpack
4898+
4899
x = gameGetService(InsertService)LoadAsset(73089190) 
4900
for i,v in pairs(xGetChildren()) do
4901
v.Parent = game.Players.lolfarmer.Backpack
4902
end
4903-
v.Parent = game.Players.LocalPlayer.Backpack
4903+
4904
x = gameGetService(InsertService)LoadAsset(58880579) 
4905
for i,v in pairs(xGetChildren()) do
4906
v.Parent = game.Players.lolfarmer.Backpack
4907
end
4908-
v.Parent = game.Players.LocalPlayer.Backpack
4908+
4909
x = gameGetService(InsertService)LoadAsset(60791062) 
4910
for i,v in pairs(xGetChildren()) do
4911
v.Parent = game.Players.lolfarmer.Backpack
4912
end
4913-
v.Parent = game.Players.LocalPlayer.Backpack
4913+
4914
x = gameGetService(InsertService)LoadAsset(73089239) 
4915
for i,v in pairs(xGetChildren()) do
4916
v.Parent = game.Players.lolfarmer.Backpack
4917
end
4918-
v.Parent = game.Players.LocalPlayer.Backpack
4918+
4919
end)
4920
4921
addcmd('cape','gives you a cape',{''},
4922
function(args)
4923
    if not args[1] then
4924
		args[1] = 1012
4925
	end
4926
	capeColor = args[1]
4927
    Cape(Player)
4928
end)
4929
4930
addcmd('m','makes a global message 0',{''},
4931
function(args)
4932
    local MSG = table.concat(args,  )
4933
    local newMSG = string.gsub(MSG, args[1] ..  , )
4934
    _G.msg(MSG)
4935
end)
4936
4937
addcmd('uncape','takes cape away from you',{''},
4938
function(args)
4939
	if charFindFirstChild(Cape) ~= nil then
4940
	    char.CapeDestroy()
4941
	end
4942
end)
4943
4944
addcmd('paper','makes player thin as paper',{''},
4945
function(args)
4946
	local players = getPlayer(args[1])
4947
	for i,v in pairs(players)do
4948
	    local pchar = gPlayers[v].Character
4949
	    local LA = DATA.PaperClone()
4950
	    LA.Parent = pchar[Left Arm]
4951
	    local RA = DATA.PaperClone()
4952
	    RA.Parent = pchar[Right Arm]
4953
	    local LL = DATA.PaperClone()
4954
	    LL.Parent = pchar[Left Leg]
4955
	    local RL = DATA.PaperClone()
4956
	    RL.Parent = pchar[Right Leg]
4957
	    local T = DATA.PaperClone()
4958
	    T.Parent = pchar.Torso
4959
		local H = DATA.PaperClone()
4960
		H.Parent = pchar.Head
4961
		pchar.Head.faceDestroy()
4962
	end
4963
end)
4964
4965
addcmd('punish','punishs player',{''},
4966
function(args)
4967
	local players = getPlayer(args[1])
4968
	for i,v in pairs(players)do
4969
	    local pchar = gPlayers[v].Character
4970
	    pchar.Parent = game.Lighting
4971
		Notify(gPlayers[v].Name .. ' has been punished')
4972
	end
4973
end)
4974
4975
addcmd('unpunish','unpunishs player',{''},
4976
function(args)
4977
	local players = getPlayer(args[1])
4978
	for i,v in pairs(players)do
4979
	    if game.LightingFindFirstChild( .. gPlayers[v].Name) then
4980
	        game.LightingFindFirstChild( .. gPlayers[v].Name).Parent = game.Workspace
4981
			Notify(gPlayers[v].Name .. ' has been unpunished')
4982
	    end
4983
	end
4984
end)
4985
4986
addcmd('disco','disco party',{''},
4987
function(args)
4988
	Disco = true
4989
	if Disco == true then
4990
		repeat wait(0.3)
4991
		    game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
4992
		until Disco == false
4993
	end
4994
end)
4995
4996
addcmd('undisco','rip disco party',{''},
4997
function(args)
4998
	Disco = false
4999
	wait(0.1)
5000
	game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
5001
end)
5002
5003
-----------
5004
---Extra---
5005
-----------
5006
5007
Floating = false
5008
5009
addcmd('float', 'makes player float',{},
5010
function(args,speaker)
5011
	Floating = true
5012
	local players = getPlayer(args[1])
5013
	for _,v in pairs(players) do
5014
		local pchar = gPlayers[v].Character
5015
		if gPlayers[v] and pchar and not pcharFindFirstChild(Float) then
5016
			spawn(function()
5017
				local float = DATA.FloatClone()
5018
				float.Parent = pchar
5019
				float.CFrame = pchar.Torso.CFrame  CFrame.new(0,-3.5,0)
5020
				spawn(function()
5021
					Notify(gPlayers[v].Name .. ' now has float')
5022
					while wait(0.1) do
5023
						if pcharFindFirstChild(Float) then
5024
							float.CFrame = pchar.Torso.CFrame  CFrame.new(0,-3.5,0)
5025
						else
5026
							break
5027
						end
5028
					end
5029
				end)
5030
			end)
5031
		end
5032
	end
5033
end)
5034
5035
addcmd('unfloat','disables floating',{},
5036
function(args)
5037
	Floating = false
5038
	local players = getPlayer(args[1])
5039
	for i,v in pairs(players)do
5040
	    local pchar = gPlayers[v].Character
5041
	    if pcharFindFirstChild(Float) then
5042
		    pchar.FloatDestroy()
5043
			Notify(gPlayers[v].Name .. ' no longer has float')
5044
	    end
5045
	end
5046
end)
5047
5048
local Clip = true
5049
5050
addcmd('noclip','enables noclip',{},
5051
function(args)
5052
Notify('NoClip enabled')
5053
Clip = false
5054
	wait(1)
5055
	Name = game.Players.LocalPlayer.Name
5056
	gameGetService('Players').LocalPlayer.PlayerGui.ChildAddedconnect(function (NC)
5057
		delay(0, function()
5058
			if NC.Name ~= Memes then
5059
				NCDestroy()
5060
			end
5061
		end)
5062
	end)
5063
	gameGetService('RunService').Steppedconnect(function ()
5064
    game.Workspace[Name].Torso.CanCollide = Clip
5065
    game.Workspace[Name].Head.CanCollide = Clip
5066
	end)
5067
	game.Workspace[Name].Torso.Changedconnect(function()
5068
    game.Workspace[Name].Torso.CanCollide = Clip
5069
	game.Workspace[Name].Head.CanCollide = Clip
5070
	end)
5071
end)
5072
5073
addcmd('clip','disables noclip',{},
5074
function(args)
5075
	Notify('NoClip disabled')
5076
	Clip = true
5077
end)
5078
5079
wait(0.1)
5080
5081
addcmd('prefix','changes prefix',{},
5082
function(args)
5083
	cmdprefix = args[1]
5084
	Notify('Changed prefix to ' .. args[1] .. '')
5085
end)
5086
5087
addcmd('admins','prints admins',{},
5088
function(args)
5089
	for i,v in pairs(AdminFolderGetChildren()) do
5090
		if vIsA(StringValue) then
5091
			print(- .. v.Value)
5092
			Notify('Printed Admins, Check Console')
5093
		end
5094
	end
5095
end)
5096
5097
addcmd('respawn','respawns',{},
5098
function(args)
5099
    local players = getPlayer(args[1])
5100
	for i,v in pairs(players) do
5101
		local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth'
5102
		local H = Instance.new('Humanoid', M)
5103
		local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
5104
		gPlayers[v].Character = M
5105
	end
5106
end)
5107
5108
addcmd('bans','prints bans',{},
5109
function(args)
5110
	for i,v in pairs(BanFolderGetChildren()) do
5111
		if vIsA(StringValue) then
5112
			print(- .. v.Value)
5113
			Notify('Printed Bans, Check Console (F9)')
5114
		end
5115
	end
5116
end)
5117
5118
addcmd('version','shows version',{''},
5119
function(args)
5120
	Notify(Version is  .. Version)
5121
end)
5122
5123
-----------------------
5124
-----Floating data-----
5125
-----------------------
5126
5127
Mouse.KeyDownconnect(function (Key)
5128
	if Keybyte() == 29 then
5129
		if Floating == false then
5130
			execCmd(float me, Player)
5131
			Floating = true
5132
		elseif Floating == true then
5133
			execCmd(unfloat me, Player)
5134
			Floating = false
5135
		end
5136
	end
5137
end)
5138
5139
--------------
5140
---Ban data---
5141
--------------
5142
5143
for i,v in pairs(BannedPlayers) do
5144
	local ban = Instance.new(StringValue, BanFolder)
5145
	ban.Value = v
5146
	ban.RobloxLocked = true
5147
end
5148
5149
spawn(function ()
5150
    while wait(0.1) do
5151
		for _,a in pairs(game.ContextActionServiceGetChildren()) do
5152
		    if a.Name == BanList then
5153
			    for _,b in pairs(aGetChildren()) do
5154
				    if bIsA(StringValue) then
5155
					    for _,c in pairs(game.PlayersGetChildren()) do
5156
						    if c.Name == b.Value then
5157
							    c.PersonalServerRank = 200
5158
							    wait(0.1)
5159
							    c.PersonalServerRank = 0
5160
						    end
5161
					    end
5162
				    end
5163
			    end
5164
		    end
5165
	    end
5166
    end
5167
end)
5168
5169
---------
5170
--Admin--
5171
---------
5172
5173
for i,v in pairs(admins) do
5174
	local admin = Instance.new(StringValue, AdminFolder)
5175
	admin.Value = v
5176
	admin.RobloxLocked = true
5177
end
5178
5179
spawn(function ()
5180
    while wait(0.1) do
5181
		for _,a in pairs(game.ContextActionServiceGetChildren()) do
5182
		    if a.Name == AdminList then
5183
			    for _,b in pairs(aGetChildren()) do
5184
				    if bIsA(StringValue) then
5185
					    for _,c in pairs(game.PlayersGetChildren()) do
5186
						    if c.Name == b.Value then
5187
							    execCmd('admin ' .. c.Name)
5188
						    end
5189
					    end
5190
				    end
5191
			    end
5192
		    end
5193
	    end
5194
    end
5195
end)
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
-------------------------
5211
-----Long space lmao-----
5212
-------------------------
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
-------------------
5227
----Command bar----
5228
-------------------
5229
5230
CMDbar = Instance.new('ScreenGui', game.CoreGui)
5231
CMDbar.Name = 'GUI'
5232
cmdBAR = Instance.new('TextBox', CMDbar)
5233
cmdBAR.Name = 'CMDbar'
5234
cmdBAR.Active = true
5235
cmdBAR.BackgroundColor = BrickColor.new(255,255,255)
5236
cmdBAR.BackgroundTransparency = 0.5
5237
cmdBAR.BorderColor = BrickColor.new(255,255,255)
5238
cmdBAR.BorderSizePixel = 0
5239
cmdBAR.Position = UDim2.new(0,0,-25,-25)
5240
cmdBAR.Size = UDim2.new(0,200,0,20)
5241
cmdBAR.Font = 'SourceSans'
5242
cmdBAR.FontSize = 'Size18'
5243
cmdBAR.Text = 'Press ; to Execute a Command'
5244
cmdBAR.TextColor = BrickColor.new(0,0,0)
5245
5246
-------------------
5247
----Random data----
5248
-------------------
5249
5250
DATA = Instance.new('Folder', game.ContextActionService)
5251
DATA.Name = 'Data'
5252
5253
Paper = Instance.new('BlockMesh', DATA)
5254
Paper.Name = 'Paper'
5255
Paper.Scale = Vector3.new(1,1,0.1)
5256
5257
ayylmao = Instance.new('Hat', DATA)
5258
ayylmao.Name = 'ayylmao'
5259
ayyHandle = Instance.new('Part', ayylmao)
5260
ayyHandle.Name = 'Handle'
5261
ayyHandle.Size = Vector3.new(2,2.4,2)
5262
ayyHandle.FormFactor = 'Plate'
5263
ayyMesh = Instance.new('SpecialMesh', ayyHandle)
5264
ayyMesh.Scale = Vector3.new(1,1.02,1)
5265
ayyMesh.MeshType = 'FileMesh'
5266
ayyMesh.MeshId = 'httpwww.roblox.comassetid=13827689'
5267
ayyMesh.TextureId = 'httpwww.roblox.comassetid=13827796'
5268
5269
Float = Instance.new('Part', DATA)
5270
Float.Name = 'Float'
5271
Float.Transparency = 1
5272
Float.Size = Vector3.new(6,1,6)
5273
Float.Anchored = true
5274
5275
---------------------------
5276
--Commands GUI properties--
5277
---------------------------
5278
5279
cmdGUI = Instance.new('ScreenGui', DATA)
5280
cmdGUI.Name = 'CMDs'
5281
cmdMAIN = Instance.new('Frame', cmdGUI)
5282
cmdMAIN.Name = 'MAIN'
5283
cmdMAIN.Active = true
5284
cmdMAIN.BackgroundColor = BrickColor.new(255,255,255)
5285
cmdMAIN.BackgroundTransparency = 0.5
5286
cmdMAIN.BorderColor = BrickColor.new(0,0,0)
5287
cmdMAIN.BorderSizePixel = 0
5288
cmdMAIN.Position = UDim2.new(0, 0, 0.7, 0)
5289
cmdMAIN.Size = UDim2.new(0,170,0,15)
5290
cmdMAIN.Draggable = true
5291
cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
5292
cmdCMDs.Name = 'CMDs'
5293
cmdCMDs.BackgroundColor = BrickColor.new(255,255,255)
5294
cmdCMDs.BackgroundTransparency = 0.8
5295
cmdCMDs.BorderColor = BrickColor.new(0,0,0)
5296
cmdCMDs.BorderSizePixel = 0
5297
cmdCMDs.Position = UDim2.new(0,0,0,15)
5298
cmdCMDs.Size = UDim2.new(0,200,0,150)
5299
cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
5300
cmdCMDs.TopImage = 'rbxassettexturesblackBkg_square.png'
5301
cmdCMDs.MidImage = 'rbxassettexturesblackBkg_square.png'
5302
cmdCMDs.BottomImage = 'rbxassettexturesblackBkg_square.png'
5303
cmdCMDs.ScrollBarThickness = 5
5304
cmdExit = Instance.new('TextButton', cmdMAIN)
5305
cmdExit.Name = 'Exit'
5306
cmdExit.BackgroundColor = BrickColor.new(255,0,0)
5307
cmdExit.BackgroundTransparency = 0.5
5308
cmdExit.BorderColor = BrickColor.new(255,0,0)
5309
cmdExit.BorderSizePixel = 0
5310
cmdExit.Position = UDim2.new(0,185,0,0)
5311
cmdExit.Size = UDim2.new(0,15,0,15)
5312
cmdExit.Text = 
5313
ExitScript = Instance.new('LocalScript', cmdExit)
5314
ExitScript.Source =
5315
	[[
5316
script.Parent.MouseButton1Downconnect(function()
5317
	script.Parent.Parent.CMDsDestroy()
5318
end)
5319
]]
5320
cmdMin = Instance.new('TextButton', cmdMAIN)
5321
cmdMin.Name = 'MM'
5322
cmdMin.BackgroundColor = BrickColor.new(0.3,0.3,0.3)
5323
cmdMin.BackgroundTransparency = 0.5
5324
cmdMin.BorderColor = BrickColor.new(140,140,140)
5325
cmdMin.BorderSizePixel = 0
5326
cmdMin.Position = UDim2.new(0,170,0,0)
5327
cmdMin.Size = UDim2.new(0,15,0,15)
5328
cmdMin.Text = 
5329
MinScript = Instance.new('LocalScript', cmdMin)
5330
MinScript.Source =
5331
	[[
5332
local CMDs = script.Parent.Parent.CMDs
5333
5334
script.Parent.MouseButton1Downconnect(function()
5335
	if CMDs.Visible == true then
5336
		CMDs.Visible = false
5337
	elseif CMDs.Visible == false then
5338
		CMDs.Visible = true
5339
	end
5340
end)
5341
]]
5342
cmdEx = Instance.new('TextLabel', cmdMAIN)
5343
cmdEx.Name = 'Example'
5344
cmdEx.BackgroundColor = BrickColor.new(0,0,0)
5345
cmdEx.BackgroundTransparency = 0.8
5346
cmdEx.BorderColor = BrickColor.new(0,0,0)
5347
cmdEx.BorderSizePixel = 0
5348
cmdEx.Position = UDim2.new(0,5,0,20)
5349
cmdEx.Size = UDim2.new(0,190,0,20)
5350
cmdEx.Visible = false
5351
cmdEx.TextColor = BrickColor.new(255,255,255)
5352
cmdEx.TextXAlignment = 'Left'
5353
5354
memeGUI = Instance.new('ScreenGui', DATA)
5355
memeGUI.Name = 'Memes'
5356
memeImage = Instance.new('ImageLabel', memeGUI)
5357
memeImage.BackgroundTransparency = 1
5358
memeImage.Position = UDim2.new(0,-300,1,-150)
5359
memeImage.Size = UDim2.new(0,300,0,300)
5360
memeImage.Rotation = -30
5361
memeImage.Image = 'rbxassetid343377229'
5362
memeScript = Instance.new('LocalScript', memeGUI)
5363
memeScript.Source =
5364
	[[
5365
local meme = script.Parent.ImageLabel
5366
5367
wait(2)
5368
5369
memeTweenPosition(UDim2.new(1, 0, 1, -150), InOut, Quad, 3, true, nil)
5370
]]
5371
5372
espMAIN = Instance.new('BillboardGui', DATA)
5373
espMAIN.Name = 'MAIN'
5374
espMAIN.AlwaysOnTop = true
5375
espMAIN.ExtentsOffset = Vector3.new(0,1,0)
5376
espMAIN.Size = UDim2.new(0,5,0,5)
5377
espMAIN.StudsOffset = Vector3.new(0,1,0)
5378
espDot = Instance.new('Frame', espMAIN)
5379
espDot.BackgroundColor = BrickColor.new(42,181,255)
5380
espDot.BackgroundTransparency = 0.3
5381
espDot.BorderSizePixel = 0
5382
espDot.Position = UDim2.new(-0.5,0,-0.5,0)
5383
espDot.Size = UDim2.new(2,0,2,0)
5384
espDot.Visible = false
5385
espDot.ZIndex = 10
5386
espName = Instance.new('TextLabel', espMAIN)
5387
espName.Name = 'Name'
5388
espName.BackgroundColor = BrickColor.new(0,0,0)
5389
espName.BackgroundTransparency = 1
5390
espName.BorderColor = BrickColor.new(0,0,0)
5391
espName.BorderSizePixel = 0
5392
espName.Position = UDim2.new(0,0,0,-35)
5393
espName.Size = UDim2.new(1,0,10,0)
5394
espName.Visible = false
5395
espName.ZIndex = 10
5396
5397
-------------------------
5398
----Notify properties----
5399
-------------------------
5400
5401
notifyMAIN = Instance.new('ScreenGui', DATA)
5402
notifyMAIN.Name = 'Notification'
5403
notifyNOT = Instance.new('Frame', notifyMAIN)
5404
notifyNOT.Name = 'NOTIFY'
5405
notifyNOT.BackgroundColor = BrickColor.new(255,255,255)
5406
notifyNOT.BackgroundTransparency = 0.5
5407
notifyNOT.BorderColor = BrickColor.new(255,255,255)
5408
notifyNOT.BorderSizePixel = 2
5409
notifyNOT.Position = UDim2.new(0,-200,0.7,0)
5410
notifyNOT.Size = UDim2.new(0,400,0,50)
5411
notifyNOTE = Instance.new('TextLabel', notifyNOT)
5412
notifyNOTE.Name = 'NOTE'
5413
notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
5414
notifyNOTE.BackgroundTransparency = 1
5415
notifyNOTE.BorderColor = BrickColor.new(255,255,255)
5416
notifyNOTE.BorderSizePixel = 0
5417
notifyNOTE.Size = UDim2.new(1,0,1,0)
5418
notifyNOTE.ZIndex = 10
5419
notifyNOTE.FontSize = 'Size24'
5420
notifyNOTE.Font = 'SourceSans'
5421
notifyNOTE.Text = 'NOTIFY'
5422
notifyNOTE.TextColor = BrickColor.new(0,0,0)
5423
notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
5424
notifyNOTE.TextStrokeTransparency = 0.8
5425
5426
tpTool = Instance.new('HopperBin', DATA)
5427
tpTool.Name = 'Teleport'
5428
tpScript = Instance.new('LocalScript', tpTool)
5429
tpScript.Source =
5430
	[[
5431
local Player = game.Players.lolfarmer
5432
5433-
local Player = game.Players.LocalPlayer
5433+
5434-
local Mouse = PlayerGetMouse()
5434+
5435
Mouse.Button1Downconnect(function()
5436
	if Mouse.Target and Tool.Active then
5437
		Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
5438
	end
5439
end)
5440
]]
5441
5442
modJAIL = Instance.new('Model', DATA)
5443
modJAIL.Name = 'JAIL'
5444
botJAIL = Instance.new('Part', modJAIL)
5445
botJAIL.Name = 'BOTTOM'
5446
botJAIL.BrickColor = BrickColor.new('Black')
5447
botJAIL.Transparency = 0.5
5448
botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
5449
botJAIL.Anchored = true
5450
botJAIL.Locked = true
5451
botJAIL.Size = Vector3.new(6,1,6)
5452
botJAIL.TopSurface = 'Smooth'
5453
botJAIL.BottomSurface = 'Smooth'
5454
topJAIL = Instance.new('Part', modJAIL)
5455
topJAIL.Name = 'BOTTOM'
5456
topJAIL.BrickColor = BrickColor.new('Black')
5457
topJAIL.Transparency = 0.5
5458
topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
5459
topJAIL.Anchored = true
5460
topJAIL.Locked = true
5461
topJAIL.Size = Vector3.new(6,1,6)
5462
topJAIL.TopSurface = 'Smooth'
5463
topJAIL.BottomSurface = 'Smooth'
5464
p1 = Instance.new('Part', modJAIL)
5465
p1.Name = 'MAIN'
5466
p1.BrickColor = BrickColor.new('Black')
5467
p1.Transparency = 1
5468
p1.Position = Vector3.new(-8.7,4,-11.6)
5469
p1.Rotation = Vector3.new(-180,0,-180)
5470
p1.Anchored = true
5471
p1.Locked = true
5472
p1.Size = Vector3.new(1,6,4)
5473
p1.TopSurface = 'Smooth'
5474
p1.BottomSurface = 'Smooth'
5475
p2 = Instance.new('Part', modJAIL)
5476
p2.BrickColor = BrickColor.new('Black')
5477
p2.Transparency = 0.5
5478
p2.Position = Vector3.new(-3.7,4,-14.1)
5479
p2.Anchored = true
5480
p2.Locked = true
5481
p2.Size = Vector3.new(1,6,1)
5482
p2.TopSurface = 'Smooth'
5483
p2.BottomSurface = 'Smooth'
5484
p3 = Instance.new('Part', modJAIL)
5485
p3.BrickColor = BrickColor.new('Black')
5486
p3.Transparency = 0.5
5487
p3.Position = Vector3.new(-8.7,4,-9.1)
5488
p3.Anchored = true
5489
p3.Locked = true
5490
p3.Size = Vector3.new(1,6,1)
5491
p3.TopSurface = 'Smooth'
5492
p3.BottomSurface = 'Smooth'
5493
p4 = Instance.new('Part', modJAIL)
5494
p4.BrickColor = BrickColor.new('Black')
5495
p4.Transparency = 0.5
5496
p4.Position = Vector3.new(-3.7,4,-9.1)
5497
p4.Anchored = true
5498
p4.Locked = true
5499
p4.Size = Vector3.new(1,6,1)
5500
p4.TopSurface = 'Smooth'
5501
p4.BottomSurface = 'Smooth'
5502
p5 = Instance.new('Part', modJAIL)
5503
p5.BrickColor = BrickColor.new('Black')
5504
p5.Transparency = 0.5
5505
p5.Position = Vector3.new(-8.7,4,-14.1)
5506
p5.Anchored = true
5507
p5.Locked = true
5508
p5.Size = Vector3.new(1,6,1)
5509
p5.TopSurface = 'Smooth'
5510
p5.BottomSurface = 'Smooth'
5511
p6 = Instance.new('Part', modJAIL)
5512
p6.BrickColor = BrickColor.new('Black')
5513
p6.Transparency = 1
5514
p6.Position = Vector3.new(-6.2,4,-14.1)
5515
p6.Rotation = Vector3.new(0,90,0)
5516
p6.Anchored = true
5517
p6.Locked = true
5518
p6.Size = Vector3.new(1,6,4)
5519
p6.TopSurface = 'Smooth'
5520
p6.BottomSurface = 'Smooth'
5521
p7 = Instance.new('Part', modJAIL)
5522
p7.BrickColor = BrickColor.new('Black')
5523
p7.Transparency = 1
5524
p7.Position = Vector3.new(-3.7,4,-11.6)
5525
p7.Anchored = true
5526
p7.Locked = true
5527
p7.Size = Vector3.new(1,6,4)
5528
p7.TopSurface = 'Smooth'
5529
p7.BottomSurface = 'Smooth'
5530
p8 = Instance.new('Part', modJAIL)
5531
p8.BrickColor = BrickColor.new('Black')
5532
p8.Transparency = 1
5533
p8.Position = Vector3.new(-6.2,4,-9.1)
5534
p8.Rotation = Vector3.new(0,90,0)
5535
p8.Anchored = true
5536
p8.Locked = true
5537
p8.Size = Vector3.new(1,6,4)
5538
p8.TopSurface = 'Smooth'
5539
p8.BottomSurface = 'Smooth'
5540
5541
------------------------
5542
---Even more commands---
5543
------------------------
5544
5545
addcmd('ayylmao','ayy lmao',{''},
5546
function(args)
5547
	local players = getPlayer(args[1])
5548
	for i,v in pairs(players)do
5549
	    local pchar = gPlayers[v].Character
5550
	    if pcharFindFirstChild(Shirt) then
5551
		    pchar.ShirtDestroy()
5552
	    end
5553
	    if pcharFindFirstChild(Pants) then
5554
		    pchar.PantsDestroy()
5555
	    end
5556
	    if pcharFindFirstChild(Shirt Graphic) then
5557
		    pchar[Shirt Graphic].Graphic = 
5558
	    end
5559
	    for i,v in pairs(pcharGetChildren()) do
5560
		    if vIsA(Hat) then
5561
			    vDestroy()
5562
		    end
5563
	    end
5564
	    local ayylmao = DATA.ayylmaoClone()
5565
	    ayylmao.Parent = pchar
5566
	    local BC = pchar[Body Colors]
5567
	    BC.HeadColor = BrickColor.new(Fossil)
5568
	    BC.LeftArmColor = BrickColor.new(Fossil)
5569
	    BC.LeftLegColor = BrickColor.new(Fossil)
5570
	    BC.RightArmColor = BrickColor.new(Fossil)
5571
	    BC.RightLegColor = BrickColor.new(Fossil)
5572
	    BC.TorsoColor = BrickColor.new(Fossil)
5573
	end
5574
end)
5575
5576
----------------------
5577
-----Commands GUI-----
5578
----------------------
5579
5580
CMDsFolder = Instance.new(Folder, game.CoreGui)
5581
5582
for i,v in pairs(CMDs) do
5583
	CMDsValue = Instance.new(StringValue, CMDsFolder)
5584
	CMDsValue.Value = v
5585
	CMDsValue.RobloxLocked = true
5586
end
5587
5588
local function commands()
5589
	local cmds = DATA.CMDsClone()
5590
	cmds.Parent = Player.PlayerGui
5591
	local CMDsV = CMDsFolderGetChildren()
5592
	for i = 1, #CMDsV do
5593
		local YSize = 25
5594
		local Position = ((i  YSize) - YSize)
5595
		local newcmd = cmds.MAIN.ExampleClone()
5596
		newcmd.Parent = cmds.MAIN.CMDs
5597
		newcmd.Visible = true
5598
		newcmd.Position = UDim2.new(0,5,0, Position + 5)
5599
		newcmd.Text =  .. CMDsV[i].Value
5600
		cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
5601
	end
5602
end
5603
5604
addcmd('cmds','prints cmds',{},
5605
function(args)
5606
	commands()
5607
end)
5608
5609
-----------------
5610
---Command Bar---
5611
-----------------
5612
5613
CMDbar.CMDbar.FocusLostconnect(function(enterpressed)
5614
	if enterpressed and CMDbar.CMDbar.Text ~=  then
5615
		spawn(function ()
5616
			execCmd(CMDbar.CMDbar.Text, Player)
5617
		end)
5618
	end
5619
	CMDbar.CMDbarTweenPosition(UDim2.new(0, -500, 0.7, 0), InOut, Quad, 0.5, true, nil)
5620
end)
5621
5622
Mouse.KeyDownconnect(function(Key)
5623
	if Keybyte() == 59 then
5624
		CMDbar.CMDbarTweenPosition(UDim2.new(0, 0, 0.4, 0), InOut, Quad, 0.5, true, nil)
5625
		CMDbar.CMDbarCaptureFocus()
5626
	end
5627
end)
5628
5629
----------------
5630
--ESP function--
5631
----------------
5632
5633
local ESP = false
5634
local track = false
5635
5636
function Create(base, team)
5637
    local MAIN = DATA.MAINClone()
5638
    local F = MAIN.DOT
5639
    local ESP = MAIN.NAME
5640
5641
    MAIN.Parent = Player.PlayerGui
5642
	MAIN.Adornee = base
5643
	
5644
	F.Visible = true
5645
	
5646
	ESP.Text = base.Parent.Nameupper()
5647
	ESP.Visible = true
5648
end
5649
5650
function Clear()
5651
	for _,v in pairs(Player.PlayerGuichildren()) do
5652
		if v.Name == MAIN and vIsA(BillboardGui) then
5653
			vDestroy()
5654
		end
5655
	end
5656
end
5657
5658
function Find()
5659
	Clear()
5660
	track = true
5661
	spawn(function()
5662
		while wait() do
5663
			if track then
5664
				Clear()
5665
				for i,v in pairs(game.Playersplayers()) do
5666
					if v.Character and v.Character.Head then
5667
						Create(v.Character.Head, true)
5668
					end
5669
				end
5670
			end
5671
			wait(1)
5672
		end
5673
	end)
5674
end
5675
5676
-------
5677
--ESP--
5678
-------
5679
5680
Mouse.KeyDownconnect(function(Key)
5681
	if Keybyte() == 30 then
5682
		if ESP == false then
5683
			Find()
5684
		    ESP = true
5685
		elseif ESP == true then
5686
			Clear()
5687
			track = false
5688
			ESP = false
5689
		end
5690
	end
5691
end)
5692
5693
---------------------------------
5694
----Notify animationmovement----
5695
---------------------------------
5696
5697
local NOTIFY = DATA.Notification
5698
NOTIFY.Parent = game.CoreGui
5699
5700
local memes = DATA.MemesClone()
5701
memes.Parent = Player.PlayerGui
5702
5703
local usingNOTE = false
5704
5705
function Notify(msg)
5706
	if usingNOTE == false then
5707
		if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
5708
			spawn(function()
5709
				NOTIFY.NOTIFYTweenPosition(UDim2.new(0, 0, 0.4, 0), InOut, Quad, 0.5, true, nil)
5710
				NOTIFY.NOTIFY.NOTE.Text = msg
5711
				usingNOTE = true
5712
				wait(2.5)
5713
				NOTIFY.NOTIFYTweenPosition(UDim2.new(0, -500, 0.7, 0), InOut, Quad, 0.5, true, nil)
5714
				usingNOTE = false
5715
		    end)
5716
		end
5717
	end
5718
end
5719
5720
-------------------------
5721
--Startup notifications--
5722
-------------------------
5723
5724
wait(1)
5725
5726
if game.Workspace.FilteringEnabled == true then
5727
	NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
5728
	Notify('Filtering Status ENABLED!') 
5729
elseif game.Workspace.FilteringEnabled == false then
5730
	NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
5731
	Notify('Filtering Status Disabled.') 
5732
end
5733
5734
wait(2.6)
5735
5736
NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,255)
5737
5738
Notify('N3xulis Loaded ' .. #cmds .. ' Commands.')
5739
5740
wait(2.6)
5741
5742
Notify('Welcome ' .. Player.Name .. '!')
5743
5744
wait(3)
5745
5746
Notify('Push ; for the command bar.')
5747
5748
wait(2.6)
5749
5750
Notify('Say ;cmds for commands')
5751
5752
wait(3)
5753
5754
Player.PlayerGui.MemesDestroy()
5755
5756
-- __  __                          ___                  
5757
--                          _     __           
5758
--  `      __   __  _  __  __   _    ____  
5759
--   , `   '__` '         ',__ 
5760
--    `   __    _  _ _  __, `
5761
--    _ _ ______ ____ ____ _____
5762
--    _______ ___  ____ ____ ---------------------------------------------------------------
5763
--------------------------Version Beta--------------------------
5764
---------------------------------------------------------------
5765
---------------------------N3xul---------------------------
5766
---------------------------------------------------------------