Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- __ __ ___
- -- _ __
- -- ` __ __ _ __ __ _ ____
- -- , ` '__` ' ',__
- -- ` __ _ _ _ __, `
- -- _ _ ______ ____ ____ _____
- -- _______ ___ ____ ____
- --------------------------Version Beta--------------------------
- ---------------------------------------------------------------
- ---------------------------N3xul---------------------------
- ---------------------------------------------------------------
- local gCoreGui = gameGetService('CoreGui')
- local gPlayers = gameGetService('Players')
- local gLighting = gameGetService('Lighting')
- local gWorkspace = gameGetService('Workspace')
- local Player = game.Players.lolfarmer
- local char = Player.Character
- local LP = gPlayers.lolfarmer
- local gPlayers = gameGetService(Players)
- local admin = gPlayers.lolfarmer.Name
- local services={}
- local cmds={}
- local std={}
- local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe =
- game.Lighting.FogEnd, fs = game.Lighting.FogStart}
- function FIND_CHILD(PATH, NAME) if PATHFindFirstChild(NAME) then return true end return false end
- local Version = '1.9'
- wait(0.1)
- services.players=gPlayers
- services.lighting=gameGetService('Lighting')
- services.workspace=gameGetService('Workspace')
- services.events = {}
- local user = gPlayers.lolfarmer
- local gCoreGui = gameGetService('CoreGui')
- local gPlayers = gameGetService('Players')
- local gLighting = gameGetService('Lighting')
- local gWorkspace = gameGetService('Workspace')
- local cmdprefix=';'
- local scriptprefix=''
- local split=
- -------------------------
- -----Ban information-----
- -------------------------
- local BanFolder = Instance.new(Fire, game.ContextActionService)
- BanFolder.Name = BanList
- BanFolder.RobloxLocked = true
- _G.Banned = function(Ban)
- local SValue = Instance.new(StringValue, BanFolder)
- SValue.Value = Ban
- SValue.RobloxLocked = true
- end
- BannedPlayers = {
- 'norma832', -- oh my god leave me alone
- 'LordCrazy13' -- u are just annoying
- }
- ------------------------
- -------Admin Data-------
- ------------------------
- local AdminFolder = Instance.new(Folder, game.ContextActionService)
- AdminFolder.Name = AdminList
- AdminFolder.RobloxLocked = true
- _G.Admin = function(Admin)
- local SValue = Instance.new(StringValue, AdminFolder)
- SValue.Value = Admin
- SValue.RobloxLocked = true
- end
- ------------------------
- -----Defines Admins-----
- ------------------------
- local admins = {
- 'DontAddAnything(MakesItBug)',
- }
- -------------------------------------------
- ---Commands that show up in the CMD list---
- -------------------------------------------
- CMDs = {
- '1. ff player',
- '2. unff player',
- '3. fire player',
- '4. unfire player',
- '5. sparkles player',
- '6. unsparkles player',
- '7. smoke player',
- '8. unsmoke player',
- '9. btools player',
- '10. god player',
- '11. sgod player',
- '12. ungod player',
- '13. heal player',
- '14. freeze player',
- '15. thaw player',
- '16. kill player',
- '17. sound',
- '18. volume',
- '19. pitch',
- '20. explode player',
- '21. invisible player',
- '22. visible player',
- '23. goto player',
- '24. bring player',
- '25. tp player',
- '26. char player',
- '27. speed player',
- '28. time',
- '29. kick player',
- '30. ban player',
- '31. unlockws',
- '32. unanchorws',
- '33. hat player',
- '34. gear player',
- '35. m message',
- '36. skick player',
- '37. admin player',
- '38. unadmin player',
- '39. firstp player',
- '40. thirdp player',
- '41. chat player',
- '42. insert',
- '43. name player',
- '44. unname player',
- '45. stun player',
- '46. unstun player',
- '47. sit player',
- '48. guest player',
- '49. damage player',
- '50. view player',
- '51. unview player',
- '52. nolimbs player',
- '53. box player 1012',
- '54. nobox player',
- '55. ghost player',
- '56. sphere player',
- '57. loadmap',
- '58. sky',
- '59. ambient',
- '60. gui',
- '61. jail player',
- '62. unjail player',
- '63. shutdown',
- '64. animation player',
- '65. normal player',
- '66. creeper player',
- '67. uncreeper player',
- '68. shrek player',
- '69. unshrek player',
- '70. spam',
- '71. nospam',
- '72. control player',
- '73. nuke player',
- '74. infect player',
- '75. uninfect player',
- '76. duck player',
- '77. unduck player',
- '78. disable player',
- '79. enable player',
- '80. size player',
- '81. confuse player',
- '82. unconfuse player',
- '83. clone player',
- '84. spin player',
- '85. unspin player',
- '86. dog player',
- '87. undog player',
- '88. tptool',
- '89. loopsit player',
- '90. unloopsit player',
- '91. loopjump player',
- '92. unloopjump player',
- '93. loopheal player',
- '94. unloopheal player',
- '95. fling player',
- '96. ayylmao player',
- '97. nograv player',
- '98. grav player',
- '99. seizure player',
- '100. unseizure player',
- '101. cape 1012',
- '102. uncape',
- '103. paper player',
- '104. punish player',
- '105. unpunish player',
- '106. disco',
- '107. undisco',
- '108. lockws',
- '109. base',
- '110. fix',
- '111. flood',
- '112. spookyify',
- '113. explorer (Possible crash)',
- '114. decalspam ID',
- '115. wtrbtools',
- '116. respawn',
- '117. lightsaber',
- '118. draw',
- '119. devuzi',
- '- float player',
- '- unfloat player',
- '- noclip',
- '- clip',
- '- prefix string',
- '- admins',
- '- bans',
- '- cmds',
- '- version'
- }
- -------
- --Lib--
- -------
- updateevents=function()
- for i,v in pairs(services.events) do services.eventsremove(i) vdisconnect() end
- for i,v in pairs(gPlayersplayers())do
- local ev = v.Chattedconnect(function(msg) do_exec(msg,v) end)
- services.events[#services.events+1] = ev
- end
- end
- std.inTable=function(tbl,val)
- if tbl==nil then return false end
- for _,v in pairs(tbl)do
- if v==val then return true end
- end
- return false
- end
- std.out=function(str)
- print(str)
- end
- std.list=function(tbl)
- local str=''
- for i,v in pairs(tbl)do
- str=str..tostring(v)
- if i~=#tbl then str=str..', ' end
- end
- return str
- end
- std.endat=function(str,val)
- local z=strfind(val)
- if z then
- return strsub(0,z-string.len(val)),true
- else
- return str,false
- end
- end
- std.first=function(str) return strsub(1,1) end
- isAdmin=function(name)
- if name==admin then
- return true
- elseif admins[name]==true then
- return true
- end
- return false
- end
- local exec=function(str)
- spawn(function()
- local script, loaderr = loadstring(str)
- if not script then
- error(loaderr)
- else
- script()
- end
- end)
- end
- local findCmd=function(cmd_name)
- for i,v in pairs(cmds)do
- if v.NAMElower()==cmd_namelower() or std.inTable(v.ALIAS,cmd_namelower())then
- return v
- end
- end
- end
- local getCmd=function(msg)
- local cmd,hassplit=std.endat(msglower(),split)
- if hassplit then
- return {cmd,true}
- else
- return {cmd,false}
- end
- end
- local getprfx=function(strn)
- if strnsub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
- elseif strnsub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
- end return
- end
- local getArgs=function(str)
- local args={}
- local new_arg=nil
- local hassplit=nil
- local s=str
- repeat
- new_arg,hassplit=std.endat(slower(),split)
- if new_arg~='' then
- args[#args+1]=new_arg
- s=ssub(string.len(new_arg)+string.len(split)+1)
- end
- until hassplit==false
- return args
- end
- local function execCmd(str, plr)
- local s_cmd
- local a
- local cmd
- s_cmd = getCmd(str)
- cmd = findCmd(s_cmd[1])
- if cmd == nil then return end
- a = strsub(string.len(s_cmd[1]) + string.len(split) + 1)
- local args=getArgs(a)
- pcall(function()
- cmd.FUNC(args, plr)
- end)
- end
- function do_exec(str,plr)
- if not isAdmin(plr.Name)then return end
- str=strgsub('e ','')
- local t=getprfx(str)
- if t==nil then return end
- str=strsub(t[2])
- if t[1]=='exec' then
- exec(str)
- elseif t[1]=='cmd' then
- execCmd(str, plr)
- end
- end
- updateevents()
- _G.exec_cmd = execCmd
- --game.Players.lolfarmer.Chattedconnect(doexec)
- local _char=function(plr_name)
- for i,v in pairs(game.PlayersGetChildren())do
- if vIsA'Player'then
- if v.Name==plr_name then return v.Character end
- end
- end
- return
- end
- local _plr=function(plr_name)
- for i,v in pairs(game.PlayersGetChildren())do
- if vIsA'Player'then
- if v.Name==plr_name then return v end
- end
- end
- return
- end
- function addcmd(name,desc,alias,func)
- cmds[#cmds+1]=
- {
- NAME=name;
- DESC=desc;
- ALIAS=alias;
- FUNC=func;
- }
- end
- local function getPlayer(name)
- local nameTable = {}
- name=namelower()
- if name == me then
- nameTable[#nameTable+1]=admin
- elseif name == others then
- for i,v in pairs(gPlayersGetChildren()) do
- if vIsA'Player'then
- if v.Name~=admin then
- nameTable[#nameTable+1]=v.Name
- end
- end
- end
- elseif name == all then
- for i,v in pairs(gPlayersGetChildren()) do
- if vIsA'Player'then
- nameTable[#nameTable+1]=v.Name
- end
- end
- else
- for i,v in pairs(gPlayersGetChildren()) do
- local lname = v.Namelower()
- local i,j = lnamefind(name)
- if i == 1 then
- return {v.Name}
- end
- end
- end
- return nameTable
- end
- ---------------
- ---Cape Info---
- ---------------
- local capeColor = 1012
- function Cape(playerCaped)
- if playerCaped.CharacterFindFirstChild(Cape) ~= nil then
- playerCaped.Character.CapeDestroy()
- end
- repeat
- wait()
- until playerCaped and playerCaped.Character and playerCaped.CharacterFindFirstChild(Torso)
- local Torso = playerCaped.Character.Torso
- local Cape = Instance.new(Part, Torso.Parent)
- Cape.Name = Cape
- Cape.Anchored = false
- Cape.CanCollide = false
- Cape.TopSurface = 0
- Cape.BottomSurface = 0
- Cape.BrickColor = BrickColor.new( .. capeColor)
- Cape.Material = Neon
- Cape.formFactor = Custom
- Cape.Size = Vector3.new(0.2,0.2,0.2)
- local msh = Instance.new(BlockMesh, Cape)
- msh.Scale = Vector3.new(9,17.5,.5)
- local motor1 = Instance.new(Motor, Cape)
- motor1.Part0 = Cape
- motor1.Part1 = Torso
- motor1.MaxVelocity = 1
- motor1.C0 = CFrame.new(0,1.75,0)CFrame.Angles(0,math.rad(90),0)
- motor1.C1 = CFrame.new(0,1,.45)CFrame.Angles(0,math.rad(90),0)
- local wave = false
- repeat wait(144)
- local ang = 0.2
- local oldmag = Torso.Velocity.magnitude
- local mv = .1
- if wave then
- ang = ang + ((Torso.Velocity.magnitude10) .05) + 1
- wave = false
- else
- wave = false
- end
- ang = ang + math.min(Torso.Velocity.magnitude30, 1)
- motor1.MaxVelocity = math.min((Torso.Velocity.magnitude10), .04) + mv
- motor1.DesiredAngle = -ang
- if motor1.CurrentAngle -.05 and motor1.DesiredAngle -.05 then
- motor1.MaxVelocity = .04
- end
- repeat
- wait()
- until
- motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag) = (Torso.Velocity.magnitude10) + 1
- if Torso.Velocity.magnitude .1 then
- wait(.1)
- end
- until not Cape or Cape.Parent ~= Torso.Parent
- end
- game.Lighting.Outlines = false -- outlines look ugly
- ----------------
- ----Commands----
- ----------------
- addcmd('ff','gives ff to player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- Instance.new(ForceField, pchar)
- end
- end)
- addcmd('unff', 'takes away ff from player',{'unff'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pcharGetChildren()) do
- if v1IsA(ForceField) then
- v1Destroy()
- end
- end
- end
- end)
- addcmd('fire', 'set a player on fire',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- local Fire1 = Instance.new(Fire, pchar.Head)
- local Fire2 = Instance.new(Fire, pchar.Torso)
- local Fire3 = Instance.new(Fire, pchar[Left Arm])
- local Fire4 = Instance.new(Fire, pchar[Right Arm])
- local Fire5 = Instance.new(Fire, pchar[Left Leg])
- local Fire6 = Instance.new(Fire, pchar[Right Leg])
- Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
- end
- end)
- addcmd('nofire', 'extinguish a player',{'unfire'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.HeadGetChildren()) do
- if v1IsA(Fire) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar.TorsoGetChildren()) do
- if v1IsA(Fire) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Left Arm]GetChildren()) do
- if v1IsA(Fire) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Right Arm]GetChildren()) do
- if v1IsA(Fire) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Left Leg]GetChildren()) do
- if v1IsA(Fire) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Right Leg]GetChildren()) do
- if v1IsA(Fire) then
- v1Destroy()
- end
- end
- end
- end)
- addcmd('sparkles', 'give a player sparkles',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- local Sparkles1 = Instance.new(Sparkles, pchar.Head)
- local Sparkles2 = Instance.new(Sparkles, pchar.Torso)
- local Sparkles3 = Instance.new(Sparkles, pchar[Left Arm])
- local Sparkles4 = Instance.new(Sparkles, pchar[Right Arm])
- local Sparkles5 = Instance.new(Sparkles, pchar[Left Leg])
- local Sparkles6 = Instance.new(Sparkles, pchar[Right Leg])
- Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
- Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
- end
- end)
- addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.HeadGetChildren()) do
- if v1IsA(Sparkles) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar.TorsoGetChildren()) do
- if v1IsA(Sparkles) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Left Arm]GetChildren()) do
- if v1IsA(Sparkles) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Right Arm]GetChildren()) do
- if v1IsA(Sparkles) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Left Leg]GetChildren()) do
- if v1IsA(Sparkles) then
- v1Destroy()
- end
- end
- for j,v1 in pairs(pchar[Right Leg]GetChildren()) do
- if v1IsA(Sparkles) then
- v1Destroy()
- end
- end
- end
- end)
- addcmd('smoke', 'give a player smoke',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- Instance.new(Smoke, pchar.Torso)
- end
- end)
- addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for j,v1 in pairs(pchar.TorsoGetChildren()) do
- if v1IsA(Smoke) then
- v1Destroy()
- end
- end
- end
- end)
- addcmd('btools', 'gives a player btools',{},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil then
- for i, v in pairs(players) do
- Instance.new(HopperBin, gPlayers[v].Backpack).BinType = 2
- Instance.new(HopperBin, gPlayers[v].Backpack).BinType = 3
- Instance.new(HopperBin, gPlayers[v].Backpack).BinType = 4
- Notify('Gave ' .. gPlayers[v].Name .. ' btools')
- end
- end
- end)
- addcmd('devuzi', 'its da dev uzi',{},
- function(args)
- wait(0.001);
- --------------------------------------------------------------------------------------
- _clear=function()
- local c={char;bag;gui;};
- for i=1,#c do
- local c=c[i]children();
- for i=1,#c do
- if(c[i].Name==name)then
- c[i].Parent=nil;
- end;
- end;
- end;
- local n=name..user.Name;
- local c=workspacechildren();
- for i=1,#c do
- if(c[i].Name==n)then
- c[i].Parent=nil;
- end;
- end;
- end;
- _valid_key=function(object,key)
- return object[key],key;
- end;
- _new=function(class)
- return function(props)
- if(type(list_base_props)=='table')then
- for i,v in next,list_base_props do
- if(props[i]==nil)then
- props[i]=v;
- end;
- end;
- end;
- local object=class;
- if(type(class)=='string')then
- object=Instance.new(classsub(1,1)upper()..classsub(2));
- end;
- local parent=props[1];
- props[1]=nil;
- for i,v in next,props do
- local load,res,key=pcall(_valid_key,object,isub(1,1)upper()..isub(2));
- if(not load)then
- load,res,key=pcall(_valid_key,object,i);
- end;
- if(key)then
- t=type(res);
- s=tostring(res);
- if(t=='userdata'and s=='Signal '..key)then
- if(type(v)=='table')then
- for i=1,#v do
- resconnect(v[i]);
- end;
- else
- resconnect(v);
- end;
- else
- object[key]=v;
- end;
- end;
- end;
- if(parent)then
- object.Parent=parent;
- end;
- return object;
- end;
- end;
- _RGB=function(r,g,b)
- return Color3.new(r255,g255,b255);
- end;
- _copy=function(o)
- local def=o.archivable;
- o.archivable=true;
- local c=oclone();
- o.archivable=def;
- return c;
- end;
- _hum=function(char)
- local hum=charfindFirstChild'Humanoid';
- if(not hum or hum.className~='Humanoid')then
- local c=charchildren();
- for i=1,#c do
- if(c[i].className=='Humanoid')then
- return c[i];
- end;
- end;
- else
- return hum;
- end;
- end;
- _hum_tag=function(hum)
- local c=humfindFirstChild'creator'or Instance.new('ObjectValue',hum);
- c.Name='creator';
- c.Value=user;
- if(hum.Health==0 and not humfindFirstChild'killed')then
- Instance.new('BoolValue',hum).Name='killed';
- bullets.clip=bullets.clip+10;
- end;
- end;
- _hum_dam=function(hum,dam,percent)
- hum.Health=hum.Health-(percent and hum.MaxHealth(dam0.01)or dam);
- if(hum.Health=hum.MaxHealth0.1)then
- _hum_tag(hum);
- end;
- end;
- _ray=function(v0,v1,i)
- local mag=(v0-v1).magnitude;
- local ray=Ray.new(v0,(v1-v0).unit(mag999 and 999 or mag));
- return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
- end;
- _must=function(v0,v1,i)
- local hit,pos=_ray(v0,v1,i);
- return not hit and mouse.target or hit,pos;
- end;
- _cframe=function(x,y,z,r0,r1,r2)
- return CFrame.Angles(
- math.rad(r0 or 0),
- math.rad(r1 or 0),
- math.rad(r2 or 0)
- )CFrame.new(x,y,z);
- end;
- _update=function()
- if(bool_active and not screen.Parent)then
- screen.Parent=gui;
- elseif(not bool_active and screen.Parent)then
- screen.Parent=nil;
- end;
- end;
- _light=function(v0,v1)
- local mag=(v0-v1).magnitude;
- local len=math.random(2,7);
- len=lenmag2 and mag2 or len;
- local light=_new'part'{
- cFrame=CFrame.new(v0,v1);
- size=Vector3.new(1,1,1);
- color=_RGB(255,255,0);
- anchored=true;
- inv;
- };
- _new'blockMesh'{
- scale=Vector3.new(0.2,0.2,len);
- offset=Vector3.new(0,0,-len2);
- light;
- };
- local bb=_new'billboardGui'{
- size=UDim2.new(2,0,2,0);
- adornee=light;
- light;
- };
- _new'imageLabel'{
- image=urlformat(109101526);
- backgroundTransparency=1;
- size=UDim2.new(1,0,1,0);
- bb;
- };
- _rem(light,0.15);
- end;
- _rem=function(object,del)
- if(del)then
- delay(del,function()
- if(object.Parent)then
- object.Parent=nil;
- end;
- end);
- else
- pcall(function()
- if(object.Parent)then
- object.Parent=nil;
- end;
- end);
- end;
- end;
- _blood=function(pos,count)
- for i=1,count do
- local p=_new'part'{
- rotVelocity=Vector3.new(math.random(),math.random(),math.random())50;
- position=pos+Vector3.new(math.random(),math.random(),math.random());
- velocity=Vector3.new(math.random(),math.random(),math.random())50;
- size=Vector3.new(math.random(),math.random(),math.random())3;
- color=_RGB(255,0,0);
- transparency=0.5;
- canCollide=true;
- bottomSurface=0;
- topSurface=0;
- formFactor=3;
- locked=true;
- inv;
- };
- delay(5,function()
- p.Parent=nil;
- end);
- end;
- end;
- _make_hue=function()
- h_hue=_new'part'{
- size=Vector3.new(0.25,1.8,0.35);
- color=_RGB(100,100,100);
- formFactor=3;
- name='hue';
- handle;
- };
- hh_weld=_new'weld'{
- c1=_cframe(0,0.5,0);
- part0=handle;
- part1=h_hue;
- handle;
- };
- end;
- _shot=function(v0,v1)
- if(not time_left)then
- time_left=0;
- end;
- if(time_lefttime())then
- return nil;
- else
- time_left=time()+math.random(1,10)100;
- end;
- if(bullets.current1)then
- local tick_sound=headfindFirstChild'tick_sound'or _new'sound'{
- soundId='rbxassetsoundsSWITCH3.wav';
- name='tick_sound';
- volume=0.2;
- pitch=2;
- head;
- };
- tick_soundplay();
- if(bullets.clip0)then
- time_left=time()+2;
- h_huebreakJoints();
- h_hue.CanCollide=true;
- h_hue.Velocity=(h_hue.CFrameCFrame.new(0,5,0)).lookVector10;
- _rem(h_hue,10);
- delay(1.9,function()
- _make_hue();
- local got=(bullets.clipbullets.maximum and
- bullets.maximum or
- bullets.clip)-bullets.current;
- bullets.clip=bullets.clip-got;
- bullets.current=bullets.current+got;
- end);
- end;
- return nil;
- else
- bullets.current=bullets.current-1;
- h_weld.C1=_cframe(0,0.75,0,
- -math.random(1000,1100)10,180,0);
- d_weld.C1=_cframe(0,-0.25,0.3);
- lightstuff.Visible=true;
- delay(0.1,function()
- lightstuff.Visible=false;
- end);
- _rem(_new'part'{
- velocity=CFrame.new(drag.Position,(drag.CFrameCFrame.new(-4,-5,0)).p).lookVector10;
- cFrame=drag.CFrameCFrame.new(-0.5,0,0);
- size=Vector3.new(0.1,0.1,0.4);
- color=_RGB(200,200,0);
- material='Slate';
- canCollide=true;
- formFactor=3;
- inv;
- },5);
- delay(0.1,function()
- d_weld.C1=_cframe(0,-0.25,0);
- if(bool_active)then
- h_weld.C1=h_weld_cf_active;
- end;
- end)
- end;
- local hit,pos=_must(v0,v1,char);
- shot_soundplay();
- _light(v0,v1);
- if(not hit)then return nil;end;
- if(hit.Parent.className=='Hat')then
- hitbreakJoints();
- hit.CanCollide=true;
- hit.Velocity=CFrame.new(v0,pos).lookVectormath.random(30,50);
- hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
- else
- local hum=_hum(hit.Parent);
- if(not hum)then
- if(hit.Anchored==false and hit.Size.magnitude4)then
- hitbreakJoints();
- hit.CanCollide=true;
- end;
- else
- _hum_dam(hum,math.random(4,6));
- _blood(pos,math.random(3,6));
- hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))6;
- if(hit.Name=='Head')then
- hum.Health=0;
- _blood(pos,math.random(3,6));
- delay(0.001,function()
- _new(workspaceFindFirstChild'head_shot'or'sound'){
- pitch=math.random(70,100)0.01;
- soundId=urlformat(1876552);
- name='head_shot';
- workspace;
- }play();
- end);
- _hum_tag(hum);
- _rem(_new'part'{
- cFrame=CFrame.new(v0,pos)CFrame.new(0,0,-(v0-pos).magnitude0.5);
- size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
- color=torso.Color;
- transparency=0.5;
- canCollide=false;
- bottomSurface=0;
- anchored=true;
- formFactor=3;
- topSurface=0;
- inv;
- },30);
- hit.Parent=nil;
- for b=0,1 do
- for a=0,1 do
- for i=0,1 do
- _rem(_new'part'{
- velocity=CFrame.new(v0,pos).lookVector20;
- cFrame=hit.CFrameCFrame.new(i,-b,a);
- size=Vector3.new(0.5,0.5,0.5);
- color=_RGB(255,255,255);
- bottomSurface=0;
- canCollide=true;
- transparency=0;
- formFactor=3;
- topSurface=0;
- hum;
- },30);
- end;
- end;
- end;
- end;
- end;
- end;
- end;
- ----------------------------------------------------------------------------------------
- _cf_select=function(mouse)
- mouse.Icon=urlformat(109111387);--108999296
- bool_active=true;
- local arm=charfindFirstChild'Right Arm';
- local weld=torsofindFirstChild'Right Shoulder';
- if(arm and weld)then
- h_weld.Part0=arm;
- h_weld.C1=h_weld_cf_active;
- weld.Part1=nil;
- weld.Part0=nil;
- weld=_new(torsofindFirstChild'right_arml'or'weld'){
- name='right_arml';
- part0=torso;
- part1=arm;
- torso;
- };
- arml=(arml or 0)+1;
- local alv=arml;
- local gyro=torsofindFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
- gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
- gyro.P=30000;
- gyro.D=1000;
- gyro.Name='p_gyro';
- repeat
- local pos=mouse.hit.p;
- local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
- val=-math.pi0.5;
- valp=val-1;
- p0=torso.CFrame;
- p0=p0+((p0CFrame.Angles(valp,0,0)).lookVector0.5)+(p0CFrame.Angles(0,val,0)).lookVector;
- p1=p0+((p0.p-pos).unit-2);
- p2=CFrame.new((p0.p+p1.p)2,p0.p)CFrame.Angles(val,val,0);
- hitpos=torso.Position;
- cj=CFrame.new(hitpos);
- c0=torso.CFrameinverse()cj;
- c1=p2inverse()cj;
- weld.C0=c0;
- weld.C1=c1;
- gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
- wait(0.001);
- until arml~=alv;
- gyro.Parent=nil;
- end;
- end;
- _cf_deselect=function()
- bool_active=false;
- arml=(arml or 0)+1;
- loop_shot=(loop_shot or 0)+1;
- h_weld.Part0=torso;
- h_weld.C1=h_weld_cf_inactive;
- local weld=torsofindFirstChild'right_arml';
- if(weld)then
- weld.Part1=nil;
- weld.Part0=nil;
- end;
- local arm=charfindFirstChild'Right Arm';
- local weld=torsofindFirstChild'Right Shoulder';
- if(arm and weld)then
- weld.Part0=torso;
- weld.Part1=arm;
- end;
- end;
- _cf_mouse=function(event,fun)
- mouse[eventsub(1,1)upper()..eventsub(2)]connect(function(...)
- if(bool_active)then
- fun(...);
- end;
- end);
- end;
- ----------------------------------------------------------------------------------------
- do
- local main=getfenv(0);
- local c=gamechildren();
- local check=function(v)
- if(v.className~=''and v.className~='Instance'and gameservice(v.className))then
- main[v.classNamesub(1,1)lower()..v.classNamesub(2)]=v;
- end;
- end;
- for i=1,#c do
- pcall(check,c[i]);
- end;
- end;
- ----------------------------------------------------------------------------------------
- bullets={
- maximum=51111111111111111111111111110;
- current=511111111111111111111111111111110;
- clip=5011111111111111111111111111111114;
- };
- list_base_props={
- backgroundColor3=_RGB(0,0,0);
- textColor3=_RGB(200,200,200);
- borderSizePixel=0;
- color=_RGB(0,0,0);
- archivable=false;
- canCollide=false;
- bottomSurface=0;
- topSurface=0;
- formFactor=0;
- locked=true;
- };
- ----------------------------------------------------------------------------------------
- user=players.lolfarmer;
- char=user.Character;
- gui=user.PlayerGui;
- bag=user.Backpack;
- torso=char.Torso;
- head=char.Head;
- hum=_hum(char);
- url='rbxassetid%d';
- name='dev-uzi';
- h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
- 0,90,-70);
- h_weld_cf_active=_cframe(0,0.75,0,
- -110,180,0);
- assert(hum,'humanoid is not found');
- ----------------------------------------------------------------------------------------
- _clear();
- ----------------------------------------------------------------------------------------
- _cf_mouse('button1Down',function()
- loop_shot=(loop_shot or 0)+1;
- local vers=loop_shot;
- local step=runService.Stepped;
- repeat
- _shot((tube.CFrameCFrame.new(0,0,tube.Size.Z0.5)).p,mouse.hit.p);
- stepwait();--wait(0.001);
- until vers~=loop_shot;
- end);
- _cf_mouse('button1Up',function()
- loop_shot=(loop_shot or 0)+1;
- end);
- _cf_mouse('move',function()
- cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
- end);
- _cf_mouse('keyDown',function(k)
- if(k=='r')then
- if(bullets.clip0 and time_left=time())then
- local got=(bullets.clipbullets.maximum and
- bullets.maximum or
- bullets.clip)-bullets.current;
- bullets.clip=bullets.clip-got;
- bullets.current=bullets.current+got;
- if(got~=0)then
- time_left=time()+2;
- end;
- end;
- end;
- end);
- ----------------------------------------------------------------------------------------
- screen=_new'screenGui'{
- name=name;
- };
- cross_f=_new'frame'{
- size=UDim2.new(0,21,0,21);
- backgroundTransparency=1;
- screen;
- };
- for i=0,1 do
- _new'frame'{
- position=UDim2.new(0,13i,0,11);
- size=UDim2.new(0,10,0,1);
- cross_f;
- };
- end;
- for i=0,1 do
- _new'frame'{
- position=UDim2.new(0,11,0,13i);
- size=UDim2.new(0,1,0,10);
- cross_f;
- };
- end;
- ----------------------------------------------------------------------------------------
- shot_sound=_new(headfindFirstChild'2920959'or'sound'){
- soundId=urlformat(2920959);
- pitch=1.4;
- head;
- };
- if(shot_sound.Name~='2920959')then
- shot_sound.Name='2920959';
- shot_soundplay();
- end;
- bin=_new'hopperBin'{
- deselected=_cf_deselect;
- selected=_cf_select;
- name=name;
- bag;
- };
- inv=_new'model'{
- name=name;
- char;
- };
- handle=_new'part'{
- size=Vector3.new(0.3,1.3,0.4);
- color=_RGB(140,140,140);
- name='handle';
- formFactor=3;
- inv;
- touched=function(hit)
- if(hit.Parent.className=='Model')then
- local hum=_hum(hit.Parent);
- if(hum~=nil)then
- _hum_dam(hum,handle.Velocity.magnitude);
- end;
- end;
- end;
- };
- h_weld=_new'weld'{
- c1=h_weld_cf_inactive;
- part1=handle;
- part0=torso;
- handle;
- };
- _make_hue();
- h_part=_new'part'{
- size=Vector3.new(0.4,0.4,1.4);
- color=_RGB(140,140,140);
- name='handle';
- formFactor=3;
- handle;
- };
- hp_weld=_new'weld'{
- c1=_cframe(0,-1.32,-0.3,
- 20,0,0);
- part0=handle;
- part1=h_part;
- handle;
- };
- drag=_new'part'{
- size=Vector3.new(0.5,0.45,1.5);
- color=_RGB(100,100,100);
- name='handle';
- formFactor=3;
- handle;
- };
- d_weld=_new'weld'{
- c1=_cframe(0,-0.25,0);
- part0=h_part;
- part1=drag;
- handle;
- };
- tube=_new'part'{
- size=Vector3.new(0.2,0.2,1.5);
- color=_RGB(0,0,0);
- name='handle';
- formFactor=3;
- handle;
- };
- t_weld=_new'weld'{
- c1=_cframe(0,-0.3,-0.1);
- part0=h_part;
- part1=tube;
- handle;
- };
- bullets_label=_new'textLabel'{
- textStrokeColor3=_RGB(0,0,0);
- textColor3=_RGB(200,200,200);
- textStrokeTransparency=0;
- backgroundTransparency=1;
- fontSize=5;
- screen;
- };
- lightstuff=_new'frame'{
- backgroundColor3=_RGB(255,255,255);
- position=UDim2.new(0,0,0,-1);
- backgroundTransparency=0.5;
- size=UDim2.new(1,0,1,1);
- borderSizePixel=0;
- visible=false;
- screen;
- };
- coroutine.wrap(function()
- local red,white,green;
- repeat
- if(screen.Parent)then
- if(not green and bullets.current==bullets.maximum)then
- green=true;
- bullets_label.TextColor3=_RGB(0,200,0);
- elseif(not red and bullets.current==0)then
- red=true;
- bullets_label.TextColor3=_RGB(200,0,0);
- elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
- bullets_label.TextColor3=_RGB(200,200,200);
- green=false;
- red=false;
- end;
- bullets_label.Text=('Bullets %d%d')format(bullets.current,bullets.clip);
- bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
- bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
- end;
- wait(0.001);
- until nil;
- end)();
- ----------------------------------------------------------------------------------------
- _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
- local vers=_G.dev_pistol_version;
- repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
- if(hum.Health==0)then
- _clear();
- end;
- script.Disabled=true;
- --mediafire-----------------------------------------------------------------------------
- end)
- addcmd('draw', 'drawing tool',{},
- function(args)
- for i,v in next,gamechildren()do
- pcall(function()
- local c=v.className;
- rawset(getfenv(0),csub(1,1)lower()..csub(2),gameservice(c));
- end);
- end;
- user=players.lolfarmer;
- uname=user.Name;
- guis=user.PlayerGui;
- pack=user.Backpack;
- keyDowns={};
- freeKeys={};
- shortcuts={};
- _G.mine=_G.mine or{};
- name='Draw3D';
- url='httpwww.roblox.comassetid=%d';
- iconNormal=urlformat(96578285);
- iconOnDown=urlformat(96584484);
- ver=0;
- drawPixel=0.10;
- _G.drawLimit=_G.drawLimit or 1000;
- _G.drawColor=_G.drawColor or Color3.new();
- destroy=game.remove;
- find=game.findFirstChild;
- new=Instance.new;
- with=function(c)
- return function(p)
- local o=type(c)=='string'and new(c)or c;
- local x=p.Parent;p.Parent=nil;
- for i,v in next,p do
- o[i]=v;
- end;
- if(x)then
- o.Parent=x;
- end;
- return o;
- end;
- end;
- getPlace=function()
- if(find(workspace,'draw')==nil)then
- new('Model',workspace).Name='draw';
- end;
- if(find(workspace.draw,uname)==nil)then
- new('Model',workspace.draw).Name=uname;
- end;
- return workspace.draw[uname];
- end;
- drawLine=function(start,target)
- local gui=with'BlockMesh'{
- Parent=with'Part'{
- CFrame=CFrame.new(start,target)CFrame.new(0,0,-(start-target).magnitude2);
- Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325drawPixel);
- Parent=getPlace();
- Color=_G.drawColor;
- BottomSurface=0;
- Anchored=true;
- TopSurface=0;
- formFactor=3;
- Name=name;
- }}.Parent;
- table.insert(_G.mine,gui);
- return gui;
- end;
- onDown=function()
- if(drawing)then
- return nil;
- end;
- if(selectGui.Adornee)then
- destroy(selectGui.Adornee);
- end;
- drawing=true;
- mouse.Icon=iconOnDown;
- ver=ver+1;
- local cVer,start,target=ver,mouse.hit.p;
- local group={};
- repeat
- Wait(0.02);
- if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
- target=mouse.hit.p;
- table.insert(group,drawLine(start,target));
- start=target;
- end;
- until ver~=cVer;
- drawing=false;
- local groupM=new('Model',getPlace());
- for i,v in next,group do
- if(vIsDescendantOf(Workspace))then
- v.Parent=groupM;
- end;
- end;
- if(next(groupMchildren())==nil)then
- destroy(groupM);
- end;
- end;
- onUp=function()
- mouse.Icon=iconNormal;
- ver=ver+1;
- end;
- onKeyDown=function(k)
- if(freeKeys[k]==false)then
- return false;
- end;
- freeKeys[k]=false;
- Wait(0.01);
- if(keyDowns[k])then
- keyDowns[k]();
- elseif(shortcuts[k])then
- shortcuts[k]();
- end;
- end;
- onKeyUp=function(k)
- freeKeys[k]=true;
- end;
- onMove=function()
- end;
- onSelect=function(lmouse)
- frame.Visible=true;
- mouse=lmouse;
- mouse.Icon=iconNormal;
- mouse.Button1Downconnect(onDown);
- mouse.KeyDownconnect(onKeyDown);
- mouse.Button1Upconnect(onUp);
- mouse.KeyUpconnect(onKeyUp);
- mouse.Moveconnect(onMove);
- end;
- onDeselect=function()
- ver=ver+1;
- frame.Visible=false;
- selectGui.Adornee=nil;
- mouse.Icon=iconNormal;
- for i,v in next,freeKeys do
- freeKeys[i]=true;
- end;
- end;
- addButton=function(title,shortcut,fun)
- with'TextButton'{
- Text=string.format(' %s (%s)',title,shortcut);
- TextXAlignment=0;
- Parent=frame;
- }.MouseButton1Upconnect(fun);
- shortcuts[shortcut]=fun;
- local c=#framechildren();
- for i,v in next,framechildren()do
- v.Position=UDim2.new(0,0,0,20(i-1));
- v.Size=UDim2.new(1,0,0,20);
- end;
- frame.Position=UDim2.new(1,-152,.5,-c10);
- frame.Size=UDim2.new(0,150,0,c20);
- end;
- for i,v in next,{guis;pack;}do
- pcall(function()
- repeat until destroy(v[name]);
- end);
- end;
- tool=with'HopperBin'{
- Parent=pack;
- Name=name;
- };
- tool.Deselectedconnect(onDeselect);
- tool.Selectedconnect(onSelect);
- screen=with'ScreenGui'{
- Parent=guis;
- Name=name;
- };
- frame=with'Frame'{
- Parent=screen;
- Visible=false;
- };
- clframe=with'Frame'{
- Position=UDim2.new(.5,-50,.5,-50);
- Size=UDim2.new(0,100,0,100);
- Visible=false;
- Parent=screen;
- };
- selectGui=with'SelectionBox'{
- Parent=screen;
- };
- local c=0;
- for y=0,7 do
- for x=0,7 do
- local color=BrickColor.palette(c).Color;
- with'ImageButton'{
- Position=UDim2.new(.125x,0,.125y);
- Size=UDim2.new(.125,0,.125);
- BackgroundColor3=color;
- Parent=clframe;
- }.MouseButton1Upconnect(function()
- clframe.Visible=false;
- _G.drawColor=color;
- end);
- c=c+1;
- end;
- end;
- addButton('Color','c',function()
- clframe.Visible=true;
- end);
- addButton('Remove your draws','r',function()
- repeat
- destroy(_G.mine[1]);
- table.remove(_G.mine,1);
- Wait(0.01);
- until nil;
- end);
- addButton('Remove global draws','k',function()
- destroy(workspace.draw);
- while(_G.mine[1])do
- destroy(_G.mine[1]);
- table.remove(_G.mine,1);
- end;
- end);
- addButton('Remove selected','x',function()
- repeat
- if(find(workspace,'draw'))then
- local dt=mouse.target;
- if(dt and dtIsDescendantOf(workspace.draw))then
- selectGui.Adornee=dt.Parent;
- else
- selectGui.Adornee=nil;
- end;
- else
- selectGui.Adornee=nil;
- end;
- Wait(0.01);
- until freeKeys.x;
- selectGui.Adornee=nil;
- end);
- repeat
- Wait(0.01);
- if(next(_G.mine)and _G.mine[_G.drawLimit])then
- destroy(_G.mine[1]);
- table.remove(_G.mine,1);
- end;
- until script.Parent==nil or tool.Parent==nil;
- script.Disabled=true;
- destroy(screen);
- end)
- addcmd('god', 'gods player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.MaxHealth=math.huge end
- end
- end)
- addcmd('sgod', 'silently gods player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- spawn(function()
- pchar.Humanoid.MaxHealth = 10000000
- wait()
- pchar.Humanoid.Health = 10000000
- Notify('Godded ' .. gPlayers[v].Name)
- end)
- end
- end)
- addcmd('ungod', 'removes god from a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then
- pchar.Humanoid.MaxHealth=100
- pchar.Humanoid.Health=100
- end
- end
- end)
- addcmd('heal', 'resets a players health',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
- end
- end)
- addcmd('decalspam', 'you can already guess...',{},
- function(args)
- Notify('Decal Spammed ID ' ..args[1])
- decalID = args[1]
- function exPro(root)
- for _, v in pairs(rootGetChildren()) do
- if vIsA(Decal) and v.Texture ~= httpwww.roblox.comassetid=..decalID then
- v.Parent = nil
- elseif vIsA(BasePart) then
- v.Material = Plastic
- v.Transparency = 0
- local One = Instance.new(Decal, v)
- local Two = Instance.new(Decal, v)
- local Three = Instance.new(Decal, v)
- local Four = Instance.new(Decal, v)
- local Five = Instance.new(Decal, v)
- local Six = Instance.new(Decal, v)
- One.Texture = httpwww.roblox.comassetid=..decalID
- Two.Texture = httpwww.roblox.comassetid=..decalID
- Three.Texture = httpwww.roblox.comassetid=..decalID
- Four.Texture = httpwww.roblox.comassetid=..decalID
- Five.Texture = httpwww.roblox.comassetid=..decalID
- Six.Texture = httpwww.roblox.comassetid=..decalID
- One.Face = Front
- Two.Face = Back
- Three.Face = Right
- Four.Face = Left
- Five.Face = Top
- Six.Face = Bottom
- end
- exPro(v)
- end
- end
- function asdf(root)
- for _, v in pairs(rootGetChildren()) do
- asdf(v)
- end
- end
- exPro(game.Workspace)
- asdf(game.Workspace)
- end)
- addcmd('sky', 'sets the sky',{},
- function(args)
- s = Instance.new(Sky)
- s.Name = Sky
- s.Parent = game.Lighting
- skyboxID = args[1]
- s.SkyboxBk = httpwww.roblox.comassetid=..skyboxID
- s.SkyboxDn = httpwww.roblox.comassetid=..skyboxID
- s.SkyboxFt = httpwww.roblox.comassetid=..skyboxID
- s.SkyboxLf = httpwww.roblox.comassetid=..skyboxID
- s.SkyboxRt = httpwww.roblox.comassetid=..skyboxID
- s.SkyboxUp = httpwww.roblox.comassetid=..skyboxID
- game.Lighting.TimeOfDay = 12
- end)
- addcmd('freeze', 'freezes a player',{'freeze'},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil then
- for i, v in pairs(players) do
- _char(v).Torso.Anchored = true
- end
- end
- end)
- addcmd('thaw', 'unfreezes a player',{},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil then
- for i, v in pairs(players) do
- _char(v).Torso.Anchored = false
- end
- end
- end)
- addcmd('kill', 'kills a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
- Notify('RIP ' .. gPlayers[v].Name)
- end
- end)
- addcmd('sound', 'plays a sound',{},
- function(args)
- local function dels(instance)
- for i,v in pairs(instanceGetChildren())do
- if vIsA'Sound'then vDestroy()end
- dels(v)
- end
- end
- dels(workspace)
- local c = args[1] or 'stop'
- if std.inTable({'stop'}, clower()) then return end
- local s = Instance.new(Sound, workspace)
- s.Name = IYsound
- s.Looped = true
- s.SoundId = rbxassetid .. c
- s.Volume = 1
- sPlay()
- Notify('Playing ' .. c)
- end)
- addcmd('volume','changes volume of sound',{},
- function(args)
- for i,v in pairs(game.WorkspaceGetChildren())do
- if vIsA(Sound) and v.Name == IYsound then
- v.Volume = args[1]
- Notify('Changed volume to ' .. args[1])
- end
- end
- end)
- addcmd('pitch','changes pitch of sound',{},
- function(args)
- for i,v in pairs(game.WorkspaceGetChildren())do
- if vIsA(Sound) and v.Name == IYsound then
- v.Pitch = args[1]
- Notify('Changed pitch to ' .. args[1])
- end
- end
- end)
- addcmd('explode', 'explode a player', {},
- function(args)
- local players = getPlayer(args[1])
- for i, v in pairs(players) do
- local char = _char(v)
- if charFindFirstChild(Torso) then
- Instance.new(Explosion, char).Position = char.Torso.Position
- end
- end
- end)
- addcmd('flood', 'makes a flood e.e', {},
- function(args)
- game.Workspace.TerrainSetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, Solid, X)
- end)
- addcmd('spookyify', 'makes it sp00ky', {},
- function(args)
- local music = Instance.new(Sound, workspace)
- music.SoundId = httpwww.roblox.comassetid=257569267
- music.Volume = 20
- music.Looped = true
- musicPlay()
- tex1 = httpwww.roblox.comassetid=185495987
- tex2 = httpwww.roblox.comassetid=260858020
- tex3 = httpwww.roblox.comassetid=149213919
- tex4 = httpwww.roblox.comassetid=171905673
- local w = game.WorkspaceGetChildren()
- for i= 1,#w do
- if w[i]isA(BasePart) then
- pe = Instance.new(ParticleEmitter, w[i])
- pe.Texture = tex4
- pe.VelocitySpread = 5
- end
- end
- local playerLeaderstats = {}
- for i, v in pairs(game.PlayersGetChildren()) do
- table.insert(playerLeaderstats, v)
- end
- for i, v in pairs(playerLeaderstats) do
- pe = Instance.new(ParticleEmitter,v.Character.Torso)
- pe.Texture = httpwww.roblox.comassetid=171905673
- pe.VelocitySpread = 50
- end
- texture = httpwww.roblox.comassetid=185495987
- local A = game.WorkspaceGetChildren()
- local B = game.WorkspaceGetChildren()
- local C = game.WorkspaceGetChildren()
- local D = game.WorkspaceGetChildren()
- local E = game.WorkspaceGetChildren()
- local F = game.WorkspaceGetChildren()
- for i,v in pairs(A) do
- if vIsA(Part) then
- local d = Instance.new(Decal,v)
- v.Decal.Face = Top
- v.Decal.Texture = texture
- v.Anchored = true
- end
- end
- for i,v in pairs(B) do
- if vIsA(Part) then
- local s = Instance.new(Decal,v)
- s.Face = Front
- s.Texture = texture
- end
- end
- for i,v in pairs(C) do
- if vIsA(Part) then
- local h = Instance.new(Decal,v)
- h.Face = Back
- h.Texture = texture
- end
- end
- for i,v in pairs(D) do
- if vIsA(Part) then
- local j = Instance.new(Decal,v)
- j.Face = Left
- j.Texture = texture
- end
- end
- for i,v in pairs(E) do
- if vIsA(Part) then
- local k = Instance.new(Decal,v)
- k.Face = Right
- k.Texture = texture
- end
- end
- for i,v in pairs(F) do
- if vIsA(Part) then
- local l = Instance.new(Decal,v)
- l.Face = Bottom
- l.Texture = texture
- end
- imageOne = httpwww.roblox.comassetid=169585459
- imageTwo = httpwww.roblox.comassetid=169585475
- imageThree = httpwww.roblox.comassetid=169585485
- imageFour = httpwww.roblox.comassetid=169585502
- imageFive = httpwww.roblox.comassetid=169585515
- imageSix = httpwww.roblox.comassetid=169585502
- imageSeven = httpwww.roblox.comassetid=169585485
- imageEight = httpwww.roblox.comassetid=169585475
- Spooky = Instance.new(Sound, workspace)
- Spooky.Name = Spooky
- Spooky.SoundId = rbxassetid174270407
- Spooky.Volume = 15
- Spooky.Looped = true
- SpookyPlay()
- Sky = Instance.new(Sky, game.Lighting)
- Sky.SkyboxBk = imageOne
- Sky.SkyboxDn = imageOne
- Sky.SkyboxFt = imageOne
- Sky.SkyboxLf = imageOne
- Sky.SkyboxRt = imageOne
- Sky.SkyboxUp = imageOne
- while true do
- Sky.SkyboxBk = imageOne
- Sky.SkyboxDn = imageOne
- Sky.SkyboxFt = imageOne
- Sky.SkyboxLf = imageOne
- Sky.SkyboxRt = imageOne
- Sky.SkyboxUp = imageOne
- wait(0.15)
- Sky.SkyboxBk = imageTwo
- Sky.SkyboxDn = imageTwo
- Sky.SkyboxFt = imageTwo
- Sky.SkyboxLf = imageTwo
- Sky.SkyboxRt = imageTwo
- Sky.SkyboxUp = imageTwo
- wait(0.15)
- Sky.SkyboxBk = imageThree
- Sky.SkyboxDn = imageThree
- Sky.SkyboxFt = imageThree
- Sky.SkyboxLf = imageThree
- Sky.SkyboxRt = imageThree
- Sky.SkyboxUp = imageThree
- wait(0.15)
- Sky.SkyboxBk = imageFour
- Sky.SkyboxDn = imageFour
- Sky.SkyboxFt = imageFour
- Sky.SkyboxLf = imageFour
- Sky.SkyboxRt = imageFour
- Sky.SkyboxUp = imageFour
- wait(0.15)
- Sky.SkyboxBk = imageFive
- Sky.SkyboxDn = imageFive
- Sky.SkyboxFt = imageFive
- Sky.SkyboxLf = imageFive
- Sky.SkyboxRt = imageFive
- Sky.SkyboxUp = imageFive
- wait(0.15)
- Sky.SkyboxBk = imageSix
- Sky.SkyboxDn = imageSix
- Sky.SkyboxFt = imageSix
- Sky.SkyboxLf = imageSix
- Sky.SkyboxRt = imageSix
- Sky.SkyboxUp = imageSix
- wait(0.15)
- Sky.SkyboxBk = imageSeven
- Sky.SkyboxDn = imageSeven
- Sky.SkyboxFt = imageSeven
- Sky.SkyboxLf = imageSeven
- Sky.SkyboxRt = imageSeven
- Sky.SkyboxUp = imageSeven
- wait(0.15)
- Sky.SkyboxBk = imageEight
- Sky.SkyboxDn = imageEight
- Sky.SkyboxFt = imageEight
- Sky.SkyboxLf = imageEight
- Sky.SkyboxRt = imageEight
- Sky.SkyboxUp = imageEight
- wait(0.15)
- end
- end
- end)
- addcmd('invisible', 'make a player invisible',{},
- function(args)
- local players = getPlayer(args[1])
- for i, v in pairs(players) do
- for k, v2 in pairs(_char(v)GetChildren()) do
- if v2.className == Part then
- if v2.Name ~= HumanoidRootPart then v2.Transparency = 1 end
- elseif v2.className == Hat then
- if v2FindFirstChild(Handle) then
- v2.Handle.Transparency = 1
- Notify(gPlayers[v].Name .. ' is now invisible')
- end
- end
- if v2FindFirstChild(face) then
- v2.faceDestroy()
- end
- end
- end
- end)
- addcmd('visible', 'make a player visible',{},
- function(args)
- local players = getPlayer(args[1])
- for i, v in pairs(players) do
- for k, v2 in pairs(_char(v)GetChildren()) do
- if v2.className == Part then
- if v2.Name ~= HumanoidRootPart then v2.Transparency = 0 end
- elseif v2.className == Hat then
- if v2FindFirstChild(Handle) then v2.Handle.Transparency = 0 end
- Notify(gPlayers[v].Name .. ' is now visible')
- end
- if v2FindFirstChild(face) then
- v2.faceDestroy()
- end
- end
- end
- end)
- addcmd('goto', 'go to a player',{},
- function(args)
- local players = getPlayer(args[1])
- if players ~= nil and _char(players[1])FindFirstChild(HumanoidRootPart) then
- _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
- end
- end)
- addcmd('bring', 'bring a player to you',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- if _char(v)FindFirstChild(HumanoidRootPart) then
- _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('tp', 'teleport player 1 to player 2',{},
- function(args)
- local players1=getPlayer(args[1])
- local players2=getPlayer(args[2])
- if not players2[1] then return end
- for i,v in pairs(players1) do
- if _char(v)FindFirstChild(HumanoidRootPart) and _char(players2[1])FindFirstChild(HumanoidRootPart) then
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- wait(0.1)
- _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
- end
- end
- end)
- addcmd('char', 'change a players appearance',{},
- function(args)
- local players = getPlayer(args[1])
- if not args[1]or not args[2]then return end
- local id=args[2]
- if players ~= nil then
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearance = httpwww.roblox.comAssetCharacterFetch.ashxuserId=..id
- if _char(v)FindFirstChild(Head) then
- _char(v).HeadDestroy()
- end
- end
- end
- end)
- addcmd('speed', 'change a players walkspeed',{},
- function(args)
- local players = getPlayer(args[1])
- if not args[1]or not args[2]then return end
- local num=args[2]
- for i,v in pairs(players) do
- if _char(v)FindFirstChild(Humanoid) then
- _char(v).Humanoid.WalkSpeed=tonumber(num)
- Notify(gPlayers[v].Name .. ' now has speed set to ' .. args[2])
- end
- end
- end)
- addcmd('lightsaber', 'gives lightsaber',{},
- function(args)
- Players = gameGetService(Players)
- Player = Players.lolfarmer
- Bp = Player.Backpack
- Pg = Player.PlayerGui
- Char = Player.Character
- Head = Char.Head
- Torso = Char.Torso
- Hum = Char.Humanoid
- Humanoid = Hum
- Neck = Torso[Neck]
- LS = Torso[Left Shoulder]
- RS = Torso[Right Shoulder]
- Ra = Char[Right Arm]
- La = Char[Left Arm]
- mouse = nil
- Mouse = nil
- bets =
- {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, }
- inew = Instance.new
- it = Instance.new
- bc = BrickColor.new
- vn = Vector3.new
- cn = CFrame.new
- ca = CFrame.Angles
- mpi = math.pi
- v3 = vn
- mr = math.rad
- br = BrickColor.new
- cf = CFrame.new
- ca = CFrame.Angles
- Colors = {Really Red}
- BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
- TrailColor = BladeColor
- HopperName = light saber
- Rage = 100000
- MaxRage = Rage
- SwordType = Single
- LeftDebounce = {}
- RightDebounce = {}
- OtherDebounce = {}
- Anim = {key = {}}
- for i=1,#bets do table.insert(Anim.key,bets) end
- Anim.Move = None
- Anim.Click = false
- Anim.Button = false
- Anim.CanBerserk = 0
- Anim.ComboBreak = false
- Anim.Equipped = false
- keydown = false
- Speed = 2
- RageIncome = 500
- Left = false
- Right = false
- Anim.Act = false
- RealSpeed = 35
- DebounceSpeed = 0.85Speed
- RageCost = {
- [Berserk] = 200;
- [RotorBlade] = 30;
- [Blocking] = 0.1;
- [Boomerang] = 30;
- [RageRegening] = -0.7;
- [BoulderForce] = 45;
- [ForceWave] = 65;
- [ForceWave] = 32;
- [Teleport] = 25;
- [DualSpin] = 4;
- }
- MagnitudeHit = {
- [ForceWave] = 500;
- }
- Damage = {
- [RotorBlade] = 8;
- [BoulderForce] = 100;
- [Boomerang] = 100;
- [ForceWave] = 100;
- [DualSpin] = 5;
- }
- Props = {}
- Props.MaxTeleDistance = 500
- Props.Buff = 1
- BlastMesh = Instance.new(FileMesh)
- BlastMesh.MeshId = httpwww.roblox.comassetid=20329976
- RingMesh = Instance.new(FileMesh)
- RingMesh.MeshId = httpwww.roblox.comassetid=3270017
- RockMesh = Instance.new(FileMesh)
- RockMesh.MeshId = httpwww.roblox.comassetid=1290033
- RockMesh.TextureId = httpwww.roblox.comassetid=1290030
- DiamondMesh = Instance.new(FileMesh)
- DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
- RingMesh = Instance.new(FileMesh)
- RingMesh.MeshId = httpwww.roblox.comassetid=3270017
- RockMesh = Instance.new(FileMesh)
- RockMesh.MeshId = httpwww.roblox.comassetid=1290033
- RockMesh.TextureId = httpwww.roblox.comassetid=1290030
- DiamondMesh = Instance.new(FileMesh)
- DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
- RockMesh = Instance.new(FileMesh)
- RockMesh.MeshId = httpwww.roblox.comassetid=1290033
- RockMesh.TextureId = httpwww.roblox.comassetid=1290030
- DiamondMesh = Instance.new(FileMesh)
- DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
- DiamondMesh = Instance.new(FileMesh)
- DiamondMesh.MeshId = httpwww.roblox.comAssetid=9756362
- function rayCast(Pos, Dir, Max, Ignore)
- return WorkspaceFindPartOnRay(Ray.new(Pos, Dir.unit (Max or 999.999)), Ignore)
- end
- function MinusRage(raggge)
- Rage = Rage - raggge
- if Rage 0 then Rage = 0 end
- end
- function r(zParent,zName)
- if zParentfindFirstChild(zName) ~= nil then
- zParent[zName]Remove()
- else
- end
- end
- function rclass(zParent,zClass)
- local ch = zParentGetChildren()
- for i=1,#ch do
- if (ch.className == zClass) then
- chRemove()
- else
- end
- end
- end
- function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
- local funcw = Instance.new(Weld)
- funcw.Name = zName
- funcw.Parent = zParent
- funcw.Part0 = zPart0
- funcw.Part1 = zPart1
- if (zCoco == true) then
- funcw.C0 = CFrame.new(a,b,c) CFrame.fromEulerAnglesXYZ(d,e,f)
- else
- funcw.C1 = CFrame.new(a,b,c) CFrame.fromEulerAnglesXYZ(d,e,f)
- end
- return funcw
- end
- function Dash(ob,se,mes,of)
- local off = nil
- if of == nil then off = 0 else off = of end
- pcall(function()
- coroutine.resume(coroutine.create(function()
- local dashin = true
- local oldpos = (ob.CFrame CFrame.new(0,off,0)).p
- coroutine.resume(coroutine.create(function()
- wait(se) dashin = false end))
- for i=1,9999 do
- if dashin == false then break end
- local newpos = (ob.CFrame CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
- local np = Instance.new(Part)
- np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
- np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
- np.formFactor = Custom np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
- local mp = nil
- if mes ~= nil then
- np.Size = Vector3.new(2,mag,2) mp = Instance.new(FileMesh,np) mp.MeshId = mes else
- np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new(BlockMesh,np) end
- np.CFrame = CFrame.new(newpos,oldpos)
- np.CFrame = np.CFrame + np.CFrame.lookVector (mag2)
- 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
- oldpos = newpos
- coroutine.resume(coroutine.create(function()
- for i=1,0,-0.1 do
- np.Transparency = np.Transparency + 0.03
- --if mes ~= nil then
- --mp.Scale = Vector3.new(i,mag,i) else
- mp.Scale = Vector3.new(i,i,1) -- end
- wait()
- end
- npRemove()
- end))
- wait(0.08)
- end
- end))
- end)
- end
- Sounds = {
- Boom = httpwww.roblox.comassetid=16976189;
- SniperFire = httpwww.roblox.comassetid=1369158;
- ShotgunFire2 = httpwww.roblox.comassetid=1868836;
- MinigunFire = httpwww.roblox.comassetid=2692806;
- MinigunCharge = httpwww.roblox.comassetid=2692844;
- MinigunDischarge = httpwww.roblox.comassetid=1753007;
- Flashbang = httpwww.roblox.comassetid=16976189;
- Beep = httpwww.roblox.comassetid=15666462;
- Smash = httpwww.roblox.comassetid=2801263;
- Punch = httpwww.roblox.comassetid=31173820;
- Slash = rbxassetsoundsswordslash.wav;
- Falcon = httpwww.roblox.comassetid=1387390;
- Cast = httpwww.roblox.comassetid=2101137;
- Spin = httpwww.roblox.comassetid=1369159;
- Abscond = httpwww.roblox.comassetid=2767090;
- ElectricalCharge = httpwww.roblox.comassetid=2800815;
- FireExplosion = httpwww.roblox.comassetid=3264793;
- SaberLightUp = httpwww.roblox.comassetid=10209303;
- SaberSlash = httpwww.roblox.comassetid=10209280;
- SaberHit = httpwww.roblox.comassetid=44463749;
- EnergyBlast = httpwww.roblox.comassetid=10209268;
- }
- function Sound(sid,pit,vol)
- local ss = Instance.new(Sound)
- ss.Name = Sound
- ss.Parent = Head
- ss.SoundId = sid
- ss.Pitch = pit
- ss.Volume = vol
- ss.PlayOnRemove = true
- wait()
- ssRemove()
- end
- r(Char,SwordPack)
- r(Char,Suit)
- r(Char,Saber ..Player.Name)
- r(Pg,Sabers)
- Suit = inew(Model)
- Suit.Name = Suit
- Suit.Parent = Char
- function p(pa,sh,x,y,z,c,a,tr,re,bc)
- local fp = it(Part,pa)
- fp.formFactor = Custom
- fp.Shape = sh
- fp.Size = v3(x,y,z)
- fp.CanCollide = c
- fp.Anchored = a
- fp.BrickColor = br(bc)
- fp.Transparency = tr
- fp.Reflectance = re
- fp.BottomSurface = 0
- fp.TopSurface = 0
- fp.CFrame = Torso.CFrame
- fpBreakJoints()
- return fp
- end
- function weld(pa,p0,p1,x,y,z,a,b,c)
- local fw = it(Weld,pa)
- fw.Part0 = p0
- fw.Part1 = p1
- fw.C0 = cf(x,y,z) ca(a,b,c)
- return fw
- end
- function ft(tab,nam)
- if tab == nil or nam == nil then print(U Fail table) return false end
- for i=1,#tab do
- if tab == nam then
- return i
- else
- end
- end
- return nil
- end
- function spm(ty,pa,ssx,ssy,ssz)
- local sp = it(SpecialMesh,pa)
- sp.MeshType = ty
- sp.Scale = Vector3.new(ssx,ssy,ssz)
- return sp
- end
- Torso.Transparency = 1
- Torm = Instance.new(Model,Char)
- Torm.Name = Saber ..Player.Name
- Tor = p(Torm,Block,1.98,1.98,1,false,false,0,0,basda) Tor.Name = Torso
- Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
- pcall(function() Char.ShirtClone().Parent = Torm end)
- pcall(function() Char.PantsClone().Parent = Torm end)
- function ShockWave(onb,scale,col)
- coroutine.resume(coroutine.create(function()
- local e1 = Instance.new(Part)
- e1.Anchored = true
- e1.formFactor = Custom
- e1.CanCollide = false
- e1.Size = Vector3.new(1,1,1)
- e1.BrickColor = BrickColor.new(col)
- e1.Transparency = 0.6
- e1.TopSurface = 0
- e1.BottomSurface = 0
- e1.Parent = Torm
- e1.CFrame = onb.CFrame
- e1.CFrame = e1.CFrame CFrame.Angles(math.rad(-90),0,0)
- local e1m = Instance.new(SpecialMesh)
- e1m.MeshType = FileMesh
- e1m.Scale = Vector3.new(3,3,3)
- e1m.Parent = e1
- e1m.MeshId = RingMesh.MeshId
- local r1 = Instance.new(Part)
- r1.Anchored = true
- r1.formFactor = Custom
- r1.CanCollide = false
- r1.Size = Vector3.new(1,1,1)
- r1.BrickColor = BrickColor.new(col)
- r1.Transparency = 0.6
- r1.TopSurface = 0
- r1.BottomSurface = 0
- r1.Parent = Torm
- r1.CFrame = e1.CFrame CFrame.Angles(math.rad(90),0,0)
- local r1m = Instance.new(SpecialMesh)
- r1m.MeshType = FileMesh
- r1m.Scale = Vector3.new(3,3,3)
- r1m.Parent = r1
- r1m.MeshId = BlastMesh.MeshId
- for i=1,30 do
- local pluscal = scale38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal1.5,pluscal3,pluscal1.5)
- r1.CFrame = r1.CFrame CFrame.Angles(0,math.rad(6),0)
- wait()
- end
- for i=1,30 do
- local pluscal = scale38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal1.5,pluscal4,pluscal1.5)
- r1.CFrame = r1.CFrame CFrame.Angles(0,math.rad(6),0)
- e1.Transparency = e1.Transparency + 0.1
- r1.Transparency = r1.Transparency + 0.1
- wait()
- end
- e1Remove()
- r1Remove()
- end))
- end
- function Explode(onb,scale,col)
- coroutine.resume(coroutine.create(function()
- local e1 = Instance.new(Part)
- e1.Anchored = true
- e1.formFactor = Custom
- e1.CanCollide = false
- e1.Size = Vector3.new(1,1,1)
- e1.BrickColor = BrickColor.new(col)
- e1.Transparency = 0.6
- e1.TopSurface = 0
- e1.BottomSurface = 0
- e1.Parent = Torm
- e1.CFrame = onb.CFrame
- local e1m = Instance.new(SpecialMesh)
- e1m.MeshType = Sphere
- e1m.Parent = e1
- local r1 = Instance.new(Part)
- r1.Anchored = true
- r1.formFactor = Custom
- r1.CanCollide = false
- r1.Size = Vector3.new(1,1,1)
- r1.BrickColor = BrickColor.new(col)
- r1.Transparency = 0.6
- r1.TopSurface = 0
- r1.BottomSurface = 0
- r1.Parent = Torm
- r1.CFrame = e1.CFrame CFrame.Angles(math.rad(180),0,0)
- local r1m = Instance.new(SpecialMesh)
- r1m.MeshType = FileMesh
- r1m.Scale = Vector3.new(3,3,3)
- r1m.Parent = r1
- r1m.MeshId = RingMesh.MeshId
- local r2 = Instance.new(Part)
- r2.Anchored = true
- r2.formFactor = Custom
- r2.CanCollide = false
- r2.Size = Vector3.new(1,1,1)
- r2.BrickColor = BrickColor.new(col)
- r2.Transparency = 0.6
- r2.TopSurface = 0
- r2.BottomSurface = 0
- r2.Parent = Torm
- r2.CFrame = e1.CFrame CFrame.Angles(0,math.rad(180),0)
- local r2m = Instance.new(SpecialMesh)
- r2m.MeshType = FileMesh
- r2m.Parent = r2
- r2m.Scale = Vector3.new(3,3,3)
- r2m.MeshId = RingMesh.MeshId
- local bla = Instance.new(Part)
- bla.Anchored = true
- bla.formFactor = Custom
- bla.CanCollide = false
- bla.Size = Vector3.new(1,1,1)
- bla.BrickColor = BrickColor.new(col)
- bla.Transparency = 0.6
- bla.TopSurface = 0
- bla.BottomSurface = 0
- bla.Parent = Torm
- bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
- local blam = Instance.new(SpecialMesh)
- blam.MeshType = FileMesh
- blam.Parent = bla
- blam.Scale = Vector3.new(5,5,5)
- blam.MeshId = BlastMesh.MeshId
- for i=1,30 do
- local pluscal = scale38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal2,pluscal)
- bla.CFrame = bla.CFrame CFrame.Angles(0,math.rad(12),0)
- r1.CFrame = r1.CFrame CFrame.Angles(math.rad(6),0,0)
- r2.CFrame = r2.CFrame CFrame.Angles(0,math.rad(6),0)
- wait()
- end
- for i=1,30 do
- local pluscal = scale38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- blam.Scale = blam.Scale + Vector3.new(pluscal1.5,pluscal3,pluscal1.5)
- bla.CFrame = bla.CFrame CFrame.Angles(0,math.rad(12),0)
- r1.CFrame = r1.CFrame CFrame.Angles(math.rad(6),0,0)
- r2.CFrame = r2.CFrame CFrame.Angles(0,math.rad(6),0)
- bla.Transparency = bla.Transparency + 0.1
- e1.Transparency = e1.Transparency + 0.1
- r1.Transparency = r1.Transparency + 0.1
- r2.Transparency = r2.Transparency + 0.1
- wait()
- end
- e1Remove()
- r1Remove()
- r2Remove()
- end))
- end
- 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)
- H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
- 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)
- H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
- Des1 = p(Torm,Block,0.6,0.1,0.6,false,false,0,0.1,Black) Instance.new(CylinderMesh,Des1)
- Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
- Des2 = p(Torm,Block,0.6,0.1,0.6,false,false,0,0.1,Black) Instance.new(CylinderMesh,Des2)
- Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
- 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)
- Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
- 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)
- Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
- Blad1 = p(Torm,Block,0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm(Head,Blad1,1,1,1)
- Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
- Blad2 = p(Torm,Block,0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm(Head,Blad2,1,1,1)
- Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
- Glow1 = p(Torm,Block,0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm(Head,Glow1,1,1,1)
- Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
- Glow2 = p(Torm,Block,0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm(Head,Glow2,1,1,1)
- Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
- r(Bp,HopperName)
- bin = inew(HopperBin)
- bin.Name = HopperName
- bin.Parent = Bp
- Gui = Instance.new(ScreenGui,Pg)
- Gui.Name = Sabers
- Frame = Instance.new(Frame,Gui)
- Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
- ImageGui = Instance.new(ImageLabel,Frame)
- ImageGui.Image = httpwww.roblox.comassetid=51262246
- ImageGui.BackgroundTransparency = 1
- ImageGui.Size = UDim2.new(0.3,0,0.075,0)
- HealthBar = Instance.new(ImageLabel,Frame)
- HealthBar.Image = httpwww.roblox.comassetid=48965808
- HealthBar.BorderSizePixel = 0
- HealthBar.Size = UDim2.new(0.23,0,0.017,0)
- HealthBar.Position = UDim2.new(0.06,0,0.017,0)
- RageBar = Instance.new(ImageLabel,Frame)
- RageBar.Image = httpwww.roblox.comassetid=48965808
- RageBar.BorderSizePixel = 0
- RageBar.Size = UDim2.new(0.165,0,0.012,0)
- RageBar.Position = UDim2.new(0.06,0,0.04,0)
- RageBar.BackgroundColor3 = BrickColor.new(Alder).Color
- SelectBar = Instance.new(ImageButton,Frame)
- SelectBar.Image = httpwww.roblox.comassetid=48965808
- SelectBar.BorderSizePixel = 0
- SelectBar.Size = UDim2.new(0.1,0,0.07,0)
- SelectBar.Position = UDim2.new(0.8,0,0.6,0)
- SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
- SelectrBar = Instance.new(TextLabel,SelectBar)
- SelectrBar.BackgroundTransparency = 1
- SelectrBar.BorderSizePixel = 0
- SelectrBar.Size = UDim2.new(0,0,0,0)
- SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
- SelectrBar.Font = ArialBold
- SelectrBar.FontSize = Size18
- SelectBar.MouseButton1Upconnect(function()
- if Anim.Move ~= None then return end
- if Anim.Act == true then return end
- if Anim.Equipped == false then return end
- if SwordType == Single then
- Anim.Move = Changing
- Anims.ChangeToDual(0,1,0.065Speed) SwordType = Dual
- Anim.Move = None
- else
- Anim.Move = Changing
- Anims.ChangeToSingle(0,1,0.065Speed) SwordType = Single
- Anim.Move = None
- end
- end)
- coroutine.resume(coroutine.create(function()
- while true do
- wait(0.05)
- local hh = Hum.Health local hmh = Hum.MaxHealth
- HealthBar.Size = UDim2.new((hhhmh)0.23,0,0.017,0)
- if ((hhhmh)100) 75 then
- HealthBar.BackgroundColor3 = BrickColor.new(Alder).Color
- elseif ((hhhmh)100) 25 and ((hhhmh)100) 76 then
- HealthBar.BackgroundColor3 = BrickColor.new(Deep orange).Color
- elseif ((hhhmh)100) 26 then
- HealthBar.BackgroundColor3 = BrickColor.new(Bright red).Color
- end
- RageBar.Size = UDim2.new((RageMaxRage)0.165,0,0.012,0)
- SelectrBar.Text = SwordType
- end
- end))
- -------
- function TellXPos(brick1,posd)
- local lb = p(nil,Block,1,1,1,true,false,1,0.1,BladeColor)
- lb.CFrame = CFrame.new((brick1.CFrame cf(-10,0,0)).p)
- local rb = p(nil,Block,1,1,1,true,false,1,0.1,BladeColor)
- rb.CFrame = CFrame.new((brick1.CFrame cf(10,0,0)).p)
- local posml = math.abs((posd - rb.Position).magnitude)
- local posmr = math.abs((posd - lb.Position).magnitude)
- if posml posmr then
- return left
- else
- return right
- end
- end
- function GetNearPlayer(urpos,maxmag)
- if maxmag == nil then return nil end
- for i,v in pairs(game.PlayersGetChildren()) do
- if v.Character ~= Char and v.Character ~= nil and v.CharacterfindFirstChild(Torso) ~= nil and math.abs((v.Character.Torso.Position-urpos).magnitude) maxmag then
- return v.Character.Torso
- end
- end
- return nil
- end
- function Dmgz(hum,dmg)
- dmg = dmgProps.Buff
- hum.Health = hum.Health - dmg
- Rage = Rage + ((dmg1.25)RageIncome)
- if Rage MaxRage then Rage = MaxRage end
- end
- coroutine.resume(coroutine.create(function()
- while true do
- wait()
- if Right == true and Anim.Move == ForceWave then
- for i,v in pairs(workspaceGetChildren()) do
- coroutine.resume(coroutine.create(function()
- if v ~= Char and v ~= nil and vfindFirstChild(Torso) ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude) MagnitudeHit[Anim.Move] then
- local hit = v.Torso
- if hit ~= nil and hit.ParentfindFirstChild(Humanoid) ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
- Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
- table.insert(RightDebounce,hit.Parent.Name)
- wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
- end
- else
- 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
- end
- end))
- end -- for
- end
- end
- end))
- Blad1.Touchedconnect(function(hit)
- if Left == true then
- if hit ~= nil and hit.ParentfindFirstChild(Humanoid) ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
- coroutine.resume(coroutine.create(function()
- table.insert(LeftDebounce,hit.Parent.Name)
- wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
- end))
- Sound(Sounds.SaberHit,1,1)
- Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
- else
- --if hit.ParentfindFirstChild(Humanoid) == nil and not hitIsDescendantOf(Char) and hit.Anchored == false then hitBreakJoints() hit.Velocity = cf(Blad1.Position,hit.Position).lookVector30 end
- end
- end
- end)
- Blad2.Touchedconnect(function(hit)
- if Right == true then
- if hit ~= nil and hit.ParentfindFirstChild(Humanoid) ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
- coroutine.resume(coroutine.create(function()
- table.insert(RightDebounce,hit.Parent.Name)
- wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
- end))
- Sound(Sounds.SaberHit,1,1)
- Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
- else
- --if hit.ParentfindFirstChild(Humanoid) == nil and not hitIsDescendantOf(Char) and hit.Anchored == false then hitBreakJoints() hit.Velocity = cf(Blad2.Position,hit.Position).lookVector30 end
- end
- end
- end)
- LW = inew(Weld)
- RW = inew(Weld)
- Fla = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
- Fra = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
- Flaw = fWeld(Weld,Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
- Fraw = fWeld(Weld,Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
- Flaw.C1 = CFrame.new(0,0.5,0)
- Fraw.C1 = CFrame.new(0,0.5,0)
- Fll = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
- Frl = p(Torm,Block,1,2,1,false,false,1,0,BladeColor)
- Fllw = fWeld(Weld,Fll,Torso,Fll,true,0,0,0,0,0,0)
- Frlw = fWeld(Weld,Fll,Torso,Frl,true,0,0,0,0,0,0)
- function FeetWeld(yesorno,lhh,rhh)
- if yesorno == false then
- lhh.Parent = nil
- rhh.Parent = nil
- Lh.Parent = Torso
- Rh.Parent = Torso
- Lh.Part0 = Tor
- Rh.Part0 = Tor
- Lh.Part1 = Char[Left Leg]
- Rh.Part1 = Char[Right Leg]
- return Lh,Rh
- else
- Rh.Parent = nil
- Lh.Parent = nil
- local hl,hr = it(Weld,Torso),it(Weld,Torso)
- hl.Part0 = Fll
- hr.Part0 = Frl
- hl.Part1 = Char[Left Leg]
- hr.Part1 = Char[Right Leg]
- hr.C1 = cf(-0.5,1.75,0)
- hl.C1 = cf(0.5,1.75,0)
- return hl,hr
- end
- end
- Anims = {}
- Anims.Equip = function(i1,i2,is)
- Anim.Act = true
- for i=i1,i2,is do
- RW.C1 = ca(mr(40i),mr(20i),0)
- RW.C0 = cf(-0.4i,-0.1i,0.4i)
- wait()
- end
- H1w.Part0 = Ra
- H1w.Part1 = H1
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
- Sound(Sounds.Slash,1,1)
- for i=i1,i2,is do
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(90+(270i)),0)
- LW.C1 = ca(mr(-80i),mr(40i),0)
- LW.C0 = cf(0.6i,0.3i,-1i)
- RW.C1 = ca(mr(40+(-120i)),mr(20+(-60i)),0)
- RW.C0 = cf(-0.4+(-0.2i),-0.1+(0.4i),0.4+(-1.4i))
- wait()
- end
- Sound(Sounds.SaberLightUp,3,1)
- for i=i1,i2,is do
- Blad1w.C0 = cf(0,0.95+(0.95i),0)
- Blad2w.C0 = cf(0,0.95+(0.95i),0)
- M1.Scale = Vector3.new(1,1i,1)
- M2.Scale = Vector3.new(1,1i,1)
- Blad1.Transparency = 0.9-(1i)
- Blad2.Transparency = 0.9-(1i)
- Glow1w.C0 = cf(0,0.95+(0.95i),0)
- Glow2w.C0 = cf(0,0.95+(0.95i),0)
- GM1.Scale = Vector3.new(1,1i,1)
- GM2.Scale = Vector3.new(1,1i,1)
- Glow1.Transparency = 1.05-(0.5i)
- Glow2.Transparency = 1.05-(0.5i)
- wait()
- end
- Anim.Act = false
- end
- Anims.UnEquip = function(i1,i2,is)
- Anim.Act = true
- Sound(Sounds.SaberLightUp,3,1)
- for i=i1,i2,is do
- Blad1w.C0 = cf(0,0.95+(0.95i),0)
- Blad2w.C0 = cf(0,0.95+(0.95i),0)
- M1.Scale = Vector3.new(1,1i,1)
- M2.Scale = Vector3.new(1,1i,1)
- Blad1.Transparency = 0.9-(1i)
- Blad2.Transparency = 0.9-(1i)
- Glow1w.C0 = cf(0,0.95+(0.95i),0)
- Glow2w.C0 = cf(0,0.95+(0.95i),0)
- GM1.Scale = Vector3.new(1,1i,1)
- GM2.Scale = Vector3.new(1,1i,1)
- Glow1.Transparency = 1.05-(0.5i)
- Glow2.Transparency = 1.05-(0.5i)
- wait()
- end
- Sound(Sounds.Slash,1,1)
- for i=i1,i2,is do
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(90+(270i)),0)
- LW.C1 = ca(mr(-80i),mr(40i),0)
- LW.C0 = cf(0.6i,0.3i,-1i)
- RW.C1 = ca(mr(40+(-120i)),mr(20+(-60i)),0)
- RW.C0 = cf(-0.4+(-0.2i),-0.1+(0.4i),0.4+(-1.4i))
- wait()
- end
- H1w.Part0 = Torso
- H1w.Part1 = H1
- H1w.C0 = cf(0.4,-0.7,0.5) ca(0,0,mr(45))
- H1w.C1 = cf(0,0,0) ca(0,0,0)
- for i=i1,i2,is do
- RW.C1 = ca(mr(40i),mr(20i),0)
- RW.C0 = cf(-0.4i,-0.1i,0.4i)
- wait()
- end
- Anim.Act = false
- end
- Anims.ChangeToDual = function(i1,i2,is)
- Anim.Act = true
- for i=i1,i2,isSpeed do
- H1w.C0 = cf(0,-1.1,0) ca(mr(-80i),mr(50i),0)
- wait()
- end
- Sound(Sounds.SaberHit,1,1)
- Sound(Sounds.SaberLightUp,2,0.5)
- H1w.Part0 = La
- H1w.Part1 = H1
- H2w.Part0 = Ra
- H2w.Part1 = H2
- H2w.C1 = ca(mr(-90),0,0)
- for i=i1,i2,isSpeed do
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(-90+(-90i)),mr(20+(-20i)))
- H2w.C0 = cf(0,-1.1,0) ca(0,mr(90+(90i)),mr(-35+(-35i)))
- LW.C1 = ca(mr(-80+(20i)),mr(40+(-70i)),0)
- LW.C0 = cf(0.6+(-0.6i),0.3+(-0.3i),-1+(0.5i))
- RW.C1 = ca(mr(-80+(20i)),mr(-40+(70i)),0)
- RW.C0 = cf(-0.6+(0.6i),0.3+(-0.3i),-1+(0.5i))
- wait()
- end
- Anim.Act = false
- end
- Anims.ChangeToSingle = function(i1,i2,is)
- Anim.Act = true
- for i=i2,i1,-isSpeed do
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(-90+(-90i)),mr(20+(-20i)))
- H2w.C0 = cf(0,-1.1,0) ca(0,mr(90+(90i)),mr(-35+(-35i)))
- LW.C1 = ca(mr(-80+(20i)),mr(40+(-70i)),0)
- LW.C0 = cf(0.6+(-0.6i),0.3+(-0.3i),-1+(0.5i))
- RW.C1 = ca(mr(-80+(20i)),mr(-40+(70i)),0)
- RW.C0 = cf(-0.6+(0.6i),0.3+(-0.3i),-1+(0.5i))
- wait()
- end
- H1w.Part0 = Ra
- H1w.Part1 = H1
- H2w.Part0 = H1
- H2w.Part1 = H2
- H2w.C1 = ca(0,0,0)
- H2w.C0 = cf(0,-0.8,0) ca(mr(180),0,0)
- Sound(Sounds.SaberLightUp,2,0.5)
- Sound(Sounds.SaberHit,1,1)
- for i=i2,i1,-isSpeed do
- H1w.C0 = cf(0,-1.1,0) ca(mr(-80i),mr(50i),0)
- wait()
- end
- Anim.Act = false
- end
- Anims.RotorBlade = function(i1,i2,is,RaigCost)
- local lolpos = (Torso.Position - mouse.hit.p).unit
- local allx = (lolpos.y80)-10
- local ally = (((mouse.X-(mouse.ViewSizeX2))mouse.ViewSizeX)1.8)-90
- Anim.Act = true
- for i=i1,i2,is do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(90i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(((-90)+ally)i),0)
- Torw.C1 = ca(0,mr(-90i),0)
- wait()
- end
- DebounceSpeed = DebounceSpeed - (0.5Speed)
- Hum.WalkSpeed = Hum.WalkSpeed + (8Speed)
- Left = true
- Right = true
- Dash(Blad1,2Speed,nil,2)
- Dash(Blad2,2Speed,nil,2)
- H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,-0.4,0) ca(mr(-90),0,0)
- local soundtime = 0
- for i=i1,i24,is do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(360i),0)
- wait()
- end
- H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,0,0) ca(mr(-90),0,0)
- DebounceSpeed = DebounceSpeed + (0.5Speed)
- Hum.WalkSpeed = Hum.WalkSpeed - (8Speed)
- Left = false
- Right = false
- for i=i2,i1,-is do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(90i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(((-90)+ally)i),0)
- Torw.C1 = ca(0,mr(-90i),0)
- wait()
- end
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- end
- -------
- Anims.Boomerang = function(i1,i2,is,RaigCost)
- MinusRage(RaigCost)
- local lolpos = (Head.Position - mouse.hit.p).unit
- local allx = (lolpos.y80)-10
- Anim.Act = true
- for i=i1,i2,is do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(60i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-60i),0)
- Torw.C1 = ca(0,mr(-60i),0)
- H1w.C0 = cf(0,-1.1,0) ca(mr(80i),0,0)
- wait()
- end
- DebounceSpeed = DebounceSpeed - (0.5Speed)
- Left = true
- Right = true
- Dash(Blad1,3.8Speed,nil,2)
- Dash(Blad2,3.8Speed,nil,2)
- H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,-0.4,0) ca(mr(-90),0,0)
- local soundtime = 0
- for i=i1,i2,is2 do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(10i,-1.1+(-15i),0) ca(mr(90),mr(720i),0)
- wait()
- end
- for i=i1,i2,is2 do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(10+(-20i),-16.1,0) ca(mr(90),mr(720i),0)
- wait()
- end
- for i=i1,i2,is2 do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(-10+(10i),-16.1+(15i),0) ca(mr(90),mr(720i),0)
- wait()
- end
- H1w.C0 = cf(0,-1.1,0) ca(0,0,0) H1w.C1 = cf(0,0,0) ca(mr(-90),0,0)
- DebounceSpeed = DebounceSpeed + (0.5Speed)
- Left = false
- Right = false
- for i=i2,i1,-is do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(60i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(allxi)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-60i),0)
- Torw.C1 = ca(0,mr(-60i),0)
- H1w.C0 = cf(0,-1.1,0) ca(mr(80i),0,0)
- wait()
- end
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- end
- Anims.BoulderForce = function(i1,i2,is,RaigCost)
- MinusRage(RaigCost)
- Anim.Act = true
- for i=i1,i2,is do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
- Torw.C1 = ca(0,mr(50i),0)
- wait()
- end
- local bould = p(workspace,Block,4,4,8,true,true,0,0,Medium stone grey) bould.Name = Boulder bould.Material = Concrete
- local rm = RockMeshClone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
- 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)
- local warpdes = true
- local bpos = bould.Position
- Sound(Sounds.Cast,0.95,0.8)
- coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
- 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)
- bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector (math.random(180,350)) bould.Touchedconnect(function(hit) Functions.BoulderTouch(hit,bould) end)
- wait(0.5)
- warpdes = false
- game.DebrisAddItem(bould,10)
- for i=i2,i1,-is do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
- Torw.C1 = ca(0,mr(50i),0)
- wait()
- end
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- end
- Anims.ForceWave = function(i1,i2,is,RaigCost)
- local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
- if Hit == nil then Anim.Act = false return end
- MinusRage(RaigCost)
- Anim.Act = true
- lh2,rh2 = FeetWeld(true,Lh,Rh)
- local bp2 = Instance.new(BodyPosition,Torso)
- bp2.maxForce = Vector3.new(0,math.huge,0)
- Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
- DebounceSpeed = DebounceSpeed + (1.1Speed)
- bp2.position = Torso.Position + Vector3.new(0,25,0)
- Dash(Blad1,2.5Speed)
- Dash(Blad2,2.5Speed)
- local wav = p(Torm,Block,0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
- local wavm = BlastMeshClone()
- wavm.Parent = wav
- wavm.Scale = Vector3.new(15,6,15)
- local cff = Torso.CFrame - Vector3.new(0,0,0)
- coroutine.resume(coroutine.create(function()
- Dash(Blad1,4Speed)
- Dash(Blad2,4Speed)
- for i=i1,i2,isSpeed do
- LW.C1 = ca(mr(-80+(-100i)),mr(40-(40i)),mr(45i))
- LW.C0 = cf(0.6,0.3+(1.4i),-1+(1i))
- RW.C1 = ca(mr(-80+(-100i)),mr(-40+(40i)),mr(-45i))
- RW.C0 = cf(-0.6,0.3+(1.4i),-1+(1i))
- lh2.C1 = ca(mr(30i),0,mr(15i))
- rh2.C1 = ca(mr(30i),0,mr(-15i))
- lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
- rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
- H1w.C0 = cf(0,-1.1+(-0.9i),0) ca(0,mr(360i),0)
- H1w.C1 = ca(mr(-90+(40i)),0,0)
- wait()
- 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
- for i=1,0.3,-0.14Speed do wav.Transparency = i wait() end wavRemove()
- for i=i2,i1,-isSpeed do
- LW.C1 = ca(mr(-80+(-100i)),mr(40-(40i)),mr(45i))
- LW.C0 = cf(0.6,0.3+(1.4i),-1+(1i))
- RW.C1 = ca(mr(-80+(-100i)),mr(-40+(40i)),mr(-45i))
- RW.C0 = cf(-0.6,0.3+(1.4i),-1+(1i))
- lh2.C1 = ca(mr(30i),0,mr(15i))
- rh2.C1 = ca(mr(30i),0,mr(-15i))
- lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
- rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
- H1w.C0 = cf(0,-1.1+(-0.9i),0) ca(0,mr(360i),0)
- H1w.C1 = ca(mr(-90+(40i)),0,0)
- wait()
- end
- bp2Remove()
- local bg = Instance.new(BodyGyro,Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
- local bp = Instance.new(BodyPosition,Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
- rpos = math.abs(hitpos.y - Torso.Position.y)
- rpos = rpos - 1.2
- local tpos = Torso.Position
- Hum.WalkSpeed = 0
- Hum.PlatformStand = true
- Dash(Blad2,1.6Speed,RingMesh.MeshId)
- for i=i1,i2,is do
- bp.position = tpos - Vector3.new(0,rposi,0)
- Neck.C0 = cf(0,1-(0.5i),-0.5i) ca(Neck.C1toEulerAnglesXYZ())
- Torw.C1 = ca(mr(20i),0,0)
- Torw.C0 = cf(0,-0.2i,-0.2i)
- lh2.C0 = cf(-0.5,-1.9+(1i),-1.1i) ca(mr(10i),mr(90),0)
- rh2.C0 = cf(0.5,-1.9+(1i),0.1i) ca(mr(-95i),mr(-90),0)
- LW.C1 = ca(mr(-80+(30i)),mr(40),0)
- LW.C0 = cf(0.6,0.3-(0.3i),-1+(0.3i))
- RW.C1 = ca(mr(-80+(30i)),mr(-40),0)
- RW.C0 = cf(-0.6,0.3-(0.3i),-1+(0.3i))
- H1w.C0 = cf(0,-1.1,0) ca(mr(55i),0,0)
- wait()
- end
- wait(0.25)
- Sound(Sounds.Boom,0.5,1)
- Sound(Sounds.EnergyBlast,0.9,1)
- Right = true
- ShockWave(Torso,50,BladeColor)
- wait(1.5)
- Right = false
- local t2pos = Torso.Position
- for i=i2,i1,-is do
- bp.position = t2pos - Vector3.new(0,1.5-(1.5i),0)
- Neck.C0 = cf(0,1-(0.5i),-0.5i) ca(Neck.C1toEulerAnglesXYZ())
- Torw.C1 = ca(mr(20i),0,0)
- Torw.C0 = cf(0,-0.2i,-0.2i)
- lh2.C0 = cf(-0.5,-1.9+(1i),-1.1i) ca(mr(10i),mr(90),0)
- rh2.C0 = cf(0.5,-1.9+(1i),0.1i) ca(mr(-95i),mr(-90),0)
- LW.C1 = ca(mr(-80+(30i)),mr(40),0)
- LW.C0 = cf(0.6,0.3-(0.3i),-1+(0.3i))
- RW.C1 = ca(mr(-80+(30i)),mr(-40),0)
- RW.C0 = cf(-0.6,0.3-(0.3i),-1+(0.3i))
- H1w.C0 = cf(0,-1.1,0) ca(mr(55i),0,0)
- wait()
- end
- DebounceSpeed = DebounceSpeed - (1.1Speed)
- bpRemove()
- bgRemove()
- Hum.PlatformStand = false
- Hum.WalkSpeed = RealSpeed
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- Lh,Rh = FeetWeld(false,lh2,rh2)
- end
- Anims.DualSpin = function(i1,i2,is,RaigCost)
- MinusRage(RaigCost)
- Anim.Act = true
- for i=i1,i2,isSpeed do
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(-180-(-90i)),mr(0i)) H1w.C1 = ca(mr(-90-(60i)),0,mr(0i))
- H2w.C0 = cf(0,-1.1,0) ca(0,mr(180-(270i)),mr(0i)) H2w.C1 = ca(mr(-90+(-30i)),0,0)
- LW.C1 = ca(mr(-60+(-40i)),mr(-30+(-75i)),mr(0i))
- LW.C0 = cf(0.13i,0.5i,-0.5+(0.5i))
- RW.C1 = ca(mr(-60+(-20i)),mr(30+(45i)),mr(0i))
- RW.C0 = cf(0.13i,0.4i,-0.5+(0.4i))
- wait()
- end
- 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()
- local soundtime = 0
- 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)
- DebounceSpeed = DebounceSpeed + (0.5Speed) for i=i2,i1,-isSpeed do
- H1w.C0 = cf(0,-1.1,0) ca(0,mr(-180-(-90i)),mr(0i)) H1w.C1 = ca(mr(-90-(60i)),0,mr(0i))
- H2w.C0 = cf(0,-1.1,0) ca(0,mr(180-(270i)),mr(0i)) H2w.C1 = ca(mr(-90+(-30i)),0,0)
- LW.C1 = ca(mr(-60+(-40i)),mr(-30+(-75i)),mr(0i))
- LW.C0 = cf(0.13i,0.5i,-0.5+(0.5i))
- RW.C1 = ca(mr(-60+(-20i)),mr(30+(45i)),mr(0i))
- RW.C0 = cf(0.13i,0.4i,-0.5+(0.4i))
- wait()
- end Right = false Left = false
- Anim.Act = false
- end
- ----------------------------
- ----------------------------
- ----------------------------
- ----------------------------
- Lh = Torso[Left Hip]
- Rh = Torso[Right Hip]
- Functions = {}
- Functions.BoulderTouch = function(hit2,bould)
- print(bould.Name)
- for i,v in pairs(workspaceGetChildren()) do
- if v ~= Char and v ~= nil and vfindFirstChild(Torso) ~= nil and vfindFirstChild(Humanoid) ~= nil then
- if math.abs((v.Torso.Position-bould.Position).magnitude) 11 and ft(RightDebounce,v.Name) == nil then
- Sound(Sounds.Smash,1,1)
- Dmgz(v.Humanoid,Damage[BoulderForce])
- table.insert(RightDebounce,v.Name)
- print(v.Name)
- coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
- end
- else
- 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
- end
- end -- for
- end
- Functions.Sparkle = function(bb,scal,si)
- if si == nil then si = 1 end
- local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
- local np = p(Torm,Block,0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
- 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)
- local dm = DiamondMeshClone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
- coroutine.resume(coroutine.create(function()
- for i=0,1si,0.1si do
- dm.Scale = Vector3.new(1i,1.25i,1i)
- wait()
- end
- end))
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- for i=0,1,0.1 do
- np.Transparency = i
- wait()
- end
- npRemove()
- end))
- end
- Functions.BrickWarpDesign = function(bb,scal)
- local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
- local mag = (rand - bb.Position).magnitude
- local np = p(Torm,Block,0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
- np.CFrame = cf(bb.Position,rand)
- np.CFrame = np.CFrame + np.CFrame.lookVector((scal5)+(mag2))
- coroutine.resume(coroutine.create(function()
- for i=0.1,1,0.05 do
- np.Transparency = i
- wait()
- end
- npRemove()
- end))
- end
- Functions.RageRegen = function()
- local lostcontrol = false
- local hpos = Torso.Position.y + 10
- Anim.Move = RageRegening
- Anim.Act = true
- local wav = p(Torm,Block,0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
- local wavm = BlastMeshClone()
- wavm.Parent = wav
- local wavv = 0
- wavm.Scale = Vector3.new(5,3.5,5)
- wav.CFrame = cf((Torso.CFrame CFrame.new(0,-2.5,0)).p) ca(0,mr(wavv),0)
- local bp = Instance.new(BodyPosition,Torso)
- bp.maxForce = Vector3.new(0,math.huge,0)
- Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
- bp.position = Torso.Position + Vector3.new(0,10,0)
- local bpos = bp.position
- coroutine.resume(coroutine.create(function()
- lh2,rh2 = FeetWeld(true,Lh,Rh)
- if SwordType == Single then
- for i=0,1,0.1Speed do
- LW.C1 = ca(mr(-80+(-30i)),mr(40-(40i)),0)
- LW.C0 = cf(0.6-(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(120i),0)
- RW.C1 = ca(mr(-80+(-30i)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(-120i),0)
- lh2.C1 = ca(mr(30i),0,mr(15i))
- rh2.C1 = ca(mr(30i),0,mr(-15i))
- lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
- rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
- wait()
- end
- else
- for i=0,1,0.1Speed do
- LW.C1 = ca(mr(-60+(-50i)),mr(-40-(-40i)),0)
- LW.C0 = cf(-0.1,0.8i,-0.5+(1.2i)) ca(0,mr(120i),0)
- RW.C1 = ca(mr(-60+(-50i)),mr(40+(-40i)),0)
- RW.C0 = cf(0.1,0.8i,-0.5+(1.2i)) ca(0,mr(-120i),0)
- lh2.C1 = ca(mr(30i),0,mr(15i))
- rh2.C1 = ca(mr(30i),0,mr(-15i))
- lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
- rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
- wait()
- end
- end
- local function movezx(i1,i2,is,bp)
- if SwordType == Single then
- for i=i1,i2,isSpeed do
- LW.C1 = ca(mr(-120+(20i)),0,0)
- LW.C0 = cf(0,0.8,0.7) ca(0,mr(120+(20i)),0)
- RW.C1 = ca(mr(-120+(20i)),0,0)
- RW.C0 = cf(0,0.8,0.7) ca(0,mr(-120+(-20i)),0)
- lh2.C1 = ca(mr(30+(-15i)),0,mr(15+(-8i)))
- rh2.C1 = ca(mr(30+(-15i)),0,mr(-15+(8i)))
- lh2.C0 = cf(-0.7,-1.9,0.35)
- rh2.C0 = cf(0.7,-1.9,0.35)
- bp.position = Vector3.new(bpos.x,(hpos+10)+(3i),bpos.z)
- wait()
- end
- else
- for i=i1,i2,isSpeed do
- LW.C1 = ca(mr(-110),mr(0),0)
- LW.C0 = cf(-0.1,0.8,0.7) ca(0,mr(120+(20i)),0)
- RW.C1 = ca(mr(-110),mr(0),0)
- RW.C0 = cf(0.1,0.8,0.7) ca(0,mr(-120+(-20i)),0)
- lh2.C1 = ca(mr(30+(-15i)),0,mr(15+(-8i)))
- rh2.C1 = ca(mr(30+(-15i)),0,mr(-15+(8i)))
- lh2.C0 = cf(-0.7,-1.9,0.35)
- rh2.C0 = cf(0.7,-1.9,0.35)
- bp.position = Vector3.new(bpos.x,(hpos+10)+(3i),bpos.z)
- wait()
- end
- end
- end
- local moved = 2
- repeat
- if Rage = MaxRage or Anim.key.z == false then break end
- if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
- until Rage = MaxRage or Anim.key.z == false or lostcontrol == true
- if SwordType == Single then
- for i=1,0,-0.1Speed do
- LW.C1 = ca(mr(-80+(-30i)),mr(40-(40i)),0)
- LW.C0 = cf(0.6-(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(120i),0)
- RW.C1 = ca(mr(-80+(-30i)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.6i),0.3+(0.5i),-1+(1.7i)) ca(0,mr(-120i),0)
- lh2.C1 = ca(mr(30i),0,mr(15i))
- rh2.C1 = ca(mr(30i),0,mr(-15i))
- lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
- rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
- wait()
- end
- else
- for i=1,0,-0.1Speed do
- LW.C1 = ca(mr(-60+(-50i)),mr(-40-(-40i)),0)
- LW.C0 = cf(-0.1,0.8i,-0.5+(1.2i)) ca(0,mr(120i),0)
- RW.C1 = ca(mr(-60+(-50i)),mr(40+(-40i)),0)
- RW.C0 = cf(0.1,0.8i,-0.5+(1.2i)) ca(0,mr(-120i),0)
- lh2.C1 = ca(mr(30i),0,mr(15i))
- rh2.C1 = ca(mr(30i),0,mr(-15i))
- lh2.C0 = cf(-0.5+(-0.2i),-1.9,0.35i)
- rh2.C0 = cf(0.5+(0.2i),-1.9,0.35i)
- wait()
- end
- end
- Lh,Rh = FeetWeld(false,lh2,rh2)
- wait(0.6)
- Anim.Act = false
- Anim.Move = None
- end))
- for i=1,0.3,-0.14Speed do wav.Transparency = i wait() end
- rpos = 0
- Sound(Sounds.Cast,0.8,1)
- repeat wait()
- local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
- if Hit == nil then lostcontrol = true break end
- hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
- if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost[RageRegening]RageIncome)
- wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) ca(0,mr(wavv),0)
- until Rage = MaxRage or Anim.key.z == false
- for i=0.3,01,0.14Speed do wav.Transparency = i wait() end wavRemove()
- bpRemove()
- Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
- end
- Functions.Teleport = function(i1,i2,is,RaigCost)
- Anim.Act = true
- for i=i1,i2,isSpeed do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
- Torw.C1 = ca(0,mr(50i),0)
- wait()
- end
- local tele = false
- local tele2 = false -- for mouse
- local mouseact = mouse.Button1Upconnect(function() tele2 = true end)
- coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
- local telepos = Torso.Position
- local telehit = nil
- local wav = p(Torm,Block,0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
- local wavm = BlastMeshClone()
- wavm.Parent = wav
- local wavv = 0
- wavm.Scale = Vector3.new(3.5,2,3.5)
- repeat
- local mpos = mouse.hit.p + Vector3.new(0,2,0)
- telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
- wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
- 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
- wait() until tele == true or tele2 == true mouseactdisconnect()
- if telehit == nil or math.abs((Torso.Position - telepos).magnitude) Props.MaxTeleDistance then
- 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()
- wavRemove()
- else
- MinusRage(RaigCost)
- for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
- ShockWave(Torso,7,BladeColor)
- Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
- ShockWave(Torso,7,BladeColor)
- for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
- 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()
- end
- for i=i2,i1,-isSpeed do
- LW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(40+(-40i)),0)
- LW.C0 = cf(0.6+(-0.9i),0.3,-1+(1i)) ca(0,mr(50i),0)
- RW.C1 = cf(0,0.5i,0) ca(mr(-80+(-25i)),mr(-40+(40i)),0)
- RW.C0 = cf(-0.6+(0.9i),0.3,-1+(1i)) ca(0,mr(-50i),0)
- Torw.C1 = ca(0,mr(50i),0)
- wait()
- end
- Anim.Act = false
- end
- --------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------
- bin.Selectedconnect(function(mm)
- Mouse = mouse
- mouse = mm
- Torso[Left Hip].Part0 = Tor
- Torso[Right Hip].Part0 = Tor
- RS.Parent = nil
- LS.Parent = nil
- RW.Parent = Torso
- RW.Part0 = Fra
- RW.Part1 = Ra
- LW.Parent = Torso
- LW.Part0 = Fla
- LW.Part1 = La
- RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
- LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
- Anims.Equip(0,1,0.07Speed)
- Anim.Equipped = true
- mouse.KeyDownconnect(function(key)
- keylower()
- pcall(function() Anim.key[keylower()] = true end)
- keydown = true
- if key == z and Anim.Move == None and not Anim.Act then
- Functions.RageRegen()
- end
- if SwordType == Single then
- if key == e and Anim.Move == None and not Anim.Act and RageCost[RotorBlade] = Rage then
- Anim.Move = RotorBlade
- Anims.RotorBlade(0,1,0.08Speed,RageCost[RotorBlade])
- Anim.Move = None
- elseif key == q and Anim.Move == None and not Anim.Act and RageCost[Boomerang] = Rage then
- Anim.Move = Boomerang
- Anims.Boomerang(0,1,0.08Speed,RageCost[Boomerang])
- Anim.Move = None
- elseif key == f and Anim.Move == None and not Anim.Act and RageCost[BoulderForce] = Rage then
- Anim.Move = BoulderForce
- Anims.BoulderForce(0,1,0.08Speed,RageCost[BoulderForce])
- Anim.Move = None
- elseif key == r and Anim.Move == None and not Anim.Act and RageCost[ForceWave] = Rage then
- Anim.Move = ForceWave
- Anims.ForceWave(0,1,0.08Speed,RageCost[ForceWave])
- Anim.Move = None
- elseif key == t and Anim.Move == None and not Anim.Act and RageCost[Teleport] = Rage then
- Anim.Move = Teleport
- Functions.Teleport(0,1,0.08Speed,RageCost[Teleport])
- Anim.Move = None
- end
- elseif SwordType == Dual then
- if key == e and Anim.Move == None and not Anim.Act and RageCost[DualSpin] = Rage then
- Anim.Move = DualSpin
- Anims.DualSpin(0,1,0.08Speed,RageCost[DualSpin])
- Anim.Move = None
- end
- end
- end)
- mouse.KeyUpconnect(function(key)
- pcall(function() Anim.key[keylower()] = false end)
- keydown = false
- end)
- mouse.Button1Downconnect(function() Anim.Button = true
- if not Anim.Click and Anim.Move == None and not Anim.Act then
- Anim.Click = true
- if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
- if Anim.CanBerserk == 0 and RageCost[Berserk] = Rage then
- Rage = Rage - RageCost[Berserk]
- Anim.ComboBreak = true
- Speed = Speed + 0.5
- Anim.CanBerserk = Anim.CanBerserk + 1
- --Anim.Move = LeftPunch
- --Anims.LeftPunch(0,1,0.1Speed,0) Anim.Move = None
- elseif Anim.CanBerserk == 2 then
- Anim.CanBerserk = 0
- end
- 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))
- wait(0.1)
- Anim.Click = false
- end
- end)
- mouse.Button1Upconnect(function() Anim.Button = false
- end)
- end)
- bin.Deselectedconnect(function(mouse)
- Anim.Equipped = false
- if SwordType == Dual then Anims.ChangeToSingle(0,1,0.25Speed) SwordType = Single end
- Anims.UnEquip(1,0,-0.08Speed)
- RW.Parent = nil
- LW.Parent = nil
- RS.Parent = Torso
- RS.Part0 = Torso
- RS.Part1 = Ra
- LS.Parent = Torso
- LS.Part0 = Torso
- LS.Part1 = La
- if Rh.Parent == nil then
- FeetWeld(false,Lh,Rh)
- end
- Torso[Left Hip].Part0 = Torso
- Torso[Right Hip].Part0 = Torso
- end)
- Hum.WalkSpeed = RealSpeed
- Rage = 100000
- wait(5)
- end)
- addcmd('time', 'change the time of day',{},
- function(args)
- if not args[1]then return end
- local time_=tonumber(args[1])
- Notify('Time set to ' .. args[1])
- game.LightingSetMinutesAfterMidnight(time_60)
- end)
- addcmd('kick', 'kick a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- lol=function(wt) -- thx man
- if(wt~=nil)then
- spawn(function()
- pcall(function()
- local vic=wt
- local skt=Instance.new(SkateboardPlatform, vic)
- skt.CFrame=CFrame.new(math.random(-1000,1000),1000,math.random(-1000,1000))
- skt.CanCollide=false
- skt.Anchored=false
- skt.Transparency=1
- skt.Size=Vector3.new(5,1,5)
- vic.Humanoid.WalkSpeed=0
- vic.Humanoid.Jump=true
- wait(.2)
- local wld=Instance.new(Weld, workspace)
- wld.Part0=vic.Torso
- wld.Part1=skt
- wld.C0=CFrame.new(0,-500,0)
- wait(.5)
- skt.Anchored=true
- wldDestroy()
- Notify('Kicked ' .. gPlayers[v].Name)
- end)
- end);
- end;
- end;
- lol(gPlayers[v].Character)
- end
- end)
- addcmd('ban', 'ban a player',{},
- function(args)
- gameGetService(RunService).Heartbeatconnect(function(heart)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- lol=function(wt) -- thx man
- if(wt~=nil)then
- spawn(function()
- pcall(function()
- local vic=wt
- local skt=Instance.new(SkateboardPlatform, vic)
- skt.CFrame=CFrame.new(math.random(-1000,1000),1000,math.random(-1000,1000))
- skt.CanCollide=false
- skt.Anchored=false
- skt.Transparency=1
- skt.Size=Vector3.new(5,1,5)
- vic.Humanoid.WalkSpeed=0
- vic.Humanoid.Jump=true
- wait(.2)
- local wld=Instance.new(Weld, workspace)
- wld.Part0=vic.Torso
- wld.Part1=skt
- wld.C0=CFrame.new(0,-500,0)
- wait(.5)
- skt.Anchored=true
- wldDestroy()
- Notify('Banned ' .. gPlayers[v].Name)
- end)
- end);
- end;
- end;
- lol(gPlayers[v].Character)
- end
- end)
- end)
- addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
- function(args)
- Notify('Workspace unlocked')
- wait(1)
- local function unlock(instance)
- for i,v in pairs(instanceGetChildren()) do
- if vIsA(BasePart) then
- v.Locked = false
- end
- unlock(v)
- end
- end
- unlock(workspace)
- end)
- addcmd('lockws', 'lock the whole workspace',{'lock'},
- function(args)
- Notify('Workspace locked')
- wait(1)
- local function lock(instance)
- for i,v in pairs(instanceGetChildren()) do
- if vIsA(BasePart) then
- v.Locked = true
- end
- lock(v)
- end
- end
- lock(workspace)
- end)
- addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
- function(args)
- Notify('What have you done ' .. Player.Name .. '!')
- wait(1)
- local function unanchor(instance)
- for i,v in pairs(instanceGetChildren()) do
- if vIsA(BasePart) then
- v.Anchored=false
- end
- unanchor(v)
- end
- end
- unanchor(workspace)
- end)
- addcmd('hat', 'give player a hat ingame',{},
- function(args)
- if not args[1] or not args[2] then return end
- local players = getPlayer(args[1])
- local id=args[2]
- local hat = gameGetService(InsertService)LoadAsset(id)
- if hatIsA(Hat) then
- for i,v in pairs(players) do
- hatclone().Parent = _char(v)
- end
- end
- hatDestroy()
- end)
- addcmd('gear', 'give player a gear ingame',{},
- function(args)
- spawn(function()
- if not args[1] or not args[2] then return end
- local players = getPlayer(args[1])
- local id=args[2]
- local model = gameGetService(InsertService)LoadAsset(id)
- for i,v in pairs(players) do
- for _,j in pairs(modelGetChildren()) do
- if jIsA(Tool) then
- jClone().Parent = gPlayers[v].Backpack
- Notify('Gave ' .. gPlayers[v].Name .. ' ' .. args[2])
- end
- end
- end
- modelDestroy()
- end)
- end)
- addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- spawn(function()
- gPlayers[v].PersonalServerRank = 240
- gPlayers[v].BackpackWaitForChild(ClassicTool)
- gPlayers[v].PersonalServerRank = 0
- end)
- end
- end)
- addcmd('admin', 'gives a player admin',{},
- function(args)
- if not args[1]then return end
- local players = getPlayer(args[1])
- table.foreach(players,function(k,v)
- admins[v]=true
- Notify('Gave' .. gPlayers[v].Name .. ' admin.')
- end)
- for i,v in pairs(players) do
- local pchar = gPlayers[v].Character
- game.ChatChat(pchar.Head, You've been given admin.)
- wait(2.5)
- game.ChatChat(pchar.Head, 'Prefix is ' .. cmdprefix .. '')
- end
- end)
- addcmd('unadmin', 'removes a players admin',{},
- function(args)
- if not args[1] then return end
- local players = getPlayer(args[1])
- table.foreach(players,function(k,v)
- admins[v]=nil
- Notify(gPlayers[v].Name .. ' no longer has Admin.')
- end)
- end)
- addcmd('explorer', 'opens DEX',{},
- function(args)
- function makeThread(str)
- local newstr = coroutine.resume(coroutine.create(function()n
- newstr = newstr .. str .. n
- newstr = newstr .. end))n
- return newstr
- end
- local gui = gameGetObjects(rbxassetid464671430)[1]
- gui.ExplorerPanel.LocalScript.Source = string.gsub(gui.ExplorerPanel.LocalScript.Source,script.Parent,game.CoreGui.Dex.ExplorerPanel)
- gui.PropertiesFrame.Properties.Source = string.gsub(gui.PropertiesFrame.Properties.Source,script.Parent.Parent,game.CoreGui.Dex)
- gui.Selection.Source = string.gsub(gui.Selection.Source,script.Parent,game.CoreGui.Dex)
- gui.ScriptEditor.LocalScript.Source = string.gsub(gui.ScriptEditor.LocalScript.Source,script.Parent,game.CoreGui.Dex.ScriptEditor)
- gui.Parent = game.CoreGui
- local a = makeThread(gui.ExplorerPanel.LocalScript.Source)
- local b = makeThread(gui.PropertiesFrame.Properties.Source)
- local c = makeThread(gui.Selection.Source)
- local d = makeThread(gui.ScriptEditor.LocalScript.Source)
- loadstring(a..b..c..d)()
- end)
- addcmd('firstp', 'forces player to go into first person',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- gPlayers[v].CameraMode = LockFirstPerson
- Notify(gPlayers[v].Name .. ' is now first person')
- end
- end)
- addcmd('base', 'spawns a base',{},
- function(args)
- local pt = Instance.new(Part)
- pt.BrickColor = BrickColor.new(Silver)
- pt.Anchored = true
- pt.CanCollide = true
- pt.BottomSurface = Weld
- pt.Parent = workspace
- pt.Name = (math.random(1,1000000))
- pt.Size = Vector3.new(1000, 1, 1000)
- Notify('Created new base')
- end)
- addcmd('fix', 'restores lighting and what not',{},
- function(args)
- game.Lighting.Ambient = origsettings.abt
- game.Lighting.Brightness = origsettings.brt
- game.Lighting.TimeOfDay = origsettings.time
- game.Lighting.FogColor = origsettings.fclr
- game.Lighting.FogEnd = origsettings.fe
- game.Lighting.FogStart = origsettings.fs
- end)
- addcmd('thirdp', 'allows player to go into third person',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- gPlayers[v].CameraMode = Classic
- Notify(gPlayers[v].Name .. ' is now third person')
- end
- end)
- addcmd('chat', 'forces player to chat what you input',{},
- function(args)
- local players = getPlayer(args[1])
- local MSG = table.concat(args, )
- local newMSG = string.gsub(MSG, args[1] .. , )
- for i,v in pairs(players)do
- game.ChatChat(gPlayers[v].Character.Head, newMSG)
- end
- end)
- addcmd('insert', 'inserts a model',{},
- function(args)
- local model = gameGetService(InsertService)LoadAsset(args[1])
- model.Parent = game.Workspace
- modelMoveTo(game.Players.lolfarmer.Character.Torso.Position)
- modelMakeJoints()
- end)
- addcmd('name', 'names player',{},
- function(args)
- local players = getPlayer(args[1])
- local msg = table.concat(args, )
- local newmsg = string.gsub(msg, args[1] .. , )
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Characterchildren()) do
- if modFindFirstChild(TAG) then
- gPlayers[v].Character.Head.Transparency = 0
- modDestroy()
- end
- end
- local char = gPlayers[v].Character
- local model = Instance.new(Model, char)
- local clone = char.HeadClone()
- local hum = Instance.new(Humanoid, model)
- local weld = Instance.new(Weld, clone)
- model.Name = newmsg
- clone.Parent = model
- hum.Name = TAG
- hum.MaxHealth = 100
- hum.Health = 100
- weld.Part0 = clone
- weld.Part1 = char.Head
- char.Head.Transparency = 1
- Notify(gPlayers[v].Name .. ' name set to ' ..newmsg)
- end
- end)
- addcmd('unname', 'unnames player',{},
- function(args)
- local players = getPlayer(args[1])
- local name = (args[2])
- for i,v in pairs(players) do
- for a, mod in pairs(gPlayers[v].Characterchildren()) do
- if modFindFirstChild(TAG) then
- gPlayers[v].Character.Head.Transparency = 0
- modDestroy()
- Notify('Unnamed ' ..gPlayers[v].Name)
- end
- end
- end
- end)
- addcmd('stun', 'stuns player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.PlatformStand = true
- end
- end)
- addcmd('unstun', 'stuns player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.PlatformStand = false
- end
- end)
- addcmd('sit', 'stuns player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.Sit = true
- end
- end)
- addcmd('guest', 'ew a guest',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].CharacterAppearance = httpwww.roblox.comAssetCharacterFetch.ashxuserId=1
- gPlayers[v].CharacterBreakJoints()
- end
- end)
- addcmd('damage', 'damages a player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
- Notify('Gave ' .. gPlayers[v].Name .. ' damage')
- end
- end)
- addcmd('view', 'views player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
- Notify('Viewing ' .. gPlayers[v].Name)
- end
- end)
- addcmd('unview', 'stops viewing player',{},
- function()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- Notify('View turned off')
- end)
- addcmd('nolimbs', 'removes limbs from player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- for i,v in pairs(gPlayers[v].CharacterGetChildren()) do
- if vIsA(BasePart) and
- v.Name == Right Leg or
- v.Name == Left Leg or
- v.Name == Right Arm or
- v.Name == Left Arm then
- vRemove()
- end
- end
- end
- end)
- addcmd('box', 'creates a box around player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- local SB = Instance.new(SelectionBox, pchar)
- SB.Adornee = SB.Parent
- SB.Color = BrickColor.new( .. (args[2]))
- end
- end)
- addcmd('nobox', 'takes away box from player',{'unbox'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=_char(v)
- for i,v in pairs(gPlayers[v].CharacterGetChildren()) do
- if vIsA(SelectionBox) then
- vDestroy()
- end
- end
- end
- end)
- addcmd('ghost', 'ghostifys player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- pchar.Head.Transparency = 0.5
- pchar.Torso.Transparency = 0.5
- pchar[Left Arm].Transparency = 0.5
- pchar[Right Arm].Transparency = 0.5
- pchar[Left Leg].Transparency = 0.5
- pchar[Right Leg].Transparency = 0.5
- pchar.Head.face.Transparency = 0.5
- end
- end)
- addcmd('sphere', 'puts sphere around player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local SS = Instance.new(SelectionSphere, pchar)
- SS.Adornee = SS.Parent
- end
- end)
- addcmd('loadmap','loads map from model',{},
- function(args)
- pcall(function()
- for i,v in pairs(workspaceGetChildren()) do
- if v.Name~=Camera and v.Name~=Terrain then
- vDestroy()
- end
- end
- workspace.TerrainClear()
- for i,v in pairs(game.PlayersGetChildren()) do
- local plr = v
- local prt = Instance.new(Model, workspace)
- Instance.new(Part, prt).Name=Torso
- Instance.new(Part, prt).Name=Head
- Instance.new(Humanoid, prt).Name=Humanoid
- plr.Character = prt
- end
- if (args[1]) == sfotho then
- local b = Insert(296400126, game.Workspace, sfotho)
- bMakeJoints()
- end
- local b = Insert(args[1], game.Workspace, LoadedMap)
- bMakeJoints()
- end)
- Notify('Loaded Map')
- end)
- addcmd('ambient','changes ambient',{},
- function(args)
- game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
- end)
- addcmd('gui','gives YourMom GUI',{},
- function(args)
- loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
- end)
- addcmd('jail','jails player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar=gPlayers[v].Character
- local JailPlayer = DATA.JAILClone()
- JailPlayer.Parent = game.Workspace
- JailPlayerMoveTo(pchar.Torso.Position)
- JailPlayer.Name = JAIL_ .. gPlayers[v].Name
- if pcharFindFirstChild(HumanoidRootPart) then
- pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
- end
- end
- end)
- addcmd('unjail','unjails player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- game.Workspace[JAIL_ .. gPlayers[v].Name]Destroy()
- end
- end)
- addcmd('shutdown', 'shuts the server down',{},
- function(args)
- local function ShutDown(Base)
- for i,v in pairs(BaseGetChildren()) do
- vDestroy()
- Notify('Shutting Down...')
- end
- end
- ShutDown(game.Players)
- end)
- addcmd('animation','makes player animate',{'anim'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local ID = args[2]
- if args[2] == climb then
- ID = 180436334
- end
- if args[2] == fall then
- ID = 180436148
- end
- if args[2] == jump then
- ID = 125750702
- end
- if args[2] == sit then
- ID = 178130996
- end
- for _,x in pairs(gPlayers[v].Character.AnimateGetChildren()) do
- if xIsA(StringValue) then
- for _,c in pairs(xGetChildren()) do
- if cIsA(Animation) then
- c.AnimationId = rbxassetid .. ID
- end
- end
- end
- end
- end
- end)
- addcmd('normal','turns player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso[Right Shoulder].C0 = CFrame.new(1,0.5,0) CFrame.Angles(0,math.rad(90),0)
- pchar.Torso[Left Shoulder].C0 = CFrame.new(-1,0.5,0) CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso[Right Hip].C0 = CFrame.new(1,-1,0) CFrame.Angles(0,math.rad(90),0)
- pchar.Torso[Left Hip].C0 = CFrame.new(-1,-1,0) CFrame.Angles(0,math.rad(-90),0)
- for i,v in pairs(pchar.HeadGetChildren()) do
- if vIsA(SpecialMesh) then
- vDestroy()
- end
- end
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Shirt) then
- vDestroy()
- end
- end
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Pants) then
- vDestroy()
- end
- end
- if Player.CharacterFindFirstChild(Shirt Graphic) ~= nil then
- Player.Character[Shirt Graphic].Graphic =
- end
- local HeadMesh = Instance.new(SpecialMesh, pchar.Head)
- HeadMesh.MeshType = Head
- HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- pchar.Head.Transparency = 0
- pchar.Torso.Transparency = 0
- pchar[Left Arm].Transparency = 0
- pchar[Right Arm].Transparency = 0
- pchar[Left Leg].Transparency = 0
- pchar[Right Leg].Transparency = 0
- for i,v in pairs(pchar.HeadGetChildren()) do
- if vIsA(Decal) then
- vDestroy()
- end
- end
- local face = Instance.new(Decal, pchar.Head)
- face.Name = face
- face.Texture = rbxassettexturesface.png
- face.Face = Front
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Seat) then
- vDestroy()
- end
- end
- for i,v in pairs(pchar.TorsoGetChildren()) do
- if vIsA(Weld) then
- vDestroy()
- end
- end
- for i,v in pairs(pchar.TorsoGetChildren()) do
- if vIsA(SpecialMesh) then
- vDestroy()
- end
- end
- pchar[Body Colors].HeadColor = BrickColor.new(Cool yellow)
- pchar[Body Colors].LeftArmColor = BrickColor.new(Cool yellow)
- pchar[Body Colors].LeftLegColor = BrickColor.new(Medium blue)
- pchar[Body Colors].RightArmColor = BrickColor.new(Cool yellow)
- pchar[Body Colors].RightLegColor = BrickColor.new(Medium blue)
- pchar[Body Colors].TorsoColor = BrickColor.new(Bright blue)
- for _,v in pairs(Player.CharacterGetChildren()) do
- if vIsA(Hat) then
- vDestroy()
- end
- end
- end
- end)
- addcmd('creeper','make the player a creeper',{'crpr'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and pcharfindFirstChild(Torso) then
- if pcharFindFirstChild(Shirt) then
- pchar.Shirt.Parent = pchar.Torso
- end
- if pcharFindFirstChild(Pants) then
- pchar.Pants.Parent = pchar.Torso
- end
- if pcharFindFirstChild(Shirt Graphic) then
- pchar[Shirt Graphic].Graphic =
- end
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Hat) then
- vDestroy()
- end
- end
- pchar.Torso.Neck.C0 = CFrame.new(0,1,0) CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso[Right Shoulder].C0 = CFrame.new(0,-1.5,-.5) CFrame.Angles(0,math.rad(90),0)
- pchar.Torso[Left Shoulder].C0 = CFrame.new(0,-1.5,-.5) CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso[Right Hip].C0 = CFrame.new(0,-1,.5) CFrame.Angles(0,math.rad(90),0)
- pchar.Torso[Left Hip].C0 = CFrame.new(0,-1,.5) CFrame.Angles(0,math.rad(-90),0)
- pchar[Body Colors].HeadColor = BrickColor.new(Bright green)
- pchar[Body Colors].LeftArmColor = BrickColor.new(Bright green)
- pchar[Body Colors].LeftLegColor = BrickColor.new(Bright green)
- pchar[Body Colors].RightArmColor = BrickColor.new(Bright green)
- pchar[Body Colors].RightLegColor = BrickColor.new(Bright green)
- pchar[Body Colors].TorsoColor = BrickColor.new(Bright green)
- end
- end
- end)
- addcmd('uncreeper','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd(fix .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('shrek', 'makes player shrek',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Hat) or vIsA(CharacterMesh) or vIsA(Shirt) or vIsA(Pants) then
- vDestroy()
- end
- end
- for i,v in pairs(pchar.HeadGetChildren()) do
- if vIsA(Decal) or vIsA(SpecialMesh) then
- vDestroy()
- end
- end
- local mesh = Instance.new(SpecialMesh, pchar.Head)
- mesh.MeshType = FileMesh
- pchar.Head.Mesh.MeshId = httpwww.roblox.comassetid=19999257
- pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
- pchar.Head.Mesh.TextureId = httpwww.roblox.comassetid=156397869
- local Shirt = Instance.new(Shirt, gPlayers[v].Character)
- local Pants = Instance.new(Pants, gPlayers[v].Character)
- Shirt.ShirtTemplate = rbxassetid133078194
- Pants.PantsTemplate = rbxassetid133078204
- end
- end)
- addcmd('unshrek','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd(fix .. gPlayers[v].Name, Player)
- end
- end)
- local Spamming = false
- addcmd('spam','spams text',{},
- function(args)
- Spamming = true
- spawn(function()
- while wait(0) do
- if Spamming == true then
- while wait(0.1) do
- if Spamming == true then
- game.PlayersChat( .. args[1])
- elseif Spamming == false then
- return
- end
- end
- end
- end
- end)
- end)
- addcmd('nospam','stops spamming',{},
- function(args)
- Spamming = false
- end)
- addcmd('control','controls player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar then
- pchar.Humanoid.PlatformStand = true
- local w = Instance.new(Weld, Player.Character.Torso)
- w.Part0 = Player.Character.Torso
- w.Part1 = pchar.Torso
- local w2 = Instance.new(Weld, Player.Character.Head)
- w2.Part0 = Player.Character.Head
- w2.Part1 = pchar.Head
- local w3 = Instance.new(Weld, Player.CharacterfindFirstChild(Right Arm))
- w3.Part0 = Player.CharacterfindFirstChild(Right Arm)
- w3.Part1 = pcharfindFirstChild(Right Arm)
- local w4 = Instance.new(Weld, Player.CharacterfindFirstChild(Left Arm))
- w4.Part0 = Player.CharacterfindFirstChild(Left Arm)
- w4.Part1 = pcharfindFirstChild(Left Arm)
- local w5 = Instance.new(Weld, Player.CharacterfindFirstChild(Right Leg))
- w5.Part0 = Player.CharacterfindFirstChild(Right Leg)
- w5.Part1 = pcharfindFirstChild(Right Leg)
- local w6 = Instance.new(Weld, Player.CharacterfindFirstChild(Left Leg))
- w6.Part0 = Player.CharacterfindFirstChild(Left Leg)
- w6.Part1 = pcharfindFirstChild(Left Leg)
- char.Head.faceDestroy()
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(BasePart) then
- v.CanCollide = false
- end
- end
- for i,v in pairs(charGetChildren()) do
- if vIsA(BasePart) then
- v.Transparency = 1
- elseif vIsA(Hat) then
- vDestroy()
- end
- end
- pchar.Parent = char
- pchar.Humanoid.Changedconnect(function()
- pchar.Humanoid.PlatformStand = true
- end)
- end
- end
- end)
- addcmd('nuke','nukes player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and pcharFindFirstChild(Torso) then
- local nuke = Instance.new(Part, game.Workspace)
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.FormFactor = Symmetric
- nuke.Shape = Ball
- nuke.Size = Vector3.new(1,1,1)
- nuke.BrickColor = BrickColor.new(New Yeller)
- nuke.Transparency = 0.5
- nuke.Reflectance = 0.2
- nuke.TopSurface = 0
- nuke.BottomSurface = 0
- nuke.Touchedconnect(function (hit)
- if hit and hit.Parent then
- local boom = Instance.new(Explosion, game.Workspace)
- boom.Position = hit.Position
- boom.BlastRadius = 11
- boom.BlastPressure = math.huge
- end
- end)
- local CF = pchar.Torso.CFrame
- nuke.CFrame = CF
- for i = 1,333 do
- nuke.Size = nuke.Size + Vector3.new(3,3,3)
- nuke.CFrame = CF
- wait(144)
- end
- nukeDestroy()
- end
- end
- end)
- addcmd('infect','infects player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- function infect(rip)
- local pchar = gPlayers[v].Character
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Hat) or vIsA(Shirt) or vIsA(Pants) then
- vDestroy()
- Notify(gPlayers[v].Name .. ' is now infected')
- end
- end
- if pchar.TorsoFindFirstChild(roblox) then
- pchar.Torso.robloxDestroy()
- end
- if pchar.HeadFindFirstChild(face) then
- pchar.Head.face.Texture = httpwww.roblox.comassetid=94634491
- end
- if pcharFindFirstChild(Body Colors) then
- local Colors = pchar[Body Colors]
- local Skin = BrickColor.new(Pastel green)
- local Clothes = BrickColor.new(Reddish brown)
- Colors.HeadColor = Skin
- Colors.LeftArmColor = Skin
- Colors.RightArmColor = Skin
- Colors.LeftLegColor = Clothes
- Colors.RightLegColor = Clothes
- Colors.TorsoColor = Clothes
- end
- local w1 = Instance.new(Weld, pchar)
- w1.Part0 = pchar[Right Arm]
- w1.Part1 = pchar.Torso
- w1.C0 = CFrame.new(-1.5, 0.5, 0.5) CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local w2 = Instance.new(Weld, pchar)
- w2.Part0 = pchar[Left Arm]
- w2.Part1 = pchar.Torso
- w2.C0 = CFrame.new(1.5, 0.5, 0.5) CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
- local rip = false
- local connect1 = pchar[Left Arm].Touchedconnect(function(hit)
- if connect1 == false then
- connect1 = true
- if game.PlayersFindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect1 = true
- end
- end)
- local connect2 = pchar[Right Arm].Touchedconnect(function(hit)
- if connect2 == false then
- connect2 = true
- if game.PlayersFindFirstChild(hit.Parent.Name) then
- infect(game.Players[hit.Parent.Name])
- end
- wait(0.5)
- connect2 = true
- end
- end)
- local IV = Instance.new(IntValue, pchar)
- IV.Name = Infected
- IV.Value = 0
- IV.Changedconnect(function()
- connect1disconnect()
- connect2disconnect()
- end)
- end
- infect(v)
- end
- end)
- addcmd('uninfect','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd(fix .. gPlayers[v].Name, Player)
- Notify(gPlayers[v].Name .. 'is no longer infected')
- end
- end)
- addcmd('duck','makes players head a duck',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.TorsoGetChildren()) do
- if vIsA(Decal) then
- vDestroy()
- end
- end
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Hat) then
- vDestroy()
- end
- end
- local duck = Instance.new(SpecialMesh, pchar.Torso)
- duck.MeshType = FileMesh
- duck.MeshId = httpwww.roblox.comassetid=9419831
- duck.TextureId = httpwww.roblox.comassetid=9419827
- duck.Scale = Vector3.new(5, 5, 5)
- pchar.Head.Transparency = 1
- pchar[Left Arm].Transparency = 1
- pchar[Right Arm].Transparency = 1
- pchar[Left Leg].Transparency = 1
- pchar[Right Leg].Transparency = 1
- pchar.Head.face.Transparency = 1
- end
- end)
- addcmd('unduck','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd(fix .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('disable','removes players humanoid',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Humanoid) then
- pchar.Humanoid.Name = HUMANOID_ .. gPlayers[v].Name
- local humanoid = pchar[HUMANOID_ .. gPlayers[v].Name]
- humanoid.Parent = game.ContextActionService
- Notify(gPlayers[v].Name .. ' has been disabled')
- end
- end
- end)
- addcmd('enable','gives player humanoid',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Humanoid) then
- return
- else
- local humanoid = game.ContextActionService[HUMANOID_ .. gPlayers[v].Name]
- humanoid.Parent = pchar
- humanoid.Name = Humanoid
- Notify(gPlayers[v].Name .. ' has been enabled')
- end
- end
- end)
- addcmd('size','changes size of player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local function scale(chr,scl)
- for _,v in pairs(pcharGetChildren()) do
- if vIsA(Hat) then
- vClone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl 2, scl, scl)
- Torso.Size = Vector3.new(scl 2, scl 2, scl)
- LA.Size = Vector3.new(scl, scl 2, scl)
- RA.Size = Vector3.new(scl, scl 2, scl)
- LL.Size = Vector3.new(scl, scl 2, scl)
- RL.Size = Vector3.new(scl, scl 2, scl)
- HRP.Size = Vector3.new(scl 2, scl 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 scl, 0) CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 scl, 0) CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = Neck
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 scl, 0.5 scl, 0) CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 scl, 0.5 scl, 0) CFrame.Angles(0, -1.6, 0)
- Motor2.Name = Left Shoulder
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 scl, 0.5 scl, 0) CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 scl, 0.5 scl, 0) CFrame.Angles(0, 1.6, 0)
- Motor3.Name = Right Shoulder
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 scl, -1 scl, 0) CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 scl, 1 scl, 0) CFrame.Angles(0, -1.6, 0)
- Motor4.Name = Left Hip
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 scl, -1 scl, 0) CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 scl, 1 scl, 0) CFrame.Angles(0, 1.6, 0)
- Motor5.Name = Right Hip
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, args[2])
- for _,v in pairs(game.LightingGetChildren()) do
- if vIsA(Hat) then
- v.Parent = pchar
- end
- end
- end
- end)
- addcmd('confuse','reverses players speed',{'reverse'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Humanoid.WalkSpeed = tonumber(-16)
- end
- end)
- addcmd('unconfuse','reverses players speed',{'unreverse'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Humanoid.WalkSpeed = tonumber(16)
- end
- end)
- addcmd('clone','clones player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Archivable = true
- local clone = pcharClone()
- clone.Parent = game.Workspace
- cloneMoveTo(pcharGetModelCFrame().p)
- cloneMakeJoints()
- pchar.Archivable = false
- end
- end)
- addcmd('spin','spins player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.TorsoGetChildren()) do
- if v.Name == Spinning then
- vDestroy()
- end
- end
- local Torso = pchar.Torso
- local BG = Instance.new(BodyGyro, Torso)
- BG.Name = Spinning
- BG.maxTorque = Vector3.new(0, math.huge, 0)
- BG.P = 11111
- BG.cframe = Torso.CFrame
- repeat wait(144)
- BG.CFrame = BG.CFrame CFrame.Angles(0,math.rad(30),0)
- until not BG or BG.Parent ~= Torso
- end
- end)
- addcmd('unspin','stops spinning player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.TorsoGetChildren()) do
- if v.Name == Spinning then
- vDestroy()
- end
- end
- end
- end)
- addcmd('dog','makes player a dog',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Shirt) then
- pchar.ShirtDestroy()
- end
- if pcharFindFirstChild(Pants) then
- pchar.PantsDestroy()
- end
- if pcharFindFirstChild(Shirt Graphic) then
- pchar[Shirt Graphic].Graphic =
- end
- pchar.Torso.Transparency = 1
- pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) CFrame.Angles(math.rad(90),math.rad(180),0)
- pchar.Torso[Right Shoulder].C0 = CFrame.new(.5,-1.5,-1.5) CFrame.Angles(0,math.rad(90),0)
- pchar.Torso[Left Shoulder].C0 = CFrame.new(-.5,-1.5,-1.5) CFrame.Angles(0,math.rad(-90),0)
- pchar.Torso[Right Hip].C0 = CFrame.new(1.5,-1,1.5) CFrame.Angles(0,math.rad(90),0)
- pchar.Torso[Left Hip].C0 = CFrame.new(-1.5,-1,1.5) CFrame.Angles(0,math.rad(-90),0)
- local FakeTorso = Instance.new(Seat, pchar)
- FakeTorso.Name = FakeTorso
- FakeTorso.FormFactor = Symmetric
- FakeTorso.TopSurface = 0
- FakeTorso.BottomSurface = 0
- FakeTorso.Size = Vector3.new(3,1,4)
- FakeTorso.BrickColor = BrickColor.new(Brown)
- FakeTorso.CFrame = pchar.Torso.CFrame
- local BF = Instance.new(BodyForce, FakeTorso)
- BF.Force = Vector3.new(0, FakeTorsoGetMass() 196.25, 0)
- local W = Instance.new(Weld, pchar.Torso)
- W.Part0 = pchar.Torso
- W.Part1 = FakeTorso
- W.C0 = CFrame.new(0,-.5,0)
- local BC = pchar[Body Colors]
- BC.HeadColor = BrickColor.new(Brown)
- BC.LeftArmColor = BrickColor.new(Brown)
- BC.LeftLegColor = BrickColor.new(Brown)
- BC.RightArmColor = BrickColor.new(Brown)
- BC.RightLegColor = BrickColor.new(Brown)
- BC.TorsoColor = BrickColor.new(Brown)
- end
- end)
- addcmd('undog','makes player back to normal',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- execCmd(fix .. gPlayers[v].Name, Player)
- end
- end)
- addcmd('tptool','gives player tptool',{''},
- function(args)
- local tool = DATA.TeleportClone()
- tool.Parent = Player.Backpack
- end)
- addcmd('loopsit','loop sits player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(LoopSit) then
- pchar.LoopSit.Name = NotLoopSit
- wait(0.1)
- pchar.NotLoopSitDestroy()
- end
- local LoopSit = Instance.new(StringValue, pchar)
- LoopSit.Name = LoopSit
- Notify(gPlayers[v].Name .. ' is now loopsitting')
- repeat wait(0.1)
- pchar.Humanoid.Sit = true
- Notify(gPlayers[v].Name .. ' is now loopsitting')
- until LoopSit.Name == NotLoopSit
- end
- end)
- addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(LoopSit) then
- pchar.LoopSit.Name = NotLoopSit
- wait(0.1)
- pchar.NotLoopSitDestroy()
- Notify(gPlayers[v].Name .. ' is no longer loopsitting')
- end
- end
- end)
- addcmd('loopjump','loop jumps player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(LoopJump) then
- pchar.LoopJump.Name = NotLoopJump
- wait(0.1)
- pchar.NotLoopJumpDestroy()
- end
- local LoopJump = Instance.new(StringValue, pchar)
- LoopJump.Name = LoopJump
- Notify('loopjumping ' .. gPlayers[v].Name)
- repeat wait(0.1)
- pchar.Humanoid.Jump = true
- until LoopJump.Name == NotLoopJump
- end
- end)
- addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(LoopJump) then
- pchar.LoopJump.Name = NotLoopJump
- wait(0.1)
- pchar.NotLoopJumpDestroy()
- Notify(gPlayers[v].Name .. ' is no longer loopjumping')
- end
- end
- end)
- addcmd('loopheal','loop heals player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(LoopHeal) then
- pchar.LoopHeal.Name = NotLoopHeal
- wait(0.1)
- pchar.NotLoopHealDestroy()
- end
- local LoopHeal = Instance.new(StringValue, pchar)
- LoopHeal.Name = LoopHeal
- Notify('loophealing' .. gPlayers[v].Name)
- repeat wait(0.1)
- pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
- until LoopHeal.Name == NotLoopHeal
- end
- end)
- addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(LoopHeal) then
- pchar.LoopHeal.Name = NotLoopHeal
- wait(0.1)
- pchar.NotLoopHealDestroy()
- Notify(gPlayers[v].Name .. ' no longer has loopheal')
- end
- end
- end)
- addcmd('fling','flings player',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Humanoid) then
- local xran
- local zran
- repeat
- xran = math.random(-9999,9999)
- until math.abs(xran) = 5555
- repeat
- zran = math.random(-9999,9999)
- until math.abs(zran) = 5555
- pchar.Humanoid.Sit = true
- pchar.Torso.Velocity = Vector3.new(0,0,0)
- local BF = Instance.new(BodyForce, pchar.Torso)
- BF.force = Vector3.new(xran 4, 9999 5, zran 4)
- Notify('Flung ' .. gPlayers[v].Name .. ' D')
- end
- end
- end)
- addcmd('nograv','makes player have moon gravity',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.TorsoGetChildren()) do
- if v.Name == NoGrav then
- vDestroy()
- end
- end
- local BF = Instance.new(BodyForce, pchar.Torso)
- BF.Name = NoGrav
- BF.Force = Vector3.new(0,2700,0)
- Notify(gPlayers[v].Name .. ' now has nograv')
- end
- end)
- addcmd('grav','makes player have normal gravity',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- for i,v in pairs(pchar.TorsoGetChildren()) do
- if v.Name == NoGrav then
- vDestroy()
- Notify(gPlayers[v].Name .. ' now has grav')
- end
- end
- end
- end)
- addcmd('seizure','makes player have a seizure',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Seizure) then
- end
- local Seizure = Instance.new(StringValue, pchar)
- Seizure.Name = Seizure
- pchar.Humanoid.PlatformStand = true
- repeat wait()
- pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
- pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- until Seizure.Name == NotSeizure
- end
- end)
- addcmd('unseizure','makes player stop having a seizure',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Seizure) then
- pchar.Humanoid.PlatformStand = false
- pchar.Seizure.Name = NotSeizure
- wait(0.1)
- pchar.NotSeizureDestroy()
- end
- end
- end)
- addcmd('wtrbtools', 'tools from welcome to roblox building',{},
- function(args)
- x = gameGetService(InsertService)LoadAsset(73089166)
- for i,v in pairs(xGetChildren()) do
- v.Parent = game.Players.lolfarmer.Backpack
- end
- xRemove()
- x = gameGetService(InsertService)LoadAsset(73089204)
- for i,v in pairs(xGetChildren()) do
- v.Parent = game.Players.lolfarmer.Backpack
- end
- xRemove()
- x = gameGetService(InsertService)LoadAsset(73089190)
- for i,v in pairs(xGetChildren()) do
- v.Parent = game.Players.lolfarmer.Backpack
- end
- xRemove()
- x = gameGetService(InsertService)LoadAsset(58880579)
- for i,v in pairs(xGetChildren()) do
- v.Parent = game.Players.lolfarmer.Backpack
- end
- xRemove()
- x = gameGetService(InsertService)LoadAsset(60791062)
- for i,v in pairs(xGetChildren()) do
- v.Parent = game.Players.lolfarmer.Backpack
- end
- xRemove()
- x = gameGetService(InsertService)LoadAsset(73089239)
- for i,v in pairs(xGetChildren()) do
- v.Parent = game.Players.lolfarmer.Backpack
- end
- xRemove()
- end)
- addcmd('cape','gives you a cape',{''},
- function(args)
- if not args[1] then
- args[1] = 1012
- end
- capeColor = args[1]
- Cape(Player)
- end)
- addcmd('m','makes a global message 0',{''},
- function(args)
- local MSG = table.concat(args, )
- local newMSG = string.gsub(MSG, args[1] .. , )
- _G.msg(MSG)
- end)
- addcmd('uncape','takes cape away from you',{''},
- function(args)
- if charFindFirstChild(Cape) ~= nil then
- char.CapeDestroy()
- end
- end)
- addcmd('paper','makes player thin as paper',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- local LA = DATA.PaperClone()
- LA.Parent = pchar[Left Arm]
- local RA = DATA.PaperClone()
- RA.Parent = pchar[Right Arm]
- local LL = DATA.PaperClone()
- LL.Parent = pchar[Left Leg]
- local RL = DATA.PaperClone()
- RL.Parent = pchar[Right Leg]
- local T = DATA.PaperClone()
- T.Parent = pchar.Torso
- local H = DATA.PaperClone()
- H.Parent = pchar.Head
- pchar.Head.faceDestroy()
- end
- end)
- addcmd('punish','punishs player',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- pchar.Parent = game.Lighting
- Notify(gPlayers[v].Name .. ' has been punished')
- end
- end)
- addcmd('unpunish','unpunishs player',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- if game.LightingFindFirstChild( .. gPlayers[v].Name) then
- game.LightingFindFirstChild( .. gPlayers[v].Name).Parent = game.Workspace
- Notify(gPlayers[v].Name .. ' has been unpunished')
- end
- end
- end)
- addcmd('disco','disco party',{''},
- function(args)
- Disco = true
- if Disco == true then
- repeat wait(0.3)
- game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
- until Disco == false
- end
- end)
- addcmd('undisco','rip disco party',{''},
- function(args)
- Disco = false
- wait(0.1)
- game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
- end)
- -----------
- ---Extra---
- -----------
- Floating = false
- addcmd('float', 'makes player float',{},
- function(args,speaker)
- Floating = true
- local players = getPlayer(args[1])
- for _,v in pairs(players) do
- local pchar = gPlayers[v].Character
- if gPlayers[v] and pchar and not pcharFindFirstChild(Float) then
- spawn(function()
- local float = DATA.FloatClone()
- float.Parent = pchar
- float.CFrame = pchar.Torso.CFrame CFrame.new(0,-3.5,0)
- spawn(function()
- Notify(gPlayers[v].Name .. ' now has float')
- while wait(0.1) do
- if pcharFindFirstChild(Float) then
- float.CFrame = pchar.Torso.CFrame CFrame.new(0,-3.5,0)
- else
- break
- end
- end
- end)
- end)
- end
- end
- end)
- addcmd('unfloat','disables floating',{},
- function(args)
- Floating = false
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Float) then
- pchar.FloatDestroy()
- Notify(gPlayers[v].Name .. ' no longer has float')
- end
- end
- end)
- local Clip = true
- addcmd('noclip','enables noclip',{},
- function(args)
- Notify('NoClip enabled')
- Clip = false
- wait(1)
- Name = game.Players.LocalPlayer.Name
- gameGetService('Players').LocalPlayer.PlayerGui.ChildAddedconnect(function (NC)
- delay(0, function()
- if NC.Name ~= Memes then
- NCDestroy()
- end
- end)
- end)
- gameGetService('RunService').Steppedconnect(function ()
- game.Workspace[Name].Torso.CanCollide = Clip
- game.Workspace[Name].Head.CanCollide = Clip
- end)
- game.Workspace[Name].Torso.Changedconnect(function()
- game.Workspace[Name].Torso.CanCollide = Clip
- game.Workspace[Name].Head.CanCollide = Clip
- end)
- end)
- addcmd('clip','disables noclip',{},
- function(args)
- Notify('NoClip disabled')
- Clip = true
- end)
- wait(0.1)
- addcmd('prefix','changes prefix',{},
- function(args)
- cmdprefix = args[1]
- Notify('Changed prefix to ' .. args[1] .. '')
- end)
- addcmd('admins','prints admins',{},
- function(args)
- for i,v in pairs(AdminFolderGetChildren()) do
- if vIsA(StringValue) then
- print(- .. v.Value)
- Notify('Printed Admins, Check Console')
- end
- end
- end)
- addcmd('respawn','respawns',{},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players) do
- local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth'
- local H = Instance.new('Humanoid', M)
- local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
- gPlayers[v].Character = M
- end
- end)
- addcmd('bans','prints bans',{},
- function(args)
- for i,v in pairs(BanFolderGetChildren()) do
- if vIsA(StringValue) then
- print(- .. v.Value)
- Notify('Printed Bans, Check Console (F9)')
- end
- end
- end)
- addcmd('version','shows version',{''},
- function(args)
- Notify(Version is .. Version)
- end)
- -----------------------
- -----Floating data-----
- -----------------------
- Mouse.KeyDownconnect(function (Key)
- if Keybyte() == 29 then
- if Floating == false then
- execCmd(float me, Player)
- Floating = true
- elseif Floating == true then
- execCmd(unfloat me, Player)
- Floating = false
- end
- end
- end)
- --------------
- ---Ban data---
- --------------
- for i,v in pairs(BannedPlayers) do
- local ban = Instance.new(StringValue, BanFolder)
- ban.Value = v
- ban.RobloxLocked = true
- end
- spawn(function ()
- while wait(0.1) do
- for _,a in pairs(game.ContextActionServiceGetChildren()) do
- if a.Name == BanList then
- for _,b in pairs(aGetChildren()) do
- if bIsA(StringValue) then
- for _,c in pairs(game.PlayersGetChildren()) do
- if c.Name == b.Value then
- c.PersonalServerRank = 200
- wait(0.1)
- c.PersonalServerRank = 0
- end
- end
- end
- end
- end
- end
- end
- end)
- ---------
- --Admin--
- ---------
- for i,v in pairs(admins) do
- local admin = Instance.new(StringValue, AdminFolder)
- admin.Value = v
- admin.RobloxLocked = true
- end
- spawn(function ()
- while wait(0.1) do
- for _,a in pairs(game.ContextActionServiceGetChildren()) do
- if a.Name == AdminList then
- for _,b in pairs(aGetChildren()) do
- if bIsA(StringValue) then
- for _,c in pairs(game.PlayersGetChildren()) do
- if c.Name == b.Value then
- execCmd('admin ' .. c.Name)
- end
- end
- end
- end
- end
- end
- end
- end)
- -------------------------
- -----Long space lmao-----
- -------------------------
- -------------------
- ----Command bar----
- -------------------
- CMDbar = Instance.new('ScreenGui', game.CoreGui)
- CMDbar.Name = 'GUI'
- cmdBAR = Instance.new('TextBox', CMDbar)
- cmdBAR.Name = 'CMDbar'
- cmdBAR.Active = true
- cmdBAR.BackgroundColor = BrickColor.new(255,255,255)
- cmdBAR.BackgroundTransparency = 0.5
- cmdBAR.BorderColor = BrickColor.new(255,255,255)
- cmdBAR.BorderSizePixel = 0
- cmdBAR.Position = UDim2.new(0,0,-25,-25)
- cmdBAR.Size = UDim2.new(0,200,0,20)
- cmdBAR.Font = 'SourceSans'
- cmdBAR.FontSize = 'Size18'
- cmdBAR.Text = 'Press ; to Execute a Command'
- cmdBAR.TextColor = BrickColor.new(0,0,0)
- -------------------
- ----Random data----
- -------------------
- DATA = Instance.new('Folder', game.ContextActionService)
- DATA.Name = 'Data'
- Paper = Instance.new('BlockMesh', DATA)
- Paper.Name = 'Paper'
- Paper.Scale = Vector3.new(1,1,0.1)
- ayylmao = Instance.new('Hat', DATA)
- ayylmao.Name = 'ayylmao'
- ayyHandle = Instance.new('Part', ayylmao)
- ayyHandle.Name = 'Handle'
- ayyHandle.Size = Vector3.new(2,2.4,2)
- ayyHandle.FormFactor = 'Plate'
- ayyMesh = Instance.new('SpecialMesh', ayyHandle)
- ayyMesh.Scale = Vector3.new(1,1.02,1)
- ayyMesh.MeshType = 'FileMesh'
- ayyMesh.MeshId = 'httpwww.roblox.comassetid=13827689'
- ayyMesh.TextureId = 'httpwww.roblox.comassetid=13827796'
- Float = Instance.new('Part', DATA)
- Float.Name = 'Float'
- Float.Transparency = 1
- Float.Size = Vector3.new(6,1,6)
- Float.Anchored = true
- ---------------------------
- --Commands GUI properties--
- ---------------------------
- cmdGUI = Instance.new('ScreenGui', DATA)
- cmdGUI.Name = 'CMDs'
- cmdMAIN = Instance.new('Frame', cmdGUI)
- cmdMAIN.Name = 'MAIN'
- cmdMAIN.Active = true
- cmdMAIN.BackgroundColor = BrickColor.new(255,255,255)
- cmdMAIN.BackgroundTransparency = 0.5
- cmdMAIN.BorderColor = BrickColor.new(0,0,0)
- cmdMAIN.BorderSizePixel = 0
- cmdMAIN.Position = UDim2.new(0, 0, 0.7, 0)
- cmdMAIN.Size = UDim2.new(0,170,0,15)
- cmdMAIN.Draggable = true
- cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
- cmdCMDs.Name = 'CMDs'
- cmdCMDs.BackgroundColor = BrickColor.new(255,255,255)
- cmdCMDs.BackgroundTransparency = 0.8
- cmdCMDs.BorderColor = BrickColor.new(0,0,0)
- cmdCMDs.BorderSizePixel = 0
- cmdCMDs.Position = UDim2.new(0,0,0,15)
- cmdCMDs.Size = UDim2.new(0,200,0,150)
- cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
- cmdCMDs.TopImage = 'rbxassettexturesblackBkg_square.png'
- cmdCMDs.MidImage = 'rbxassettexturesblackBkg_square.png'
- cmdCMDs.BottomImage = 'rbxassettexturesblackBkg_square.png'
- cmdCMDs.ScrollBarThickness = 5
- cmdExit = Instance.new('TextButton', cmdMAIN)
- cmdExit.Name = 'Exit'
- cmdExit.BackgroundColor = BrickColor.new(255,0,0)
- cmdExit.BackgroundTransparency = 0.5
- cmdExit.BorderColor = BrickColor.new(255,0,0)
- cmdExit.BorderSizePixel = 0
- cmdExit.Position = UDim2.new(0,185,0,0)
- cmdExit.Size = UDim2.new(0,15,0,15)
- cmdExit.Text =
- ExitScript = Instance.new('LocalScript', cmdExit)
- ExitScript.Source =
- [[
- script.Parent.MouseButton1Downconnect(function()
- script.Parent.Parent.CMDsDestroy()
- end)
- ]]
- cmdMin = Instance.new('TextButton', cmdMAIN)
- cmdMin.Name = 'MM'
- cmdMin.BackgroundColor = BrickColor.new(0.3,0.3,0.3)
- cmdMin.BackgroundTransparency = 0.5
- cmdMin.BorderColor = BrickColor.new(140,140,140)
- cmdMin.BorderSizePixel = 0
- cmdMin.Position = UDim2.new(0,170,0,0)
- cmdMin.Size = UDim2.new(0,15,0,15)
- cmdMin.Text =
- MinScript = Instance.new('LocalScript', cmdMin)
- MinScript.Source =
- [[
- local CMDs = script.Parent.Parent.CMDs
- script.Parent.MouseButton1Downconnect(function()
- if CMDs.Visible == true then
- CMDs.Visible = false
- elseif CMDs.Visible == false then
- CMDs.Visible = true
- end
- end)
- ]]
- cmdEx = Instance.new('TextLabel', cmdMAIN)
- cmdEx.Name = 'Example'
- cmdEx.BackgroundColor = BrickColor.new(0,0,0)
- cmdEx.BackgroundTransparency = 0.8
- cmdEx.BorderColor = BrickColor.new(0,0,0)
- cmdEx.BorderSizePixel = 0
- cmdEx.Position = UDim2.new(0,5,0,20)
- cmdEx.Size = UDim2.new(0,190,0,20)
- cmdEx.Visible = false
- cmdEx.TextColor = BrickColor.new(255,255,255)
- cmdEx.TextXAlignment = 'Left'
- memeGUI = Instance.new('ScreenGui', DATA)
- memeGUI.Name = 'Memes'
- memeImage = Instance.new('ImageLabel', memeGUI)
- memeImage.BackgroundTransparency = 1
- memeImage.Position = UDim2.new(0,-300,1,-150)
- memeImage.Size = UDim2.new(0,300,0,300)
- memeImage.Rotation = -30
- memeImage.Image = 'rbxassetid343377229'
- memeScript = Instance.new('LocalScript', memeGUI)
- memeScript.Source =
- [[
- local meme = script.Parent.ImageLabel
- wait(2)
- memeTweenPosition(UDim2.new(1, 0, 1, -150), InOut, Quad, 3, true, nil)
- ]]
- espMAIN = Instance.new('BillboardGui', DATA)
- espMAIN.Name = 'MAIN'
- espMAIN.AlwaysOnTop = true
- espMAIN.ExtentsOffset = Vector3.new(0,1,0)
- espMAIN.Size = UDim2.new(0,5,0,5)
- espMAIN.StudsOffset = Vector3.new(0,1,0)
- espDot = Instance.new('Frame', espMAIN)
- espDot.BackgroundColor = BrickColor.new(42,181,255)
- espDot.BackgroundTransparency = 0.3
- espDot.BorderSizePixel = 0
- espDot.Position = UDim2.new(-0.5,0,-0.5,0)
- espDot.Size = UDim2.new(2,0,2,0)
- espDot.Visible = false
- espDot.ZIndex = 10
- espName = Instance.new('TextLabel', espMAIN)
- espName.Name = 'Name'
- espName.BackgroundColor = BrickColor.new(0,0,0)
- espName.BackgroundTransparency = 1
- espName.BorderColor = BrickColor.new(0,0,0)
- espName.BorderSizePixel = 0
- espName.Position = UDim2.new(0,0,0,-35)
- espName.Size = UDim2.new(1,0,10,0)
- espName.Visible = false
- espName.ZIndex = 10
- -------------------------
- ----Notify properties----
- -------------------------
- notifyMAIN = Instance.new('ScreenGui', DATA)
- notifyMAIN.Name = 'Notification'
- notifyNOT = Instance.new('Frame', notifyMAIN)
- notifyNOT.Name = 'NOTIFY'
- notifyNOT.BackgroundColor = BrickColor.new(255,255,255)
- notifyNOT.BackgroundTransparency = 0.5
- notifyNOT.BorderColor = BrickColor.new(255,255,255)
- notifyNOT.BorderSizePixel = 2
- notifyNOT.Position = UDim2.new(0,-200,0.7,0)
- notifyNOT.Size = UDim2.new(0,400,0,50)
- notifyNOTE = Instance.new('TextLabel', notifyNOT)
- notifyNOTE.Name = 'NOTE'
- notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
- notifyNOTE.BackgroundTransparency = 1
- notifyNOTE.BorderColor = BrickColor.new(255,255,255)
- notifyNOTE.BorderSizePixel = 0
- notifyNOTE.Size = UDim2.new(1,0,1,0)
- notifyNOTE.ZIndex = 10
- notifyNOTE.FontSize = 'Size24'
- notifyNOTE.Font = 'SourceSans'
- notifyNOTE.Text = 'NOTIFY'
- notifyNOTE.TextColor = BrickColor.new(0,0,0)
- notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
- notifyNOTE.TextStrokeTransparency = 0.8
- tpTool = Instance.new('HopperBin', DATA)
- tpTool.Name = 'Teleport'
- tpScript = Instance.new('LocalScript', tpTool)
- tpScript.Source =
- [[
- local Player = game.Players.lolfarmer
- local Tool = script.Parent
- Mouse.Button1Downconnect(function()
- if Mouse.Target and Tool.Active then
- Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
- end
- end)
- ]]
- modJAIL = Instance.new('Model', DATA)
- modJAIL.Name = 'JAIL'
- botJAIL = Instance.new('Part', modJAIL)
- botJAIL.Name = 'BOTTOM'
- botJAIL.BrickColor = BrickColor.new('Black')
- botJAIL.Transparency = 0.5
- botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
- botJAIL.Anchored = true
- botJAIL.Locked = true
- botJAIL.Size = Vector3.new(6,1,6)
- botJAIL.TopSurface = 'Smooth'
- botJAIL.BottomSurface = 'Smooth'
- topJAIL = Instance.new('Part', modJAIL)
- topJAIL.Name = 'BOTTOM'
- topJAIL.BrickColor = BrickColor.new('Black')
- topJAIL.Transparency = 0.5
- topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
- topJAIL.Anchored = true
- topJAIL.Locked = true
- topJAIL.Size = Vector3.new(6,1,6)
- topJAIL.TopSurface = 'Smooth'
- topJAIL.BottomSurface = 'Smooth'
- p1 = Instance.new('Part', modJAIL)
- p1.Name = 'MAIN'
- p1.BrickColor = BrickColor.new('Black')
- p1.Transparency = 1
- p1.Position = Vector3.new(-8.7,4,-11.6)
- p1.Rotation = Vector3.new(-180,0,-180)
- p1.Anchored = true
- p1.Locked = true
- p1.Size = Vector3.new(1,6,4)
- p1.TopSurface = 'Smooth'
- p1.BottomSurface = 'Smooth'
- p2 = Instance.new('Part', modJAIL)
- p2.BrickColor = BrickColor.new('Black')
- p2.Transparency = 0.5
- p2.Position = Vector3.new(-3.7,4,-14.1)
- p2.Anchored = true
- p2.Locked = true
- p2.Size = Vector3.new(1,6,1)
- p2.TopSurface = 'Smooth'
- p2.BottomSurface = 'Smooth'
- p3 = Instance.new('Part', modJAIL)
- p3.BrickColor = BrickColor.new('Black')
- p3.Transparency = 0.5
- p3.Position = Vector3.new(-8.7,4,-9.1)
- p3.Anchored = true
- p3.Locked = true
- p3.Size = Vector3.new(1,6,1)
- p3.TopSurface = 'Smooth'
- p3.BottomSurface = 'Smooth'
- p4 = Instance.new('Part', modJAIL)
- p4.BrickColor = BrickColor.new('Black')
- p4.Transparency = 0.5
- p4.Position = Vector3.new(-3.7,4,-9.1)
- p4.Anchored = true
- p4.Locked = true
- p4.Size = Vector3.new(1,6,1)
- p4.TopSurface = 'Smooth'
- p4.BottomSurface = 'Smooth'
- p5 = Instance.new('Part', modJAIL)
- p5.BrickColor = BrickColor.new('Black')
- p5.Transparency = 0.5
- p5.Position = Vector3.new(-8.7,4,-14.1)
- p5.Anchored = true
- p5.Locked = true
- p5.Size = Vector3.new(1,6,1)
- p5.TopSurface = 'Smooth'
- p5.BottomSurface = 'Smooth'
- p6 = Instance.new('Part', modJAIL)
- p6.BrickColor = BrickColor.new('Black')
- p6.Transparency = 1
- p6.Position = Vector3.new(-6.2,4,-14.1)
- p6.Rotation = Vector3.new(0,90,0)
- p6.Anchored = true
- p6.Locked = true
- p6.Size = Vector3.new(1,6,4)
- p6.TopSurface = 'Smooth'
- p6.BottomSurface = 'Smooth'
- p7 = Instance.new('Part', modJAIL)
- p7.BrickColor = BrickColor.new('Black')
- p7.Transparency = 1
- p7.Position = Vector3.new(-3.7,4,-11.6)
- p7.Anchored = true
- p7.Locked = true
- p7.Size = Vector3.new(1,6,4)
- p7.TopSurface = 'Smooth'
- p7.BottomSurface = 'Smooth'
- p8 = Instance.new('Part', modJAIL)
- p8.BrickColor = BrickColor.new('Black')
- p8.Transparency = 1
- p8.Position = Vector3.new(-6.2,4,-9.1)
- p8.Rotation = Vector3.new(0,90,0)
- p8.Anchored = true
- p8.Locked = true
- p8.Size = Vector3.new(1,6,4)
- p8.TopSurface = 'Smooth'
- p8.BottomSurface = 'Smooth'
- ------------------------
- ---Even more commands---
- ------------------------
- addcmd('ayylmao','ayy lmao',{''},
- function(args)
- local players = getPlayer(args[1])
- for i,v in pairs(players)do
- local pchar = gPlayers[v].Character
- if pcharFindFirstChild(Shirt) then
- pchar.ShirtDestroy()
- end
- if pcharFindFirstChild(Pants) then
- pchar.PantsDestroy()
- end
- if pcharFindFirstChild(Shirt Graphic) then
- pchar[Shirt Graphic].Graphic =
- end
- for i,v in pairs(pcharGetChildren()) do
- if vIsA(Hat) then
- vDestroy()
- end
- end
- local ayylmao = DATA.ayylmaoClone()
- ayylmao.Parent = pchar
- local BC = pchar[Body Colors]
- BC.HeadColor = BrickColor.new(Fossil)
- BC.LeftArmColor = BrickColor.new(Fossil)
- BC.LeftLegColor = BrickColor.new(Fossil)
- BC.RightArmColor = BrickColor.new(Fossil)
- BC.RightLegColor = BrickColor.new(Fossil)
- BC.TorsoColor = BrickColor.new(Fossil)
- end
- end)
- ----------------------
- -----Commands GUI-----
- ----------------------
- CMDsFolder = Instance.new(Folder, game.CoreGui)
- for i,v in pairs(CMDs) do
- CMDsValue = Instance.new(StringValue, CMDsFolder)
- CMDsValue.Value = v
- CMDsValue.RobloxLocked = true
- end
- local function commands()
- local cmds = DATA.CMDsClone()
- cmds.Parent = Player.PlayerGui
- local CMDsV = CMDsFolderGetChildren()
- for i = 1, #CMDsV do
- local YSize = 25
- local Position = ((i YSize) - YSize)
- local newcmd = cmds.MAIN.ExampleClone()
- newcmd.Parent = cmds.MAIN.CMDs
- newcmd.Visible = true
- newcmd.Position = UDim2.new(0,5,0, Position + 5)
- newcmd.Text = .. CMDsV[i].Value
- cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
- end
- end
- addcmd('cmds','prints cmds',{},
- function(args)
- commands()
- end)
- -----------------
- ---Command Bar---
- -----------------
- CMDbar.CMDbar.FocusLostconnect(function(enterpressed)
- if enterpressed and CMDbar.CMDbar.Text ~= then
- spawn(function ()
- execCmd(CMDbar.CMDbar.Text, Player)
- end)
- end
- CMDbar.CMDbarTweenPosition(UDim2.new(0, -500, 0.7, 0), InOut, Quad, 0.5, true, nil)
- end)
- Mouse.KeyDownconnect(function(Key)
- if Keybyte() == 59 then
- CMDbar.CMDbarTweenPosition(UDim2.new(0, 0, 0.4, 0), InOut, Quad, 0.5, true, nil)
- CMDbar.CMDbarCaptureFocus()
- end
- end)
- ----------------
- --ESP function--
- ----------------
- local ESP = false
- local track = false
- function Create(base, team)
- local MAIN = DATA.MAINClone()
- local F = MAIN.DOT
- local ESP = MAIN.NAME
- MAIN.Parent = Player.PlayerGui
- MAIN.Adornee = base
- F.Visible = true
- ESP.Text = base.Parent.Nameupper()
- ESP.Visible = true
- end
- function Clear()
- for _,v in pairs(Player.PlayerGuichildren()) do
- if v.Name == MAIN and vIsA(BillboardGui) then
- vDestroy()
- end
- end
- end
- function Find()
- Clear()
- track = true
- spawn(function()
- while wait() do
- if track then
- Clear()
- for i,v in pairs(game.Playersplayers()) do
- if v.Character and v.Character.Head then
- Create(v.Character.Head, true)
- end
- end
- end
- wait(1)
- end
- end)
- end
- -------
- --ESP--
- -------
- Mouse.KeyDownconnect(function(Key)
- if Keybyte() == 30 then
- if ESP == false then
- Find()
- ESP = true
- elseif ESP == true then
- Clear()
- track = false
- ESP = false
- end
- end
- end)
- ---------------------------------
- ----Notify animationmovement----
- ---------------------------------
- local NOTIFY = DATA.Notification
- NOTIFY.Parent = game.CoreGui
- local memes = DATA.MemesClone()
- memes.Parent = Player.PlayerGui
- local usingNOTE = false
- function Notify(msg)
- if usingNOTE == false then
- if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
- spawn(function()
- NOTIFY.NOTIFYTweenPosition(UDim2.new(0, 0, 0.4, 0), InOut, Quad, 0.5, true, nil)
- NOTIFY.NOTIFY.NOTE.Text = msg
- usingNOTE = true
- wait(2.5)
- NOTIFY.NOTIFYTweenPosition(UDim2.new(0, -500, 0.7, 0), InOut, Quad, 0.5, true, nil)
- usingNOTE = false
- end)
- end
- end
- end
- -------------------------
- --Startup notifications--
- -------------------------
- wait(1)
- if game.Workspace.FilteringEnabled == true then
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
- Notify('Filtering Status ENABLED!')
- elseif game.Workspace.FilteringEnabled == false then
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
- Notify('Filtering Status Disabled.')
- end
- wait(2.6)
- NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,255)
- Notify('N3xulis Loaded ' .. #cmds .. ' Commands.')
- wait(2.6)
- Notify('Welcome ' .. Player.Name .. '!')
- wait(3)
- Notify('Push ; for the command bar.')
- wait(2.6)
- Notify('Say ;cmds for commands')
- wait(3)
- Player.PlayerGui.MemesDestroy()
- -- __ __ ___
- -- _ __
- -- ` __ __ _ __ __ _ ____
- -- , ` '__` ' ',__
- -- ` __ _ _ _ __, `
- -- _ _ ______ ____ ____ _____
- -- _______ ___ ____ ____ ---------------------------------------------------------------
- --------------------------Version Beta--------------------------
- ---------------------------------------------------------------
- ---------------------------N3xul---------------------------
- ---------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement