Advertisement
Wweroblox12121212

Untitled

Mar 31st, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 174.85 KB | None | 0 0
  1. -- ZallyHub V1. Made by Zalendier#4007 --
  2.  
  3. local Main1 = Instance.new("ScreenGui")
  4. local Main2 = Instance.new("Frame")
  5. local cmd1 = Instance.new("TextButton")
  6. local cmd2 = Instance.new("TextButton")
  7. local cmd3 = Instance.new("TextButton")
  8. local cmd4 = Instance.new("TextButton")
  9. local cmd5 = Instance.new("TextButton")
  10. local credits = Instance.new("TextLabel")
  11.  
  12. -- Gui
  13. Main1.Name = "ZallyHub"
  14. Main1.Parent = game.CoreGui
  15. -- Main
  16. Main2.Name = "Main"
  17. Main2.Parent = Main1
  18. Main2.Draggable = true
  19. Main2.Active = true
  20. Main2.BackgroundColor3 = Color3.new(0, 170, 255)
  21. Main2.BorderSizePixel = 0
  22. Main2.ZIndex = 1
  23. Main2.Size = UDim2.new(0, 200, 0, 600)
  24. -- cmd1
  25. cmd1.Name = "FE God"
  26. cmd1.Parent = Main2
  27. cmd1.Active = true
  28. cmd1.BackgroundColor3 = Color3.new(0, 100, 255)
  29. cmd1.BorderSizePixel = 1
  30. cmd1.BorderColor3 = Color3.new(0, 0, 0)
  31. cmd1.ZIndex = 10
  32. cmd1.Size = UDim2.new(0, 200, 0, 100)
  33. cmd1.TextColor3 = Color3.new(255, 255, 255)
  34. cmd1.Text = "FE God"
  35. cmd1.FontSize = "Size32"
  36. -- FE God
  37. cmd1.MouseButton1Click:connect(function()
  38. local player = game.Players.LocalPlayer
  39. if player.Character then
  40. if player.Character:FindFirstChild("Humanoid") then
  41. player.Character.Humanoid.Name = "1"
  42. end
  43. local l = player.Character["1"]:Clone()
  44. l.Parent = player.Character
  45. l.Name = "Humanoid"; wait(0.1)
  46. player.Character["1"]:Destroy()
  47. workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
  48. player.Character.Animate.Disabled = true; wait(0.1)
  49. player.Character.Animate.Disabled = false
  50. end
  51. print("finished.")
  52. end)
  53. -- cmd2
  54. cmd2.Name = "Admin"
  55. cmd2.Parent = Main2
  56. cmd2.Active = true
  57. cmd2.BackgroundColor3 = Color3.new(0, 100, 255)
  58. cmd2.BorderSizePixel = 1
  59. cmd2.BorderColor3 = Color3.new(0, 0, 0)
  60. cmd2.ZIndex = 9
  61. cmd2.Size = UDim2.new(0, 200, 0, 100)
  62. cmd2.Position = UDim2.new(0, 0, 0, 100)
  63. cmd2.TextColor3 = Color3.new(255, 255, 255)
  64. cmd2.Text = "Admin"
  65. cmd2.FontSize = "Size32"
  66. -- Admin
  67. cmd2.MouseButton1Click:connect(function()
  68. --TITLE: RC7 Admin
  69.  
  70. local NOCLIP = false
  71. local JESUSFLY = false
  72. local SWIM = false
  73.  
  74. game:GetService('RunService').Stepped:connect(function()
  75. if NOCLIP then
  76. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  77. elseif JESUSFLY then
  78. game.Players.LocalPlayer.Character.Humanoid:ChangeState(12)
  79. elseif SWIM then
  80. game.Players.LocalPlayer.Character.Humanoid:ChangeState(4)
  81. end
  82. end)
  83.  
  84. _G.Rc7Notification = function(a,b,c)
  85. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://331959655", c)
  86. end
  87.  
  88. local gPlayers = game:GetService("Players")
  89. local admin = gPlayers.LocalPlayer.Name
  90. local bannedplyrs = {}
  91.  
  92. local admins = {'Xeradius','AutumnsGift'} -- names here of people who have access to your commands! (Your name doesn't need to be in here.)
  93.  
  94. -- declare services / init stuff --
  95. local services={}
  96. local cmds={}
  97. local std={}
  98. function KICK(PLAYER_KICK)
  99. if PLAYER_KICK.Character:FindFirstChild('Humanoid') then
  100. local KICK_1 = Instance.new('SkateboardPlatform', PLAYER_KICK.Character)
  101. KICK_1.Name = ''
  102. KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
  103. KICK_1.CanCollide = false
  104. KICK_1.Transparency = 1
  105.  
  106. PLAYER_KICK.Character.Humanoid.WalkSpeed = 0
  107.  
  108. wait()
  109.  
  110. local WELD_1 = Instance.new('Weld', KICK_1)
  111. WELD_1.Name = ''
  112. WELD_1.Part0 = PLAYER_KICK.Character.Torso
  113. WELD_1.Part1 = KICK_1
  114. WELD_1.C0 = CFrame.new(0, -400, 0)
  115.  
  116. wait()
  117.  
  118. KICK_1.Anchored = true
  119. WELD_1:remove()
  120. end
  121. end
  122.  
  123.  
  124. local serverLocked = false
  125.  
  126. game.Players.PlayerAdded:connect(function(player)
  127. if serverLocked == true then
  128. player.CharacterAdded:connect(function()
  129. wait(2)
  130. KICK(player)
  131. end)
  132. end
  133. end)
  134. function FIX_LIGHTING()
  135. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  136. game.Lighting.Brightness = 1
  137. game.Lighting.GlobalShadows = true
  138. game.Lighting.Outlines = false
  139. game.Lighting.TimeOfDay = 14
  140. game.Lighting.FogEnd = 100000
  141. end
  142.  
  143. services.players=gPlayers
  144. services.lighting=game:GetService('Lighting')
  145. services.workspace=game:GetService('Workspace')
  146. services.events = {}
  147. local user = gPlayers.LocalPlayer
  148.  
  149. local cmdprefix=';'
  150. local scriptprefix='\\'
  151. local split=" "
  152.  
  153.  
  154. updateevents=function()
  155. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  156. for i,v in pairs(gPlayers:players())do
  157. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  158. services.events[#services.events+1] = ev
  159. end
  160. end
  161.  
  162. -- safazi's lib --
  163.  
  164. std.inTable=function(tbl,val)
  165. if tbl==nil then return false end
  166.  
  167. for _,v in pairs(tbl)do
  168. if v==val then return true end
  169. end
  170. return false
  171. end
  172.  
  173. std.out=function(str)
  174. print(str)
  175. end
  176.  
  177. std.list=function(tbl) --turns table into list with commas
  178. local str=''
  179. for i,v in pairs(tbl)do
  180. str=str..tostring(v)
  181. if i~=#tbl then str=str..', ' end
  182. end
  183. return str
  184. end
  185.  
  186. std.endat=function(str,val)
  187. local z=str:find(val)
  188. if z then
  189. return str:sub(0,z-string.len(val)),true
  190. else
  191. return str,false
  192. end
  193. end
  194.  
  195. std.first=function(str) return str:sub(1,1) end
  196.  
  197. isAdmin=function(name)
  198. if name==admin then
  199. return true
  200. elseif admins[name]==true then
  201. return true
  202. end
  203. return false
  204. end
  205.  
  206. gPlayers.PlayerAdded:connect(function(player)
  207. for i,v in pairs(bannedplyrs) do
  208. if player == v then player:Destroy() end
  209. end
  210. end)
  211.  
  212. local exec=function(str)
  213. spawn(function()
  214. local script, loaderr = loadstring(str)
  215. if not script then
  216. error(loaderr)
  217. else
  218. script()
  219. end
  220. end)
  221. end
  222.  
  223. local findCmd=function(cmd_name)
  224. for i,v in pairs(cmds)do
  225. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  226. return v
  227. end
  228. end
  229. end
  230.  
  231. local getCmd=function(msg)
  232. local cmd,hassplit=std.endat(msg:lower(),split)
  233. if hassplit then
  234. return {cmd,true}
  235. else
  236. return {cmd,false}
  237. end
  238. end
  239.  
  240. local getprfx=function(strn)
  241. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  242. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  243. end return
  244. end
  245.  
  246. local getArgs=function(str)
  247. local args={}
  248. local new_arg=nil
  249. local hassplit=nil
  250. local s=str
  251. repeat
  252. new_arg,hassplit=std.endat(s:lower(),split)
  253. if new_arg~='' then
  254. args[#args+1]=new_arg
  255. s=s:sub(string.len(new_arg)+string.len(split)+1)
  256. end
  257. until hassplit==false
  258. return args
  259. end
  260.  
  261. local function execCmd(str, plr)
  262. local s_cmd
  263. local a
  264. local cmd
  265. s_cmd = getCmd(str) --separate command from string using split {command name,arg bool (for arg system)}
  266. cmd = findCmd(s_cmd[1]) --get command object {NAME,DESC,{ALIASES},function(args)}
  267. if cmd == nil then return end
  268. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)--start string "a" after command and split
  269. local args=getArgs(a)--gets us a nice table of arguments
  270.  
  271. pcall(function()
  272. cmd.FUNC(args, plr)
  273. end)
  274. end
  275.  
  276. function do_exec(str,plr)
  277. if not isAdmin(plr.Name)then return end
  278.  
  279. str=str:gsub('/e ','')--remove "/e " the easy way!
  280.  
  281. local t=getprfx(str)
  282. if t==nil then return end
  283. str=str:sub(t[2])
  284. if t[1]=='exec' then
  285. exec(str)
  286. elseif t[1]=='cmd' then
  287. execCmd(str, plr)
  288. end
  289. end
  290.  
  291. updateevents()
  292. _G.exec_cmd = execCmd
  293. --game.Players.LocalPlayer.Chatted:connect(doexec)
  294.  
  295. local _char=function(plr_name)
  296. for i,v in pairs(game.Players:GetChildren())do
  297. if v:IsA'Player'then
  298. if v.Name==plr_name then return v.Character end
  299. end
  300. end
  301. return
  302. end
  303.  
  304. local _plr=function(plr_name)
  305. for i,v in pairs(game.Players:GetChildren())do
  306. if v:IsA'Player'then
  307. if v.Name==plr_name then return v end
  308. end
  309. end
  310. return
  311. end
  312.  
  313. function addcmd(name,desc,alias,func)
  314. cmds[#cmds+1]=
  315. {
  316. NAME=name;
  317. DESC=desc;
  318. ALIAS=alias;
  319. FUNC=func;
  320. }
  321. end
  322.  
  323. local function getPlayer(name)
  324. local nameTable = {}
  325. name=name:lower()
  326. if name == "me" then
  327. return {admin}
  328. elseif name == "others" then
  329. for i,v in pairs(gPlayers:GetChildren()) do
  330. if v:IsA'Player'then
  331. if v.Name~=admin then
  332. nameTable[#nameTable+1]=v.Name
  333. end
  334. end
  335. end
  336. elseif name == "all" then
  337. for i,v in pairs(gPlayers:GetChildren()) do
  338. if v:IsA'Player'then
  339. nameTable[#nameTable+1]=v.Name
  340. end
  341. end
  342. else
  343. for i,v in pairs(gPlayers:GetChildren()) do
  344. local lname = v.Name:lower()
  345. local i,j = lname:find(name)
  346. if i == 1 then
  347. return {v.Name}
  348. end
  349. end
  350. end
  351. return nameTable
  352. end
  353.  
  354. -- commands --
  355.  
  356. addcmd('ff',"ff's a player",{},
  357. function(args)
  358. local players=getPlayer(args[1])
  359. for i,v in pairs(players)do
  360. local pchar=_char(v)
  361. Instance.new("ForceField", pchar)
  362. end
  363. end)
  364.  
  365. addcmd('noff',"unff's a player",{'unff'},
  366. function(args)
  367. local players=getPlayer(args[1])
  368. for i,v in pairs(players)do
  369. local pchar=_char(v)
  370. for j,v1 in pairs(pchar:GetChildren()) do
  371. if v1:IsA("ForceField") then
  372. v1:Destroy()
  373. end
  374. end
  375. end
  376. end)
  377.  
  378. addcmd('fire','set a player on fire',{},
  379. function(args)
  380. local players=getPlayer(args[1])
  381. for i,v in pairs(players)do
  382. local pchar=_char(v)
  383. Instance.new("Fire", pchar.Torso)
  384. end
  385. end)
  386.  
  387. addcmd('nofire','extinguish a player',{'unfire'},
  388. function(args)
  389. local players=getPlayer(args[1])
  390. for i,v in pairs(players)do
  391. local pchar=_char(v)
  392. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  393. if v1:IsA("Fire") then
  394. v1:Destroy()
  395. end
  396. end
  397. end
  398. end)
  399.  
  400. addcmd('sp','give a player sparkles',{},
  401. function(args)
  402. local players=getPlayer(args[1])
  403. for i,v in pairs(players)do
  404. local pchar=_char(v)
  405. Instance.new("Sparkles", pchar.Torso)
  406. end
  407. end)
  408.  
  409. addcmd('nosp','remove sparkles from a player',{'unsp'},
  410. function(args)
  411. local players=getPlayer(args[1])
  412. for i,v in pairs(players)do
  413. local pchar=_char(v)
  414. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  415. if v1:IsA("Sparkles") then
  416. v1:Destroy()
  417. end
  418. end
  419. end
  420. end)
  421.  
  422. addcmd('smoke','give a player smoke',{},
  423. function(args)
  424. local players=getPlayer(args[1])
  425. for i,v in pairs(players)do
  426. local pchar=_char(v)
  427. Instance.new("Smoke", pchar.Torso)
  428. end
  429. end)
  430.  
  431. addcmd('nosmoke','remove smoke from a player',{},
  432. function(args)
  433. local players=getPlayer(args[1])
  434. for i,v in pairs(players)do
  435. local pchar=_char(v)
  436. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  437. if v1:IsA("Smoke") then
  438. v1:Destroy()
  439. end
  440. end
  441. end
  442. end)
  443.  
  444. addcmd('btools','gives a player btools',{},
  445. function(args)
  446. local players=getPlayer(args[1])
  447. if players ~= nil then
  448. for i, v in pairs(players) do
  449. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  450. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  451. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  452. end
  453. end
  454. end)
  455.  
  456. addcmd('god','gods player',{},
  457. function(args)
  458. local players=getPlayer(args[1])
  459. for i,v in pairs(players)do
  460. local pchar=_char(v)
  461. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  462. end
  463. end)
  464.  
  465. addcmd('sgod','silently gods player',{},
  466. function(args)
  467. local players=getPlayer(args[1])
  468. for i,v in pairs(players)do
  469. local pchar=_char(v)
  470. spawn(function()
  471. pchar.Humanoid.MaxHealth = 10000000
  472. wait()
  473. pchar.Humanoid.Health = 10000000
  474. end)
  475. end
  476. end)
  477.  
  478. addcmd('ungod','removes god from a player',{},
  479. function(args)
  480. local players=getPlayer(args[1])
  481. for i,v in pairs(players)do
  482. local pchar=_char(v)
  483. if pchar then
  484. pchar.Humanoid.MaxHealth=100
  485. pchar.Humanoid.Health=100
  486. end
  487. end
  488. end)
  489.  
  490. addcmd('heal','resets a players health',{},
  491. function(args)
  492. local players=getPlayer(args[1])
  493. for i,v in pairs(players)do
  494. local pchar=_char(v)
  495. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  496. end
  497. end)
  498.  
  499. addcmd('frz','freezes a player',{},
  500. function(args)
  501. local players = getPlayer(args[1])
  502. if players ~= nil then
  503. for i, v in pairs(players) do
  504. _char(v).Torso.Anchored = true
  505. end
  506. end
  507. end)
  508.  
  509. addcmd('thaw','freezes a player',{},
  510. function(args)
  511. local players = getPlayer(args[1])
  512. if players ~= nil then
  513. for i, v in pairs(players) do
  514. _char(v).Torso.Anchored = false
  515. end
  516. end
  517. end)
  518.  
  519. addcmd('kill','kills a player',{},
  520. function(args)
  521. local players=getPlayer(args[1])
  522. for i,v in pairs(players)do
  523. local pchar=_char(v)
  524. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  525. end
  526. end)
  527.  
  528. addcmd('sound','plays a sound',{},
  529. function(args)
  530. local function dels(instance)
  531. for i,v in pairs(instance:GetChildren())do
  532. if v:IsA'Sound'then v:Destroy()end
  533. dels(v)
  534. end
  535. end
  536. dels(workspace)
  537.  
  538. local c=args[1]or'stop'
  539. if std.inTable({'stop'},c:lower())then return end
  540. local s=Instance.new("Sound", workspace)
  541. s.Looped = true
  542. s.SoundId = "rbxassetid://"..c
  543. s.Volume=1
  544. s:Play() s.Name = "Musickek"
  545. end)
  546.  
  547. addcmd('explode','explode a player', {},
  548. function(args)
  549. local players=getPlayer(args[1])
  550. for i, v in pairs(players) do
  551. local char = _char(v)
  552. if char:FindFirstChild("Torso") then
  553. Instance.new("Explosion", char).Position = char.Torso.Position
  554. end
  555. end
  556. end)
  557.  
  558. addcmd('invis','make a player invisible',{},
  559. function(args)
  560. local players=getPlayer(args[1])
  561. for i, v in pairs(players) do
  562. for k, v2 in pairs(_char(v):GetChildren()) do
  563. if v2.className == "Part" then
  564. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  565. elseif v2.className == "Hat" then
  566. if v2:FindFirstChild("Handle") then
  567. v2.Handle.Transparency = 1
  568. end
  569. end
  570. if v2:FindFirstChild("face") then
  571. v2.face:Destroy()
  572. end
  573. end
  574. end
  575. end)
  576.  
  577. addcmd('vis','make a player visible',{},
  578. function(args)
  579. local players=getPlayer(args[1])
  580. for i, v in pairs(players) do
  581. for k, v2 in pairs(_char(v):GetChildren()) do
  582. if v2.className == "Part" then
  583. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  584. elseif v2.className == "Hat" then
  585. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  586. end
  587. if v2:FindFirstChild("face") then
  588. v2.face:Destroy()
  589. end
  590. end
  591. end
  592. end)
  593.  
  594. addcmd('goto','go to a player',{},
  595. function(args)
  596. local players=getPlayer(args[1])
  597. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  598. _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  599. end
  600. end)
  601.  
  602. addcmd('bring','bring a player to you',{},
  603. function(args)
  604. local players=getPlayer(args[1])
  605. for i,v in pairs(players) do
  606. if _char(v):FindFirstChild("HumanoidRootPart") then
  607. _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  608. end
  609. end
  610. end)
  611.  
  612. addcmd('tp','teleport player 1 to player 2',{},
  613. function(args)
  614. local players1=getPlayer(args[1])
  615. local players2=getPlayer(args[2])
  616. if not players2[1] then return end
  617. for i,v in pairs(players1) do
  618. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  619. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  620. end
  621. end
  622. end)
  623.  
  624. addcmd('charapp','change a players appearance',{},
  625. function(args)
  626. local players=getPlayer(args[1])
  627. if not args[1]or not args[2]then return end
  628. local id=args[2]
  629. if players ~= nil then
  630. for i,v in pairs(players) do
  631. gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  632. if _char(v):FindFirstChild("Head") then
  633. _char(v).Head:Destroy()
  634. end
  635. end
  636. end
  637. end)
  638.  
  639. addcmd('ws','change a players walkspeed',{},
  640. function(args)
  641. local players=getPlayer(args[1])
  642. if not args[1]or not args[2]then return end
  643. local num=args[2]
  644. for i,v in pairs(players) do
  645. if _char(v):FindFirstChild("Humanoid") then
  646. _char(v).Humanoid.WalkSpeed=tonumber(num)
  647. end
  648. end
  649. end)
  650.  
  651. addcmd('time','change the time of day',{},
  652. function(args)
  653. if not args[1]then return end
  654. local time_=tonumber(args[1])
  655.  
  656. game.Lighting:SetMinutesAfterMidnight(time_*60)
  657. end)
  658.  
  659. addcmd('kick','kick a player',{},
  660. function(args)
  661. local players=getPlayer(args[1])
  662. for i,v in pairs(players) do
  663. gPlayers[v]:Destroy()
  664. end
  665. end)
  666.  
  667. addcmd('ban','ban a player',{},
  668. function(args)
  669. local players=getPlayer(args[1])
  670. for i,v in pairs(players) do
  671. bannedplyrs[#bannedplyrs+1]=v
  672. gPlayers[v]:Destroy()
  673. end
  674. end)
  675.  
  676. addcmd('unlockws','unlock the whole workspace',{},
  677. function(args)
  678. local function unlock(instance)
  679. for i,v in pairs(instance:GetChildren()) do
  680. if v:IsA("BasePart") then
  681. v.Locked = false
  682. end
  683. unlock(v)
  684. end
  685. end
  686. unlock(workspace)
  687. end)
  688.  
  689. addcmd('unanchorws','unanchor the whole workspace',{},
  690. function(args)
  691. local function unanchor(instance)
  692. for i,v in pairs(instance:GetChildren()) do
  693. if v:IsA("BasePart") then
  694. v.Anchored=false
  695. end
  696. unanchor(v)
  697. end
  698. end
  699. unanchor(workspace)
  700. end)
  701.  
  702. addcmd('hat','give player a hat ingame',{},
  703. function(args)
  704. if not args[1] or not args[2] then return end
  705. local players=getPlayer(args[1])
  706. local id=args[2]
  707. local hat = game:GetObjects("rbxassetid://"..id)[1]
  708. if hat:IsA("Hat") then
  709. for i,v in pairs(players) do
  710. hat:clone().Parent = _char(v)
  711. end
  712. end
  713. hat:Destroy()
  714. end)
  715.  
  716. addcmd('gear','give player a gear ingame',{},
  717. function(args)
  718. spawn(function()
  719. if not args[1] or not args[2] then return end
  720. local players=getPlayer(args[1])
  721. local id=args[2]
  722. local model = game:GetService("InsertService"):LoadAsset(id)
  723. for i,v in pairs(players) do
  724. for _,j in pairs(model:GetChildren()) do
  725. if j:IsA("Tool") then
  726. j:Clone().Parent = gPlayers[v].Backpack
  727. end
  728. end
  729. end
  730. model:Destroy()
  731. end)
  732. end)
  733.  
  734. addcmd('pstools','give player personal server tools',{},
  735. function(args)
  736. local players=getPlayer(args[1])
  737. for i,v in pairs(players) do
  738. gPlayers[v].PersonalServerRank = 240
  739. end
  740. end)
  741.  
  742. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  743. function(args)
  744. local players=getPlayer(args[1])
  745. for i,v in pairs(players) do
  746. spawn(function()
  747. gPlayers[v].PersonalServerRank = 240
  748. gPlayers[v].Backpack:WaitForChild("ClassicTool")
  749. gPlayers[v].PersonalServerRank = 0
  750. end)
  751. end
  752. end)
  753.  
  754. addcmd('admin','gives a player admin',{},
  755. function(args)
  756. if not args[1]then return end
  757. local players=getPlayer(args[1])
  758. table.foreach(players,function(k,v)
  759. admins[v]=true
  760. end)
  761. end)
  762.  
  763. addcmd('unadmin','removes a players admin',{},
  764. function(args)
  765. if not args[1] then return end
  766. local players=getPlayer(args[1])
  767. table.foreach(players,function(k,v)
  768. admins[v]=nil
  769. end)
  770. end)
  771.  
  772. addcmd('view','view player',{},
  773. function(args)
  774. local players=getPlayer(args[1])
  775. workspace.CurrentCamera.CameraSubject = game.Players[players[1]].Character
  776. end)
  777.  
  778. addcmd('noclip','noclips local player',nil,
  779. function(args,speaker)
  780. NOCLIP = true
  781. JESUSFLY = false
  782. SWIM = false
  783. end)
  784.  
  785. addcmd('clip','clips local player',nil,
  786. function(args,speaker)
  787. NOCLIP = false
  788. end)
  789. addcmd('jesusfly','jesusfly',nil,
  790. function(args,speaker)
  791. NOCLIP = false
  792. JESUSFLY = true
  793. SWIM = false
  794. end)
  795. addcmd('nofly','nofly',nil,
  796. function(args)
  797. JESUSFLY = false
  798. end)
  799. addcmd('swim','swim',nil,
  800. function(args)
  801. NOCLIP = false
  802. JESUSFLY = false
  803. SWIM = true
  804. end)
  805. addcmd('noswim','noswim',nil,
  806. function(args)
  807. SWIM = false
  808. end)
  809. addcmd('skybox','sky <id>',nil,
  810. function(args)
  811. for i,v in pairs(game.Lighting:GetChildren()) do
  812. if v:IsA('Sky') then
  813. v:remove()
  814. end
  815. end
  816. local ID = (args[1])
  817. local sky = Instance.new('Sky', game.Lighting)
  818. sky.SkyboxBk = 'rbxassetid://' .. ID
  819. sky.SkyboxDn = 'rbxassetid://' .. ID
  820. sky.SkyboxFt = 'rbxassetid://' .. ID
  821. sky.SkyboxLf = 'rbxassetid://' .. ID
  822. sky.SkyboxRt = 'rbxassetid://' .. ID
  823. sky.SkyboxUp = 'rbxassetid://' .. ID
  824. end)
  825. addcmd('shrek','shrek <p>',nil,
  826. function(args)
  827. local players = getPlayer(args[1])
  828. for i,v in pairs(players) do
  829. local pchar = gPlayers[v].Character
  830. for i,v in pairs(pchar:GetChildren()) do
  831. if v:IsA('Hat') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') then
  832. v:remove()
  833. end
  834. end
  835. for i,v in pairs(pchar.Head:GetChildren()) do
  836. if v:IsA('Decal') or v:IsA('SpecialMesh')then
  837. v:remove()
  838. end
  839. end
  840. if pchar:FindFirstChild('Shirt Graphic') then
  841. pchar['Shirt Graphic'].Archivable = false
  842. pchar['Shirt Graphic'].Graphic = ''
  843. end
  844. local mesh = Instance.new('SpecialMesh', pchar.Head)
  845. mesh.MeshType = 'FileMesh'
  846. pchar.Head.Mesh.MeshId = 'http://www.roblox.com/asset/?id=19999257'
  847. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  848. pchar.Head.Mesh.TextureId = 'http://www.roblox.com/asset/?id=156397869'
  849. local Shirt = Instance.new('Shirt', gPlayers[v].Character)
  850. local Pants = Instance.new('Pants', gPlayers[v].Character)
  851. Shirt.ShirtTemplate = 'rbxassetid://133078194'
  852. Pants.PantsTemplate = 'rbxassetid://133078204'
  853. end
  854. end)
  855. addcmd('ambient','ambient <n> <n> <n>',nil,
  856. function(args)
  857. game.Lighting.Ambient = Color3.new(args[1], args[2], args[3])
  858. end)
  859. addcmd('fetp','fetp',nil,
  860. function(args)
  861. local last_pos = game.Players.LocalPlayer.Character.Torso.CFrame
  862. for _, Player in pairs(game:GetService("Players"):GetChildren()) do
  863. if game.Workspace:findFirstChild(Player.Name) then
  864. local w = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  865. w.Part0 = w.Parent
  866. w.Part1 = Player.Character.Torso
  867. w.C0 = last_pos
  868. w.C1 = last_pos
  869. wait(0.1)
  870. w:Destroy()
  871. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  872. end
  873. end
  874. wait(1)
  875. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  876. end)
  877. addcmd('fogend','fogend <n>',nil,
  878. function(args)
  879. game.Lighting.FogEnd = args[1]
  880. end)
  881. addcmd('slock','serverlock',nil,
  882. function(args)
  883. serverLocked = true
  884. end)
  885.  
  886. addcmd('unslock','unserverlock',nil,
  887. function(args)
  888. serverLocked = false
  889. end)
  890. addcmd('fogend','fogend <n>',{},
  891. function(args)
  892. game.Lighting.FogEnd = args[1]
  893. end)
  894. addcmd('fogcolor','fogcolor <n> <n> <n>',{},
  895. function(args)
  896. game.Lighting.FogColor = Color3.new(args[1], args[2], args[3])
  897. end)
  898. addcmd('fixl','fixlighting',nil,
  899. function(args)
  900. FIX_LIGHTING()
  901. end)
  902. addcmd('particles','particles <p> <id>',{'pts'},
  903. function(args)
  904. local players = getPlayer(args[1])
  905. for i,v in pairs(players) do
  906. local pchar = gPlayers[v].Character
  907. for i,v in pairs(pchar.Torso:GetChildren()) do
  908. if v:IsA('ParticleEmitter') then
  909. v:remove()
  910. end
  911. end
  912. wait()
  913. Instance.new('ParticleEmitter', pchar.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. args[2] - 1
  914. end
  915. end)
  916. addcmd('nuke','nuke <p>',nil,
  917. function(args)
  918. local players = getPlayer(args[1])
  919. for i,v in pairs(players) do
  920. local pchar = gPlayers[v].Character
  921. spawn(function()
  922. if gPlayers[v] and pchar and pchar:FindFirstChild('Torso') then
  923. local nuke = Instance.new('Part', game.Workspace)
  924. nuke.Name = 'nuke_seth'
  925. nuke.Anchored = true
  926. nuke.CanCollide = false
  927. nuke.FormFactor = 'Symmetric'
  928. nuke.Shape = 'Ball'
  929. nuke.Size = Vector3.new(1,1,1)
  930. nuke.BrickColor = BrickColor.new('New Yeller')
  931. nuke.Transparency = 0.5
  932. nuke.Reflectance = 0.2
  933. nuke.TopSurface = 0
  934. nuke.BottomSurface = 0
  935. nuke.Touched:connect(function (hit)
  936. if hit and hit.Parent then
  937. local boom = Instance.new('Explosion', game.Workspace)
  938. boom.Position = hit.Position
  939. boom.BlastRadius = 11
  940. boom.BlastPressure = math.huge
  941. end
  942. end)
  943. local CF = pchar.Torso.CFrame
  944. nuke.CFrame = CF
  945. for i = 1,333 do
  946. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  947. nuke.CFrame = CF
  948. wait(1/44)
  949. end
  950. nuke:remove()
  951. end
  952. end)
  953. end
  954. end)
  955. addcmd('nonuke','nonuke',{'unnuke'},
  956. function(args)
  957. for i,v in pairs(game.Workspace:GetChildren()) do
  958. if v.Name == 'nuke_seth' then
  959. v:remove()
  960. end
  961. end
  962. end)
  963. _G.Rc7Notification("Done","Moon Admin is fully initilizied",5)
  964. wait(5)
  965. if game.Workspace.FilteringEnabled == true then
  966. _G.Rc7Notification("Filtering","Anal rape is Enabled",5)
  967. else
  968. _G.Rc7Notification("Filtering","Anal rape is Disabled",5)
  969. end
  970. end)
  971. -- cmd3
  972. cmd3.Name = "galaxy titan"
  973. cmd3.Parent = Main2
  974. cmd3.Active = true
  975. cmd3.BackgroundColor3 = Color3.new(0, 100, 255)
  976. cmd3.BorderSizePixel = 1
  977. cmd3.BorderColor3 = Color3.new(0, 0, 0)
  978. cmd3.ZIndex = 8
  979. cmd3.Size = UDim2.new(0, 200, 0, 100)
  980. cmd3.Position = UDim2.new(0, 0, 0, 200)
  981. cmd3.TextColor3 = Color3.new(255, 255, 255)
  982. cmd3.Text = "Galaxy Titan"
  983. cmd3.FontSize = "Size32"
  984. -- btools
  985. cmd3.MouseButton1Click:connect(function()
  986. --[[PointCoded's Edit Of The Titan Script]]--
  987. --[[Old]]--
  988.  
  989. local p = game.Players.LocalPlayer
  990. local char = p.Character
  991. local mouse = p:GetMouse()
  992. local larm = char["Left Arm"]
  993. local rarm = char["Right Arm"]
  994. local TitanBet = ";"
  995. local lleg = char["Left Leg"]
  996. local rleg = char["Right Leg"]
  997. local hed = char.Head
  998. local torso = char.Torso
  999. local hum = char.Humanoid
  1000. local cam = game.Workspace.CurrentCamera
  1001. local root = char.HumanoidRootPart
  1002. local deb = false
  1003. local shot = 0
  1004. local l = game:GetService("Lighting")
  1005. local rs = game:GetService("RunService").RenderStepped
  1006. local stanceToggle = "Normal"
  1007. local Mana = Instance.new("IntValue", char)
  1008. Mana.Value = 5000
  1009. Mana.Name = "Mana"
  1010. math.randomseed(os.time())
  1011. hum.WalkSpeed = 50
  1012. char.Health:Destroy()
  1013. hum.MaxHealth = math.huge
  1014. wait(0.1)
  1015. hum.Health = math.huge
  1016. ----------------------------------------------------
  1017. local G = Instance.new("ScreenGui")
  1018. G.Parent = p.PlayerGui
  1019. G.Name = "Mana"
  1020. local T = Instance.new("TextLabel")
  1021. T.Name = "Mana"
  1022. T.Parent = G
  1023. T.Text = "Mana: "..char.Mana.Value
  1024. T.FontSize = "Size24"
  1025. T.BackgroundTransparency = 1
  1026. T.TextColor3 = Color3.new(255,255,255)
  1027. T.TextStrokeTransparency = 0
  1028. T.Position = UDim2.new(0,250,0,400)
  1029. T.BorderSizePixel = 0
  1030. --//
  1031. for i = 1,30 do
  1032. Instance.new('Fire',larm); Instance.new('Fire',rarm)
  1033. end
  1034. --//
  1035. Debounces = {
  1036. on = false;
  1037. ks = false;
  1038. CanAttack = true;
  1039. CanJoke = true;
  1040. NoIdl = false;
  1041. Slashing = false;
  1042. Slashed = false;
  1043. Grabbing = false;
  1044. Grabbed = false;
  1045. }
  1046. local Touche = {char.Name, }
  1047. ----------------------------------------------------
  1048. function lerp(a, b, t) -- Linear interpolation
  1049. return a + (b - a)*t
  1050. end
  1051.  
  1052. function slerp(a, b, t) --Spherical interpolation
  1053. dot = a:Dot(b)
  1054. if dot > 0.99999 or dot < -0.99999 then
  1055. return t <= 0.5 and a or b
  1056. else
  1057. r = math.acos(dot)
  1058. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1059. end
  1060. end
  1061.  
  1062. function matrixInterpolate(a, b, t)
  1063. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1064. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1065. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1066. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1067. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1068. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1069. local t = v1:Dot(v2)
  1070. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1071. return CFrame.new()
  1072. end
  1073. return CFrame.new(
  1074. v0.x, v0.y, v0.z,
  1075. v1.x, v1.y, v1.z,
  1076. v2.x, v2.y, v2.z,
  1077. v3.x, v3.y, v3.z)
  1078. end
  1079. ----------------------------------------------------//Mesh setting
  1080. local cmeshes = {}
  1081. local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
  1082. ll.BodyPart = 'LeftLeg'
  1083. rl.BodyPart = 'RightLeg'
  1084. la.BodyPart = 'LeftArm'
  1085. ra.BodyPart = 'RightArm'
  1086. t.BodyPart = 'Torso'
  1087. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
  1088. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,18051314
  1089. t.MeshId,t.OverlayTextureId=68241695,18051314
  1090.  
  1091. ----------------------------------------------------
  1092. function genWeld(a,b)
  1093. local w = Instance.new("Weld",a)
  1094. w.Part0 = a
  1095. w.Part1 = b
  1096. return w
  1097. end
  1098. function weld(a, b)
  1099. local weld = Instance.new("Weld")
  1100. weld.Name = "W"
  1101. weld.Part0 = a
  1102. weld.Part1 = b
  1103. weld.C0 = a.CFrame:inverse() * b.CFrame
  1104. weld.Parent = a
  1105. return weld;
  1106. end
  1107. ----------------------------------------------------
  1108. function Lerp(c1,c2,al)
  1109. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1110. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1111. for i,v in pairs(com1) do
  1112. com1[i] = v+(com2[i]-v)*al
  1113. end
  1114. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1115. end
  1116. ----------------------------------------------------
  1117. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1118. local wld = Instance.new("Weld", wp1)
  1119. wld.Part0 = wp0
  1120. wld.Part1 = wp1
  1121. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1122. end
  1123. ----------------------------------------------------
  1124. for i,v in pairs(char:children()) do
  1125. if v:IsA("Hat") then
  1126. v:Destroy()
  1127. end
  1128. end
  1129. for i,v in pairs(hed:children()) do
  1130. if v:IsA("Sound") then
  1131. v:Destroy()
  1132. end
  1133. end
  1134. ----------------------------------------------------
  1135. function HasntTouched(plrname)
  1136. local ret = true
  1137. for _, v in pairs(Touche) do
  1138. if v == plrname then
  1139. ret = false
  1140. end
  1141. end
  1142. return ret
  1143. end
  1144. ----------------------------------------------------
  1145. larm.Size = larm.Size * 2
  1146. rarm.Size = rarm.Size * 2
  1147. lleg.Size = lleg.Size * 2
  1148. rleg.Size = rleg.Size * 2
  1149. torso.Size = torso.Size * 2
  1150. hed.Size = hed.Size * 2
  1151. root.Size = root.Size * 2
  1152. ----------------------------------------------------
  1153. newWeld(torso, larm, -1.5, 1, 0)
  1154. larm.Weld.C1 = CFrame.new(0, 1, 0)
  1155. newWeld(torso, rarm, 1.5, 1, 0)
  1156. rarm.Weld.C1 = CFrame.new(0, 1, 0)
  1157. newWeld(torso, hed, 0, 3, 0)
  1158. newWeld(torso, lleg, -1, -2, 0)
  1159. lleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  1160. newWeld(torso, rleg, 1, -2, 0)
  1161. rleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  1162. newWeld(root, torso, 0, -2, 0)
  1163. torso.Weld.C1 = CFrame.new(0, -2, 0)
  1164. ----------------------------------------------------
  1165.  
  1166. hed.face:Remove''
  1167. hed.Transparency = 0
  1168. local meshx9 = Instance.new('SpecialMesh',hed)
  1169. meshx9.MeshType = 'FileMesh'
  1170. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107'
  1171. meshx9.Scale = Vector3.new(2,2,2)
  1172.  
  1173.  
  1174.  
  1175. lite = Instance.new("PointLight", torso)
  1176. lite.Brightness = 14
  1177. lite.Range = 10
  1178. lite.Color = Color3.new(1, 0, 0)
  1179. local hed2 = hed:Clone()
  1180. hed2.CanCollide = false
  1181. hed2.Parent = char
  1182. hed2:ClearAllChildren()
  1183. hed2.Transparency = 1
  1184. hed2.Name = "DARP"
  1185. local w = Instance.new("Weld",hed2)
  1186. w.Part0 = hed
  1187. w.Part1 = hed2
  1188. w.C0 = CFrame.new(0,0,-0.175)
  1189. z=Instance.new("SurfaceGui",hed2)
  1190. z.Enabled = true
  1191. z.Face = "Front"
  1192. z.Adornee = hed2
  1193. z.CanvasSize = Vector2.new(100,100)
  1194. local face = Instance.new("ImageLabel",z)
  1195. face.Size = UDim2.new(1,-30,1,0)
  1196. face.Position = UDim2.new(0,15,0,0)
  1197. face.BackgroundTransparency = 1
  1198. face.Image='rbxassetid://46282671'
  1199. ----------------------------------------------------
  1200. local m = Instance.new("Model")
  1201. m.Name = "Absolution"
  1202. p1 = Instance.new("Part", m)
  1203. p1.BrickColor = BrickColor.new("Really black")
  1204. p1.FormFactor = Enum.FormFactor.Custom
  1205. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  1206. p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395)
  1207. p1.CanCollide = false
  1208. p1.Locked = true
  1209. p1.Elasticity = 0
  1210. p1.BottomSurface = Enum.SurfaceType.Smooth
  1211. p1.TopSurface = Enum.SurfaceType.Smooth
  1212. b1 = Instance.new("SpecialMesh", p1)
  1213. b1.MeshType = Enum.MeshType.Wedge
  1214. b1.Name = "Mesh"
  1215. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  1216. p2 = Instance.new("Part", m)
  1217. p2.BrickColor = BrickColor.new("Really black")
  1218. p2.FormFactor = Enum.FormFactor.Custom
  1219. p2.Size = Vector3.new(1, 2.9000001, 1)
  1220. p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005)
  1221. p2.CanCollide = false
  1222. p2.Locked = true
  1223. p2.Elasticity = 0
  1224. p2.BottomSurface = Enum.SurfaceType.Smooth
  1225. p2.TopSurface = Enum.SurfaceType.Smooth
  1226. b2 = Instance.new("BlockMesh", p2)
  1227. b2.Name = "Mesh"
  1228. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1229. p3 = Instance.new("Part", m)
  1230. p3.BrickColor = BrickColor.new("Really black")
  1231. p3.FormFactor = Enum.FormFactor.Custom
  1232. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  1233. p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501)
  1234. p3.CanCollide = false
  1235. p3.Locked = true
  1236. p3.Elasticity = 0
  1237. p3.BottomSurface = Enum.SurfaceType.Smooth
  1238. p3.TopSurface = Enum.SurfaceType.Smooth
  1239. b3 = Instance.new("SpecialMesh", p3)
  1240. b3.MeshType = Enum.MeshType.Wedge
  1241. b3.Name = "Mesh"
  1242. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  1243. p4 = Instance.new("Part", m)
  1244. p4.BrickColor = BrickColor.new("Really black")
  1245. p4.FormFactor = Enum.FormFactor.Custom
  1246. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  1247. p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151)
  1248. p4.CanCollide = false
  1249. p4.Locked = true
  1250. p4.Elasticity = 0
  1251. p4.BottomSurface = Enum.SurfaceType.Smooth
  1252. p4.TopSurface = Enum.SurfaceType.Smooth
  1253. b4 = Instance.new("SpecialMesh", p4)
  1254. b4.MeshType = Enum.MeshType.Wedge
  1255. b4.Name = "Mesh"
  1256. b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1257. p5 = Instance.new("Part", m)
  1258. p5.BrickColor = BrickColor.new("Really black")
  1259. p5.FormFactor = Enum.FormFactor.Custom
  1260. p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
  1261. p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246)
  1262. p5.CanCollide = false
  1263. p5.Locked = true
  1264. p5.Elasticity = 0
  1265. p5.BottomSurface = Enum.SurfaceType.Smooth
  1266. p5.TopSurface = Enum.SurfaceType.Smooth
  1267. b5 = Instance.new("SpecialMesh", p5)
  1268. b5.MeshType = Enum.MeshType.Wedge
  1269. b5.Name = "Mesh"
  1270. b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  1271. p6 = Instance.new("Part", m)
  1272. p6.Name = "Handle"
  1273. p6.BrickColor = BrickColor.new(192)
  1274. p6.FormFactor = Enum.FormFactor.Custom
  1275. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  1276. p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
  1277. p6.CanCollide = false
  1278. p6.Locked = true
  1279. p6.Elasticity = 0
  1280. p6.BottomSurface = Enum.SurfaceType.Smooth
  1281. p6.TopSurface = Enum.SurfaceType.Smooth
  1282. b6 = Instance.new("BlockMesh", p6)
  1283. b6.Name = "Mesh"
  1284. b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1285. p7 = Instance.new("Part", m)
  1286. p7.BrickColor = BrickColor.new("Really black")
  1287. p7.FormFactor = Enum.FormFactor.Custom
  1288. p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
  1289. p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818)
  1290. p7.CanCollide = false
  1291. p7.Locked = true
  1292. p7.Elasticity = 0
  1293. p7.BottomSurface = Enum.SurfaceType.Smooth
  1294. p7.TopSurface = Enum.SurfaceType.Smooth
  1295. b7 = Instance.new("SpecialMesh", p7)
  1296. b7.MeshType = Enum.MeshType.Wedge
  1297. b7.Name = "Mesh"
  1298. b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1299. p8 = Instance.new("Part", m)
  1300. p8.BrickColor = BrickColor.new("Really black")
  1301. p8.FormFactor = Enum.FormFactor.Custom
  1302. p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
  1303. p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699)
  1304. p8.CanCollide = false
  1305. p8.Locked = true
  1306. p8.Elasticity = 0
  1307. p8.BottomSurface = Enum.SurfaceType.Smooth
  1308. p8.TopSurface = Enum.SurfaceType.Smooth
  1309. b8 = Instance.new("SpecialMesh", p8)
  1310. b8.MeshType = Enum.MeshType.Wedge
  1311. b8.Name = "Mesh"
  1312. b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1313. p9 = Instance.new("Part", m)
  1314. p9.BrickColor = BrickColor.new("Really black")
  1315. p9.FormFactor = Enum.FormFactor.Custom
  1316. p9.Size = Vector3.new(1, 1.07999957, 1)
  1317. p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005)
  1318. p9.CanCollide = false
  1319. p9.Locked = true
  1320. p9.Elasticity = 0
  1321. p9.BottomSurface = Enum.SurfaceType.Smooth
  1322. p9.TopSurface = Enum.SurfaceType.Smooth
  1323. b9 = Instance.new("BlockMesh", p9)
  1324. b9.Name = "Mesh"
  1325. b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  1326. p10 = Instance.new("Part", m)
  1327. p10.BrickColor = BrickColor.new("Really black")
  1328. p10.FormFactor = Enum.FormFactor.Custom
  1329. p10.Size = Vector3.new(1, 1.41999948, 1)
  1330. p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005)
  1331. p10.CanCollide = false
  1332. p10.Locked = true
  1333. p10.Elasticity = 0
  1334. p10.BottomSurface = Enum.SurfaceType.Smooth
  1335. p10.TopSurface = Enum.SurfaceType.Smooth
  1336. b10 = Instance.new("BlockMesh", p10)
  1337. b10.Name = "Mesh"
  1338. b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1339. p11 = Instance.new("Part", m)
  1340. p11.BrickColor = BrickColor.new("Really black")
  1341. p11.FormFactor = Enum.FormFactor.Custom
  1342. p11.Size = Vector3.new(1, 1.50999951, 1)
  1343. p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005)
  1344. p11.CanCollide = false
  1345. p11.Locked = true
  1346. p11.Elasticity = 0
  1347. p11.BottomSurface = Enum.SurfaceType.Smooth
  1348. p11.TopSurface = Enum.SurfaceType.Smooth
  1349. b11 = Instance.new("BlockMesh", p11)
  1350. b11.Name = "Mesh"
  1351. b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  1352. p12 = Instance.new("Part", m)
  1353. p12.Name = "BladeCenter"
  1354. p12.BrickColor = BrickColor.new("")
  1355. p12.Material = Enum.Material.Concrete
  1356. p12.FormFactor = Enum.FormFactor.Symmetric
  1357. p12.Size = Vector3.new(1, 2, 2)
  1358. p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005)
  1359. p12.CanCollide = false
  1360. p12.Locked = true
  1361. p12.BottomSurface = Enum.SurfaceType.Smooth
  1362. p12.TopSurface = Enum.SurfaceType.Smooth
  1363. b12 = Instance.new("SpecialMesh", p12)
  1364. b12.MeshType = Enum.MeshType.Brick
  1365. b12.Name = "Mesh"
  1366. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  1367. p13 = Instance.new("Part", m)
  1368. p13.BrickColor = BrickColor.new("Really black")
  1369. p13.FormFactor = Enum.FormFactor.Custom
  1370. p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
  1371. p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005)
  1372. p13.CanCollide = false
  1373. p13.Locked = true
  1374. p13.Elasticity = 0
  1375. p13.BottomSurface = Enum.SurfaceType.Smooth
  1376. p13.TopSurface = Enum.SurfaceType.Smooth
  1377. b13 = Instance.new("BlockMesh", p13)
  1378. b13.Name = "Mesh"
  1379. b13.Scale = Vector3.new(1, 1, 0.400000006)
  1380. p14 = Instance.new("Part", m)
  1381. p14.BrickColor = BrickColor.new("Really black")
  1382. p14.FormFactor = Enum.FormFactor.Custom
  1383. p14.Size = Vector3.new(2.5, 2.17999935, 1)
  1384. p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005)
  1385. p14.CanCollide = false
  1386. p14.Locked = true
  1387. p14.Elasticity = 0
  1388. p14.BottomSurface = Enum.SurfaceType.Smooth
  1389. p14.TopSurface = Enum.SurfaceType.Smooth
  1390. b14 = Instance.new("BlockMesh", p14)
  1391. b14.Name = "Mesh"
  1392. b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1393. p15 = Instance.new("Part", m)
  1394. p15.BrickColor = BrickColor.new("Really black")
  1395. p15.FormFactor = Enum.FormFactor.Custom
  1396. p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
  1397. p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005)
  1398. p15.CanCollide = false
  1399. p15.Locked = true
  1400. p15.Material = "Neon"
  1401. p15.Elasticity = 0
  1402. p15.BottomSurface = Enum.SurfaceType.Smooth
  1403. p15.TopSurface = Enum.SurfaceType.Smooth
  1404. b15 = Instance.new("BlockMesh", p15)
  1405. b15.Name = "Mesh"
  1406. b15.Scale = Vector3.new(1, 1, 0.400000006)
  1407. p16 = Instance.new("Part", m)
  1408. p16.BrickColor = BrickColor.new("Really black")
  1409. p16.FormFactor = Enum.FormFactor.Custom
  1410. p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
  1411. p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005)
  1412. p16.CanCollide = false
  1413. p16.Locked = true
  1414. p16.Material = "Neon"
  1415. p16.Elasticity = 0
  1416. p16.BottomSurface = Enum.SurfaceType.Smooth
  1417. p16.TopSurface = Enum.SurfaceType.Smooth
  1418. b16 = Instance.new("BlockMesh", p16)
  1419. b16.Name = "Mesh"
  1420. b16.Scale = Vector3.new(1, 1, 0.400000006)
  1421. p17 = Instance.new("Part", m)
  1422. p17.BrickColor = BrickColor.new("Really black")
  1423. p17.FormFactor = Enum.FormFactor.Custom
  1424. p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
  1425. p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005)
  1426. p17.CanCollide = false
  1427. p17.Material = "Neon"
  1428. p17.Locked = true
  1429. p17.Elasticity = 0
  1430. p17.BottomSurface = Enum.SurfaceType.Smooth
  1431. p17.TopSurface = Enum.SurfaceType.Smooth
  1432. b17 = Instance.new("BlockMesh", p17)
  1433. b17.Name = "Mesh"
  1434. b17.Scale = Vector3.new(1, 1, 0.400000006)
  1435. p18 = Instance.new("WedgePart", m)
  1436. p18.BrickColor = BrickColor.new("Black")
  1437. p18.Material = "Neon"
  1438. p18.Name = "BladePart1"
  1439. p18.Material = Enum.Material.Concrete
  1440. p18.Name = "Wedge"
  1441. p18.FormFactor = Enum.FormFactor.Symmetric
  1442. p18.Size = Vector3.new(1, 4, 2)
  1443. p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005)
  1444. p18.CanCollide = false
  1445. p18.Locked = true
  1446. p18.BottomSurface = Enum.SurfaceType.Smooth
  1447. p18.TopSurface = Enum.SurfaceType.Smooth
  1448. b18 = Instance.new("SpecialMesh", p18)
  1449. b18.MeshType = Enum.MeshType.Wedge
  1450. b18.Name = "Mesh"
  1451. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  1452. p19 = Instance.new("WedgePart", m)
  1453. p19.BrickColor = BrickColor.new("Institutional white")
  1454. p19.Name = "BladePart2"
  1455. p19.Material = "Neon"
  1456. p19.Material = Enum.Material.Concrete
  1457. p19.Name = "Wedge"
  1458. p19.FormFactor = Enum.FormFactor.Symmetric
  1459. p19.Size = Vector3.new(1, 4, 2)
  1460. p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005)
  1461. p19.CanCollide = false
  1462. p19.Locked = true
  1463. p19.BottomSurface = Enum.SurfaceType.Smooth
  1464. p19.TopSurface = Enum.SurfaceType.Smooth
  1465. b19 = Instance.new("SpecialMesh", p19)
  1466. b19.MeshType = Enum.MeshType.Wedge
  1467. b19.Name = "Mesh"
  1468. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  1469. p20 = Instance.new("Part", m)
  1470. p20.BrickColor = BrickColor.new("Really black")
  1471. p20.FormFactor = Enum.FormFactor.Custom
  1472. p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
  1473. p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005)
  1474. p20.CanCollide = false
  1475. p20.Material = "Neon"
  1476. p20.Locked = true
  1477. p20.Elasticity = 0
  1478. p20.BottomSurface = Enum.SurfaceType.Smooth
  1479. p20.TopSurface = Enum.SurfaceType.Smooth
  1480. b20 = Instance.new("BlockMesh", p20)
  1481. b20.Name = "Mesh"
  1482. b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1483. p21 = Instance.new("Part", m)
  1484. p21.BrickColor = BrickColor.new("Really black")
  1485. p21.FormFactor = Enum.FormFactor.Custom
  1486. p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
  1487. p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025)
  1488. p21.CanCollide = false
  1489. p21.Locked = true
  1490. p21.Elasticity = 0
  1491. p21.BottomSurface = Enum.SurfaceType.Smooth
  1492. p21.TopSurface = Enum.SurfaceType.Smooth
  1493. b21 = Instance.new("SpecialMesh", p21)
  1494. b21.MeshType = Enum.MeshType.Wedge
  1495. b21.Name = "Mesh"
  1496. b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1497. w1 = Instance.new("Weld", p1)
  1498. w1.Name = "Part_Weld"
  1499. w1.Part0 = p1
  1500. w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  1501. w1.Part1 = p2
  1502. w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  1503. w2 = Instance.new("Weld", p2)
  1504. w2.Name = "Part_Weld"
  1505. w2.Part0 = p2
  1506. w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  1507. w2.Part1 = p3
  1508. w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  1509. w3 = Instance.new("Weld", p3)
  1510. w3.Name = "Part_Weld"
  1511. w3.Part0 = p3
  1512. w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  1513. w3.Part1 = p4
  1514. w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  1515. w4 = Instance.new("Weld", p4)
  1516. w4.Name = "Part_Weld"
  1517. w4.Part0 = p4
  1518. w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  1519. w4.Part1 = p5
  1520. w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  1521. w5 = Instance.new("Weld", p5)
  1522. w5.Name = "Part_Weld"
  1523. w5.Part0 = p5
  1524. w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  1525. w5.Part1 = p6
  1526. w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  1527. w6 = Instance.new("Weld", p6)
  1528. w6.Name = "Part_Weld"
  1529. w6.Part0 = p6
  1530. w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  1531. w6.Part1 = p7
  1532. w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  1533. w7 = Instance.new("Weld", p7)
  1534. w7.Name = "Part_Weld"
  1535. w7.Part0 = p7
  1536. w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  1537. w7.Part1 = p8
  1538. w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  1539. w8 = Instance.new("Weld", p8)
  1540. w8.Name = "Part_Weld"
  1541. w8.Part0 = p8
  1542. w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  1543. w8.Part1 = p9
  1544. w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  1545. w9 = Instance.new("Weld", p9)
  1546. w9.Name = "Part_Weld"
  1547. w9.Part0 = p9
  1548. w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  1549. w9.Part1 = p10
  1550. w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  1551. w10 = Instance.new("Weld", p10)
  1552. w10.Name = "Part_Weld"
  1553. w10.Part0 = p10
  1554. w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  1555. w10.Part1 = p11
  1556. w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  1557. w11 = Instance.new("Weld", p11)
  1558. w11.Name = "Part_Weld"
  1559. w11.Part0 = p11
  1560. w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  1561. w11.Part1 = p12
  1562. w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  1563. w12 = Instance.new("Weld", p12)
  1564. w12.Name = "Part_Weld"
  1565. w12.Part0 = p12
  1566. w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  1567. w12.Part1 = p13
  1568. w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  1569. w13 = Instance.new("Weld", p13)
  1570. w13.Name = "Part_Weld"
  1571. w13.Part0 = p13
  1572. w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  1573. w13.Part1 = p14
  1574. w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  1575. w14 = Instance.new("Weld", p14)
  1576. w14.Name = "Part_Weld"
  1577. w14.Part0 = p14
  1578. w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  1579. w14.Part1 = p15
  1580. w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  1581. w15 = Instance.new("Weld", p15)
  1582. w15.Name = "Part_Weld"
  1583. w15.Part0 = p15
  1584. w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  1585. w15.Part1 = p16
  1586. w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  1587. w16 = Instance.new("Weld", p16)
  1588. w16.Name = "Part_Weld"
  1589. w16.Part0 = p16
  1590. w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  1591. w16.Part1 = p17
  1592. w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  1593. w17 = Instance.new("Weld", p17)
  1594. w17.Name = "Wedge_Weld"
  1595. w17.Part0 = p17
  1596. w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  1597. w17.Part1 = p18
  1598. w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  1599. w18 = Instance.new("Weld", p18)
  1600. w18.Name = "Wedge_Weld"
  1601. w18.Part0 = p18
  1602. w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  1603. w18.Part1 = p19
  1604. w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  1605. w19 = Instance.new("Weld", p19)
  1606. w19.Name = "Part_Weld"
  1607. w19.Part0 = p19
  1608. w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  1609. w19.Part1 = p20
  1610. w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  1611. w20 = Instance.new("Weld", p20)
  1612. w20.Name = "Part_Weld"
  1613. w20.Part0 = p20
  1614. w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  1615. w20.Part1 = p21
  1616. w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  1617. m.Parent = char
  1618. m:MakeJoints()
  1619. ----------------------------------------------------
  1620. local cor = Instance.new("Part", char.Absolution)
  1621. cor.Name = "Thingy"
  1622. cor.Locked = true
  1623. cor.BottomSurface = 0
  1624. cor.CanCollide = false
  1625. cor.Size = Vector3.new(1, 13, 1)
  1626. cor.Transparency = 1
  1627. cor.TopSurface = 0
  1628. corw = Instance.new("Weld", cor)
  1629. corw.Part0 = rarm
  1630. corw.Part1 = cor
  1631. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1632. corw.C1 = CFrame.new(0, 0, 0)
  1633. weld1 = Instance.new("Weld", char.Absolution)
  1634. weld1.Part0 = cor
  1635. weld1.Part1 = p6
  1636. weld1.C0 = CFrame.new(0, 0, 0)
  1637. ----------------------------------------------------
  1638. hitb = Instance.new("Part", char.Absolution)
  1639. hitb.Name = "Thingy2"
  1640. hitb.Locked = true
  1641. hitb.BottomSurface = 0
  1642. hitb.CanCollide = false
  1643. hitb.Size = Vector3.new(0, 8, 6)
  1644. hitb.Transparency = 1
  1645. hitb.TopSurface = 0
  1646. weld2 = Instance.new("Weld", char.Absolution)
  1647. weld2.Part0 = hitb
  1648. weld2.Part1 = p12
  1649. weld2.C0 = CFrame.new(0, .6, 1)
  1650.  
  1651.  
  1652. ----------------------------------------------------
  1653. function weld5(part0, part1, c0, c1)
  1654. weeld=Instance.new("Weld", part0)
  1655. weeld.Part0=part0
  1656. weeld.Part1=part1
  1657. weeld.C0=c0
  1658. weeld.C1=c1
  1659. return weeld
  1660. end
  1661. ----------------------------------------------------
  1662. function newRay(start,face,range,wat)
  1663. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1664. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1665. return rey,hit,pos
  1666. end
  1667. ----------------------------------------------------
  1668. mod5 = Instance.new("Model",char)
  1669.  
  1670. function FindNearestTorso(Position,Distance,SinglePlayer)
  1671. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1672. local List = {}
  1673. for i,v in pairs(workspace:GetChildren())do
  1674. if v:IsA("Model")then
  1675. if v:findFirstChild("Torso")then
  1676. if v ~= char then
  1677. if(v.Torso.Position -Position).magnitude <= Distance then
  1678. table.insert(List,v)
  1679. end
  1680. end
  1681. end
  1682. end
  1683. end
  1684. return List
  1685. end
  1686.  
  1687. function Landing()
  1688. part=Instance.new('Part',mod5)
  1689. part.Anchored=true
  1690. part.CanCollide=false
  1691. part.FormFactor='Custom'
  1692. part.Size=Vector3.new(.2,.2,.2)
  1693. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  1694. part.Transparency=.7
  1695. part.BrickColor=BrickColor.new('Really black')
  1696. mesh=Instance.new('SpecialMesh',part)
  1697. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1698. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1699. mesh.Scale=Vector3.new(10,5,10)
  1700.  
  1701. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  1702. if v:FindFirstChild('Humanoid') then
  1703. v.Humanoid:TakeDamage(math.random(20,30))
  1704. v.Humanoid.PlatformStand = true
  1705. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1706. end
  1707. end
  1708.  
  1709. coroutine.resume(coroutine.create(function()
  1710. for i=0,3.8,0.05 do
  1711. wait()
  1712. part.CFrame=part.CFrame
  1713. part.Transparency=i
  1714. mesh.Scale=mesh.Scale+Vector3.new(3,3,3)
  1715. end
  1716. part.Parent = nil
  1717. end))
  1718. end
  1719. ----------------------------------------------------
  1720. mod4 = Instance.new("Model",char)
  1721.  
  1722. ptez = {0.7, 0.8, 0.9, 1}
  1723.  
  1724. function FindNearestTorso(Position,Distance,SinglePlayer)
  1725. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1726. local List = {}
  1727. for i,v in pairs(workspace:GetChildren())do
  1728. if v:IsA("Model")then
  1729. if v:findFirstChild("Torso")then
  1730. if v ~= char then
  1731. if(v.Torso.Position -Position).magnitude <= Distance then
  1732. table.insert(List,v)
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738. return List
  1739. end
  1740.  
  1741. function GroundPound()
  1742. part=Instance.new('Part',mod4)
  1743. part.Anchored=true
  1744. part.CanCollide=false
  1745. part.FormFactor='Custom'
  1746. part.Size=Vector3.new(.2,.2,.2)
  1747. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1748. part.Transparency=.7
  1749. part.BrickColor=BrickColor.new('Institutional white')
  1750. mesh=Instance.new('SpecialMesh',part)
  1751. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1752. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1753. mesh.Scale=Vector3.new(3,3,3)
  1754. part2=Instance.new('Part',mod4)
  1755. part2.Anchored=true
  1756. part2.CanCollide=false
  1757. part2.FormFactor='Custom'
  1758. part2.Size=Vector3.new(.2,.2,.2)
  1759. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  1760. part2.Transparency=.7
  1761. part2.BrickColor=BrickColor.new('Institutional white')
  1762. mesh2=Instance.new('SpecialMesh',part2)
  1763. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1764. mesh2.Scale=Vector3.new(3,1.5,3)
  1765. x = Instance.new("Sound",char)
  1766. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1767. x.Pitch = ptez[math.random(1,#ptez)]
  1768. x.Volume = 1
  1769. wait(.1)
  1770. x:Play()
  1771. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  1772. if v:FindFirstChild('Humanoid') then
  1773. v.Humanoid:TakeDamage(math.random(8,15))
  1774. end
  1775. end
  1776. coroutine.resume(coroutine.create(function()
  1777. for i=0,0.62,0.13 do
  1778. wait()
  1779. part.CFrame=part.CFrame
  1780. part.Transparency=i
  1781. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  1782. part2.CFrame=part2.CFrame
  1783. part2.Transparency=i
  1784. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  1785. end
  1786. part.Parent=nil
  1787. part2.Parent=nil
  1788. x:Destroy()
  1789. end))
  1790. end
  1791. ----------------------------------------------------
  1792. mod=Instance.new('Model',char)
  1793.  
  1794. function charge()
  1795. hed.Velocity=hed.CFrame.lookVector*200
  1796. part=Instance.new('Part',mod)
  1797. part.Anchored=true
  1798. part.CanCollide=false
  1799. part.FormFactor='Custom'
  1800. part.Size=Vector3.new(.2,.2,.2)
  1801. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  1802. part.Transparency=.7
  1803. part.Name = "Wow"
  1804. part.BrickColor=BrickColor.new('Black')
  1805. mesh=Instance.new('SpecialMesh',part)
  1806. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1807. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1808. mesh.Scale=Vector3.new(10,5,10)
  1809. part2=part:clone()
  1810. part2.Parent=mod
  1811. part2.BrickColor=BrickColor.new('Institutional white')
  1812. mesh2=mesh:clone()
  1813. mesh2.Parent=part2
  1814. mesh2.Scale=Vector3.new(20,10,20)
  1815. part3=part2:clone()
  1816. part3.Parent = mod
  1817. part3.BrickColor=BrickColor.new('Cyan')
  1818. mesh3=mesh2:clone()
  1819. mesh2.Parent=part3
  1820. mesh3.Scale=Vector3.new(30,15,30)
  1821. coroutine.resume(coroutine.create(function()
  1822. for i=0,1,0.1 do
  1823. wait()
  1824. part.CFrame=part.CFrame
  1825. part.Transparency=i
  1826. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  1827. part2.CFrame=part2.CFrame
  1828. part2.Transparency=i
  1829. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  1830. part3.CFrame=part3.CFrame
  1831. part3.Transparency=i
  1832. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  1833. end
  1834. part.Parent=nil
  1835. part2.Parent=nil
  1836. part3.Parent = nil
  1837. part1:remove()
  1838. part:remove()
  1839. part2:remove()
  1840. part3:remove()
  1841. end))
  1842. end
  1843. ----------------------------------------------------
  1844. function FindNearestTorso(Position,Distance,SinglePlayer)
  1845. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1846. local List = {}
  1847. for i,v in pairs(workspace:GetChildren())do
  1848. if v:IsA("Model")then
  1849. if v:findFirstChild("Torso")then
  1850. if v ~= char then
  1851. if(v.Torso.Position -Position).magnitude <= Distance then
  1852. table.insert(List,v)
  1853. end
  1854. end
  1855. end
  1856. end
  1857. end
  1858. return List
  1859. end
  1860.  
  1861. mod3 = Instance.new("Model",rleg)
  1862.  
  1863. function Stomp()
  1864. part=Instance.new('Part',mod3)
  1865. part.Anchored=true
  1866. part.CanCollide=false
  1867. part.FormFactor='Custom'
  1868. part.Size=Vector3.new(.2,.2,.2)
  1869. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  1870. part.Transparency=0.7
  1871. part.BrickColor=BrickColor.new('')
  1872. mesh=Instance.new('SpecialMesh',part)
  1873. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1874. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1875. mesh.Scale=Vector3.new(25,25,25)
  1876. part2=part:clone()
  1877. part2.Parent=mod3
  1878. part2.BrickColor=BrickColor.new('Deep orange')
  1879. mesh2=mesh:clone()
  1880. mesh2.Parent=part2
  1881. mesh2.Scale=Vector3.new(15,15,15)
  1882. part3=part:clone()
  1883. part3.Parent=mod3
  1884. part3.TopSurface=0
  1885. part3.BottomSurface=0
  1886. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  1887. mesh3=Instance.new('SpecialMesh',part3)
  1888. mesh3.MeshType = 3
  1889. mesh3.Scale=Vector3.new(12,12,12)
  1890. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  1891. if v:FindFirstChild('Humanoid') then
  1892. v.Humanoid:TakeDamage(math.random(20,60))
  1893. v.Humanoid.PlatformStand = true
  1894. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1895. end
  1896. end
  1897. coroutine.resume(coroutine.create(function()
  1898. for i=0,3.8,0.05 do
  1899. wait()
  1900. part.CFrame=part.CFrame
  1901. part.Transparency=i
  1902. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  1903. part2.CFrame=part2.CFrame
  1904. part2.Transparency=i
  1905. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  1906. part3.CFrame=part3.CFrame
  1907. part3.Transparency=i
  1908. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  1909. end
  1910. end))
  1911. end
  1912. ----------------------------------------------------
  1913.  
  1914. local acos = math.acos
  1915. local sqrt = math.sqrt
  1916. local Vec3 = Vector3.new
  1917. local fromAxisAngle = CFrame.fromAxisAngle
  1918.  
  1919. local function toAxisAngle(CFr)
  1920. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1921. local Angle = math.acos((R00+R11+R22-1)/2)
  1922. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1923. A = A == 0 and 0.00001 or A
  1924. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1925. B = B == 0 and 0.00001 or B
  1926. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1927. C = C == 0 and 0.00001 or C
  1928. local x = (R21-R12)/sqrt(A)
  1929. local y = (R02-R20)/sqrt(B)
  1930. local z = (R10-R01)/sqrt(C)
  1931. return Vec3(x,y,z),Angle
  1932. end
  1933.  
  1934. function ApplyTrig(Num,Func)
  1935. local Min,Max = Func(0),Func(1)
  1936. local i = Func(Num)
  1937. return (i-Min)/(Max-Min)
  1938. end
  1939.  
  1940. function LerpCFrame(CFrame1,CFrame2,Num)
  1941. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1942. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1943. end
  1944.  
  1945. function Crater(Torso,Radius)
  1946. Spawn(function()
  1947. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1948. local Ignore = {}
  1949. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1950. if v.Character ~= nil then
  1951. Ignore[#Ignore+1] = v.Character
  1952. end
  1953. end
  1954. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1955. if Hit == nil then return end
  1956. local Parts = {}
  1957. for i = 1,360,10 do
  1958. local P = Instance.new("Part",Torso.Parent)
  1959. P.Anchored = true
  1960. P.FormFactor = "Custom"
  1961. P.BrickColor = Hit.BrickColor
  1962. P.Material = Hit.Material
  1963. P.TopSurface = "Smooth"
  1964. P.BottomSurface = "Smooth"
  1965. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1966. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1967. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1968. if math.random(0,5) == 0 then -- rubble
  1969. local P = Instance.new("Part",Torso.Parent)
  1970. P.Anchored = true
  1971. P.FormFactor = "Custom"
  1972. P.BrickColor = Hit.BrickColor
  1973. P.Material = Hit.Material
  1974. P.TopSurface = "Smooth"
  1975. P.BottomSurface = "Smooth"
  1976. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1977. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1978. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1979. end
  1980. end
  1981. for i = 0,1,0.05 do
  1982. for i2,v in pairs(Parts) do
  1983. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1984. end
  1985. wait(0.02)
  1986. end
  1987. for i,v in pairs(Parts) do
  1988. if v[1].Size.X > 2.1 then
  1989. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1990. end
  1991. v[1].Anchored = false
  1992. end
  1993. for i = 0,1,0.05 do
  1994. for i2,v in pairs(Parts) do
  1995. v[1].Transparency = i
  1996. if i == 1 then
  1997. v[1]:Destroy()
  1998. elseif i >= 0.25 then
  1999. v[1].CanCollide = false
  2000. end
  2001. end
  2002. wait(0.02)
  2003. end
  2004. Parts = nil
  2005. end)
  2006. end
  2007.  
  2008. ----------------------------------------------------
  2009. mouse.KeyDown:connect(function(key)
  2010. if key == "r" and char.Mana.Value>=50 then
  2011. char.Mana.Value = char.Mana.Value - 50
  2012. larm.BrickColor = BrickColor.new("Bright red")
  2013. rarm.BrickColor = BrickColor.new("Bright red")
  2014. if Debounces.CanAttack == true then
  2015. Debounces.CanAttack = false
  2016. Debounces.on = true
  2017. Debounces.NoIdl = true
  2018. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  2019. hit = ht.Parent
  2020. if ht and hit:IsA("Model") then
  2021. if hit:FindFirstChild("Humanoid") then
  2022. if hit.Name ~= p.Name then
  2023. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  2024. wait(1)
  2025. end
  2026. end
  2027. elseif ht and hit:IsA("Hat") then
  2028. if hit.Parent.Name ~= p.Name then
  2029. if hit.Parent:FindFirstChild("Humanoid") then
  2030.  
  2031. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  2032. wait(1)
  2033. --Debounces.Slashed = false
  2034. end
  2035. end
  2036. end
  2037. end)
  2038. q = Instance.new("Sound",hed)
  2039. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  2040. q.Pitch = 0.85
  2041. q.Looped = false
  2042. q1 = Instance.new("Sound",hed)
  2043. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  2044. q1.Pitch = 0.85
  2045. q1.Looped = false
  2046. q:Play()
  2047. q1:Play()
  2048. for i = 1,20 do
  2049. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  2050. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  2051. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  2052. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  2053. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  2054. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  2055. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  2056. if Debounces.on == false then break end
  2057. wait()
  2058. end
  2059. n = Instance.new("Sound",hed)
  2060. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  2061. n.Pitch = 0.94
  2062. n.Looped = false
  2063. n1 = Instance.new("Sound",hed)
  2064. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  2065. n1.Pitch = 0.94
  2066. n1.Looped = false
  2067. n:Play()
  2068. n1:Play()
  2069. b = Instance.new("Sound",hed)
  2070. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  2071. b.Pitch = 0.94
  2072. b.Looped = false
  2073. b1 = Instance.new("Sound",hed)
  2074. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  2075. b1.Pitch = 0.94
  2076. b1.Looped = false
  2077. b:Play()
  2078. b1:Play()
  2079. for i = 1,26 do
  2080. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  2081. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  2082. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  2083. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  2084. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  2085. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  2086. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  2087. if Debounces.on == false then break end
  2088. wait()
  2089. end
  2090. wait(.5)
  2091. to:disconnect()
  2092. q:Destroy()
  2093. q1:Destroy()
  2094. n:Destroy()
  2095. n1:Destroy()
  2096. larm.BrickColor = BrickColor.new("Really black")
  2097. rarm.BrickColor = BrickColor.new("Really black")
  2098. if Debounces.CanAttack == false then
  2099. Debounces.CanAttack = true
  2100. Debounces.on = false
  2101. Debounces.NoIdl = false
  2102. end
  2103. end
  2104. end
  2105. end)
  2106. ----------------------------------------------------
  2107. mouse.KeyDown:connect(function(key)
  2108. if key == "q" and char.Mana.Value>=50 then
  2109. char.Mana.Value = char.Mana.Value - 50
  2110. larm.BrickColor = BrickColor.new("Bright red")
  2111. rarm.BrickColor = BrickColor.new("Bright red")
  2112. if Debounces.CanAttack == true then
  2113. Debounces.CanAttack = false
  2114. Debounces.on = true
  2115. Debounces.NoIdl = true
  2116. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  2117. hit = ht.Parent
  2118. if ht and hit:IsA("Model") then
  2119. if hit:FindFirstChild("Humanoid") then
  2120. if hit.Name ~= p.Name then
  2121. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  2122. wait(1)
  2123. --Debounces.Slashed = false
  2124. --end
  2125. end
  2126. end
  2127. elseif ht and hit:IsA("Hat") then
  2128. if hit.Parent.Name ~= p.Name then
  2129. if hit.Parent:FindFirstChild("Humanoid") then
  2130. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  2131. wait(1)
  2132. --Debounces.Slashed = false
  2133. end
  2134. end
  2135. end
  2136. end)
  2137. for i = 1, 20 do
  2138. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2)
  2139. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2)
  2140. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  2141. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  2142. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  2143. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  2144. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2145. if Debounces.on == false then break end
  2146. wait()
  2147. end
  2148. z = Instance.new("Sound",hed)
  2149. z.SoundId = "rbxassetid://160069154"
  2150. z.Looped = false
  2151. z.Pitch = .9
  2152. z1 = Instance.new("Sound",hed)
  2153. z1.SoundId = "rbxassetid://160069154"
  2154. z1.Looped = false
  2155. z1.Pitch = .9
  2156. wait(0.01)
  2157. z:Play()
  2158. z1:Play()
  2159. for i = 1, 12 do
  2160. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2)
  2161. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5)
  2162. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  2163. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  2164. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  2165. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  2166. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2167. if Debounces.on == false then break end
  2168. wait()
  2169. end
  2170. for i = 1, 12 do
  2171. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4)
  2172. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4)
  2173. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  2174. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  2175. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  2176. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  2177. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2178. if Debounces.on == false then break end
  2179. wait()
  2180. end
  2181. z = Instance.new("Sound",hed)
  2182. z.SoundId = "rbxassetid://168586621"
  2183. z.Looped = false
  2184. z.Pitch = 1
  2185. z1 = Instance.new("Sound",hed)
  2186. z1.SoundId = "rbxassetid://168586621"
  2187. z1.Looped = false
  2188. z1.Pitch = 1
  2189. wait(0.01)
  2190. z:Play()
  2191. z1:Play()
  2192. for i = 1, 12 do
  2193. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5)
  2194. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4)
  2195. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
  2196. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
  2197. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
  2198. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
  2199. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1)
  2200. if Debounces.on == false then break end
  2201. wait()
  2202. end
  2203. to:disconnect()
  2204. larm.BrickColor = BrickColor.new("Really black")
  2205. rarm.BrickColor = BrickColor.new("Really black")
  2206. if Debounces.CanAttack == false then
  2207. Debounces.CanAttack = true
  2208. Debounces.on = false
  2209. Debounces.NoIdl = false
  2210. end
  2211. end
  2212. end
  2213. end)
  2214. ----------------------------------------------------
  2215. Sit = false
  2216. mouse.KeyDown:connect(function(key)
  2217. if key == "v" then
  2218. if Sit == false then
  2219. Sit = true
  2220. hum.WalkSpeed = 20
  2221. stanceToggle = "Sitting"
  2222. elseif Sit == true then
  2223. Sit = false
  2224. hum.WalkSpeed = 50
  2225. stanceToggle = "Normal"
  2226. end
  2227. end
  2228. end)
  2229. ----------------------------------------------------
  2230. mouse.KeyDown:connect(function(key)
  2231. if key == "t" and char.Mana.Value>=50 then
  2232. char.Mana.Value = char.Mana.Value - 50
  2233. if Debounces.CanAttack == true then
  2234. Debounces.CanAttack = false
  2235. Debounces.on = true
  2236. Debounces.NoIdl = true
  2237. for i = 1, 25 do
  2238. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  2239. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  2240. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  2241. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  2242. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
  2243. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  2244. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  2245. if Debounces.on == false then break end
  2246. wait()
  2247. end
  2248. Spawn(function()
  2249. local Parts = {}
  2250. for Y = -5,5 do
  2251. local P = Instance.new("Part",char)
  2252. P.Anchored = true
  2253. P.FormFactor = "Custom"
  2254. P.CanCollide = false
  2255. P.Size = Vector3.new(1,1,1)
  2256. P.TopSurface = "SmoothNoOutlines"
  2257. P.BottomSurface = "SmoothNoOutlines"
  2258. P.BrickColor = BrickColor.new("Really black")
  2259. P.Material = "Neon"
  2260. P.Name = tostring(Y)
  2261. local i = (Y+5)/(10)
  2262. i = 1-math.cos(math.pi*i-(math.pi/2))
  2263. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*6),0,0)
  2264. P.Touched:connect(function(ht)
  2265. local hit = ht.Parent
  2266. if hit:FindFirstChild("Humanoid") then
  2267. hit.Humanoid:TakeDamage(math.random(100,math.huge))
  2268. end
  2269. end)
  2270. s = Instance.new("Sound",P)
  2271. s.SoundId = "rbxassetid://228343271"
  2272. s.Volume = .7
  2273. s.Pitch = 0.9
  2274. s:Play()
  2275. P.Touched:connect(function(ht)
  2276. hit = ht.Parent
  2277. if ht and hit:IsA("Model") then
  2278. if hit:FindFirstChild("Humanoid") then
  2279. if hit.Name ~= p.Name then
  2280.  
  2281. hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  2282. hit:FindFirstChild("Humanoid").PlatformStand = true
  2283. wait(1)
  2284. --Debounces.Slashed = false
  2285. --end
  2286. end
  2287. end
  2288. elseif ht and hit:IsA("Hat") then
  2289. if hit.Parent.Name ~= p.Name then
  2290. if hit.Parent:FindFirstChild("Humanoid") then
  2291.  
  2292. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  2293. hit:FindFirstChild("Humanoid").PlatformStand = true
  2294. wait(1)
  2295. --Debounces.Slashed = false
  2296. --end
  2297. end
  2298. end
  2299. end
  2300. end)
  2301. Parts[#Parts+1] = P
  2302. end
  2303. local BREAKIT = false
  2304. local CParts = {}
  2305. local Rocks = {}
  2306. local LastPos = nil
  2307. for i = 1,70 do
  2308. for i2,v in pairs(Parts) do
  2309. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  2310. local cf = v.CFrame
  2311. v.Size = v.Size+Vector3.new(1,1,1)
  2312. v.CFrame = cf
  2313. v.Transparency = v.Transparency+0.02
  2314. if v.Transparency >= 0.975 then BREAKIT = true end
  2315. if v.Name == "0" then
  2316. local Ignore = {}
  2317. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2318. if v.Character ~= nil then
  2319. Ignore[#Ignore+1] = v.Character
  2320. end
  2321. end
  2322. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  2323. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  2324. if Hit ~= nil then
  2325. if #Rocks == 0 then
  2326. for i = 1,5 do
  2327. local P = Instance.new("Part",char)
  2328. Rocks[#Rocks+1] = P
  2329. P.Anchored = true
  2330. P.FormFactor = "Custom"
  2331. P.BrickColor = Hit.BrickColor
  2332. P.Material = Hit.Material
  2333. P.TopSurface = "Smooth"
  2334. P.BottomSurface = "Smooth"
  2335. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  2336. end
  2337. end
  2338. for i,P in pairs(Rocks) do
  2339. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  2340. end
  2341. local P = Instance.new("Part",char)
  2342. CParts[#CParts+1] = {P,tick()}
  2343. P.Anchored = true
  2344. P.FormFactor = "Custom"
  2345. P.BrickColor = Hit.BrickColor
  2346. P.Material = Hit.Material
  2347. P.TopSurface = "Smooth"
  2348. P.BottomSurface = "Smooth"
  2349. P.Size = Vector3.new(5,5,5)*(math.random(100,300)/100)
  2350. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  2351. Pos = Pos.p
  2352. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  2353. local P = P:Clone()
  2354. CParts[#CParts+1] = {P,tick()}
  2355. P.Parent = char
  2356. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  2357. Pos = Pos.p
  2358. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  2359. if LastPos ~= nil then
  2360. local P = P:Clone()
  2361. CParts[#CParts+1] = {P,tick()}
  2362. P.Parent = char
  2363. P.BrickColor = BrickColor.new("Really black")
  2364. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  2365. Pos = Pos.p
  2366. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  2367. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.30)
  2368. --P.Velocity = Vector3.new(0,-1000,0)
  2369. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  2370. end
  2371. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  2372. end
  2373. end
  2374. end
  2375. if BREAKIT then break end
  2376. wait(0.002)
  2377. end
  2378. for i,v in pairs(Rocks) do
  2379. CParts[#CParts+1] = {v,tick()}
  2380. end
  2381. for i,v in pairs(Parts) do
  2382. v:Destroy()
  2383. end
  2384. Parts = nil
  2385. while true do
  2386. local t = tick()
  2387. local p = nil
  2388. for i,v in pairs(CParts) do
  2389. if t-v[2] > 4 then
  2390. v[1].Transparency = v[1].Transparency+0.05
  2391. if v[1].Transparency >= 1 then
  2392. v[1]:Destroy()
  2393. CParts[i] = nil
  2394. end
  2395. end
  2396. p = v
  2397. end
  2398. if p == nil then break end
  2399. wait(0.002)
  2400. end
  2401. for i,v in pairs(CParts) do
  2402. v:Destroy()
  2403. end
  2404. CParts = {}
  2405. end)
  2406. for i = 1, 20 do
  2407. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4)
  2408. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4)
  2409. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4)
  2410. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
  2411. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
  2412. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
  2413. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  2414. if Debounces.on == false then break end
  2415. wait()
  2416. end
  2417. if Debounces.CanAttack == false then
  2418. Debounces.CanAttack = true
  2419. Debounces.on = false
  2420. Debounces.NoIdl = false
  2421. end
  2422. end
  2423. end
  2424. end)
  2425. ----------------------------------------------------
  2426. mouse.KeyDown:connect(function(key)
  2427. if key == "e" and char.Mana.Value>=50 then
  2428. char.Mana.Value = char.Mana.Value - 50
  2429. larm.BrickColor = BrickColor.new("Bright red")
  2430. rarm.BrickColor = BrickColor.new("Bright red")
  2431. if Debounces.CanAttack == true then
  2432. Debounces.CanAttack = false
  2433. Debounces.on = true
  2434. Debounces.NoIdl = true
  2435. for i = 1, 18 do
  2436. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4)
  2437. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  2438. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2439. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  2440. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  2441. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2442. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2443. if Debounces.on == false then break end
  2444. wait()
  2445. end
  2446. local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2447. local rng = Instance.new("Part", char.Absolution.Handle)
  2448. rng.Anchored = true
  2449. rng.BrickColor = BrickColor.new("Really black")
  2450. rng.CanCollide = true
  2451. rng.FormFactor = 3
  2452. rng.Name = "Ring"
  2453. rng.Size = Vector3.new(1, 1, 1)
  2454. rng.CanCollide = false
  2455. rng.Transparency = 0.35
  2456. rng.TopSurface = 0
  2457. rng.BottomSurface = 0
  2458. rng.CFrame = HandCF
  2459. local rngm = Instance.new("SpecialMesh", rng)
  2460. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2461. rngm.Scale = Vector3.new(1, 1, 2)
  2462. x = Instance.new("Sound", hed)
  2463. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2464. x.Looped = false
  2465. x.Pitch = .7
  2466. x.Volume = 1
  2467. x1 = Instance.new("Sound", hed)
  2468. x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2469. x1.Looped = false
  2470. x1.Pitch = .7
  2471. x1.Volume = 1
  2472. x:Play()
  2473. x1:Play()
  2474. rngto = rng.Touched:connect(function(ht)
  2475. hit = ht.Parent
  2476. if ht and hit:IsA("Model") then
  2477. if hit:FindFirstChild("Humanoid") then
  2478. if hit.Name ~= p.Name then
  2479.  
  2480. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  2481. hit:FindFirstChild("Humanoid").PlatformStand = true
  2482. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  2483. --Debounces.Slashed = false
  2484. --end
  2485. end
  2486. end
  2487. elseif ht and hit:IsA("Hat") then
  2488. if hit.Parent.Name ~= p.Name then
  2489. if hit.Parent:FindFirstChild("Humanoid") then
  2490.  
  2491. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  2492. hit:FindFirstChild("Humanoid").PlatformStand = true
  2493. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  2494. --Debounces.Slashed = false
  2495. end
  2496. end
  2497. end
  2498. end)
  2499. coroutine.wrap(function()
  2500. for i = 1, 60, 2 do
  2501. rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 10)
  2502. rng.Size = rngm.Scale
  2503. rng.CFrame = HandCF
  2504. rng.Transparency = i/60
  2505. wait()
  2506. end
  2507. wait()
  2508. rng:Destroy()
  2509. end)()
  2510. for i = 1, 18 do
  2511. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4)
  2512. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  2513. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2514. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  2515. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  2516. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2517. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2518. if Debounces.on == false then break end
  2519. wait()
  2520. end
  2521. larm.BrickColor = BrickColor.new("Really black")
  2522. rarm.BrickColor = BrickColor.new("Really black")
  2523. x:Destroy()
  2524. x1:Destroy()
  2525. if Debounces.CanAttack == false then
  2526. Debounces.CanAttack = true
  2527. Debounces.on = false
  2528. Debounces.NoIdl = false
  2529. end
  2530. end
  2531. end
  2532. end)
  2533. ----------------------------------------------------
  2534. mouse.KeyDown:connect(function(key)
  2535. if key == "y" then
  2536. if Debounces.CanAttack == true then
  2537. Debounces.CanAttack = false
  2538. Debounces.on = true
  2539. Debounces.NoIdl = true
  2540. for i = 1, 15 do
  2541. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
  2542. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2)
  2543. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2544. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
  2545. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2546. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2547. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2548. if Debounces.on == false then break end
  2549. wait()
  2550. end
  2551. x = Instance.new("Sound",char)
  2552. x.SoundId = "rbxassetid://228343271"
  2553. x.Pitch = 1
  2554. x.Volume = .8
  2555. wait(.1)
  2556. x:Play()
  2557. Debounces.on = false
  2558. Debounces.Here = false
  2559. shot = shot + 1
  2560. local rng = Instance.new("Part", char)
  2561. rng.Anchored = true
  2562. rng.BrickColor = BrickColor.new("Really black")
  2563. rng.CanCollide = false
  2564. rng.FormFactor = 3
  2565. rng.Name = "Ring"
  2566. rng.Size = Vector3.new(1, 1, 1)
  2567. rng.Transparency = 0.35
  2568. rng.TopSurface = 0
  2569. rng.BottomSurface = 0
  2570. rng2 = rng:clone()
  2571. rng3 = rng2:clone()
  2572. rng4 = rng2:clone()
  2573. local rngm = Instance.new("SpecialMesh", rng)
  2574. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2575. rngm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  2576. rngm.Scale = Vector3.new(10, 10, 1)
  2577. rngm2 = rngm:clone()
  2578. rngm2.Scale = Vector3.new(5, 5, 1)
  2579. rngm3=rngm2:clone()
  2580. rngm3.Parent = rng3
  2581. rngm3.Scale = Vector3.new(8, 8, 1)
  2582. rngm4 = rngm2:clone()
  2583. rngm4.Parent = rng4
  2584. rngm4.Scale = Vector3.new(6, 6, 1)
  2585. local bem = Instance.new("Part", char)
  2586. bem.Anchored = true
  2587. bem.BrickColor = BrickColor.new("Really black")
  2588. bem.CanCollide = false
  2589. bem.FormFactor = 3
  2590. bem.Name = "Beam" .. shot
  2591. bem.Size = Vector3.new(1, 1, 1)
  2592. bem.Transparency = 0.35
  2593. bem.TopSurface = 0
  2594. bem.BottomSurface = 0
  2595. local bemm = Instance.new("SpecialMesh", bem)
  2596. bemm.MeshType = 4
  2597. bemm.Scale = Vector3.new(1, 4, 4)
  2598. local out = Instance.new("Part", char)
  2599. out.Anchored = true
  2600. out.BrickColor = BrickColor.new("Really black")
  2601. out.CanCollide = false
  2602. out.FormFactor = 3
  2603. out.Name = "Out"
  2604. out.Size = Vector3.new(4, 4, 4)
  2605. out.Transparency = 0.35
  2606. out.TopSurface = 0
  2607. out.BottomSurface = 0
  2608. local outm = Instance.new("SpecialMesh", out)
  2609. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2610. outm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  2611. outm.Scale = Vector3.new(4, 4, 4)
  2612. local bnd = Instance.new("Part", char)
  2613. bnd.Anchored = true
  2614. bnd.BrickColor = BrickColor.new("Really black")
  2615. bnd.CanCollide = false
  2616. bnd.FormFactor = 3
  2617. bnd.Material = "Neon"
  2618. bnd.Name = "Bend"
  2619. bnd.Size = Vector3.new(1, 1, 1)
  2620. bnd.Transparency = 1
  2621. bnd.TopSurface = 0
  2622. bnd.BottomSurface = 0
  2623. local bndm = Instance.new("SpecialMesh", bnd)
  2624. bndm.MeshType = 3
  2625. bndm.Scale = Vector3.new(8, 8, 8)
  2626. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2627. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2628. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2629. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2630. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2631. rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
  2632. Debounces.Shewt = true
  2633. coroutine.wrap(function()
  2634. for i = 1, 50, 0.2 do
  2635. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2636. rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2637. rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
  2638. rng.Transparency = i/20
  2639. rng3.Transparency = 1/16
  2640. rng4.Transparency = i/12
  2641. wait()
  2642. end
  2643. wait()
  2644. rng:Destroy()
  2645. end)()
  2646. if Debounces.Shewt == true then
  2647. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2648. hit = ht.Parent
  2649. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2650. if HasntTouched(hit.Name) == true and deb == false then
  2651. deb = true
  2652. coroutine.wrap(function()
  2653. hit:FindFirstChild("Humanoid").PlatformStand = true
  2654. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2655. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2656. end)()
  2657. table.insert(Touche, hit.Name)
  2658. deb = false
  2659. end
  2660. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2661. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2662. deb = true
  2663. coroutine.wrap(function()
  2664. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2665. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2666. wait(1)
  2667. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2668. end)()
  2669. table.insert(Touche, hit.Parent.Name)
  2670. deb = false
  2671. for i, v in pairs(Touche) do
  2672. print(v)
  2673. end
  2674. end
  2675. end
  2676. end)
  2677. end
  2678. for i = 0, 260, 8 do
  2679. bem.Size = Vector3.new(i, 2, 2)
  2680. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2681. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2682. bnd.Size = Vector3.new(1,1,1)
  2683. bndm.Scale = Vector3.new(8,8,8)
  2684. if i % 10 == 0 then
  2685. local newRng = rng2:Clone()
  2686. newRng.Parent = char
  2687. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2688. local newRngm = rngm2:clone()
  2689. newRngm.Parent=newRng
  2690. coroutine.wrap(function()
  2691. for i = 1, 10, 0.2 do
  2692. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2693. newRng.Transparency = i/10
  2694. wait()
  2695. end
  2696. wait()
  2697. newRng:Destroy()
  2698. end)()
  2699. end
  2700. wait()
  2701. end
  2702. wait()
  2703. Debounces.Shewt = false
  2704. bem:Destroy()
  2705. out:Destroy()
  2706. bnd:Destroy()
  2707. Debounces.Ready = false
  2708. for i, v in pairs(Touche) do
  2709. table.remove(Touche, i)
  2710. end
  2711. wait()
  2712. table.insert(Touche, char.Name)
  2713. Debounces.NoIdl = false
  2714. if Debounces.CanAttack == false then
  2715. Debounces.CanAttack = true
  2716. end
  2717. end
  2718. end
  2719. end)
  2720. ----------------------------------------------------
  2721. sidz = {"231917888", "231917845", "231917806"}
  2722. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  2723. mouse.KeyDown:connect(function(key)
  2724. if key == "f" and char.Mana.Value>=50 then
  2725. char.Mana.Value = char.Mana.Value - 50
  2726. larm.BrickColor = BrickColor.new("Really black")
  2727. rarm.BrickColor = BrickColor.new("Camo")
  2728. if Debounces.CanAttack == true then
  2729. Debounces.CanAttack = false
  2730. Debounces.on = true
  2731. Debounces.NoIdl = true
  2732. for i = 1, 10 do
  2733. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4)
  2734. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4)
  2735. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  2736. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  2737. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2738. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2739. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2740. if Debounces.on == false then break end
  2741. wait()
  2742. end
  2743. z = Instance.new("Sound",char)
  2744. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  2745. z.Pitch = ptz[math.random(1,#ptz)]
  2746. z.Volume = 1
  2747. z1 = Instance.new("Sound",char)
  2748. z1.SoundId = z.SoundId
  2749. z1.Pitch = z.Pitch
  2750. z1.Volume = 1
  2751. wait(1)
  2752. z:Play()
  2753. z1:Play()
  2754. Stomp()
  2755. for i = 1, 20 do
  2756. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6)
  2757. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6)
  2758. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2759. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  2760. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  2761. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  2762. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2763. if Debounces.on == false then break end
  2764. wait()
  2765. end
  2766. if Debounces.CanAttack == false then
  2767. Debounces.CanAttack = true
  2768. Debounces.on = false
  2769. Debounces.NoIdl = false
  2770. larm.BrickColor = BrickColor.new("Really black")
  2771. rarm.BrickColor = BrickColor.new("Really black")
  2772. end
  2773. end
  2774. end
  2775. end)
  2776. ----------------------------------------------------
  2777. mouse.KeyDown:connect(function(key)
  2778. if key == "g" and char.Mana.Value>5 then
  2779. char.Mana.Value = char.Mana.Value - 5
  2780. larm.BrickColor = BrickColor.new("Camo")
  2781. rarm.BrickColor = BrickColor.new("Really black")
  2782. if Debounces.CanAttack == true then
  2783. Debounces.CanAttack = false
  2784. Debounces.on = true
  2785. Debounces.NoIdl = true
  2786. chrg = lleg.Touched:connect(function(ht)
  2787. hit = ht.Parent
  2788. if ht and hit:IsA("Model") then
  2789. if hit:FindFirstChild("Humanoid") then
  2790. if hit.Name ~= p.Name then
  2791.  
  2792. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2793. hit:FindFirstChild("Humanoid").PlatformStand = true
  2794. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2795. --Debounces.Slashed = false
  2796. --end
  2797. end
  2798. end
  2799. elseif ht and hit:IsA("Hat") then
  2800. if hit.Parent.Name ~= p.Name then
  2801. if hit.Parent:FindFirstChild("Humanoid") then
  2802.  
  2803. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2804. hit:FindFirstChild("Humanoid").PlatformStand = true
  2805. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2806. --Debounces.Slashed = false
  2807. end
  2808. end
  2809. end
  2810. end)
  2811. for i = 1, 14 do
  2812. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5)
  2813. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5)
  2814. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5)
  2815. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  2816. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  2817. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  2818. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  2819. if Debounces.on == false then break end
  2820. wait()
  2821. end
  2822. charge()
  2823. z = Instance.new("Sound",char)
  2824. z.SoundId = "rbxassetid://200632875"
  2825. z.Volume = 1
  2826. z.Pitch = .8
  2827. z1 = Instance.new("Sound",char)
  2828. z1.SoundId = "rbxassetid://200632875"
  2829. z1.Volume = 1
  2830. z1.Pitch = .9
  2831. z:Play()
  2832. z1:Play()
  2833. wait(1)
  2834. z:Destroy()
  2835. z1:Destroy()
  2836. chrg:disconnect()
  2837. if Debounces.CanAttack == false then
  2838. Debounces.CanAttack = true
  2839. Debounces.on = false
  2840. Debounces.NoIdl = false
  2841. larm.BrickColor = BrickColor.new("Really black")
  2842. rarm.BrickColor = BrickColor.new("Really black")
  2843. end
  2844. end
  2845. end
  2846. end)
  2847. ----------------------------------------------------
  2848. pt = {0.7, 0.8, 0.9}
  2849. mouse.KeyDown:connect(function(key)
  2850. if key == "h" and char.Mana.Value>50 then
  2851. char.Mana.Value = char.Mana.Value - 50
  2852. if Debounces.CanJoke == true then
  2853. Debounces.CanJoke = false
  2854. u = Instance.new("Sound")
  2855. u.SoundId = "http://www.roblox.com/asset/?id=138199573"
  2856. u.Parent = char
  2857. u.Looped = false
  2858. u.Pitch = pt[math.random(1,#pt)]
  2859. u.Volume = 1
  2860. u2 = Instance.new("Sound")
  2861. u2.SoundId = "http://www.roblox.com/asset/?id=138199573"
  2862. u2.Parent = char
  2863. u2.Looped = false
  2864. u2.Pitch = u.Pitch
  2865. u2.Volume = 1
  2866. wait(.01)
  2867. u:Play()
  2868. u2:Play()
  2869. wait(6)
  2870. u:Destroy()
  2871. u2:Destroy()
  2872. if Debounces.CanJoke == false then
  2873. Debounces.CanJoke = true
  2874. end
  2875. end
  2876. end
  2877. end)
  2878. ----------------------------------------------------
  2879. mouse.KeyDown:connect(function(key)
  2880. if key == "j" and char.Mana.Value> 30 then
  2881. char.Mana.Value = char.Mana.Value-30
  2882. if Debounces.CanJoke == true then
  2883. Debounces.CanJoke = false
  2884. z = Instance.new("Sound",char)
  2885. z.SoundId = "rbxassetid://135017755"
  2886. z.Pitch = .76
  2887. z.Volume = 1
  2888. wait()
  2889. z:Play()
  2890. wait(6)
  2891. z:Destroy()
  2892. if Debounces.CanJoke == false then
  2893. Debounces.CanJoke = true
  2894. end
  2895. end
  2896. end
  2897. end)
  2898. ----------------------------------------------------
  2899. mouse.KeyDown:connect(function(key)
  2900. if key == "k" and char.Mana.Value> 10 then
  2901. char.Mana.Value = char.Mana.Value -10
  2902. if Debounces.CanJoke == true then
  2903. Debounces.CanJoke = false
  2904. z = Instance.new("Sound",char)
  2905. z.SoundId = "rbxassetid://135017578"
  2906. z.Pitch = .76
  2907. z.Volume = 1
  2908. wait()
  2909. z:Play()
  2910. wait(4)
  2911. z:Destroy()
  2912. if Debounces.CanJoke == false then
  2913. Debounces.CanJoke = true
  2914. end
  2915. end
  2916. end
  2917. end)
  2918. ----------------------------------------------------
  2919. mouse.KeyDown:connect(function(key)
  2920. if key == "u" and char.Mana.Value>200 then
  2921. wait(1)
  2922. char.Mana.Value = char.Mana.Value-200
  2923. charge()
  2924. wait(0.6)
  2925. charge()
  2926. wait(0.6)
  2927. charge()
  2928. wait(2)
  2929. end
  2930. end)
  2931. ----------------------------------------------------
  2932. mouse.KeyDown:connect(function(key)
  2933. if key == "x" and char.Mana.Value>50 then
  2934. char.Mana.Value = char.Mana.Value-50
  2935. if Debounces.CanAttack == true then
  2936. Debounces.CanAttack = false
  2937. Debounces.NoIdl = true
  2938. Debounces.on = true
  2939. Debounces.ks = true
  2940. for i = 1, 10 do
  2941. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  2942. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6)
  2943. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2944. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
  2945. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6)
  2946. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6)
  2947. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2948. if Debounces.on == false then break end
  2949. wait()
  2950. end
  2951. z = Instance.new("Sound",hed)
  2952. z.SoundId = "rbxassetid://169445092"
  2953. z.Volume = 1
  2954. wait(0.1)
  2955. z:Play()
  2956. kik = rleg.Touched:connect(function(ht)
  2957. hit = ht.Parent
  2958. if ht and hit:IsA("Model") then
  2959. if hit:FindFirstChild("Humanoid") then
  2960. if hit.Name ~= p.Name then
  2961.  
  2962. if Debounces.ks==true then
  2963. z = Instance.new("Sound",hed)
  2964. z.SoundId = "rbxassetid://169380525"
  2965. z.Volume = 1
  2966. z:Play()
  2967. Debounces.ks=false
  2968. end
  2969. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2970. hit:FindFirstChild("Humanoid").PlatformStand = true
  2971. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2972. --Debounces.Slashed = false
  2973. --end
  2974. end
  2975. end
  2976. elseif ht and hit:IsA("Hat") then
  2977. if hit.Parent.Name ~= p.Name then
  2978. if hit.Parent:FindFirstChild("Humanoid") then
  2979.  
  2980. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2981. hit:FindFirstChild("Humanoid").PlatformStand = true
  2982. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2983. --Debounces.Slashed = false
  2984. --end
  2985. end
  2986. end
  2987. end
  2988. end)
  2989. for i = 1, 8 do
  2990. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2991. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7)
  2992. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
  2993. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
  2994. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2995. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7)
  2996. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2997. if Debounces.on == false then break end
  2998. wait()
  2999. end
  3000. kik:disconnect()
  3001. if Debounces.CanAttack == false then
  3002. Debounces.CanAttack = true
  3003. Debounces.on = false
  3004. Debounces.NoIdl = false
  3005. end
  3006. end
  3007. end
  3008. end)
  3009. ----------------------------------------------------
  3010. mouse.KeyDown:connect(function(key)
  3011. if key == "c" and char.Mana.Value>80 then
  3012. char.Mana.Value = char.Mana.Value -80
  3013. if Debounces.CanAttack == true then
  3014. Debounces.CanAttack = false
  3015. Debounces.NoIdl = true
  3016. Debounces.on = true
  3017. SIDZ = {"231917744", "231917742"}
  3018. PTZ = {0.7, 0.8, 0.9, 1}
  3019. for i = 1, 20 do
  3020. wait()
  3021. for i,v in pairs(char.Absolution:children()) do
  3022. if v:IsA("Part") or v:IsA("WedgePart") then
  3023. v.Transparency = v.Transparency + 0.05
  3024. end
  3025. end
  3026. end
  3027. function FindNearestTorso(Position,Distance,SinglePlayer)
  3028. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3029. local List = {}
  3030. for i,v in pairs(workspace:GetChildren())do
  3031. if v:IsA("Model")then
  3032. if v:findFirstChild("Torso")then
  3033. if v ~= char then
  3034. if(v.Torso.Position -Position).magnitude <= Distance then
  3035. table.insert(List,v)
  3036. end
  3037. end
  3038. end
  3039. end
  3040. end
  3041. return List
  3042. end
  3043. GroundPound()
  3044. for i = 1, 5 do
  3045. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  3046. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  3047. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3048. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3049. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3050. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3051. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3052. if Debounces.on == false then break end
  3053. wait()
  3054. end
  3055. GroundPound()
  3056. for i = 1, 5 do
  3057. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  3058. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  3059. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3060. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3061. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3062. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3063. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3064. if Debounces.on == false then break end
  3065. wait()
  3066. end
  3067. GroundPound()
  3068. for i = 1, 5 do
  3069. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  3070. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  3071. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3072. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3073. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3074. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3075. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3076. if Debounces.on == false then break end
  3077. wait()
  3078. end
  3079. GroundPound()
  3080. for i = 1, 5 do
  3081. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  3082. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  3083. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3084. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3085. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3086. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3087. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3088. if Debounces.on == false then break end
  3089. wait()
  3090. end
  3091. GroundPound()
  3092. for i = 1, 5 do
  3093. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  3094. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  3095. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3096. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3097. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3098. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3099. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3100. if Debounces.on == false then break end
  3101. wait()
  3102. end
  3103. GroundPound()
  3104. for i = 1, 5 do
  3105. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  3106. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  3107. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3108. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3109. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3110. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3111. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3112. if Debounces.on == false then break end
  3113. wait()
  3114. end
  3115. for i = 1, 18 do
  3116. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)
  3117. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4)
  3118. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  3119. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  3120. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  3121. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  3122. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3123. if Debounces.on == false then break end
  3124. wait()
  3125. end
  3126. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  3127. if v:FindFirstChild('Humanoid') then
  3128. v.Humanoid:TakeDamage(math.random(20,60))
  3129. v.Humanoid.PlatformStand = true
  3130. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  3131. end
  3132. end
  3133. x = Instance.new("Sound",char)
  3134. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  3135. x.Pitch = PTZ[math.random(1,#PTZ)]
  3136. x.Volume = 1
  3137. wait(0.1)
  3138. x:Play()
  3139. Crater(hed,20)
  3140. for i = 1, 14 do
  3141. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6)
  3142. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6)
  3143. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  3144. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  3145. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  3146. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  3147. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3148. if Debounces.on == false then break end
  3149. wait()
  3150. end
  3151. if Debounces.CanAttack == false then
  3152. Debounces.CanAttack = true
  3153. Debounces.on = false
  3154. Debounces.NoIdl = false
  3155. for i = 1, 20 do
  3156. wait()
  3157. for i,v in pairs(char.Absolution:children()) do
  3158. if v:IsA("Part") or v:IsA("WedgePart") then
  3159. v.Transparency = v.Transparency - 0.05
  3160. end
  3161. end
  3162. end
  3163. end
  3164. end
  3165. end
  3166. end)
  3167. ----------------------------------------------------176349813
  3168. mouse.KeyDown:connect(function(key)
  3169. if key == "b" and char.Mana.Value>80 then
  3170. char.Mana.Value = char.Mana.Value -80
  3171. hum.WalkSpeed = 20
  3172. if Debounces.CanAttack == true then
  3173. Debounces.CanAttack = false
  3174. Debounces.NoIdl = true
  3175. Debounces.on = true
  3176. for i = 1,20 do
  3177. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  3178. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  3179. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  3180. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  3181. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
  3182. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
  3183. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3184. if Debounces.on == false then break end
  3185. wait()
  3186. end
  3187. wait(1)
  3188. v = Instance.new("Sound")
  3189. v.SoundId = "rbxassetid://181384451"
  3190. v.Parent = char
  3191. v.Looped = false
  3192. v.Pitch = 1.04
  3193. v.Volume = 1.5
  3194. wait(.01)
  3195. v:Play()
  3196.  
  3197. v = Instance.new("Sound")
  3198. v.SoundId = "rbxassetid://138252341"
  3199. v.Parent = char
  3200. v.Looped = false
  3201. v.Pitch = 1.04
  3202. v.Volume = 1.2
  3203. wait(.01)
  3204. v:Play()
  3205. if Daytime == true then
  3206. Daytime = false
  3207. l.TimeOfDay = 24
  3208. else
  3209. Daytime = true
  3210. l.TimeOfDay = 12
  3211. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  3212. end
  3213.  
  3214. local Shockwave = function()
  3215. local rng1 = Instance.new("Part", char)
  3216. rng1.Anchored = true
  3217. rng1.BrickColor = BrickColor.new("Institutional white")
  3218. rng1.CanCollide = false
  3219. rng1.FormFactor = 3
  3220. rng1.Name = "Ring"
  3221. rng1.Material = "Neon"
  3222. rng1.Size = Vector3.new(1, 1, 1)
  3223. rng1.Transparency = 0.35
  3224. rng1.TopSurface = 0
  3225. rng1.BottomSurface = 0
  3226. local rngm1 = Instance.new("SpecialMesh", rng)
  3227. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3228. rngm1.Scale = Vector3.new(10, 10, 1)
  3229. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  3230. local Wave = Instance.new("Part", game.Workspace)
  3231. Wave.Name = "Shockwave"
  3232. Wave.BrickColor = BrickColor.new("Really black")
  3233. Wave.Size = Vector3.new(1, 1, 1)
  3234. Wave.Shape = "Ball"
  3235. Wave.Name = "Wave"
  3236. Wave.Material = "Neon"
  3237. Wave.CanCollide = false
  3238. Wave.Anchored = true
  3239. Wave.TopSurface = 0
  3240. Wave.BottomSurface = 0
  3241. Wave.Touched:connect(function(hit)
  3242. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  3243. local Occlude = true
  3244. local NotOccludes = {
  3245. char.Name;
  3246. "Wings";
  3247. "Scythe";
  3248. "Thingy";
  3249. "Thingy2"; -- put all of the names in a table pls
  3250. }
  3251. for i,v in pairs(NotOccludes) do
  3252. if hit.Parent.Name == v then
  3253. Occlude = false
  3254. end
  3255. end
  3256. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  3257. if Occlude then
  3258. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - math.huge
  3259. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  3260. end
  3261. end
  3262. end)
  3263.  
  3264. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  3265.  
  3266. coroutine.wrap(function()
  3267. for i = 1, 20, 0.2 do
  3268. rngm1.Scale = Vector3.new(30 + i*2, 30 + i*2, 1)
  3269. rng1.Transparency = i/20
  3270. local Wav2 = game.Workspace.Wave:Clone()
  3271. Wav2.Position = Vector3.new(math.random(0,200),2,math.random(0,200))
  3272. wait()
  3273. end
  3274. wait()
  3275. rng1:Destroy()
  3276. end)()
  3277.  
  3278. Delay(0, function()
  3279.  
  3280. if Daytime == false then
  3281. for i = 1, 50, 1 do
  3282. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  3283. Wave.CFrame = char.Torso.CFrame
  3284. local t = i / 50
  3285. Wave.Transparency = t
  3286. wait()
  3287. end
  3288. else
  3289. for i = 1, 50, 1 do
  3290. Wave.Size = Vector3.new(20 + i, 20 + i, 20 + i)
  3291. Wave.CFrame = char.Torso.CFrame
  3292. local t = i / 50
  3293. Wave.Transparency = t
  3294. wait()
  3295. end
  3296. end
  3297. Wave:Destroy()
  3298. end)
  3299. Delay(0, function()
  3300. while wait() do
  3301. if Wave ~= nil then
  3302. Wave.CFrame = char.Torso.CFrame
  3303. else
  3304. break
  3305. end
  3306. end
  3307. end)
  3308. end
  3309. Shockwave()
  3310. for i = 1, 15 do
  3311. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  3312. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  3313. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3314. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  3315. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3316. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3317. if Debounces.on == false then break end
  3318. wait()
  3319. end
  3320. for i = 1, 15 do
  3321. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  3322. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  3323. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3324. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  3325. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3326. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3327. if Debounces.on == false then break end
  3328. wait()
  3329. end
  3330. for i = 1, 15 do
  3331. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  3332. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  3333. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3334. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  3335. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3336. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3337. if Debounces.on == false then break end
  3338. wait()
  3339. end
  3340. for i = 1, 15 do
  3341. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  3342. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  3343. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3344. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  3345. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3346. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3347. if Debounces.on == false then break end
  3348. wait()
  3349. end
  3350. for i = 1, 15 do
  3351. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  3352. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  3353. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3354. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  3355. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3356. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3357. if Debounces.on == false then break end
  3358. wait()
  3359. end
  3360. for i = 1, 15 do
  3361. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  3362. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  3363. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3364. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  3365. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3366. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3367. if Debounces.on == false then break end
  3368. wait()
  3369. end
  3370. wait(1.4)
  3371. Debounces.NoIdl = false
  3372. hum.WalkSpeed = 50
  3373. Debounces.on = false
  3374. wait()
  3375. if Debounces.CanAttack == false then
  3376. Debounces.CanAttack = true
  3377. v:Destroy()
  3378. end
  3379. char.Mana.Value = char.Mana.Value + 1000
  3380. wait(4)
  3381. end
  3382. end
  3383. end)
  3384. ----------------------------------------------------
  3385. mouse.KeyDown:connect(function(key)
  3386. if key == "m" and char.Mana.Value> 60 then
  3387. char.Mana.Value = char.Mana.Value-60
  3388. hum.WalkSpeed = 0
  3389. if Debounces.CanAttack == true then
  3390. Debounces.CanAttack = false
  3391. Debounces.on = true
  3392. Debounces.NoIdl = true
  3393. x = Instance.new("Sound",char)
  3394. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  3395. x.Looped = false
  3396. x.Pitch = 1.1
  3397. x.Volume = 1
  3398. x:Play()
  3399. x2 = Instance.new("Sound",char)
  3400. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  3401. x2.Looped = false
  3402. x2.Pitch = .7
  3403. x2.Volume = 1
  3404. wait(.1)
  3405. x:Play()
  3406. x2:Play()
  3407. for i = 1, 20 do
  3408. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  3409. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  3410. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  3411. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  3412. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  3413. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  3414. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  3415. if Debounces.on == false then break end
  3416. wait()
  3417. x:Destroy()
  3418. x2:Destroy()
  3419. end
  3420. wait(1)
  3421. local rng = Instance.new("Part", char)
  3422. rng.Anchored = true
  3423. rng.BrickColor = BrickColor.new("Really black")
  3424. rng.CanCollide = false
  3425. rng.FormFactor = 3
  3426. rng.Name = "Ring"
  3427. rng.Size = Vector3.new(1, 1, 1)
  3428. rng.Transparency = 0.35
  3429. rng.TopSurface = 0
  3430. rng.BottomSurface = 0
  3431. rng.Position = torso.Position - Vector3.new(0,2,0)
  3432. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  3433. local rngm = Instance.new("SpecialMesh", rng)
  3434. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3435. rngm.Scale = Vector3.new(1, 1, 2)
  3436. x = Instance.new("Sound",char)
  3437. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  3438. x.Looped = false
  3439. x.Pitch = .7
  3440. x.Volume = 1
  3441. x:Play()
  3442. coroutine.wrap(function()
  3443. for i = 1, 60, 2 do
  3444. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  3445. rng.Transparency = i/60
  3446. wait()
  3447. end
  3448. wait()
  3449. rng:Destroy()
  3450. end)()
  3451. hum.WalkSpeed = 50
  3452. BV = Instance.new("BodyVelocity", torso)
  3453. BV.maxForce = Vector3.new(0,200000,0)
  3454. BV.P = 100000
  3455. BV.velocity = Vector3.new(0,800,0)
  3456. for i = 1, 20 do
  3457. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  3458. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  3459. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  3460. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  3461. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  3462. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  3463. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3464. if Debounces.on == false then break end
  3465. wait()
  3466. end
  3467. x:Destroy()
  3468. BV:Destroy()
  3469. for i = 1, 30 do
  3470. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  3471. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  3472. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  3473. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  3474. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  3475. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  3476. if Debounces.on == false then break end
  3477. wait()
  3478. end
  3479. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  3480. for i = 1, 30 do
  3481. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  3482. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3483. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3484. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3485. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  3486. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  3487. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3488. if Debounces.on == false then break end
  3489. wait()
  3490. end
  3491. end
  3492. Debounces.on = false
  3493. Debounces.NoIdl = false
  3494. local ry,ht,ps=nil,nil,nil
  3495. while ht==nil do
  3496. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  3497. wait()
  3498. end
  3499. z = Instance.new("Sound",char)
  3500. z.SoundId = "rbxassetid://142070127"
  3501. z.Volume = 1
  3502. wait(.1)
  3503. z:Play()
  3504. Landing()
  3505. hum.WalkSpeed = 50
  3506. if Debounces.CanAttack == false then
  3507. Debounces.CanAttack = true
  3508. end
  3509. end
  3510. end
  3511. end)
  3512. ----------------------------------------------------
  3513. Grab = false
  3514. mouse.KeyDown:connect(function(key)
  3515. if key == "z" then
  3516. larm.BrickColor = BrickColor.new("Bright red")
  3517. rarm.BrickColor = BrickColor.new("Bright red")
  3518. Debounces.on = true
  3519. Debounces.NoIdl = true
  3520. if Grab == false then
  3521. gp = nil
  3522. con1=larm.Touched:connect(function(hit) -- this is grab
  3523. ht = hit.Parent
  3524. hum1=ht:FindFirstChild('Humanoid')
  3525. if hum1 ~= nil then
  3526. hum1.PlatformStand=true
  3527. gp = ht
  3528. Grab = true
  3529. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  3530. asd.Parent = larm
  3531. asd.Name = "asd"
  3532. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  3533. elseif hum1 == nil then
  3534. con1:disconnect()
  3535. wait() return
  3536. end
  3537. end)
  3538. for i = 1, 18 do
  3539. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
  3540. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  3541. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3542. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  3543. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  3544. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  3545. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  3546. if Debounces.on == false then break end
  3547. wait()
  3548. end
  3549. con1:disconnect()
  3550. Debounces.on = false
  3551. Debounces.NoIdl = false
  3552. elseif Grab == true then
  3553. Grab = false
  3554. for i = 1, 20 do
  3555. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
  3556. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
  3557. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3558. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3559. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3560. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3561. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3562. if Debounces.on == false then end
  3563. wait()
  3564. end
  3565. if gp ~= nil then
  3566. for i,v in pairs(larm:GetChildren()) do
  3567. if v.Name == "asd" and v:IsA("Weld") then
  3568. v:Remove()
  3569. end
  3570. end
  3571. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3572. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3573. bv.P = 125000
  3574. bv.velocity = char.Head.CFrame.lookVector * 200
  3575. for i = 1, 12 do
  3576. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
  3577. if Debounces.on == false then end
  3578. wait()
  3579. end
  3580. ht=nil
  3581. Spawn(function()
  3582. wait(0.5)
  3583. bv:Destroy()
  3584. end)
  3585. Debounces.on = false
  3586. Debounces.NoIdl = false
  3587. elseif ht == nil then wait()
  3588. Grab = false
  3589. Debounces.on = false
  3590. Debounces.NoIdl = false
  3591. end
  3592. end
  3593. end
  3594. end)
  3595. ----------------------------------------------------
  3596. mouse.KeyDown:connect(function(key)
  3597. if string.byte(key) == 52 then
  3598. char.Humanoid.WalkSpeed = 21
  3599. end
  3600. end)
  3601. mouse.KeyUp:connect(function(key)
  3602. if string.byte(key) == 52 then
  3603. char.Humanoid.WalkSpeed = 50
  3604. end
  3605. end)
  3606. ----------------------------------------------------
  3607. local animpose = "Idle"
  3608. local lastanimpose = "Idle"
  3609. local sine = 0
  3610. local change = 1
  3611. local val = 0
  3612. local ffing = false
  3613. ----------------------------------------------------
  3614. x = Instance.new("Sound", char)
  3615. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  3616. x.Looped = true
  3617. x.Volume = 1
  3618. x.Pitch = 1
  3619. local footsteps = false
  3620. -------------------------------
  3621. game:GetService("RunService").RenderStepped:connect(function()
  3622. if char.Humanoid.Jump == true then
  3623. jump = true
  3624. else
  3625. jump = false
  3626. end
  3627. char.Humanoid.FreeFalling:connect(function(f)
  3628. if f then
  3629. ffing = true
  3630. else
  3631. ffing = false
  3632. end
  3633. end)
  3634. sine = sine + change
  3635. if jumpn == true then
  3636. animpose = "Jumping"
  3637. elseif ffing == true then
  3638. animpose = "Freefalling"
  3639. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3640. animpose = "Idle"
  3641. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3642. animpose = "Walking"
  3643. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3644. animpose = "Running"
  3645. end
  3646. if animpose ~= lastanimpose then
  3647. sine = 0
  3648. if Debounces.NoIdl == false then
  3649. if animpose == "Idle" then
  3650. for i = 1, 2 do
  3651. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  3652. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  3653. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3654. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3655. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3656. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3657. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3658. end
  3659. elseif animpose == "Walking" then
  3660. for i = 1, 2 do
  3661. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  3662. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  3663. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  3664. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  3665. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3666. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3667. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3668. end
  3669. elseif animpose == "Running" then
  3670. for i = 1, 2 do
  3671. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  3672. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  3673. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  3674. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  3675. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  3676. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  3677. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3678. end
  3679. wait()
  3680. end
  3681. else
  3682. end
  3683. end
  3684. lastanimpose = animpose
  3685. if Debounces.NoIdl == false then
  3686. if animpose == "Idle" then
  3687. if stanceToggle == "Normal" then
  3688. change = 0.5
  3689. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2)
  3690. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  3691. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  3692. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  3693. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3694. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3695. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3696. elseif stanceToggle == "Sitting" then
  3697. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  3698. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  3699. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  3700. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  3701. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  3702. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  3703. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3704. end
  3705. elseif animpose == "Walking" then
  3706. if stanceToggle == "Normal" then
  3707. change = 1
  3708. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.04)
  3709. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.04)
  3710. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.03)
  3711. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.04)
  3712. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), 0.04)
  3713. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .04)
  3714. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 0.04)
  3715. end
  3716. elseif animpose == "Running" then
  3717. change = 1
  3718. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2)
  3719. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2)
  3720. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  3721. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  3722. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  3723. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  3724. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3725. end
  3726. end
  3727. if animpose == "Walking" then
  3728. if footsteps == false then
  3729. x:Play()
  3730. footsteps = true
  3731. end
  3732. x.Pitch = 1.1
  3733. elseif animpose == "Idle" then
  3734. x:Stop()
  3735. footsteps = false
  3736. elseif animpose == "Running" then
  3737. x.Pitch = 1.2
  3738. if footsteps == false then
  3739. x:Play()
  3740. footsteps = true
  3741. end
  3742. end
  3743. end)
  3744. p.Chatted:connect(function(msg)
  3745. if msg == TitanBet.."loadsong" then
  3746. z = Instance.new("Sound", char)
  3747. z.SoundId = "rbxassetid://306826153"--242463565
  3748. z.Name = "Music"
  3749. z.Looped = true
  3750. z.Volume = 1
  3751. z.Pitch = 1
  3752. wait()
  3753. if p.Name == "PointCoded" or "nguyenjimbo" then
  3754. z:Play()
  3755. else
  3756. print("Not Point Coded = no music")
  3757. end
  3758. end
  3759.  
  3760. end)
  3761.  
  3762. p.Chatted:connect(function(msg)
  3763. if msg == TitanBet.."stopsong" then
  3764. char.Music:remove()
  3765. end
  3766.  
  3767. end)
  3768.  
  3769. while true do
  3770. local pe = char:GetChildren()
  3771. pe.Locked = true
  3772. p.PlayerGui.Mana.Mana.Text = "Mana: "..char.Mana.Value
  3773. if char.Mana.Value>4999 then
  3774. char.Mana.Value = 4999
  3775. end
  3776. char.Mana.Value = char.Mana.Value + 1
  3777. local pe = char:GetChildren()
  3778. hum.MaxHealth = 50000
  3779. hum.Health = 50000
  3780. pe.Locked = true
  3781. wait(0.000000000000000000000000001)
  3782. end
  3783. end)
  3784. -- cmd4
  3785. cmd4.Name = "666"
  3786. cmd4.Parent = Main2
  3787. cmd4.Active = true
  3788. cmd4.BackgroundColor3 = Color3.new(0, 100, 255)
  3789. cmd4.BorderSizePixel = 1
  3790. cmd4.BorderColor3 = Color3.new(0, 0, 0)
  3791. cmd4.ZIndex = 7
  3792. cmd4.Size = UDim2.new(0, 200, 0, 100)
  3793. cmd4.Position = UDim2.new(0, 0, 0, 300)
  3794. cmd4.TextColor3 = Color3.new(255, 255, 255)
  3795. cmd4.Text = "666"
  3796. cmd4.FontSize = "Size32"
  3797. -- 666
  3798. cmd4.MouseButton1Click:connect(function()
  3799. local rekt = Instance.new('ColorCorrectionEffect', game.Lighting)
  3800. rekt.TintColor = Color3.new(155, 1, 0)
  3801. rekt.Brightness = 0.2
  3802. rekt.Contrast = 1
  3803. rekt.Saturation = 1
  3804. local topkek = Instance.new('BlurEffect', game.Lighting)
  3805. topkek.Size = 3
  3806. local bloom = Instance.new('BloomEffect', game.Lighting)
  3807. bloom.Intensity = 0.4
  3808. bloom.Size = 56
  3809. bloom.Threshold = 1
  3810.  
  3811. for i,v in next,workspace:children''do
  3812. if(v:IsA'BasePart')then
  3813. me=v;
  3814. bbg=Instance.new('BillboardGui',me);
  3815. bbg.Name='stuf';
  3816. bbg.Adornee=me;
  3817. bbg.Size=UDim2.new(2.5,0,2.5,0)
  3818. tlb=Instance.new'TextLabel';
  3819. tlb.Text='666 666 666 666 666 666';
  3820. tlb.Font='SourceSansBold';
  3821. tlb.FontSize='Size48';
  3822. tlb.TextColor3=Color3.new(1,0,0);
  3823. tlb.Size=UDim2.new(1.25,0,1.25,0);
  3824. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  3825. tlb.BackgroundTransparency=1;
  3826. tlb.Parent=bbg;
  3827. end;end;
  3828. s=Instance.new'Sound';
  3829. s.Parent=workspace;
  3830. s.SoundId='rbxassetid://152840862';
  3831. s.Pitch=1;
  3832. s.Volume=1;
  3833. s.Looped=true;
  3834. s:play();
  3835. --end;end)();
  3836. function xds(dd)
  3837. for i,v in next,dd:children''do
  3838. if(v:IsA'BasePart')then
  3839. v.BrickColor=BrickColor.new'Really black';
  3840. v.TopSurface='Smooth';
  3841. v.BottomSurface='Smooth';
  3842. a=Instance.new('PointLight',v);
  3843. a.Color=Color3.new(1,0,0);
  3844. a.Range=15;
  3845. a.Brightness=5;
  3846. f=Instance.new('Fire',v);
  3847. f.Size=19;
  3848. f.Heat=22;
  3849. end;
  3850. game.Lighting.TimeOfDay=0;
  3851. game.Lighting.Brightness=0;
  3852. game.Lighting.ShadowColor=Color3.new(0,0,0);
  3853. game.Lighting.Ambient=Color3.new(1,0,0);
  3854. game.Lighting.FogEnd=200;
  3855. game.Lighting.FogColor=Color3.new(0,0,0);
  3856. local dec = 'http://www.roblox.com/asset/?id=19399245';
  3857. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  3858. if #(v:GetChildren())>0 then
  3859. xds(v)
  3860. end
  3861. end
  3862. end
  3863. xds(game.Workspace)
  3864. end)
  3865. -- cmd5
  3866. cmd5.Name = "wings"
  3867. cmd5.Parent = Main2
  3868. cmd5.Active = true
  3869. cmd5.BackgroundColor3 = Color3.new(0, 100, 255)
  3870. cmd5.BorderSizePixel = 1
  3871. cmd5.BorderColor3 = Color3.new(0, 0, 0)
  3872. cmd5.ZIndex = 6
  3873. cmd5.Size = UDim2.new(0, 200, 0, 100)
  3874. cmd5.Position = UDim2.new(0, 0, 0, 400)
  3875. cmd5.TextColor3 = Color3.new(255, 255, 255)
  3876. cmd5.Text = "Wings"
  3877. cmd5.FontSize = "Size32"
  3878. -- wings
  3879. cmd5.MouseButton1Click:connect(function()
  3880.  
  3881. function weld(p0,p1,c0,c1,par)
  3882. local w = Instance.new("Weld",p0 or par)
  3883. w.Part0 = p0
  3884. w.Part1 = p1
  3885. w.C0 = c0 or CFrame.new()
  3886. w.C1 = c1 or CFrame.new()
  3887. return w
  3888. end
  3889.  
  3890. local motors = {}
  3891.  
  3892. function motor(p0,p1,c0,c1,des,vel,par)
  3893. local w = Instance.new("Motor6D",p0 or par)
  3894. w.Part0 = p0
  3895. w.Part1 = p1
  3896. w.C0 = c0 or CFrame.new()
  3897. w.C1 = c1 or CFrame.new()
  3898. w.MaxVelocity = tonumber(vel) or .05
  3899. w.DesiredAngle = tonumber(des) or 0
  3900. return w
  3901. end
  3902.  
  3903. function lerp(a,b,c)
  3904. return a+(b-a)*c
  3905. end
  3906.  
  3907. function clerp(c1,c2,al)
  3908. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  3909. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  3910. for i,v in pairs(com1) do
  3911. com1[i] = lerp(v,com2[i],al)
  3912. end
  3913. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  3914. end
  3915.  
  3916. function ccomplerp(c1,c2,al)
  3917. local com1 = {c1:components()}
  3918. local com2 = {c2:components()}
  3919. for i,v in pairs(com1) do
  3920. com1[i] = lerp(v,com2[i],al)
  3921. end
  3922. return CFrame.new(unpack(com1))
  3923. end
  3924.  
  3925. function tickwave(time,length,offset)
  3926. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  3927. end
  3928.  
  3929. function invcol(c)
  3930. c = c.Color
  3931. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  3932. end
  3933.  
  3934. local oc = oc or function(...) return ... end
  3935. local plr = game.Players.LocalPlayer
  3936. local char = plr.Character
  3937. local tor = char.Torso
  3938. local hum = char.Humanoid
  3939.  
  3940. hum.PlatformStand = false
  3941.  
  3942. pcall(function()
  3943. char.Wings:Destroy()
  3944. end)
  3945. pcall(function()
  3946. char.Angel:Destroy() -- hat
  3947. end)
  3948.  
  3949. local mod = Instance.new("Model",char)
  3950. mod.Name = "Wings"
  3951.  
  3952. local special = {
  3953. --rigletto = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  3954. --rigletto = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  3955. --rigletto = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  3956. --rigletto = {"Royal purple",nil,.4,.4,true},
  3957. --rigletto = {"Black",nil,0,0,false},
  3958.  
  3959. --rigletto = {"White",nil,0,0,false},
  3960. --rigletto = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  3961. --rigletto = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  3962. rigletto = {"Reddish brown",1030,0,0,false},
  3963. --rigletto = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  3964. --rigletto = {"Brown","Nougat",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  3965. --rigletto = {"Bright red","Really black",0.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  3966. --rigletto = {"Bright red","Bright orange",0,0,true,Color3.new(1,150/225,0)},
  3967. --rigletto = {"Dark grey","Dark grey",0,0.6,false,Color3.new(1,150/225,0)},
  3968. --rigletto = {"Light stone grey","White",0.5,0,false,Color3.new(1,150/225,0)},
  3969. }
  3970.  
  3971. local topcolor = BrickColor.new("White")--invcol(char.Torso.BrickColor)
  3972. local feacolor = BrickColor.new("White")--char.Torso.BrickColor
  3973. local part = Instance.new("Part")
  3974. part.FormFactor = "Custom"
  3975. part.Size = Vector3.new(.2,.2,.2)
  3976. part.TopSurface,part.BottomSurface = 0,0
  3977. part.CanCollide = false
  3978. part.BrickColor = topcolor
  3979. --part.Transparency = .7
  3980. --part.Reflectance = .7
  3981. local ef = Instance.new("Fire",part2)
  3982. ef.Size = .15
  3983. ef.Color = Color3.new(0,0,1)
  3984. ef.SecondaryColor = Color3.new()
  3985. part:BreakJoints()
  3986.  
  3987. local a = special[plr.Name:lower()]
  3988. if a then
  3989. part.BrickColor,part.Transparency,part.Reflectance,ef.Parent,ef.Color,ef.SecondaryColor = BrickColor.new(a[1]),a[3],a[4],a[5] and part or nil,a[6] or ef.Color,a[7] or ef.SecondaryColor
  3990. end
  3991. function newpart()
  3992. local clone = part:Clone()
  3993. clone.Parent = mod
  3994. clone:BreakJoints()
  3995. return clone
  3996. end
  3997.  
  3998. local feath = newpart()
  3999. feath.BrickColor = a and (a[2] and BrickColor.new(a[2]) or feath.BrickColor) or feacolor
  4000. feath.Transparency = 0
  4001. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  4002.  
  4003. function newfeather()
  4004. local clone = feath:Clone()
  4005. clone.Parent = mod
  4006. clone:BreakJoints()
  4007. return clone
  4008. end
  4009.  
  4010.  
  4011.  
  4012. ---------- RIGHT WING
  4013.  
  4014. local r1 = newpart()
  4015. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  4016. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  4017.  
  4018. local r2 = newpart()
  4019. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  4020. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  4021.  
  4022. local r3 = newpart()
  4023. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  4024. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  4025.  
  4026. local r4 = newpart()
  4027. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  4028. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  4029.  
  4030. local feather = newfeather()
  4031. feather.Mesh.Scale = Vector3.new(1,1,1)
  4032. feather.Size = Vector3.new(.4,3,.3)
  4033. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  4034.  
  4035. feather = newfeather()
  4036. feather.Mesh.Scale = Vector3.new(1,1,1)
  4037. feather.Size = Vector3.new(.4,2.3,.3)
  4038. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  4039.  
  4040. feather = newfeather()
  4041. feather.Mesh.Scale = Vector3.new(1,1,1)
  4042. feather.Size = Vector3.new(.35,2.2,.25)
  4043. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  4044.  
  4045. local rf3 = {}
  4046. for i=0,7 do
  4047. feather = newfeather()
  4048. feather.Mesh.Scale = Vector3.new(1,1,1)
  4049. feather.Size = Vector3.new(.45,2.2,.35)
  4050. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  4051. end
  4052.  
  4053. local rf2 = {}
  4054. for i=0,6 do
  4055. feather = newfeather()
  4056. feather.Mesh.Scale = Vector3.new(1,1,1)
  4057. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  4058. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  4059. end
  4060.  
  4061. local rf1 = {}
  4062. for i=0,6 do
  4063. feather = newfeather()
  4064. feather.Mesh.Scale = Vector3.new(1,1,1)
  4065. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  4066. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  4067. end
  4068.  
  4069. ---------- LEFT WING
  4070.  
  4071. local l1 = newpart()
  4072. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  4073. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  4074.  
  4075. local l2 = newpart()
  4076. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  4077. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  4078.  
  4079. local l3 = newpart()
  4080. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  4081. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  4082.  
  4083. local l4 = newpart()
  4084. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  4085. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  4086.  
  4087. local feather = newfeather()
  4088. feather.Mesh.Scale = Vector3.new(1,1,1)
  4089. feather.Size = Vector3.new(.4,3,.3)
  4090. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  4091.  
  4092. feather = newfeather()
  4093. feather.Mesh.Scale = Vector3.new(1,1,1)
  4094. feather.Size = Vector3.new(.4,2.3,.3)
  4095. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  4096.  
  4097. feather = newfeather()
  4098. feather.Mesh.Scale = Vector3.new(1,1,1)
  4099. feather.Size = Vector3.new(.35,2.2,.25)
  4100. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  4101.  
  4102. local lf3 = {}
  4103. for i=0,7 do
  4104. feather = newfeather()
  4105. feather.Mesh.Scale = Vector3.new(1,1,1)
  4106. feather.Size = Vector3.new(.45,2.2,.35)
  4107. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  4108. end
  4109.  
  4110. local lf2 = {}
  4111. for i=0,6 do
  4112. feather = newfeather()
  4113. feather.Mesh.Scale = Vector3.new(1,1,1)
  4114. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  4115. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  4116. end
  4117.  
  4118. local lf1 = {}
  4119. for i=0,6 do
  4120. feather = newfeather()
  4121. feather.Mesh.Scale = Vector3.new(1,1,1)
  4122. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  4123. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  4124. end
  4125.  
  4126. local rwing = {rm1,rm2,rm3,rm4}
  4127. local lwing = {lm1,lm2,lm3,lm4}
  4128.  
  4129. local oc0 = {}
  4130. for i,v in pairs(rwing) do
  4131. oc0[v] = v.C0
  4132. end
  4133. for i,v in pairs(lwing) do
  4134. oc0[v] = v.C0
  4135. end
  4136.  
  4137. function gotResized()
  4138. if lastsize then
  4139. if tor.Size == lastsize then return end -- This shouldn't happen?
  4140. local scaleVec = tor.Size/lastsize
  4141. for i,v in pairs(oc0) do
  4142. oc0[i] = v-v.p+scaleVec*v.p
  4143. end
  4144. lastsize = tor.Size
  4145. end
  4146. lastsize = tor.Size
  4147. end
  4148.  
  4149. tor.Changed:connect(function(p)
  4150. if p == "Size" then
  4151. gotResized()
  4152. end
  4153. end)
  4154.  
  4155. gotResized()
  4156.  
  4157. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  4158.  
  4159. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  4160. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  4161.  
  4162. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  4163.  
  4164. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  4165.  
  4166. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  4167.  
  4168.  
  4169. function setwings(tab,time)
  4170. time = time or 10
  4171.  
  4172. for i=1,4 do
  4173. rwing[i].DesiredAngle = tab[i]
  4174. lwing[i].DesiredAngle = tab[i]
  4175. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  4176. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  4177. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  4178. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  4179. end
  4180.  
  4181. for i,v in pairs(rf1) do
  4182. v.DesiredAngle = tab[9]
  4183. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4184. end
  4185. for i,v in pairs(lf1) do
  4186. v.DesiredAngle = tab[9]
  4187. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4188. end
  4189. for i,v in pairs(rf2) do
  4190. v.DesiredAngle = tab[10]
  4191. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4192. end
  4193. for i,v in pairs(lf2) do
  4194. v.DesiredAngle = tab[10]
  4195. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4196. end
  4197. for i,v in pairs(rf3) do
  4198. v.DesiredAngle = tab[11]
  4199. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4200. end
  4201. for i,v in pairs(lf3) do
  4202. v.DesiredAngle = tab[11]
  4203. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  4204. end
  4205. end
  4206. setwings(outhigh,1)
  4207.  
  4208. flying = false
  4209. moving = false
  4210.  
  4211. for i,v in pairs(tor:GetChildren()) do
  4212. if v.ClassName:lower():match("body") then
  4213. v:Destroy()
  4214. end
  4215. end
  4216.  
  4217. local ctor = tor:Clone()
  4218. ctor:ClearAllChildren()
  4219. ctor.Name = "cTorso"
  4220. ctor.Transparency = 1
  4221. ctor.CanCollide = false
  4222. ctor.FormFactor = "Custom"
  4223. ctor.Size = Vector3.new(.2,.2,.2)
  4224. ctor.Parent = mod
  4225. weld(tor,ctor)
  4226. local bg = Instance.new("BodyGyro",ctor)
  4227. bg.maxTorque = Vector3.new()
  4228. bg.P = 15000
  4229. bg.D = 1000
  4230.  
  4231. local bv = Instance.new("BodyVelocity",ctor)
  4232. bv.maxForce = Vector3.new()
  4233. bv.P = 15000
  4234.  
  4235. vel = Vector3.new()
  4236. cf = CFrame.new()
  4237. flspd = 0
  4238.  
  4239.  
  4240. keysdown = {}
  4241. keypressed = {}
  4242. ktime = {}
  4243. descendtimer = 0
  4244.  
  4245. jumptime = tick()
  4246. hum.Jumping:connect(function()
  4247. jumptime = tick()
  4248. end)
  4249.  
  4250. cam = workspace.CurrentCamera
  4251.  
  4252. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  4253. keysdown[key] = true
  4254. keypressed[key] = true
  4255. if key == "2" then
  4256. descendtimer = tick()
  4257. elseif key == " " and not hum.Jump then
  4258. jumptime = tick()
  4259. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .1 then
  4260. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  4261. print(reqrotx)
  4262. end
  4263. ktime[key] = tick()
  4264. end))
  4265.  
  4266. ku = plr:GetMouse().KeyUp:connect(function(key)
  4267. keysdown[key] = false
  4268. if key == " " then
  4269. descendtimer = tick()
  4270. end
  4271. end)
  4272.  
  4273. function mid(a,b,c)
  4274. return math.max(a,math.min(b,c or -a))
  4275. end
  4276. function bn(a)
  4277. return a and 1 or 0
  4278. end
  4279. function gm(tar)
  4280. local m = 0
  4281. for i,v in pairs(tar:GetChildren()) do
  4282. if v:IsA("BasePart") then
  4283. m = m + v:GetMass()
  4284. end
  4285. m = m + gm(v)
  4286. end
  4287. return m
  4288. end
  4289. reqrotx = 0
  4290. local con
  4291. con = game:GetService("RunService").Stepped:connect(oc(function()
  4292. if not mod:IsDescendantOf(workspace) then
  4293. pcall(function() kd:disconnect() end)
  4294. pcall(function() ku:disconnect() end)
  4295. bg:Destroy()
  4296. bv:Destroy()
  4297. con:disconnect()
  4298. script:Destroy()
  4299. return
  4300. end
  4301.  
  4302. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  4303. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  4304. if flying then
  4305. local lfldir = fldir
  4306. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  4307. local lmoving = moving
  4308. moving = fldir.magnitude > .1
  4309. if lmoving and not moving then
  4310. idledir = lfldir*Vector3.new(1,0,1)
  4311. descendtimer = tick()
  4312. end
  4313. local dbomb = fldir.Y < -.6 or (moving and keysdown["0"])
  4314. if moving and keysdown["0"] and lmoving then
  4315. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  4316. end
  4317. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  4318. local descending = (not moving and keysdown["2"] and not keysdown[" "])
  4319. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  4320. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  4321. hum.PlatformStand = true
  4322. bg.maxTorque = Vector3.new(1,1,1)*9e5
  4323. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  4324. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  4325. reqrotx = reqrotx - reqrotx/10
  4326. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  4327. local anioff =(bn(keysdown[" "])-bn(keysdown["2"]))/2
  4328. local ani = tickwave(1.5-anioff,1)
  4329. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["2"]))*15,0)+vel,.6)
  4330. vel = moving and cf.lookVector*flspd or Vector3.new()
  4331. flspd = math.min(140,lerp(flspd,moving and (fldir.Y<0 and flspd-fldir.Y*2 or math.max(60,flspd-fldir.Y)) or 60,.4))
  4332. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  4333. for i=1,4 do
  4334. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  4335. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  4336. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  4337. end
  4338. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  4339. if hit and down.Y < -.85 and tick()-flystart > 1 then
  4340. flying = false
  4341. hum.PlatformStand = false
  4342. tor.Velocity = Vector3.new()
  4343. end
  4344. else
  4345. bg.maxTorque = Vector3.new()
  4346. bv.maxForce = Vector3.new()
  4347. local ani = tickwave(walking and .8 or 4.5,1)
  4348. setwings(idle,10)
  4349. local x,y,z = fspd/160,uspd/700,sspd/900
  4350. for i=1,4 do
  4351. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  4352. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  4353. end
  4354.  
  4355. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  4356. vel = Vector3.new(0,50,0)
  4357. bv.velocity = vel
  4358. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  4359. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  4360. tor.CFrame = cf
  4361. bg.cframe = cf
  4362. flystart = tick()
  4363. flying = true
  4364. end
  4365. end
  4366. keypressed = {}
  4367. end))
  4368.  
  4369. -- FUCK U LOL
  4370. end)
  4371. credits.Name = "credits"
  4372. credits.Parent = Main2
  4373. credits.Active = true
  4374. credits.BackgroundColor3 = Color3.new(0, 100, 255)
  4375. credits.BorderSizePixel = 0
  4376. credits.BorderColor3 = Color3.new(0, 0, 0)
  4377. credits.ZIndex = 1
  4378. credits.Size = UDim2.new(0, 200, 0, 100)
  4379. credits.Position = UDim2.new(0, 0, 0, 500)
  4380. credits.TextColor3 = Color3.new(255, 255, 255)
  4381. credits.Text = "Leaked By Team N3x"
  4382. credits.FontSize = "Size14"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement