CreeperReaper48

Untitled

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