Advertisement
Remour

Untitled

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