Advertisement
ThatOneGuy561

Untitled

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