loldezpasteas2

Untitled

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