Advertisement
BAconTUbe

Titan FE

Jan 19th, 2019
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 178.40 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. --//====================================================\\--
  154. --|| CREATED BY SHACKLUSTER
  155. --\\====================================================//--
  156.  
  157.  
  158.  
  159. wait(0.2)
  160.  
  161.  
  162.  
  163. Player = game:GetService("Players").LocalPlayer
  164. PlayerGui = Player.PlayerGui
  165. Cam = workspace.CurrentCamera
  166. Backpack = Player.Backpack
  167. Character = Player.Character
  168. Humanoid = Character.Humanoid
  169. Mouse = Player:GetMouse()
  170. RootPart = Character["HumanoidRootPart"]
  171. Torso = Character["Torso"]
  172. Head = Character["Head"]
  173. RightArm = Character["Right Arm"]
  174. LeftArm = Character["Left Arm"]
  175. RightLeg = Character["Right Leg"]
  176. LeftLeg = Character["Left Leg"]
  177. RootJoint = RootPart["RootJoint"]
  178. Neck = Torso["Neck"]
  179. RightShoulder = Torso["Right Shoulder"]
  180. LeftShoulder = Torso["Left Shoulder"]
  181. RightHip = Torso["Right Hip"]
  182. LeftHip = Torso["Left Hip"]
  183. local sick = Instance.new("Sound",Character)
  184. sick.SoundId = "rbxassetid://500369513"
  185. sick.Looped = true
  186. sick.Pitch = 1
  187. sick.Volume = 1
  188. sick:Play()
  189.  
  190. IT = Instance.new
  191. CF = CFrame.new
  192. VT = Vector3.new
  193. RAD = math.rad
  194. C3 = Color3.new
  195. UD2 = UDim2.new
  196. BRICKC = BrickColor.new
  197. ANGLES = CFrame.Angles
  198. EULER = CFrame.fromEulerAnglesXYZ
  199. COS = math.cos
  200. ACOS = math.acos
  201. SIN = math.sin
  202. ASIN = math.asin
  203. ABS = math.abs
  204. MRANDOM = math.random
  205. FLOOR = math.floor
  206.  
  207. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  208. local NEWMESH = IT(MESH)
  209. if MESH == "SpecialMesh" then
  210. NEWMESH.MeshType = MESHTYPE
  211. if MESHID ~= "nil" and MESHID ~= "" then
  212. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  213. end
  214. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  215. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  216. end
  217. end
  218. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  219. NEWMESH.Scale = SCALE
  220. NEWMESH.Parent = PARENT
  221. return NEWMESH
  222. end
  223.  
  224. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  225. local NEWPART = IT("Part")
  226. NEWPART.formFactor = FORMFACTOR
  227. NEWPART.Reflectance = REFLECTANCE
  228. NEWPART.Transparency = TRANSPARENCY
  229. NEWPART.CanCollide = false
  230. NEWPART.Locked = true
  231. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  232. NEWPART.Name = NAME
  233. NEWPART.Size = SIZE
  234. NEWPART.Position = Torso.Position
  235. NEWPART.Material = MATERIAL
  236. NEWPART:BreakJoints()
  237. NEWPART.Parent = PARENT
  238. return NEWPART
  239. end
  240.  
  241.  
  242. --//=================================\\
  243. --|| CUSTOMIZATION
  244. --\\=================================//
  245.  
  246. Class_Name = "Memelord"
  247. Weapon_Name = "Add-ons"
  248.  
  249. Custom_Colors = {
  250. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  251. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  252.  
  253. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  254. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  255. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  256. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  257. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  258.  
  259. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  260. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  261. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  262. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  263. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  264. }
  265.  
  266.  
  267. Player_Size = 1 --Size of the player.
  268. Animation_Speed = 2
  269. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  270.  
  271. local Speed = 16
  272. local Effects2 = {}
  273.  
  274. --//=================================\\
  275. --|| END OF CUSTOMIZATION
  276. --\\=================================//
  277.  
  278. local function weldBetween(a, b)
  279. local weldd = Instance.new("ManualWeld")
  280. weldd.Part0 = a
  281. weldd.Part1 = b
  282. weldd.C0 = CFrame.new()
  283. weldd.C1 = b.CFrame:inverse() * a.CFrame
  284. weldd.Parent = a
  285. return weldd
  286. end
  287.  
  288. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  289. local acs = Instance.new("Part")
  290. acs.CanCollide = false
  291. acs.Anchored = false
  292. acs.Size = Vector3.new(0,0,0)
  293. acs.CFrame = attachmentpart.CFrame
  294. acs.Parent = Character
  295. acs.BrickColor = color
  296. local meshs = Instance.new("SpecialMesh")
  297. meshs.MeshId = mesh
  298. meshs.TextureId = texture
  299. meshs.Parent = acs
  300. meshs.Scale = scale
  301. meshs.Offset = offset
  302. weldBetween(attachmentpart,acs)
  303. end
  304.  
  305. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  306. if TYPE == "Gem" then
  307. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  308. acs.Anchored = false
  309. acs.CanCollide = false
  310. acs.CFrame = PART.CFrame
  311. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  312. weldBetween(PART,acs)
  313. elseif TYPE == "Skull" then
  314. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  315. acs.Anchored = false
  316. acs.CanCollide = false
  317. acs.CFrame = PART.CFrame
  318. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  319. weldBetween(PART,acs)
  320. elseif TYPE == "Eye" then
  321. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  322. acs.Anchored = false
  323. acs.CanCollide = false
  324. acs.CFrame = PART.CFrame
  325. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  326. weldBetween(PART,acs)
  327. end
  328. end
  329.  
  330. createaccessory(Head,"http://www.roblox.com/asset/?id=121910245","http://www.roblox.com/asset/?id=121947422",VT(0.7,0.6,0.7),VT(0,0.1,-0.05),BrickColor.new("Pearl"))
  331.  
  332. --//=================================\\
  333. --|| USEFUL VALUES
  334. --\\=================================//
  335.  
  336. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  337. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  338. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  339. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  340. local CO1 = 0
  341. local CO2 = 0
  342. local CO3 = 0
  343. local CO4 = 0
  344. local CHANGEDEFENSE = 0
  345. local CHANGEDAMAGE = 0
  346. local CHANGEMOVEMENT = 0
  347. local ANIM = "Idle"
  348. local ATTACK = false
  349. local EQUIPPED = false
  350. local HOLD = false
  351. local COMBO = 1
  352. local LASTPOINT = nil
  353. local BLCF = nil
  354. local SCFR = nil
  355. local STAGGERHITANIM = false
  356. local STAGGERANIM = false
  357. local STUNANIM = false
  358. local CRITCHANCENUMBER = 0
  359. local IDLENUMBER = 0
  360. local DONUMBER = 0
  361. local HANDIDLE = false
  362. local SINE = 0
  363. local CHANGE = 2 / Animation_Speed
  364. local WALKINGANIM = false
  365. local WALK = 0
  366. local SHIELD = false
  367. local DISABLEJUMPING = false
  368. local HASBEENBLOCKED = false
  369. local STUNDELAYNUMBER = 0
  370. local MANADELAYNUMBER = 0
  371. local SECONDARYMANADELAYNUMBER = 0
  372. local ROBLOXIDLEANIMATION = IT("Animation")
  373. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  374. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  375. --ROBLOXIDLEANIMATION.Parent = Humanoid
  376. local WEAPONGUI = IT("ScreenGui", nil)
  377. WEAPONGUI.Name = "Weapon GUI"
  378. local WEAPONTOOL = IT("HopperBin", nil)
  379. WEAPONTOOL.Name = Weapon_Name
  380. local Weapon = IT("Model")
  381. Weapon.Name = Weapon_Name
  382. local Effects = IT("Folder", Weapon)
  383. Effects.Name = "Effects"
  384. local ANIMATOR = Humanoid.Animator
  385. local ANIMATE = Character.Animate
  386. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  387. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  388. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  389. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  390. local HURTSOUND = "1080625252"
  391. local DEATHSOUNDS = {"340963282", "340963317"}
  392. local UNANCHOR = true
  393.  
  394. --//=================================\\
  395. --\\=================================//
  396.  
  397. --//=================================\\
  398. --|| STATS
  399. --\\=================================//
  400.  
  401. if Character:FindFirstChild("Stats") ~= nil then
  402. Character:FindFirstChild("Stats").Parent = nil
  403. end
  404.  
  405. local Stats = IT("Folder", nil)
  406. Stats.Name = "Stats"
  407. local ChangeStat = IT("Folder", Stats)
  408. ChangeStat.Name = "ChangeStat"
  409. local Defense = IT("NumberValue", Stats)
  410. Defense.Name = "Defense"
  411. Defense.Value = 1
  412. local Movement = IT("NumberValue", Stats)
  413. Movement.Name = "Movement"
  414. Movement.Value = 1
  415. local Damage = IT("NumberValue", Stats)
  416. Damage.Name = "Damage"
  417. Damage.Value = 1
  418. local Mana = IT("NumberValue", Stats)
  419. Mana.Name = "Mana"
  420. Mana.Value = 0
  421. local SecondaryMana = IT("NumberValue", Stats)
  422. SecondaryMana.Name = "SecondaryMana"
  423. SecondaryMana.Value = 0
  424. local CanCrit = IT("BoolValue", Stats)
  425. CanCrit.Name = "CanCrit"
  426. CanCrit.Value = false
  427. local CritChance = IT("NumberValue", Stats)
  428. CritChance.Name = "CritChance"
  429. CritChance.Value = 20
  430. local CanPenetrateArmor = IT("BoolValue", Stats)
  431. CanPenetrateArmor.Name = "CanPenetrateArmor"
  432. CanPenetrateArmor.Value = false
  433. local AntiTeamKill = IT("BoolValue", Stats)
  434. AntiTeamKill.Name = "AntiTeamKill"
  435. AntiTeamKill.Value = false
  436. local Rooted = IT("BoolValue", Stats)
  437. Rooted.Name = "Rooted"
  438. Rooted.Value = false
  439. local Block = IT("BoolValue", Stats)
  440. Block.Name = "Block"
  441. Block.Value = false
  442. local RecentEnemy = IT("ObjectValue", Stats)
  443. RecentEnemy.Name = "RecentEnemy"
  444. RecentEnemy.Value = nil
  445. local StaggerHit = IT("BoolValue", Stats)
  446. StaggerHit.Name = "StaggerHit"
  447. StaggerHit.Value = false
  448. local Stagger = IT("BoolValue", Stats)
  449. Stagger.Name = "Stagger"
  450. Stagger.Value = false
  451. local Stun = IT("BoolValue", Stats)
  452. Stun.Name = "Stun"
  453. Stun.Value = false
  454. local StunValue = IT("NumberValue", Stats)
  455. StunValue.Name = "StunValue"
  456. StunValue.Value = 0
  457.  
  458.  
  459. --//=================================\\
  460. --\\=================================//
  461.  
  462.  
  463.  
  464.  
  465.  
  466. --//=================================\\
  467. --|| DEBUFFS / BUFFS
  468. --\\=================================//
  469.  
  470. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  471. DEFENSECHANGE1.Name = "ChangeDefense"
  472. DEFENSECHANGE1.Value = 0
  473.  
  474. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  475. MOVEMENTCHANGE1.Name = "ChangeMovement"
  476. MOVEMENTCHANGE1.Value = 0
  477.  
  478. --//=================================\\
  479. --\\=================================//
  480.  
  481.  
  482.  
  483.  
  484.  
  485. --//=================================\\
  486. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  487. --\\=================================//
  488.  
  489. ArtificialHB = Instance.new("BindableEvent", script)
  490. ArtificialHB.Name = "ArtificialHB"
  491.  
  492. script:WaitForChild("ArtificialHB")
  493.  
  494. frame = Frame_Speed
  495. tf = 0
  496. allowframeloss = false
  497. tossremainder = false
  498. lastframe = tick()
  499. script.ArtificialHB:Fire()
  500.  
  501. game:GetService("RunService").Heartbeat:connect(function(s, p)
  502. tf = tf + s
  503. if tf >= frame then
  504. if allowframeloss then
  505. script.ArtificialHB:Fire()
  506. lastframe = tick()
  507. else
  508. for i = 1, math.floor(tf / frame) do
  509. script.ArtificialHB:Fire()
  510. end
  511. lastframe = tick()
  512. end
  513. if tossremainder then
  514. tf = 0
  515. else
  516. tf = tf - frame * math.floor(tf / frame)
  517. end
  518. end
  519. end)
  520.  
  521. --//=================================\\
  522. --\\=================================//
  523.  
  524.  
  525.  
  526.  
  527.  
  528. --//=================================\\
  529. --|| SOME FUNCTIONS
  530. --\\=================================//
  531.  
  532. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  533. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  534. end
  535.  
  536. function PositiveAngle(NUMBER)
  537. if NUMBER >= 0 then
  538. NUMBER = 0
  539. end
  540. return NUMBER
  541. end
  542.  
  543. function NegativeAngle(NUMBER)
  544. if NUMBER <= 0 then
  545. NUMBER = 0
  546. end
  547. return NUMBER
  548. end
  549.  
  550. function Swait(NUMBER)
  551. if NUMBER == 0 or NUMBER == nil then
  552. ArtificialHB.Event:wait()
  553. else
  554. for i = 1, NUMBER do
  555. ArtificialHB.Event:wait()
  556. end
  557. end
  558. end
  559.  
  560. function QuaternionFromCFrame(cf)
  561. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  562. local trace = m00 + m11 + m22
  563. if trace > 0 then
  564. local s = math.sqrt(1 + trace)
  565. local recip = 0.5 / s
  566. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  567. else
  568. local i = 0
  569. if m11 > m00 then
  570. i = 1
  571. end
  572. if m22 > (i == 0 and m00 or m11) then
  573. i = 2
  574. end
  575. if i == 0 then
  576. local s = math.sqrt(m00 - m11 - m22 + 1)
  577. local recip = 0.5 / s
  578. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  579. elseif i == 1 then
  580. local s = math.sqrt(m11 - m22 - m00 + 1)
  581. local recip = 0.5 / s
  582. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  583. elseif i == 2 then
  584. local s = math.sqrt(m22 - m00 - m11 + 1)
  585. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  586. end
  587. end
  588. end
  589.  
  590. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  591. local xs, ys, zs = x + x, y + y, z + z
  592. local wx, wy, wz = w * xs, w * ys, w * zs
  593. local xx = x * xs
  594. local xy = x * ys
  595. local xz = x * zs
  596. local yy = y * ys
  597. local yz = y * zs
  598. local zz = z * zs
  599. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  600. end
  601.  
  602. function QuaternionSlerp(a, b, t)
  603. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  604. local startInterp, finishInterp;
  605. if cosTheta >= 0.0001 then
  606. if (1 - cosTheta) > 0.0001 then
  607. local theta = ACOS(cosTheta)
  608. local invSinTheta = 1 / SIN(theta)
  609. startInterp = SIN((1 - t) * theta) * invSinTheta
  610. finishInterp = SIN(t * theta) * invSinTheta
  611. else
  612. startInterp = 1 - t
  613. finishInterp = t
  614. end
  615. else
  616. if (1 + cosTheta) > 0.0001 then
  617. local theta = ACOS(-cosTheta)
  618. local invSinTheta = 1 / SIN(theta)
  619. startInterp = SIN((t - 1) * theta) * invSinTheta
  620. finishInterp = SIN(t * theta) * invSinTheta
  621. else
  622. startInterp = t - 1
  623. finishInterp = t
  624. end
  625. end
  626. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  627. end
  628.  
  629. function Clerp(a, b, t)
  630. local qa = {QuaternionFromCFrame(a)}
  631. local qb = {QuaternionFromCFrame(b)}
  632. local ax, ay, az = a.x, a.y, a.z
  633. local bx, by, bz = b.x, b.y, b.z
  634. local _t = 1 - t
  635. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  636. end
  637.  
  638. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  639. local frame = IT("Frame")
  640. frame.BackgroundTransparency = TRANSPARENCY
  641. frame.BorderSizePixel = BORDERSIZEPIXEL
  642. frame.Position = POSITION
  643. frame.Size = SIZE
  644. frame.BackgroundColor3 = COLOR
  645. frame.BorderColor3 = BORDERCOLOR
  646. frame.Name = NAME
  647. frame.Parent = PARENT
  648. return frame
  649. end
  650.  
  651. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  652. local label = IT("TextLabel")
  653. label.BackgroundTransparency = 1
  654. label.Size = UD2(1, 0, 1, 0)
  655. label.Position = UD2(0, 0, 0, 0)
  656. label.TextColor3 = C3(255, 255, 255)
  657. label.TextStrokeTransparency = STROKETRANSPARENCY
  658. label.TextTransparency = TRANSPARENCY
  659. label.FontSize = TEXTFONTSIZE
  660. label.Font = TEXTFONT
  661. label.BorderSizePixel = BORDERSIZEPIXEL
  662. label.TextScaled = true
  663. label.Text = TEXT
  664. label.Name = NAME
  665. label.Parent = PARENT
  666. return label
  667. end
  668.  
  669. function NoOutlines(PART)
  670. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  671. end
  672.  
  673.  
  674. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  675. local NEWWELD = IT(TYPE)
  676. NEWWELD.Part0 = PART0
  677. NEWWELD.Part1 = PART1
  678. NEWWELD.C0 = C0
  679. NEWWELD.C1 = C1
  680. NEWWELD.Parent = PARENT
  681. return NEWWELD
  682. end
  683.  
  684. function CreateSound(ID, PARENT, VOLUME, PITCH)
  685. --coroutine.resume(coroutine.create(function()
  686. local NEWSOUND = IT("Sound", PARENT)
  687. NEWSOUND.Volume = VOLUME
  688. NEWSOUND.Pitch = PITCH
  689. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  690. NEWSOUND:play()
  691. game:GetService("Debris"):AddItem(NEWSOUND, 100)
  692. return NEWSOUND
  693. --end))
  694. end
  695.  
  696. function CFrameFromTopBack(at, top, back)
  697. local right = top:Cross(back)
  698. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  699. end
  700.  
  701. --//=================================\\
  702. --\\=================================//
  703.  
  704.  
  705.  
  706.  
  707. --//=================================\\
  708. --|| WEAPON CREATION
  709. --\\=================================//
  710.  
  711. if Player_Size ~= 1 then
  712. for _, v in pairs (Weapon:GetChildren()) do
  713. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  714. local p1 = v.Part1
  715. v.Part1 = nil
  716. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  717. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  718. v.Part1 = p1
  719. elseif v.ClassName == "Part" then
  720. for _, b in pairs (v:GetChildren()) do
  721. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  722. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  723. end
  724. end
  725. end
  726. end
  727. end
  728.  
  729. for _, c in pairs(Weapon:GetChildren()) do
  730. if c.ClassName == "Part" then
  731. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  732. end
  733. end
  734.  
  735. Weapon.Parent = Character
  736.  
  737. Humanoid.Died:connect(function()
  738. sick:Stop()
  739. CreateSound("744744924", Head, 50, 1)
  740. ATTACK = true
  741. end)
  742.  
  743. print(Class_Name.." loaded.")
  744.  
  745. --//=================================\\
  746. --|| ATTACK FUNCTIONS AND STUFF
  747. --\\=================================//
  748.  
  749. function killnearest(position,range,maxstrength)
  750. for i,v in ipairs(workspace:GetChildren()) do
  751. local body = v:GetChildren()
  752. for part = 1, #body do
  753. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  754. if(body[part].Position - position).Magnitude < range then
  755. if v.ClassName == "Model" then
  756. v:BreakJoints()
  757. end
  758. table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  759. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  760. end
  761. end
  762. end
  763. if v.ClassName == "Part" then
  764. if v.Anchored == false and (v.Position - position).Magnitude < range then
  765. table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  766. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  767. end
  768. end
  769. end
  770. end
  771.  
  772. function CastRay(StartPos, Vec, Length, Ignore)
  773. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  774. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  775. return RayHit, RayPos
  776. end
  777.  
  778. function omaewamou()
  779. ATTACK = true
  780. Rooted = true
  781. local target = nil
  782. local targettorso = nil
  783. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  784. target = Mouse.Target.Parent.Humanoid
  785. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  786. end
  787. if target ~= nil then
  788. targettorso.Anchored = true
  789. for i=0, 1, 0.1 / Animation_Speed do
  790. Swait()
  791. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  792. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  793. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  794. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  795. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  796. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  797. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  798. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  799. end
  800. local omae = CreateSound("940337206", Head, 50, 1)
  801. repeat
  802. Swait()
  803. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  804. if target then
  805. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  806. end
  807. until omae.Playing == false
  808. if target then
  809. local nani = CreateSound("948494432", targettorso, 50, 1)
  810. repeat
  811. Swait()
  812. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  813. if target then
  814. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  815. end
  816. until nani.Playing == false
  817. target.Parent:BreakJoints()
  818. targettorso.Anchored = false
  819. local boom = Instance.new("Explosion",workspace)
  820. boom.Position = targettorso.Position
  821. CreateSound("691216625", targettorso, 50, 1)
  822. end
  823. end
  824. Rooted = false
  825. ATTACK = false
  826. end
  827.  
  828. function dab()
  829. ATTACK = true
  830. Rooted = true
  831. local lookatmydab = CreateSound("420701460", Head, 50, 1)
  832. sick.Volume = 10
  833. for i=0, 1, 0.1 / Animation_Speed do
  834. killnearest(RootPart.Position,25,150)
  835. Swait()
  836. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
  837. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
  838. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(15), RAD(-35), RAD(-100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*4)
  839. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*4)
  840. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
  841. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
  842. end
  843. repeat
  844. killnearest(RootPart.Position,25,150)
  845. Swait()
  846. until lookatmydab.Playing == false
  847. sick.Volume = 1
  848. ATTACK = false
  849. Rooted = false
  850. end
  851.  
  852. function Taunt()
  853. ATTACK = true
  854. --Rooted = true
  855. for i=0, 2, 0.1 / Animation_Speed do
  856. Swait()
  857. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  861. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  863. end
  864. local winz = CreateSound("958211048", Head, 50, 1)
  865. local loop = 0
  866. repeat
  867. Swait()
  868. loop = loop + 1
  869. if loop == 25 then
  870. loop = 0
  871. Humanoid.Jump = true
  872. end
  873. until winz.Playing == false
  874. ATTACK = false
  875. --Rooted = false
  876. end
  877.  
  878. function shield()
  879. if SHIELD == false then
  880. SHIELD = true
  881. print("WOA!")
  882. coroutine.resume(coroutine.create(function()
  883. local woa = IT("Part",Effects)
  884. woa.Size = VT(5,12,0)
  885. woa.CFrame = RootPart.CFrame * CF(0,3,-7)
  886. woa.Anchored = true
  887. local mesh = IT("SpecialMesh",woa)
  888. mesh.MeshType = "FileMesh"
  889. mesh.MeshId = "rbxassetid://1044207043"
  890. mesh.TextureId = "rbxassetid://1044207051"
  891. mesh.Scale = VT(3,3,3)
  892. CreateSound("638062404", woa, 50, 1)
  893. local woosh = woa.Touched:Connect(function(hit)
  894. if hit.Parent.ClassName == "Model" then
  895. hit.Parent:BreakJoints()
  896. CreateSound("978878312", hit, 2, 1)
  897. elseif hit.ClassName == "Part" and hit.Anchored == false then
  898. hit:remove()
  899. end
  900. end)
  901. repeat
  902. Swait()
  903. woa.CFrame = RootPart.CFrame * CF(0,3,-7)
  904. until SHIELD == false
  905. woosh:disconnect()
  906. CreateSound("638062404", woa, 50, 1)
  907. woa.Anchored = false
  908. local bv = Instance.new("BodyVelocity")
  909. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  910. bv.velocity = RootPart.CFrame.lookVector*150
  911. bv.Parent = woa
  912. bv.Name = "DASH"
  913. local paw = woa.Touched:Connect(function(hit)
  914. if hit.Parent.ClassName == "Model" then
  915. woa:remove()
  916. hit.Parent:BreakJoints()
  917. CreateSound("978878312", hit, 2, 1)
  918. end
  919. end)
  920. end))
  921. elseif SHIELD == true then
  922. SHIELD = false
  923. end
  924. end
  925.  
  926. function gonuts()
  927. ATTACK = true
  928. Rooted = true
  929. sick:Stop()
  930. local ohno = CreateSound("254418283", Effects, 5, 1)
  931. coroutine.resume(coroutine.create(function()
  932. repeat
  933. for i=0, 1.3, 0.1 / Animation_Speed do
  934. Swait()
  935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  939. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  940. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  941. end
  942. if ohno.Playing == true then
  943. for i=0, 1.3, 0.1 / Animation_Speed do
  944. Swait()
  945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(120)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-70)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  949. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  950. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  951. end
  952. end
  953. until ohno.Playing == false
  954. end))
  955. repeat
  956. Swait()
  957. q = workspace:GetChildren()
  958. for i = 1, #q do
  959. local child = q[i]
  960. if child.ClassName == "Model" and child:FindFirstChild("Humanoid") and child ~= Character then
  961. if child:FindFirstChild("MYEARS") == nil then
  962. local MYEARS = IT("NumberValue",child)
  963. MYEARS.Name = "MYEARS"
  964. else
  965. child.MYEARS.Value = child.MYEARS.Value + 1
  966. if child.MYEARS.Value >= 450 then
  967. if child:FindFirstChild("Head") then
  968. child.Head:remove()
  969. local tors = child:FindFirstChild("Torso") or child:FindFirstChild("UpperTorso")
  970. CreateSound(DEATHSOUNDS[MRANDOM(1,#DEATHSOUNDS)], tors, 5, 1)
  971. end
  972. else
  973. if child.Head:FindFirstChild("AAAGH") == nil then
  974. local nu = CreateSound(HURTSOUND, child.Head, 5, 1)
  975. nu.Name = "AAAGH"
  976. end
  977. end
  978. end
  979. end
  980. end
  981. until ohno.Playing == false
  982. sick:Play()
  983. ATTACK = false
  984. Rooted = false
  985. end
  986.  
  987. --//=================================\\
  988. --|| ASSIGN THINGS TO KEYS
  989. --\\=================================//
  990.  
  991. Humanoid.Changed:connect(function(Jump)
  992. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  993. Humanoid.Jump = false
  994. end
  995. end)
  996.  
  997. function MouseDown(Mouse)
  998. if ATTACK == false then
  999. omaewamou()
  1000. end
  1001. end
  1002.  
  1003. function MouseUp(Mouse)
  1004. HOLD = false
  1005. end
  1006.  
  1007. function KeyDown(Key)
  1008. if Key == "e" and ATTACK == false then
  1009. dab()
  1010. end
  1011. if Key == "t" and ATTACK == false then
  1012. Taunt()
  1013. end
  1014. if Key == "g" and ATTACK == false then
  1015. shield()
  1016. end
  1017. if Key == "x" and ATTACK == false then
  1018. gonuts()
  1019. end
  1020. end
  1021.  
  1022. function KeyUp(Key)
  1023. end
  1024.  
  1025. Mouse.Button1Down:connect(function(NEWKEY)
  1026. MouseDown(NEWKEY)
  1027. end)
  1028. Mouse.Button1Up:connect(function(NEWKEY)
  1029. MouseUp(NEWKEY)
  1030. end)
  1031. Mouse.KeyDown:connect(function(NEWKEY)
  1032. KeyDown(NEWKEY)
  1033. end)
  1034. Mouse.KeyUp:connect(function(NEWKEY)
  1035. KeyUp(NEWKEY)
  1036. end)
  1037.  
  1038. --//=================================\\
  1039. --\\=================================//
  1040.  
  1041.  
  1042. function unanchor()
  1043. if UNANCHOR == true then
  1044. g = Character:GetChildren()
  1045. for i = 1, #g do
  1046. if g[i].ClassName == "Part" then
  1047. g[i].Anchored = false
  1048. end
  1049. end
  1050. end
  1051. end
  1052.  
  1053.  
  1054. --//=================================\\
  1055. --|| WRAP THE WHOLE SCRIPT UP
  1056. --\\=================================//
  1057.  
  1058. Humanoid.Changed:connect(function(Jump)
  1059. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1060. Humanoid.Jump = false
  1061. end
  1062. end)
  1063.  
  1064. local ff = Instance.new("ForceField",Character)
  1065. ff.Visible = false
  1066.  
  1067. ANIMATE.Parent = nil
  1068. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1069. IDLEANIMATION:Play()
  1070.  
  1071. while true do
  1072. Swait()
  1073. SINE = SINE + CHANGE
  1074. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1075. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1076. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1077. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1078. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1079. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1080. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1081. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1082. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1083. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1084. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1085. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1086. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1087. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1088. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1089. end
  1090. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1091. ANIM = "Jump"
  1092. if ATTACK == false then
  1093. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1094. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1095. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1096. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1097. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1098. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1099. end
  1100. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1101. ANIM = "Fall"
  1102. if ATTACK == false then
  1103. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1107. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1109. end
  1110. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1111. ANIM = "Idle"
  1112. if ATTACK == false then
  1113. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1114. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1115. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1116. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1117. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1119. end
  1120. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1121. ANIM = "Walk"
  1122. WALK = WALK + 1 / Animation_Speed
  1123. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1124. WALK = 0
  1125. if WALKINGANIM == true then
  1126. WALKINGANIM = false
  1127. elseif WALKINGANIM == false then
  1128. WALKINGANIM = true
  1129. end
  1130. end
  1131. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1132. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1133. if ATTACK == false then
  1134. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.3 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1138. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(-35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1140. end
  1141. end
  1142. if #Effects2>0 then
  1143. for e=1,#Effects2 do
  1144. if Effects2[e]~=nil then
  1145. local Thing=Effects2[e]
  1146. if Thing~=nil then
  1147. local Part=Thing[1]
  1148. local Mode=Thing[2]
  1149. local Delay=Thing[3]
  1150. local IncX=Thing[4]
  1151. local IncY=Thing[5]
  1152. local IncZ=Thing[6]
  1153. local Part2=Thing[8]
  1154. if Thing[1].Transparency<=1 then
  1155. if Thing[2]=="Block1" then
  1156. Thing[1].CFrame=Part2.CFrame
  1157. Mesh=Thing[1].Mesh
  1158. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1159. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1160. elseif Thing[2]=="Cylinder" then
  1161. Mesh=Thing[1].Mesh
  1162. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1163. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1164. elseif Thing[2]=="Blood" then
  1165. Mesh=Thing[7]
  1166. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1167. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1168. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1169. elseif Thing[2]=="Elec" then
  1170. Mesh=Thing[1].Mesh
  1171. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1172. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1173. elseif Thing[2]=="Disappear" then
  1174. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1175. end
  1176. else
  1177. Part.Parent=nil
  1178. table.remove(Effects2,e)
  1179. end
  1180. end
  1181. end
  1182. end
  1183. end
  1184. unanchor()
  1185. Humanoid.MaxHealth = "inf"
  1186. Humanoid.Health = "inf"
  1187. if Rooted == false then
  1188. Disable_Jump = false
  1189. Humanoid.WalkSpeed = Speed
  1190. elseif Rooted == true then
  1191. Disable_Jump = true
  1192. Humanoid.WalkSpeed = 0
  1193. end
  1194. q = Character:GetChildren()
  1195. for u = 1, #q do
  1196. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1197. if q[u].Handle:FindFirstChild("FaceFrontAttachment") then
  1198. q[u]:remove()
  1199. end
  1200. end
  1201. end
  1202. end
  1203.  
  1204. --//=================================\\
  1205. --\\=================================//
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211. --//====================================================\\--
  1212. --|| END OF SCRIPT
  1213. --\\====================================================//--
  1214.  
  1215. --[[PointCoded's Edit Of The Titan Script]]--
  1216. --[[Old]]--
  1217.  
  1218. local p = game.Players.LocalPlayer
  1219. local char = p.Character
  1220. local mouse = p:GetMouse()
  1221. local larm = char["Left Arm"]
  1222. local rarm = char["Right Arm"]
  1223. local TitanBet = ";"
  1224. local lleg = char["Left Leg"]
  1225. local rleg = char["Right Leg"]
  1226. local hed = char.Head
  1227. local torso = char.Torso
  1228. local hum = char.Humanoid
  1229. local cam = game.Workspace.CurrentCamera
  1230. local root = char.HumanoidRootPart
  1231. local deb = false
  1232. local shot = 0
  1233. local l = game:GetService("Lighting")
  1234. local rs = game:GetService("RunService").RenderStepped
  1235. local stanceToggle = "Normal"
  1236. local Mana = Instance.new("IntValue", char)
  1237. Mana.Value = 5000
  1238. Mana.Name = "Mana"
  1239. math.randomseed(os.time())
  1240. hum.WalkSpeed = 50
  1241. char.Health:Destroy()
  1242. hum.MaxHealth = math.huge
  1243. wait(0.1)
  1244. hum.Health = math.huge
  1245. ----------------------------------------------------
  1246. local G = Instance.new("ScreenGui")
  1247. G.Parent = p.PlayerGui
  1248. G.Name = "Mana"
  1249. local T = Instance.new("TextLabel")
  1250. T.Name = "Mana"
  1251. T.Parent = G
  1252. T.Text = "Mana: "..char.Mana.Value
  1253. T.FontSize = "Size24"
  1254. T.BackgroundTransparency = 1
  1255. T.TextColor3 = Color3.new(255,255,255)
  1256. T.TextStrokeTransparency = 0
  1257. T.Position = UDim2.new(0,250,0,400)
  1258. T.BorderSizePixel = 0
  1259. --//
  1260. for i = 1,30 do
  1261. Instance.new('Fire',larm); Instance.new('Fire',rarm)
  1262. end
  1263. --//
  1264. Debounces = {
  1265. on = false;
  1266. ks = false;
  1267. CanAttack = true;
  1268. CanJoke = true;
  1269. NoIdl = false;
  1270. Slashing = false;
  1271. Slashed = false;
  1272. Grabbing = false;
  1273. Grabbed = false;
  1274. }
  1275. local Touche = {char.Name, }
  1276. ----------------------------------------------------
  1277. function lerp(a, b, t) -- Linear interpolation
  1278. return a + (b - a)*t
  1279. end
  1280.  
  1281. function slerp(a, b, t) --Spherical interpolation
  1282. dot = a:Dot(b)
  1283. if dot > 0.99999 or dot < -0.99999 then
  1284. return t <= 0.5 and a or b
  1285. else
  1286. r = math.acos(dot)
  1287. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1288. end
  1289. end
  1290.  
  1291. function matrixInterpolate(a, b, t)
  1292. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1293. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1294. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1295. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1296. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1297. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1298. local t = v1:Dot(v2)
  1299. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1300. return CFrame.new()
  1301. end
  1302. return CFrame.new(
  1303. v0.x, v0.y, v0.z,
  1304. v1.x, v1.y, v1.z,
  1305. v2.x, v2.y, v2.z,
  1306. v3.x, v3.y, v3.z)
  1307. end
  1308. ----------------------------------------------------//Mesh setting
  1309. local cmeshes = {}
  1310. 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)
  1311. ll.BodyPart = 'LeftLeg'
  1312. rl.BodyPart = 'RightLeg'
  1313. la.BodyPart = 'LeftArm'
  1314. ra.BodyPart = 'RightArm'
  1315. t.BodyPart = 'Torso'
  1316. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
  1317. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,18051314
  1318. t.MeshId,t.OverlayTextureId=68241695,18051314
  1319.  
  1320. ----------------------------------------------------
  1321. function genWeld(a,b)
  1322. local w = Instance.new("Weld",a)
  1323. w.Part0 = a
  1324. w.Part1 = b
  1325. return w
  1326. end
  1327. function weld(a, b)
  1328. local weld = Instance.new("Weld")
  1329. weld.Name = "W"
  1330. weld.Part0 = a
  1331. weld.Part1 = b
  1332. weld.C0 = a.CFrame:inverse() * b.CFrame
  1333. weld.Parent = a
  1334. return weld;
  1335. end
  1336. ----------------------------------------------------
  1337. function Lerp(c1,c2,al)
  1338. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1339. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1340. for i,v in pairs(com1) do
  1341. com1[i] = v+(com2[i]-v)*al
  1342. end
  1343. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1344. end
  1345. ----------------------------------------------------
  1346. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1347. local wld = Instance.new("Weld", wp1)
  1348. wld.Part0 = wp0
  1349. wld.Part1 = wp1
  1350. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1351. end
  1352. ----------------------------------------------------
  1353. for i,v in pairs(char:children()) do
  1354. if v:IsA("Hat") then
  1355. v:Destroy()
  1356. end
  1357. end
  1358. for i,v in pairs(hed:children()) do
  1359. if v:IsA("Sound") then
  1360. v:Destroy()
  1361. end
  1362. end
  1363. ----------------------------------------------------
  1364. function HasntTouched(plrname)
  1365. local ret = true
  1366. for _, v in pairs(Touche) do
  1367. if v == plrname then
  1368. ret = false
  1369. end
  1370. end
  1371. return ret
  1372. end
  1373. ----------------------------------------------------
  1374. larm.Size = larm.Size * 2
  1375. rarm.Size = rarm.Size * 2
  1376. lleg.Size = lleg.Size * 2
  1377. rleg.Size = rleg.Size * 2
  1378. torso.Size = torso.Size * 2
  1379. hed.Size = hed.Size * 2
  1380. root.Size = root.Size * 2
  1381. ----------------------------------------------------
  1382. newWeld(torso, larm, -1.5, 1, 0)
  1383. larm.Weld.C1 = CFrame.new(0, 1, 0)
  1384. newWeld(torso, rarm, 1.5, 1, 0)
  1385. rarm.Weld.C1 = CFrame.new(0, 1, 0)
  1386. newWeld(torso, hed, 0, 3, 0)
  1387. newWeld(torso, lleg, -1, -2, 0)
  1388. lleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  1389. newWeld(torso, rleg, 1, -2, 0)
  1390. rleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  1391. newWeld(root, torso, 0, -2, 0)
  1392. torso.Weld.C1 = CFrame.new(0, -2, 0)
  1393. ----------------------------------------------------
  1394.  
  1395. hed.face:Remove''
  1396. hed.Transparency = 0
  1397. local meshx9 = Instance.new('SpecialMesh',hed)
  1398. meshx9.MeshType = 'FileMesh'
  1399. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107'
  1400. meshx9.Scale = Vector3.new(2,2,2)
  1401.  
  1402.  
  1403.  
  1404. lite = Instance.new("PointLight", torso)
  1405. lite.Brightness = 14
  1406. lite.Range = 10
  1407. lite.Color = Color3.new(1, 0, 0)
  1408. local hed2 = hed:Clone()
  1409. hed2.CanCollide = false
  1410. hed2.Parent = char
  1411. hed2:ClearAllChildren()
  1412. hed2.Transparency = 1
  1413. hed2.Name = "DARP"
  1414. local w = Instance.new("Weld",hed2)
  1415. w.Part0 = hed
  1416. w.Part1 = hed2
  1417. w.C0 = CFrame.new(0,0,-0.175)
  1418. z=Instance.new("SurfaceGui",hed2)
  1419. z.Enabled = true
  1420. z.Face = "Front"
  1421. z.Adornee = hed2
  1422. z.CanvasSize = Vector2.new(100,100)
  1423. local face = Instance.new("ImageLabel",z)
  1424. face.Size = UDim2.new(1,-30,1,0)
  1425. face.Position = UDim2.new(0,15,0,0)
  1426. face.BackgroundTransparency = 1
  1427. face.Image='rbxassetid://46282671'
  1428. ----------------------------------------------------
  1429. local m = Instance.new("Model")
  1430. m.Name = "Absolution"
  1431. p1 = Instance.new("Part", m)
  1432. p1.BrickColor = BrickColor.new("Really black")
  1433. p1.FormFactor = Enum.FormFactor.Custom
  1434. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  1435. 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)
  1436. p1.CanCollide = false
  1437. p1.Locked = true
  1438. p1.Elasticity = 0
  1439. p1.BottomSurface = Enum.SurfaceType.Smooth
  1440. p1.TopSurface = Enum.SurfaceType.Smooth
  1441. b1 = Instance.new("SpecialMesh", p1)
  1442. b1.MeshType = Enum.MeshType.Wedge
  1443. b1.Name = "Mesh"
  1444. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  1445. p2 = Instance.new("Part", m)
  1446. p2.BrickColor = BrickColor.new("Really black")
  1447. p2.FormFactor = Enum.FormFactor.Custom
  1448. p2.Size = Vector3.new(1, 2.9000001, 1)
  1449. 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)
  1450. p2.CanCollide = false
  1451. p2.Locked = true
  1452. p2.Elasticity = 0
  1453. p2.BottomSurface = Enum.SurfaceType.Smooth
  1454. p2.TopSurface = Enum.SurfaceType.Smooth
  1455. b2 = Instance.new("BlockMesh", p2)
  1456. b2.Name = "Mesh"
  1457. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1458. p3 = Instance.new("Part", m)
  1459. p3.BrickColor = BrickColor.new("Really black")
  1460. p3.FormFactor = Enum.FormFactor.Custom
  1461. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  1462. 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)
  1463. p3.CanCollide = false
  1464. p3.Locked = true
  1465. p3.Elasticity = 0
  1466. p3.BottomSurface = Enum.SurfaceType.Smooth
  1467. p3.TopSurface = Enum.SurfaceType.Smooth
  1468. b3 = Instance.new("SpecialMesh", p3)
  1469. b3.MeshType = Enum.MeshType.Wedge
  1470. b3.Name = "Mesh"
  1471. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  1472. p4 = Instance.new("Part", m)
  1473. p4.BrickColor = BrickColor.new("Really black")
  1474. p4.FormFactor = Enum.FormFactor.Custom
  1475. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  1476. 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)
  1477. p4.CanCollide = false
  1478. p4.Locked = true
  1479. p4.Elasticity = 0
  1480. p4.BottomSurface = Enum.SurfaceType.Smooth
  1481. p4.TopSurface = Enum.SurfaceType.Smooth
  1482. b4 = Instance.new("SpecialMesh", p4)
  1483. b4.MeshType = Enum.MeshType.Wedge
  1484. b4.Name = "Mesh"
  1485. b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1486. p5 = Instance.new("Part", m)
  1487. p5.BrickColor = BrickColor.new("Really black")
  1488. p5.FormFactor = Enum.FormFactor.Custom
  1489. p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
  1490. 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)
  1491. p5.CanCollide = false
  1492. p5.Locked = true
  1493. p5.Elasticity = 0
  1494. p5.BottomSurface = Enum.SurfaceType.Smooth
  1495. p5.TopSurface = Enum.SurfaceType.Smooth
  1496. b5 = Instance.new("SpecialMesh", p5)
  1497. b5.MeshType = Enum.MeshType.Wedge
  1498. b5.Name = "Mesh"
  1499. b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  1500. p6 = Instance.new("Part", m)
  1501. p6.Name = "Handle"
  1502. p6.BrickColor = BrickColor.new(192)
  1503. p6.FormFactor = Enum.FormFactor.Custom
  1504. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  1505. 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)
  1506. p6.CanCollide = false
  1507. p6.Locked = true
  1508. p6.Elasticity = 0
  1509. p6.BottomSurface = Enum.SurfaceType.Smooth
  1510. p6.TopSurface = Enum.SurfaceType.Smooth
  1511. b6 = Instance.new("BlockMesh", p6)
  1512. b6.Name = "Mesh"
  1513. b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1514. p7 = Instance.new("Part", m)
  1515. p7.BrickColor = BrickColor.new("Really black")
  1516. p7.FormFactor = Enum.FormFactor.Custom
  1517. p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
  1518. 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)
  1519. p7.CanCollide = false
  1520. p7.Locked = true
  1521. p7.Elasticity = 0
  1522. p7.BottomSurface = Enum.SurfaceType.Smooth
  1523. p7.TopSurface = Enum.SurfaceType.Smooth
  1524. b7 = Instance.new("SpecialMesh", p7)
  1525. b7.MeshType = Enum.MeshType.Wedge
  1526. b7.Name = "Mesh"
  1527. b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1528. p8 = Instance.new("Part", m)
  1529. p8.BrickColor = BrickColor.new("Really black")
  1530. p8.FormFactor = Enum.FormFactor.Custom
  1531. p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
  1532. 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)
  1533. p8.CanCollide = false
  1534. p8.Locked = true
  1535. p8.Elasticity = 0
  1536. p8.BottomSurface = Enum.SurfaceType.Smooth
  1537. p8.TopSurface = Enum.SurfaceType.Smooth
  1538. b8 = Instance.new("SpecialMesh", p8)
  1539. b8.MeshType = Enum.MeshType.Wedge
  1540. b8.Name = "Mesh"
  1541. b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1542. p9 = Instance.new("Part", m)
  1543. p9.BrickColor = BrickColor.new("Really black")
  1544. p9.FormFactor = Enum.FormFactor.Custom
  1545. p9.Size = Vector3.new(1, 1.07999957, 1)
  1546. 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)
  1547. p9.CanCollide = false
  1548. p9.Locked = true
  1549. p9.Elasticity = 0
  1550. p9.BottomSurface = Enum.SurfaceType.Smooth
  1551. p9.TopSurface = Enum.SurfaceType.Smooth
  1552. b9 = Instance.new("BlockMesh", p9)
  1553. b9.Name = "Mesh"
  1554. b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  1555. p10 = Instance.new("Part", m)
  1556. p10.BrickColor = BrickColor.new("Really black")
  1557. p10.FormFactor = Enum.FormFactor.Custom
  1558. p10.Size = Vector3.new(1, 1.41999948, 1)
  1559. 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)
  1560. p10.CanCollide = false
  1561. p10.Locked = true
  1562. p10.Elasticity = 0
  1563. p10.BottomSurface = Enum.SurfaceType.Smooth
  1564. p10.TopSurface = Enum.SurfaceType.Smooth
  1565. b10 = Instance.new("BlockMesh", p10)
  1566. b10.Name = "Mesh"
  1567. b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1568. p11 = Instance.new("Part", m)
  1569. p11.BrickColor = BrickColor.new("Really black")
  1570. p11.FormFactor = Enum.FormFactor.Custom
  1571. p11.Size = Vector3.new(1, 1.50999951, 1)
  1572. 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)
  1573. p11.CanCollide = false
  1574. p11.Locked = true
  1575. p11.Elasticity = 0
  1576. p11.BottomSurface = Enum.SurfaceType.Smooth
  1577. p11.TopSurface = Enum.SurfaceType.Smooth
  1578. b11 = Instance.new("BlockMesh", p11)
  1579. b11.Name = "Mesh"
  1580. b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  1581. p12 = Instance.new("Part", m)
  1582. p12.Name = "BladeCenter"
  1583. p12.BrickColor = BrickColor.new("")
  1584. p12.Material = Enum.Material.Concrete
  1585. p12.FormFactor = Enum.FormFactor.Symmetric
  1586. p12.Size = Vector3.new(1, 2, 2)
  1587. 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)
  1588. p12.CanCollide = false
  1589. p12.Locked = true
  1590. p12.BottomSurface = Enum.SurfaceType.Smooth
  1591. p12.TopSurface = Enum.SurfaceType.Smooth
  1592. b12 = Instance.new("SpecialMesh", p12)
  1593. b12.MeshType = Enum.MeshType.Brick
  1594. b12.Name = "Mesh"
  1595. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  1596. p13 = Instance.new("Part", m)
  1597. p13.BrickColor = BrickColor.new("Really black")
  1598. p13.FormFactor = Enum.FormFactor.Custom
  1599. p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
  1600. 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)
  1601. p13.CanCollide = false
  1602. p13.Locked = true
  1603. p13.Elasticity = 0
  1604. p13.BottomSurface = Enum.SurfaceType.Smooth
  1605. p13.TopSurface = Enum.SurfaceType.Smooth
  1606. b13 = Instance.new("BlockMesh", p13)
  1607. b13.Name = "Mesh"
  1608. b13.Scale = Vector3.new(1, 1, 0.400000006)
  1609. p14 = Instance.new("Part", m)
  1610. p14.BrickColor = BrickColor.new("Really black")
  1611. p14.FormFactor = Enum.FormFactor.Custom
  1612. p14.Size = Vector3.new(2.5, 2.17999935, 1)
  1613. 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)
  1614. p14.CanCollide = false
  1615. p14.Locked = true
  1616. p14.Elasticity = 0
  1617. p14.BottomSurface = Enum.SurfaceType.Smooth
  1618. p14.TopSurface = Enum.SurfaceType.Smooth
  1619. b14 = Instance.new("BlockMesh", p14)
  1620. b14.Name = "Mesh"
  1621. b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1622. p15 = Instance.new("Part", m)
  1623. p15.BrickColor = BrickColor.new("Really black")
  1624. p15.FormFactor = Enum.FormFactor.Custom
  1625. p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
  1626. 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)
  1627. p15.CanCollide = false
  1628. p15.Locked = true
  1629. p15.Material = "Neon"
  1630. p15.Elasticity = 0
  1631. p15.BottomSurface = Enum.SurfaceType.Smooth
  1632. p15.TopSurface = Enum.SurfaceType.Smooth
  1633. b15 = Instance.new("BlockMesh", p15)
  1634. b15.Name = "Mesh"
  1635. b15.Scale = Vector3.new(1, 1, 0.400000006)
  1636. p16 = Instance.new("Part", m)
  1637. p16.BrickColor = BrickColor.new("Really black")
  1638. p16.FormFactor = Enum.FormFactor.Custom
  1639. p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
  1640. 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)
  1641. p16.CanCollide = false
  1642. p16.Locked = true
  1643. p16.Material = "Neon"
  1644. p16.Elasticity = 0
  1645. p16.BottomSurface = Enum.SurfaceType.Smooth
  1646. p16.TopSurface = Enum.SurfaceType.Smooth
  1647. b16 = Instance.new("BlockMesh", p16)
  1648. b16.Name = "Mesh"
  1649. b16.Scale = Vector3.new(1, 1, 0.400000006)
  1650. p17 = Instance.new("Part", m)
  1651. p17.BrickColor = BrickColor.new("Really black")
  1652. p17.FormFactor = Enum.FormFactor.Custom
  1653. p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
  1654. 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)
  1655. p17.CanCollide = false
  1656. p17.Material = "Neon"
  1657. p17.Locked = true
  1658. p17.Elasticity = 0
  1659. p17.BottomSurface = Enum.SurfaceType.Smooth
  1660. p17.TopSurface = Enum.SurfaceType.Smooth
  1661. b17 = Instance.new("BlockMesh", p17)
  1662. b17.Name = "Mesh"
  1663. b17.Scale = Vector3.new(1, 1, 0.400000006)
  1664. p18 = Instance.new("WedgePart", m)
  1665. p18.BrickColor = BrickColor.new("Black")
  1666. p18.Material = "Neon"
  1667. p18.Name = "BladePart1"
  1668. p18.Material = Enum.Material.Concrete
  1669. p18.Name = "Wedge"
  1670. p18.FormFactor = Enum.FormFactor.Symmetric
  1671. p18.Size = Vector3.new(1, 4, 2)
  1672. 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)
  1673. p18.CanCollide = false
  1674. p18.Locked = true
  1675. p18.BottomSurface = Enum.SurfaceType.Smooth
  1676. p18.TopSurface = Enum.SurfaceType.Smooth
  1677. b18 = Instance.new("SpecialMesh", p18)
  1678. b18.MeshType = Enum.MeshType.Wedge
  1679. b18.Name = "Mesh"
  1680. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  1681. p19 = Instance.new("WedgePart", m)
  1682. p19.BrickColor = BrickColor.new("Institutional white")
  1683. p19.Name = "BladePart2"
  1684. p19.Material = "Neon"
  1685. p19.Material = Enum.Material.Concrete
  1686. p19.Name = "Wedge"
  1687. p19.FormFactor = Enum.FormFactor.Symmetric
  1688. p19.Size = Vector3.new(1, 4, 2)
  1689. 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)
  1690. p19.CanCollide = false
  1691. p19.Locked = true
  1692. p19.BottomSurface = Enum.SurfaceType.Smooth
  1693. p19.TopSurface = Enum.SurfaceType.Smooth
  1694. b19 = Instance.new("SpecialMesh", p19)
  1695. b19.MeshType = Enum.MeshType.Wedge
  1696. b19.Name = "Mesh"
  1697. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  1698. p20 = Instance.new("Part", m)
  1699. p20.BrickColor = BrickColor.new("Really black")
  1700. p20.FormFactor = Enum.FormFactor.Custom
  1701. p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
  1702. 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)
  1703. p20.CanCollide = false
  1704. p20.Material = "Neon"
  1705. p20.Locked = true
  1706. p20.Elasticity = 0
  1707. p20.BottomSurface = Enum.SurfaceType.Smooth
  1708. p20.TopSurface = Enum.SurfaceType.Smooth
  1709. b20 = Instance.new("BlockMesh", p20)
  1710. b20.Name = "Mesh"
  1711. b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  1712. p21 = Instance.new("Part", m)
  1713. p21.BrickColor = BrickColor.new("Really black")
  1714. p21.FormFactor = Enum.FormFactor.Custom
  1715. p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
  1716. 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)
  1717. p21.CanCollide = false
  1718. p21.Locked = true
  1719. p21.Elasticity = 0
  1720. p21.BottomSurface = Enum.SurfaceType.Smooth
  1721. p21.TopSurface = Enum.SurfaceType.Smooth
  1722. b21 = Instance.new("SpecialMesh", p21)
  1723. b21.MeshType = Enum.MeshType.Wedge
  1724. b21.Name = "Mesh"
  1725. b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  1726. w1 = Instance.new("Weld", p1)
  1727. w1.Name = "Part_Weld"
  1728. w1.Part0 = p1
  1729. 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)
  1730. w1.Part1 = p2
  1731. 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)
  1732. w2 = Instance.new("Weld", p2)
  1733. w2.Name = "Part_Weld"
  1734. w2.Part0 = p2
  1735. 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)
  1736. w2.Part1 = p3
  1737. 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)
  1738. w3 = Instance.new("Weld", p3)
  1739. w3.Name = "Part_Weld"
  1740. w3.Part0 = p3
  1741. 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)
  1742. w3.Part1 = p4
  1743. 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)
  1744. w4 = Instance.new("Weld", p4)
  1745. w4.Name = "Part_Weld"
  1746. w4.Part0 = p4
  1747. 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)
  1748. w4.Part1 = p5
  1749. 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)
  1750. w5 = Instance.new("Weld", p5)
  1751. w5.Name = "Part_Weld"
  1752. w5.Part0 = p5
  1753. 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)
  1754. w5.Part1 = p6
  1755. 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)
  1756. w6 = Instance.new("Weld", p6)
  1757. w6.Name = "Part_Weld"
  1758. w6.Part0 = p6
  1759. 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)
  1760. w6.Part1 = p7
  1761. 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)
  1762. w7 = Instance.new("Weld", p7)
  1763. w7.Name = "Part_Weld"
  1764. w7.Part0 = p7
  1765. 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)
  1766. w7.Part1 = p8
  1767. 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)
  1768. w8 = Instance.new("Weld", p8)
  1769. w8.Name = "Part_Weld"
  1770. w8.Part0 = p8
  1771. 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)
  1772. w8.Part1 = p9
  1773. 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)
  1774. w9 = Instance.new("Weld", p9)
  1775. w9.Name = "Part_Weld"
  1776. w9.Part0 = p9
  1777. 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)
  1778. w9.Part1 = p10
  1779. 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)
  1780. w10 = Instance.new("Weld", p10)
  1781. w10.Name = "Part_Weld"
  1782. w10.Part0 = p10
  1783. 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)
  1784. w10.Part1 = p11
  1785. 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)
  1786. w11 = Instance.new("Weld", p11)
  1787. w11.Name = "Part_Weld"
  1788. w11.Part0 = p11
  1789. 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)
  1790. w11.Part1 = p12
  1791. 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)
  1792. w12 = Instance.new("Weld", p12)
  1793. w12.Name = "Part_Weld"
  1794. w12.Part0 = p12
  1795. 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)
  1796. w12.Part1 = p13
  1797. 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)
  1798. w13 = Instance.new("Weld", p13)
  1799. w13.Name = "Part_Weld"
  1800. w13.Part0 = p13
  1801. 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)
  1802. w13.Part1 = p14
  1803. 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)
  1804. w14 = Instance.new("Weld", p14)
  1805. w14.Name = "Part_Weld"
  1806. w14.Part0 = p14
  1807. 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)
  1808. w14.Part1 = p15
  1809. 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)
  1810. w15 = Instance.new("Weld", p15)
  1811. w15.Name = "Part_Weld"
  1812. w15.Part0 = p15
  1813. 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)
  1814. w15.Part1 = p16
  1815. 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)
  1816. w16 = Instance.new("Weld", p16)
  1817. w16.Name = "Part_Weld"
  1818. w16.Part0 = p16
  1819. 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)
  1820. w16.Part1 = p17
  1821. 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)
  1822. w17 = Instance.new("Weld", p17)
  1823. w17.Name = "Wedge_Weld"
  1824. w17.Part0 = p17
  1825. 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)
  1826. w17.Part1 = p18
  1827. 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)
  1828. w18 = Instance.new("Weld", p18)
  1829. w18.Name = "Wedge_Weld"
  1830. w18.Part0 = p18
  1831. 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)
  1832. w18.Part1 = p19
  1833. 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)
  1834. w19 = Instance.new("Weld", p19)
  1835. w19.Name = "Part_Weld"
  1836. w19.Part0 = p19
  1837. 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)
  1838. w19.Part1 = p20
  1839. 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)
  1840. w20 = Instance.new("Weld", p20)
  1841. w20.Name = "Part_Weld"
  1842. w20.Part0 = p20
  1843. 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)
  1844. w20.Part1 = p21
  1845. 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)
  1846. m.Parent = char
  1847. m:MakeJoints()
  1848. ----------------------------------------------------
  1849. local cor = Instance.new("Part", char.Absolution)
  1850. cor.Name = "Thingy"
  1851. cor.Locked = true
  1852. cor.BottomSurface = 0
  1853. cor.CanCollide = false
  1854. cor.Size = Vector3.new(1, 13, 1)
  1855. cor.Transparency = 1
  1856. cor.TopSurface = 0
  1857. corw = Instance.new("Weld", cor)
  1858. corw.Part0 = rarm
  1859. corw.Part1 = cor
  1860. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1861. corw.C1 = CFrame.new(0, 0, 0)
  1862. weld1 = Instance.new("Weld", char.Absolution)
  1863. weld1.Part0 = cor
  1864. weld1.Part1 = p6
  1865. weld1.C0 = CFrame.new(0, 0, 0)
  1866. ----------------------------------------------------
  1867. hitb = Instance.new("Part", char.Absolution)
  1868. hitb.Name = "Thingy2"
  1869. hitb.Locked = true
  1870. hitb.BottomSurface = 0
  1871. hitb.CanCollide = false
  1872. hitb.Size = Vector3.new(0, 8, 6)
  1873. hitb.Transparency = 1
  1874. hitb.TopSurface = 0
  1875. weld2 = Instance.new("Weld", char.Absolution)
  1876. weld2.Part0 = hitb
  1877. weld2.Part1 = p12
  1878. weld2.C0 = CFrame.new(0, .6, 1)
  1879.  
  1880.  
  1881. ----------------------------------------------------
  1882. function weld5(part0, part1, c0, c1)
  1883. weeld=Instance.new("Weld", part0)
  1884. weeld.Part0=part0
  1885. weeld.Part1=part1
  1886. weeld.C0=c0
  1887. weeld.C1=c1
  1888. return weeld
  1889. end
  1890. ----------------------------------------------------
  1891. function newRay(start,face,range,wat)
  1892. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1893. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1894. return rey,hit,pos
  1895. end
  1896. ----------------------------------------------------
  1897. mod5 = Instance.new("Model",char)
  1898.  
  1899. function FindNearestTorso(Position,Distance,SinglePlayer)
  1900. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1901. local List = {}
  1902. for i,v in pairs(workspace:GetChildren())do
  1903. if v:IsA("Model")then
  1904. if v:findFirstChild("Torso")then
  1905. if v ~= char then
  1906. if(v.Torso.Position -Position).magnitude <= Distance then
  1907. table.insert(List,v)
  1908. end
  1909. end
  1910. end
  1911. end
  1912. end
  1913. return List
  1914. end
  1915.  
  1916. function Landing()
  1917. part=Instance.new('Part',mod5)
  1918. part.Anchored=true
  1919. part.CanCollide=false
  1920. part.FormFactor='Custom'
  1921. part.Size=Vector3.new(.2,.2,.2)
  1922. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  1923. part.Transparency=.7
  1924. part.BrickColor=BrickColor.new('Really black')
  1925. mesh=Instance.new('SpecialMesh',part)
  1926. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1927. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1928. mesh.Scale=Vector3.new(10,5,10)
  1929.  
  1930. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  1931. if v:FindFirstChild('Humanoid') then
  1932. v.Humanoid:TakeDamage(math.random(20,30))
  1933. v.Humanoid.PlatformStand = true
  1934. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1935. end
  1936. end
  1937.  
  1938. coroutine.resume(coroutine.create(function()
  1939. for i=0,3.8,0.05 do
  1940. wait()
  1941. part.CFrame=part.CFrame
  1942. part.Transparency=i
  1943. mesh.Scale=mesh.Scale+Vector3.new(3,3,3)
  1944. end
  1945. part.Parent = nil
  1946. end))
  1947. end
  1948. ----------------------------------------------------
  1949. mod4 = Instance.new("Model",char)
  1950.  
  1951. ptez = {0.7, 0.8, 0.9, 1}
  1952.  
  1953. function FindNearestTorso(Position,Distance,SinglePlayer)
  1954. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1955. local List = {}
  1956. for i,v in pairs(workspace:GetChildren())do
  1957. if v:IsA("Model")then
  1958. if v:findFirstChild("Torso")then
  1959. if v ~= char then
  1960. if(v.Torso.Position -Position).magnitude <= Distance then
  1961. table.insert(List,v)
  1962. end
  1963. end
  1964. end
  1965. end
  1966. end
  1967. return List
  1968. end
  1969.  
  1970. function GroundPound()
  1971. part=Instance.new('Part',mod4)
  1972. part.Anchored=true
  1973. part.CanCollide=false
  1974. part.FormFactor='Custom'
  1975. part.Size=Vector3.new(.2,.2,.2)
  1976. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1977. part.Transparency=.7
  1978. part.BrickColor=BrickColor.new('Institutional white')
  1979. mesh=Instance.new('SpecialMesh',part)
  1980. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1981. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1982. mesh.Scale=Vector3.new(3,3,3)
  1983. part2=Instance.new('Part',mod4)
  1984. part2.Anchored=true
  1985. part2.CanCollide=false
  1986. part2.FormFactor='Custom'
  1987. part2.Size=Vector3.new(.2,.2,.2)
  1988. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  1989. part2.Transparency=.7
  1990. part2.BrickColor=BrickColor.new('Institutional white')
  1991. mesh2=Instance.new('SpecialMesh',part2)
  1992. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1993. mesh2.Scale=Vector3.new(3,1.5,3)
  1994. x = Instance.new("Sound",char)
  1995. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1996. x.Pitch = ptez[math.random(1,#ptez)]
  1997. x.Volume = 1
  1998. wait(.1)
  1999. x:Play()
  2000. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  2001. if v:FindFirstChild('Humanoid') then
  2002. v.Humanoid:TakeDamage(math.random(8,15))
  2003. end
  2004. end
  2005. coroutine.resume(coroutine.create(function()
  2006. for i=0,0.62,0.13 do
  2007. wait()
  2008. part.CFrame=part.CFrame
  2009. part.Transparency=i
  2010. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  2011. part2.CFrame=part2.CFrame
  2012. part2.Transparency=i
  2013. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  2014. end
  2015. part.Parent=nil
  2016. part2.Parent=nil
  2017. x:Destroy()
  2018. end))
  2019. end
  2020. ----------------------------------------------------
  2021. mod=Instance.new('Model',char)
  2022.  
  2023. function charge()
  2024. hed.Velocity=hed.CFrame.lookVector*200
  2025. part=Instance.new('Part',mod)
  2026. part.Anchored=true
  2027. part.CanCollide=false
  2028. part.FormFactor='Custom'
  2029. part.Size=Vector3.new(.2,.2,.2)
  2030. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  2031. part.Transparency=.7
  2032. part.Name = "Wow"
  2033. part.BrickColor=BrickColor.new('Black')
  2034. mesh=Instance.new('SpecialMesh',part)
  2035. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2036. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  2037. mesh.Scale=Vector3.new(10,5,10)
  2038. part2=part:clone()
  2039. part2.Parent=mod
  2040. part2.BrickColor=BrickColor.new('Institutional white')
  2041. mesh2=mesh:clone()
  2042. mesh2.Parent=part2
  2043. mesh2.Scale=Vector3.new(20,10,20)
  2044. part3=part2:clone()
  2045. part3.Parent = mod
  2046. part3.BrickColor=BrickColor.new('Cyan')
  2047. mesh3=mesh2:clone()
  2048. mesh2.Parent=part3
  2049. mesh3.Scale=Vector3.new(30,15,30)
  2050. coroutine.resume(coroutine.create(function()
  2051. for i=0,1,0.1 do
  2052. wait()
  2053. part.CFrame=part.CFrame
  2054. part.Transparency=i
  2055. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  2056. part2.CFrame=part2.CFrame
  2057. part2.Transparency=i
  2058. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  2059. part3.CFrame=part3.CFrame
  2060. part3.Transparency=i
  2061. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  2062. end
  2063. part.Parent=nil
  2064. part2.Parent=nil
  2065. part3.Parent = nil
  2066. part1:remove()
  2067. part:remove()
  2068. part2:remove()
  2069. part3:remove()
  2070. end))
  2071. end
  2072. ----------------------------------------------------
  2073. function FindNearestTorso(Position,Distance,SinglePlayer)
  2074. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2075. local List = {}
  2076. for i,v in pairs(workspace:GetChildren())do
  2077. if v:IsA("Model")then
  2078. if v:findFirstChild("Torso")then
  2079. if v ~= char then
  2080. if(v.Torso.Position -Position).magnitude <= Distance then
  2081. table.insert(List,v)
  2082. end
  2083. end
  2084. end
  2085. end
  2086. end
  2087. return List
  2088. end
  2089.  
  2090. mod3 = Instance.new("Model",rleg)
  2091.  
  2092. function Stomp()
  2093. part=Instance.new('Part',mod3)
  2094. part.Anchored=true
  2095. part.CanCollide=false
  2096. part.FormFactor='Custom'
  2097. part.Size=Vector3.new(.2,.2,.2)
  2098. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  2099. part.Transparency=0.7
  2100. part.BrickColor=BrickColor.new('')
  2101. mesh=Instance.new('SpecialMesh',part)
  2102. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  2103. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  2104. mesh.Scale=Vector3.new(25,25,25)
  2105. part2=part:clone()
  2106. part2.Parent=mod3
  2107. part2.BrickColor=BrickColor.new('Deep orange')
  2108. mesh2=mesh:clone()
  2109. mesh2.Parent=part2
  2110. mesh2.Scale=Vector3.new(15,15,15)
  2111. part3=part:clone()
  2112. part3.Parent=mod3
  2113. part3.TopSurface=0
  2114. part3.BottomSurface=0
  2115. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  2116. mesh3=Instance.new('SpecialMesh',part3)
  2117. mesh3.MeshType = 3
  2118. mesh3.Scale=Vector3.new(12,12,12)
  2119. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  2120. if v:FindFirstChild('Humanoid') then
  2121. v.Humanoid:TakeDamage(math.random(20,60))
  2122. v.Humanoid.PlatformStand = true
  2123. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2124. end
  2125. end
  2126. coroutine.resume(coroutine.create(function()
  2127. for i=0,3.8,0.05 do
  2128. wait()
  2129. part.CFrame=part.CFrame
  2130. part.Transparency=i
  2131. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  2132. part2.CFrame=part2.CFrame
  2133. part2.Transparency=i
  2134. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  2135. part3.CFrame=part3.CFrame
  2136. part3.Transparency=i
  2137. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  2138. end
  2139. end))
  2140. end
  2141. ----------------------------------------------------
  2142.  
  2143. local acos = math.acos
  2144. local sqrt = math.sqrt
  2145. local Vec3 = Vector3.new
  2146. local fromAxisAngle = CFrame.fromAxisAngle
  2147.  
  2148. local function toAxisAngle(CFr)
  2149. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2150. local Angle = math.acos((R00+R11+R22-1)/2)
  2151. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2152. A = A == 0 and 0.00001 or A
  2153. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2154. B = B == 0 and 0.00001 or B
  2155. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2156. C = C == 0 and 0.00001 or C
  2157. local x = (R21-R12)/sqrt(A)
  2158. local y = (R02-R20)/sqrt(B)
  2159. local z = (R10-R01)/sqrt(C)
  2160. return Vec3(x,y,z),Angle
  2161. end
  2162.  
  2163. function ApplyTrig(Num,Func)
  2164. local Min,Max = Func(0),Func(1)
  2165. local i = Func(Num)
  2166. return (i-Min)/(Max-Min)
  2167. end
  2168.  
  2169. function LerpCFrame(CFrame1,CFrame2,Num)
  2170. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2171. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2172. end
  2173.  
  2174. function Crater(Torso,Radius)
  2175. Spawn(function()
  2176. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2177. local Ignore = {}
  2178. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2179. if v.Character ~= nil then
  2180. Ignore[#Ignore+1] = v.Character
  2181. end
  2182. end
  2183. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2184. if Hit == nil then return end
  2185. local Parts = {}
  2186. for i = 1,360,10 do
  2187. local P = Instance.new("Part",Torso.Parent)
  2188. P.Anchored = true
  2189. P.FormFactor = "Custom"
  2190. P.BrickColor = Hit.BrickColor
  2191. P.Material = Hit.Material
  2192. P.TopSurface = "Smooth"
  2193. P.BottomSurface = "Smooth"
  2194. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2195. 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)))
  2196. 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}
  2197. if math.random(0,5) == 0 then -- rubble
  2198. local P = Instance.new("Part",Torso.Parent)
  2199. P.Anchored = true
  2200. P.FormFactor = "Custom"
  2201. P.BrickColor = Hit.BrickColor
  2202. P.Material = Hit.Material
  2203. P.TopSurface = "Smooth"
  2204. P.BottomSurface = "Smooth"
  2205. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2206. 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)))
  2207. 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}
  2208. end
  2209. end
  2210. for i = 0,1,0.05 do
  2211. for i2,v in pairs(Parts) do
  2212. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2213. end
  2214. wait(0.02)
  2215. end
  2216. for i,v in pairs(Parts) do
  2217. if v[1].Size.X > 2.1 then
  2218. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2219. end
  2220. v[1].Anchored = false
  2221. end
  2222. for i = 0,1,0.05 do
  2223. for i2,v in pairs(Parts) do
  2224. v[1].Transparency = i
  2225. if i == 1 then
  2226. v[1]:Destroy()
  2227. elseif i >= 0.25 then
  2228. v[1].CanCollide = false
  2229. end
  2230. end
  2231. wait(0.02)
  2232. end
  2233. Parts = nil
  2234. end)
  2235. end
  2236.  
  2237. ----------------------------------------------------
  2238. mouse.KeyDown:connect(function(key)
  2239. if key == "r" and char.Mana.Value>=50 then
  2240. char.Mana.Value = char.Mana.Value - 50
  2241. larm.BrickColor = BrickColor.new("Bright red")
  2242. rarm.BrickColor = BrickColor.new("Bright red")
  2243. if Debounces.CanAttack == true then
  2244. Debounces.CanAttack = false
  2245. Debounces.on = true
  2246. Debounces.NoIdl = true
  2247. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  2248. hit = ht.Parent
  2249. if ht and hit:IsA("Model") then
  2250. if hit:FindFirstChild("Humanoid") then
  2251. if hit.Name ~= p.Name then
  2252. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  2253. wait(1)
  2254. end
  2255. end
  2256. elseif ht and hit:IsA("Hat") then
  2257. if hit.Parent.Name ~= p.Name then
  2258. if hit.Parent:FindFirstChild("Humanoid") then
  2259.  
  2260. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  2261. wait(1)
  2262. --Debounces.Slashed = false
  2263. end
  2264. end
  2265. end
  2266. end)
  2267. q = Instance.new("Sound",hed)
  2268. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  2269. q.Pitch = 0.85
  2270. q.Looped = false
  2271. q1 = Instance.new("Sound",hed)
  2272. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  2273. q1.Pitch = 0.85
  2274. q1.Looped = false
  2275. q:Play()
  2276. q1:Play()
  2277. for i = 1,20 do
  2278. 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)
  2279. 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)
  2280. 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)
  2281. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  2282. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  2283. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  2284. 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)
  2285. if Debounces.on == false then break end
  2286. wait()
  2287. end
  2288. n = Instance.new("Sound",hed)
  2289. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  2290. n.Pitch = 0.94
  2291. n.Looped = false
  2292. n1 = Instance.new("Sound",hed)
  2293. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  2294. n1.Pitch = 0.94
  2295. n1.Looped = false
  2296. n:Play()
  2297. n1:Play()
  2298. b = Instance.new("Sound",hed)
  2299. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  2300. b.Pitch = 0.94
  2301. b.Looped = false
  2302. b1 = Instance.new("Sound",hed)
  2303. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  2304. b1.Pitch = 0.94
  2305. b1.Looped = false
  2306. b:Play()
  2307. b1:Play()
  2308. for i = 1,26 do
  2309. 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)
  2310. 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)
  2311. 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)
  2312. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  2313. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  2314. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  2315. 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)
  2316. if Debounces.on == false then break end
  2317. wait()
  2318. end
  2319. wait(.5)
  2320. to:disconnect()
  2321. q:Destroy()
  2322. q1:Destroy()
  2323. n:Destroy()
  2324. n1:Destroy()
  2325. larm.BrickColor = BrickColor.new("Really black")
  2326. rarm.BrickColor = BrickColor.new("Really black")
  2327. if Debounces.CanAttack == false then
  2328. Debounces.CanAttack = true
  2329. Debounces.on = false
  2330. Debounces.NoIdl = false
  2331. end
  2332. end
  2333. end
  2334. end)
  2335. ----------------------------------------------------
  2336. mouse.KeyDown:connect(function(key)
  2337. if key == "q" and char.Mana.Value>=50 then
  2338. char.Mana.Value = char.Mana.Value - 50
  2339. larm.BrickColor = BrickColor.new("Bright red")
  2340. rarm.BrickColor = BrickColor.new("Bright red")
  2341. if Debounces.CanAttack == true then
  2342. Debounces.CanAttack = false
  2343. Debounces.on = true
  2344. Debounces.NoIdl = true
  2345. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  2346. hit = ht.Parent
  2347. if ht and hit:IsA("Model") then
  2348. if hit:FindFirstChild("Humanoid") then
  2349. if hit.Name ~= p.Name then
  2350. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  2351. wait(1)
  2352. --Debounces.Slashed = false
  2353. --end
  2354. end
  2355. end
  2356. elseif ht and hit:IsA("Hat") then
  2357. if hit.Parent.Name ~= p.Name then
  2358. if hit.Parent:FindFirstChild("Humanoid") then
  2359. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  2360. wait(1)
  2361. --Debounces.Slashed = false
  2362. end
  2363. end
  2364. end
  2365. end)
  2366. for i = 1, 20 do
  2367. 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)
  2368. 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)
  2369. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  2370. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  2371. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  2372. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  2373. 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)
  2374. if Debounces.on == false then break end
  2375. wait()
  2376. end
  2377. z = Instance.new("Sound",hed)
  2378. z.SoundId = "rbxassetid://160069154"
  2379. z.Looped = false
  2380. z.Pitch = .9
  2381. z1 = Instance.new("Sound",hed)
  2382. z1.SoundId = "rbxassetid://160069154"
  2383. z1.Looped = false
  2384. z1.Pitch = .9
  2385. wait(0.01)
  2386. z:Play()
  2387. z1:Play()
  2388. for i = 1, 12 do
  2389. 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)
  2390. 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)
  2391. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  2392. 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)
  2393. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  2394. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  2395. 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)
  2396. if Debounces.on == false then break end
  2397. wait()
  2398. end
  2399. for i = 1, 12 do
  2400. 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)
  2401. 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)
  2402. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  2403. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  2404. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  2405. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  2406. 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)
  2407. if Debounces.on == false then break end
  2408. wait()
  2409. end
  2410. z = Instance.new("Sound",hed)
  2411. z.SoundId = "rbxassetid://168586621"
  2412. z.Looped = false
  2413. z.Pitch = 1
  2414. z1 = Instance.new("Sound",hed)
  2415. z1.SoundId = "rbxassetid://168586621"
  2416. z1.Looped = false
  2417. z1.Pitch = 1
  2418. wait(0.01)
  2419. z:Play()
  2420. z1:Play()
  2421. for i = 1, 12 do
  2422. 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)
  2423. 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)
  2424. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
  2425. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
  2426. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
  2427. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
  2428. 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)
  2429. if Debounces.on == false then break end
  2430. wait()
  2431. end
  2432. to:disconnect()
  2433. larm.BrickColor = BrickColor.new("Really black")
  2434. rarm.BrickColor = BrickColor.new("Really black")
  2435. if Debounces.CanAttack == false then
  2436. Debounces.CanAttack = true
  2437. Debounces.on = false
  2438. Debounces.NoIdl = false
  2439. end
  2440. end
  2441. end
  2442. end)
  2443. ----------------------------------------------------
  2444. Sit = false
  2445. mouse.KeyDown:connect(function(key)
  2446. if key == "v" then
  2447. if Sit == false then
  2448. Sit = true
  2449. hum.WalkSpeed = 20
  2450. stanceToggle = "Sitting"
  2451. elseif Sit == true then
  2452. Sit = false
  2453. hum.WalkSpeed = 50
  2454. stanceToggle = "Normal"
  2455. end
  2456. end
  2457. end)
  2458. ----------------------------------------------------
  2459. mouse.KeyDown:connect(function(key)
  2460. if key == "t" and char.Mana.Value>=50 then
  2461. char.Mana.Value = char.Mana.Value - 50
  2462. if Debounces.CanAttack == true then
  2463. Debounces.CanAttack = false
  2464. Debounces.on = true
  2465. Debounces.NoIdl = true
  2466. for i = 1, 25 do
  2467. 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)
  2468. 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)
  2469. 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)
  2470. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  2471. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
  2472. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  2473. 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)
  2474. if Debounces.on == false then break end
  2475. wait()
  2476. end
  2477. Spawn(function()
  2478. local Parts = {}
  2479. for Y = -5,5 do
  2480. local P = Instance.new("Part",char)
  2481. P.Anchored = true
  2482. P.FormFactor = "Custom"
  2483. P.CanCollide = false
  2484. P.Size = Vector3.new(1,1,1)
  2485. P.TopSurface = "SmoothNoOutlines"
  2486. P.BottomSurface = "SmoothNoOutlines"
  2487. P.BrickColor = BrickColor.new("Really black")
  2488. P.Material = "Neon"
  2489. P.Name = tostring(Y)
  2490. local i = (Y+5)/(10)
  2491. i = 1-math.cos(math.pi*i-(math.pi/2))
  2492. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*6),0,0)
  2493. P.Touched:connect(function(ht)
  2494. local hit = ht.Parent
  2495. if hit:FindFirstChild("Humanoid") then
  2496. hit.Humanoid:TakeDamage(math.random(100,math.huge))
  2497. end
  2498. end)
  2499. s = Instance.new("Sound",P)
  2500. s.SoundId = "rbxassetid://228343271"
  2501. s.Volume = .7
  2502. s.Pitch = 0.9
  2503. s:Play()
  2504. P.Touched:connect(function(ht)
  2505. hit = ht.Parent
  2506. if ht and hit:IsA("Model") then
  2507. if hit:FindFirstChild("Humanoid") then
  2508. if hit.Name ~= p.Name then
  2509.  
  2510. hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  2511. hit:FindFirstChild("Humanoid").PlatformStand = true
  2512. wait(1)
  2513. --Debounces.Slashed = false
  2514. --end
  2515. end
  2516. end
  2517. elseif ht and hit:IsA("Hat") then
  2518. if hit.Parent.Name ~= p.Name then
  2519. if hit.Parent:FindFirstChild("Humanoid") then
  2520.  
  2521. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  2522. hit:FindFirstChild("Humanoid").PlatformStand = true
  2523. wait(1)
  2524. --Debounces.Slashed = false
  2525. --end
  2526. end
  2527. end
  2528. end
  2529. end)
  2530. Parts[#Parts+1] = P
  2531. end
  2532. local BREAKIT = false
  2533. local CParts = {}
  2534. local Rocks = {}
  2535. local LastPos = nil
  2536. for i = 1,70 do
  2537. for i2,v in pairs(Parts) do
  2538. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  2539. local cf = v.CFrame
  2540. v.Size = v.Size+Vector3.new(1,1,1)
  2541. v.CFrame = cf
  2542. v.Transparency = v.Transparency+0.02
  2543. if v.Transparency >= 0.975 then BREAKIT = true end
  2544. if v.Name == "0" then
  2545. local Ignore = {}
  2546. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2547. if v.Character ~= nil then
  2548. Ignore[#Ignore+1] = v.Character
  2549. end
  2550. end
  2551. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  2552. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  2553. if Hit ~= nil then
  2554. if #Rocks == 0 then
  2555. for i = 1,5 do
  2556. local P = Instance.new("Part",char)
  2557. Rocks[#Rocks+1] = P
  2558. P.Anchored = true
  2559. P.FormFactor = "Custom"
  2560. P.BrickColor = Hit.BrickColor
  2561. P.Material = Hit.Material
  2562. P.TopSurface = "Smooth"
  2563. P.BottomSurface = "Smooth"
  2564. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  2565. end
  2566. end
  2567. for i,P in pairs(Rocks) do
  2568. 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)))
  2569. end
  2570. local P = Instance.new("Part",char)
  2571. CParts[#CParts+1] = {P,tick()}
  2572. P.Anchored = true
  2573. P.FormFactor = "Custom"
  2574. P.BrickColor = Hit.BrickColor
  2575. P.Material = Hit.Material
  2576. P.TopSurface = "Smooth"
  2577. P.BottomSurface = "Smooth"
  2578. P.Size = Vector3.new(5,5,5)*(math.random(100,300)/100)
  2579. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  2580. Pos = Pos.p
  2581. 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)))
  2582. local P = P:Clone()
  2583. CParts[#CParts+1] = {P,tick()}
  2584. P.Parent = char
  2585. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  2586. Pos = Pos.p
  2587. 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)))
  2588. if LastPos ~= nil then
  2589. local P = P:Clone()
  2590. CParts[#CParts+1] = {P,tick()}
  2591. P.Parent = char
  2592. P.BrickColor = BrickColor.new("Really black")
  2593. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  2594. Pos = Pos.p
  2595. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  2596. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.30)
  2597. --P.Velocity = Vector3.new(0,-1000,0)
  2598. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  2599. end
  2600. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  2601. end
  2602. end
  2603. end
  2604. if BREAKIT then break end
  2605. wait(0.002)
  2606. end
  2607. for i,v in pairs(Rocks) do
  2608. CParts[#CParts+1] = {v,tick()}
  2609. end
  2610. for i,v in pairs(Parts) do
  2611. v:Destroy()
  2612. end
  2613. Parts = nil
  2614. while true do
  2615. local t = tick()
  2616. local p = nil
  2617. for i,v in pairs(CParts) do
  2618. if t-v[2] > 4 then
  2619. v[1].Transparency = v[1].Transparency+0.05
  2620. if v[1].Transparency >= 1 then
  2621. v[1]:Destroy()
  2622. CParts[i] = nil
  2623. end
  2624. end
  2625. p = v
  2626. end
  2627. if p == nil then break end
  2628. wait(0.002)
  2629. end
  2630. for i,v in pairs(CParts) do
  2631. v:Destroy()
  2632. end
  2633. CParts = {}
  2634. end)
  2635. for i = 1, 20 do
  2636. 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)
  2637. 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)
  2638. 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)
  2639. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
  2640. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
  2641. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
  2642. 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)
  2643. if Debounces.on == false then break end
  2644. wait()
  2645. end
  2646. if Debounces.CanAttack == false then
  2647. Debounces.CanAttack = true
  2648. Debounces.on = false
  2649. Debounces.NoIdl = false
  2650. end
  2651. end
  2652. end
  2653. end)
  2654. ----------------------------------------------------
  2655. mouse.KeyDown:connect(function(key)
  2656. if key == "e" and char.Mana.Value>=50 then
  2657. char.Mana.Value = char.Mana.Value - 50
  2658. larm.BrickColor = BrickColor.new("Bright red")
  2659. rarm.BrickColor = BrickColor.new("Bright red")
  2660. if Debounces.CanAttack == true then
  2661. Debounces.CanAttack = false
  2662. Debounces.on = true
  2663. Debounces.NoIdl = true
  2664. for i = 1, 18 do
  2665. 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)
  2666. 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)
  2667. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2668. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  2669. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  2670. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2671. 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)
  2672. if Debounces.on == false then break end
  2673. wait()
  2674. end
  2675. 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))
  2676. local rng = Instance.new("Part", char.Absolution.Handle)
  2677. rng.Anchored = true
  2678. rng.BrickColor = BrickColor.new("Really black")
  2679. rng.CanCollide = true
  2680. rng.FormFactor = 3
  2681. rng.Name = "Ring"
  2682. rng.Size = Vector3.new(1, 1, 1)
  2683. rng.CanCollide = false
  2684. rng.Transparency = 0.35
  2685. rng.TopSurface = 0
  2686. rng.BottomSurface = 0
  2687. rng.CFrame = HandCF
  2688. local rngm = Instance.new("SpecialMesh", rng)
  2689. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2690. rngm.Scale = Vector3.new(1, 1, 2)
  2691. x = Instance.new("Sound", hed)
  2692. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2693. x.Looped = false
  2694. x.Pitch = .7
  2695. x.Volume = 1
  2696. x1 = Instance.new("Sound", hed)
  2697. x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2698. x1.Looped = false
  2699. x1.Pitch = .7
  2700. x1.Volume = 1
  2701. x:Play()
  2702. x1:Play()
  2703. rngto = rng.Touched:connect(function(ht)
  2704. hit = ht.Parent
  2705. if ht and hit:IsA("Model") then
  2706. if hit:FindFirstChild("Humanoid") then
  2707. if hit.Name ~= p.Name then
  2708.  
  2709. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  2710. hit:FindFirstChild("Humanoid").PlatformStand = true
  2711. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  2712. --Debounces.Slashed = false
  2713. --end
  2714. end
  2715. end
  2716. elseif ht and hit:IsA("Hat") then
  2717. if hit.Parent.Name ~= p.Name then
  2718. if hit.Parent:FindFirstChild("Humanoid") then
  2719.  
  2720. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  2721. hit:FindFirstChild("Humanoid").PlatformStand = true
  2722. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  2723. --Debounces.Slashed = false
  2724. end
  2725. end
  2726. end
  2727. end)
  2728. coroutine.wrap(function()
  2729. for i = 1, 60, 2 do
  2730. rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 10)
  2731. rng.Size = rngm.Scale
  2732. rng.CFrame = HandCF
  2733. rng.Transparency = i/60
  2734. wait()
  2735. end
  2736. wait()
  2737. rng:Destroy()
  2738. end)()
  2739. for i = 1, 18 do
  2740. 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)
  2741. 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)
  2742. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2743. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  2744. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  2745. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2746. 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)
  2747. if Debounces.on == false then break end
  2748. wait()
  2749. end
  2750. larm.BrickColor = BrickColor.new("Really black")
  2751. rarm.BrickColor = BrickColor.new("Really black")
  2752. x:Destroy()
  2753. x1:Destroy()
  2754. if Debounces.CanAttack == false then
  2755. Debounces.CanAttack = true
  2756. Debounces.on = false
  2757. Debounces.NoIdl = false
  2758. end
  2759. end
  2760. end
  2761. end)
  2762. ----------------------------------------------------
  2763. mouse.KeyDown:connect(function(key)
  2764. if key == "y" then
  2765. if Debounces.CanAttack == true then
  2766. Debounces.CanAttack = false
  2767. Debounces.on = true
  2768. Debounces.NoIdl = true
  2769. for i = 1, 15 do
  2770. 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)
  2771. 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)
  2772. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2773. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
  2774. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2775. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2776. 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)
  2777. if Debounces.on == false then break end
  2778. wait()
  2779. end
  2780. x = Instance.new("Sound",char)
  2781. x.SoundId = "rbxassetid://228343271"
  2782. x.Pitch = 1
  2783. x.Volume = .8
  2784. wait(.1)
  2785. x:Play()
  2786. Debounces.on = false
  2787. Debounces.Here = false
  2788. shot = shot + 1
  2789. local rng = Instance.new("Part", char)
  2790. rng.Anchored = true
  2791. rng.BrickColor = BrickColor.new("Really black")
  2792. rng.CanCollide = false
  2793. rng.FormFactor = 3
  2794. rng.Name = "Ring"
  2795. rng.Size = Vector3.new(1, 1, 1)
  2796. rng.Transparency = 0.35
  2797. rng.TopSurface = 0
  2798. rng.BottomSurface = 0
  2799. rng2 = rng:clone()
  2800. rng3 = rng2:clone()
  2801. rng4 = rng2:clone()
  2802. local rngm = Instance.new("SpecialMesh", rng)
  2803. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2804. rngm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  2805. rngm.Scale = Vector3.new(10, 10, 1)
  2806. rngm2 = rngm:clone()
  2807. rngm2.Scale = Vector3.new(5, 5, 1)
  2808. rngm3=rngm2:clone()
  2809. rngm3.Parent = rng3
  2810. rngm3.Scale = Vector3.new(8, 8, 1)
  2811. rngm4 = rngm2:clone()
  2812. rngm4.Parent = rng4
  2813. rngm4.Scale = Vector3.new(6, 6, 1)
  2814. local bem = Instance.new("Part", char)
  2815. bem.Anchored = true
  2816. bem.BrickColor = BrickColor.new("Really black")
  2817. bem.CanCollide = false
  2818. bem.FormFactor = 3
  2819. bem.Name = "Beam" .. shot
  2820. bem.Size = Vector3.new(1, 1, 1)
  2821. bem.Transparency = 0.35
  2822. bem.TopSurface = 0
  2823. bem.BottomSurface = 0
  2824. local bemm = Instance.new("SpecialMesh", bem)
  2825. bemm.MeshType = 4
  2826. bemm.Scale = Vector3.new(1, 4, 4)
  2827. local out = Instance.new("Part", char)
  2828. out.Anchored = true
  2829. out.BrickColor = BrickColor.new("Really black")
  2830. out.CanCollide = false
  2831. out.FormFactor = 3
  2832. out.Name = "Out"
  2833. out.Size = Vector3.new(4, 4, 4)
  2834. out.Transparency = 0.35
  2835. out.TopSurface = 0
  2836. out.BottomSurface = 0
  2837. local outm = Instance.new("SpecialMesh", out)
  2838. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2839. outm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  2840. outm.Scale = Vector3.new(4, 4, 4)
  2841. local bnd = Instance.new("Part", char)
  2842. bnd.Anchored = true
  2843. bnd.BrickColor = BrickColor.new("Really black")
  2844. bnd.CanCollide = false
  2845. bnd.FormFactor = 3
  2846. bnd.Material = "Neon"
  2847. bnd.Name = "Bend"
  2848. bnd.Size = Vector3.new(1, 1, 1)
  2849. bnd.Transparency = 1
  2850. bnd.TopSurface = 0
  2851. bnd.BottomSurface = 0
  2852. local bndm = Instance.new("SpecialMesh", bnd)
  2853. bndm.MeshType = 3
  2854. bndm.Scale = Vector3.new(8, 8, 8)
  2855. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2856. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2857. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2858. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2859. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2860. rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
  2861. Debounces.Shewt = true
  2862. coroutine.wrap(function()
  2863. for i = 1, 50, 0.2 do
  2864. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2865. rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2866. rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
  2867. rng.Transparency = i/20
  2868. rng3.Transparency = 1/16
  2869. rng4.Transparency = i/12
  2870. wait()
  2871. end
  2872. wait()
  2873. rng:Destroy()
  2874. end)()
  2875. if Debounces.Shewt == true then
  2876. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2877. hit = ht.Parent
  2878. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2879. if HasntTouched(hit.Name) == true and deb == false then
  2880. deb = true
  2881. coroutine.wrap(function()
  2882. hit:FindFirstChild("Humanoid").PlatformStand = true
  2883. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2884. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2885. end)()
  2886. table.insert(Touche, hit.Name)
  2887. deb = false
  2888. end
  2889. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2890. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2891. deb = true
  2892. coroutine.wrap(function()
  2893. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2894. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2895. wait(1)
  2896. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2897. end)()
  2898. table.insert(Touche, hit.Parent.Name)
  2899. deb = false
  2900. for i, v in pairs(Touche) do
  2901. print(v)
  2902. end
  2903. end
  2904. end
  2905. end)
  2906. end
  2907. for i = 0, 260, 8 do
  2908. bem.Size = Vector3.new(i, 2, 2)
  2909. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2910. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2911. bnd.Size = Vector3.new(1,1,1)
  2912. bndm.Scale = Vector3.new(8,8,8)
  2913. if i % 10 == 0 then
  2914. local newRng = rng2:Clone()
  2915. newRng.Parent = char
  2916. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2917. local newRngm = rngm2:clone()
  2918. newRngm.Parent=newRng
  2919. coroutine.wrap(function()
  2920. for i = 1, 10, 0.2 do
  2921. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2922. newRng.Transparency = i/10
  2923. wait()
  2924. end
  2925. wait()
  2926. newRng:Destroy()
  2927. end)()
  2928. end
  2929. wait()
  2930. end
  2931. wait()
  2932. Debounces.Shewt = false
  2933. bem:Destroy()
  2934. out:Destroy()
  2935. bnd:Destroy()
  2936. Debounces.Ready = false
  2937. for i, v in pairs(Touche) do
  2938. table.remove(Touche, i)
  2939. end
  2940. wait()
  2941. table.insert(Touche, char.Name)
  2942. Debounces.NoIdl = false
  2943. if Debounces.CanAttack == false then
  2944. Debounces.CanAttack = true
  2945. end
  2946. end
  2947. end
  2948. end)
  2949. ----------------------------------------------------
  2950. sidz = {"231917888", "231917845", "231917806"}
  2951. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  2952. mouse.KeyDown:connect(function(key)
  2953. if key == "f" and char.Mana.Value>=50 then
  2954. char.Mana.Value = char.Mana.Value - 50
  2955. larm.BrickColor = BrickColor.new("Really black")
  2956. rarm.BrickColor = BrickColor.new("Camo")
  2957. if Debounces.CanAttack == true then
  2958. Debounces.CanAttack = false
  2959. Debounces.on = true
  2960. Debounces.NoIdl = true
  2961. for i = 1, 10 do
  2962. 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)
  2963. 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)
  2964. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  2965. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  2966. 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)
  2967. 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)
  2968. 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)
  2969. if Debounces.on == false then break end
  2970. wait()
  2971. end
  2972. z = Instance.new("Sound",char)
  2973. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  2974. z.Pitch = ptz[math.random(1,#ptz)]
  2975. z.Volume = 1
  2976. z1 = Instance.new("Sound",char)
  2977. z1.SoundId = z.SoundId
  2978. z1.Pitch = z.Pitch
  2979. z1.Volume = 1
  2980. wait(1)
  2981. z:Play()
  2982. z1:Play()
  2983. Stomp()
  2984. for i = 1, 20 do
  2985. 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)
  2986. 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)
  2987. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2988. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  2989. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  2990. 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)
  2991. 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)
  2992. if Debounces.on == false then break end
  2993. wait()
  2994. end
  2995. if Debounces.CanAttack == false then
  2996. Debounces.CanAttack = true
  2997. Debounces.on = false
  2998. Debounces.NoIdl = false
  2999. larm.BrickColor = BrickColor.new("Really black")
  3000. rarm.BrickColor = BrickColor.new("Really black")
  3001. end
  3002. end
  3003. end
  3004. end)
  3005. ----------------------------------------------------
  3006. mouse.KeyDown:connect(function(key)
  3007. if key == "g" and char.Mana.Value>5 then
  3008. char.Mana.Value = char.Mana.Value - 5
  3009. larm.BrickColor = BrickColor.new("Camo")
  3010. rarm.BrickColor = BrickColor.new("Really black")
  3011. if Debounces.CanAttack == true then
  3012. Debounces.CanAttack = false
  3013. Debounces.on = true
  3014. Debounces.NoIdl = true
  3015. chrg = lleg.Touched:connect(function(ht)
  3016. hit = ht.Parent
  3017. if ht and hit:IsA("Model") then
  3018. if hit:FindFirstChild("Humanoid") then
  3019. if hit.Name ~= p.Name then
  3020.  
  3021. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  3022. hit:FindFirstChild("Humanoid").PlatformStand = true
  3023. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  3024. --Debounces.Slashed = false
  3025. --end
  3026. end
  3027. end
  3028. elseif ht and hit:IsA("Hat") then
  3029. if hit.Parent.Name ~= p.Name then
  3030. if hit.Parent:FindFirstChild("Humanoid") then
  3031.  
  3032. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  3033. hit:FindFirstChild("Humanoid").PlatformStand = true
  3034. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  3035. --Debounces.Slashed = false
  3036. end
  3037. end
  3038. end
  3039. end)
  3040. for i = 1, 14 do
  3041. 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)
  3042. 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)
  3043. 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)
  3044. 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)
  3045. 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)
  3046. 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)
  3047. 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)
  3048. if Debounces.on == false then break end
  3049. wait()
  3050. end
  3051. charge()
  3052. z = Instance.new("Sound",char)
  3053. z.SoundId = "rbxassetid://200632875"
  3054. z.Volume = 1
  3055. z.Pitch = .8
  3056. z1 = Instance.new("Sound",char)
  3057. z1.SoundId = "rbxassetid://200632875"
  3058. z1.Volume = 1
  3059. z1.Pitch = .9
  3060. z:Play()
  3061. z1:Play()
  3062. wait(1)
  3063. z:Destroy()
  3064. z1:Destroy()
  3065. chrg:disconnect()
  3066. if Debounces.CanAttack == false then
  3067. Debounces.CanAttack = true
  3068. Debounces.on = false
  3069. Debounces.NoIdl = false
  3070. larm.BrickColor = BrickColor.new("Really black")
  3071. rarm.BrickColor = BrickColor.new("Really black")
  3072. end
  3073. end
  3074. end
  3075. end)
  3076. ----------------------------------------------------
  3077. pt = {0.7, 0.8, 0.9}
  3078. mouse.KeyDown:connect(function(key)
  3079. if key == "h" and char.Mana.Value>50 then
  3080. char.Mana.Value = char.Mana.Value - 50
  3081. if Debounces.CanJoke == true then
  3082. Debounces.CanJoke = false
  3083. u = Instance.new("Sound")
  3084. u.SoundId = "http://www.roblox.com/asset/?id=138199573"
  3085. u.Parent = char
  3086. u.Looped = false
  3087. u.Pitch = pt[math.random(1,#pt)]
  3088. u.Volume = 1
  3089. u2 = Instance.new("Sound")
  3090. u2.SoundId = "http://www.roblox.com/asset/?id=138199573"
  3091. u2.Parent = char
  3092. u2.Looped = false
  3093. u2.Pitch = u.Pitch
  3094. u2.Volume = 1
  3095. wait(.01)
  3096. u:Play()
  3097. u2:Play()
  3098. wait(6)
  3099. u:Destroy()
  3100. u2:Destroy()
  3101. if Debounces.CanJoke == false then
  3102. Debounces.CanJoke = true
  3103. end
  3104. end
  3105. end
  3106. end)
  3107. ----------------------------------------------------
  3108. mouse.KeyDown:connect(function(key)
  3109. if key == "j" and char.Mana.Value> 30 then
  3110. char.Mana.Value = char.Mana.Value-30
  3111. if Debounces.CanJoke == true then
  3112. Debounces.CanJoke = false
  3113. z = Instance.new("Sound",char)
  3114. z.SoundId = "rbxassetid://135017755"
  3115. z.Pitch = .76
  3116. z.Volume = 1
  3117. wait()
  3118. z:Play()
  3119. wait(6)
  3120. z:Destroy()
  3121. if Debounces.CanJoke == false then
  3122. Debounces.CanJoke = true
  3123. end
  3124. end
  3125. end
  3126. end)
  3127. ----------------------------------------------------
  3128. mouse.KeyDown:connect(function(key)
  3129. if key == "k" and char.Mana.Value> 10 then
  3130. char.Mana.Value = char.Mana.Value -10
  3131. if Debounces.CanJoke == true then
  3132. Debounces.CanJoke = false
  3133. z = Instance.new("Sound",char)
  3134. z.SoundId = "rbxassetid://135017578"
  3135. z.Pitch = .76
  3136. z.Volume = 1
  3137. wait()
  3138. z:Play()
  3139. wait(4)
  3140. z:Destroy()
  3141. if Debounces.CanJoke == false then
  3142. Debounces.CanJoke = true
  3143. end
  3144. end
  3145. end
  3146. end)
  3147. ----------------------------------------------------
  3148. mouse.KeyDown:connect(function(key)
  3149. if key == "u" and char.Mana.Value>200 then
  3150. wait(1)
  3151. char.Mana.Value = char.Mana.Value-200
  3152. charge()
  3153. wait(0.6)
  3154. charge()
  3155. wait(0.6)
  3156. charge()
  3157. wait(2)
  3158. end
  3159. end)
  3160. ----------------------------------------------------
  3161. mouse.KeyDown:connect(function(key)
  3162. if key == "x" and char.Mana.Value>50 then
  3163. char.Mana.Value = char.Mana.Value-50
  3164. if Debounces.CanAttack == true then
  3165. Debounces.CanAttack = false
  3166. Debounces.NoIdl = true
  3167. Debounces.on = true
  3168. Debounces.ks = true
  3169. for i = 1, 10 do
  3170. 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)
  3171. 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)
  3172. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  3173. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
  3174. 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)
  3175. 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)
  3176. 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)
  3177. if Debounces.on == false then break end
  3178. wait()
  3179. end
  3180. z = Instance.new("Sound",hed)
  3181. z.SoundId = "rbxassetid://169445092"
  3182. z.Volume = 1
  3183. wait(0.1)
  3184. z:Play()
  3185. kik = rleg.Touched:connect(function(ht)
  3186. hit = ht.Parent
  3187. if ht and hit:IsA("Model") then
  3188. if hit:FindFirstChild("Humanoid") then
  3189. if hit.Name ~= p.Name then
  3190.  
  3191. if Debounces.ks==true then
  3192. z = Instance.new("Sound",hed)
  3193. z.SoundId = "rbxassetid://169380525"
  3194. z.Volume = 1
  3195. z:Play()
  3196. Debounces.ks=false
  3197. end
  3198. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  3199. hit:FindFirstChild("Humanoid").PlatformStand = true
  3200. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  3201. --Debounces.Slashed = false
  3202. --end
  3203. end
  3204. end
  3205. elseif ht and hit:IsA("Hat") then
  3206. if hit.Parent.Name ~= p.Name then
  3207. if hit.Parent:FindFirstChild("Humanoid") then
  3208.  
  3209. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  3210. hit:FindFirstChild("Humanoid").PlatformStand = true
  3211. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  3212. --Debounces.Slashed = false
  3213. --end
  3214. end
  3215. end
  3216. end
  3217. end)
  3218. for i = 1, 8 do
  3219. 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)
  3220. 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)
  3221. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
  3222. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
  3223. 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)
  3224. 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)
  3225. 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)
  3226. if Debounces.on == false then break end
  3227. wait()
  3228. end
  3229. kik:disconnect()
  3230. if Debounces.CanAttack == false then
  3231. Debounces.CanAttack = true
  3232. Debounces.on = false
  3233. Debounces.NoIdl = false
  3234. end
  3235. end
  3236. end
  3237. end)
  3238. ----------------------------------------------------
  3239. mouse.KeyDown:connect(function(key)
  3240. if key == "c" and char.Mana.Value>80 then
  3241. char.Mana.Value = char.Mana.Value -80
  3242. if Debounces.CanAttack == true then
  3243. Debounces.CanAttack = false
  3244. Debounces.NoIdl = true
  3245. Debounces.on = true
  3246. SIDZ = {"231917744", "231917742"}
  3247. PTZ = {0.7, 0.8, 0.9, 1}
  3248. for i = 1, 20 do
  3249. wait()
  3250. for i,v in pairs(char.Absolution:children()) do
  3251. if v:IsA("Part") or v:IsA("WedgePart") then
  3252. v.Transparency = v.Transparency + 0.05
  3253. end
  3254. end
  3255. end
  3256. function FindNearestTorso(Position,Distance,SinglePlayer)
  3257. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3258. local List = {}
  3259. for i,v in pairs(workspace:GetChildren())do
  3260. if v:IsA("Model")then
  3261. if v:findFirstChild("Torso")then
  3262. if v ~= char then
  3263. if(v.Torso.Position -Position).magnitude <= Distance then
  3264. table.insert(List,v)
  3265. end
  3266. end
  3267. end
  3268. end
  3269. end
  3270. return List
  3271. end
  3272. GroundPound()
  3273. for i = 1, 5 do
  3274. 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)
  3275. 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)
  3276. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3277. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3278. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3279. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3280. 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)
  3281. if Debounces.on == false then break end
  3282. wait()
  3283. end
  3284. GroundPound()
  3285. for i = 1, 5 do
  3286. 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)
  3287. 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)
  3288. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3289. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3290. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3291. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3292. 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)
  3293. if Debounces.on == false then break end
  3294. wait()
  3295. end
  3296. GroundPound()
  3297. for i = 1, 5 do
  3298. 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)
  3299. 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)
  3300. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3301. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3302. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3303. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3304. 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)
  3305. if Debounces.on == false then break end
  3306. wait()
  3307. end
  3308. GroundPound()
  3309. for i = 1, 5 do
  3310. 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)
  3311. 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)
  3312. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3313. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3314. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3315. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3316. 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)
  3317. if Debounces.on == false then break end
  3318. wait()
  3319. end
  3320. GroundPound()
  3321. for i = 1, 5 do
  3322. 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)
  3323. 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)
  3324. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3325. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3326. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3327. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3328. 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)
  3329. if Debounces.on == false then break end
  3330. wait()
  3331. end
  3332. GroundPound()
  3333. for i = 1, 5 do
  3334. 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)
  3335. 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)
  3336. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3337. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3338. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3339. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3340. 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)
  3341. if Debounces.on == false then break end
  3342. wait()
  3343. end
  3344. for i = 1, 18 do
  3345. 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)
  3346. 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)
  3347. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  3348. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  3349. 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)
  3350. 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)
  3351. 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)
  3352. if Debounces.on == false then break end
  3353. wait()
  3354. end
  3355. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  3356. if v:FindFirstChild('Humanoid') then
  3357. v.Humanoid:TakeDamage(math.random(20,60))
  3358. v.Humanoid.PlatformStand = true
  3359. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  3360. end
  3361. end
  3362. x = Instance.new("Sound",char)
  3363. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  3364. x.Pitch = PTZ[math.random(1,#PTZ)]
  3365. x.Volume = 1
  3366. wait(0.1)
  3367. x:Play()
  3368. Crater(hed,20)
  3369. for i = 1, 14 do
  3370. 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)
  3371. 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)
  3372. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  3373. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  3374. 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)
  3375. 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)
  3376. 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)
  3377. if Debounces.on == false then break end
  3378. wait()
  3379. end
  3380. if Debounces.CanAttack == false then
  3381. Debounces.CanAttack = true
  3382. Debounces.on = false
  3383. Debounces.NoIdl = false
  3384. for i = 1, 20 do
  3385. wait()
  3386. for i,v in pairs(char.Absolution:children()) do
  3387. if v:IsA("Part") or v:IsA("WedgePart") then
  3388. v.Transparency = v.Transparency - 0.05
  3389. end
  3390. end
  3391. end
  3392. end
  3393. end
  3394. end
  3395. end)
  3396. ----------------------------------------------------176349813
  3397. mouse.KeyDown:connect(function(key)
  3398. if key == "b" and char.Mana.Value>80 then
  3399. char.Mana.Value = char.Mana.Value -80
  3400. hum.WalkSpeed = 20
  3401. if Debounces.CanAttack == true then
  3402. Debounces.CanAttack = false
  3403. Debounces.NoIdl = true
  3404. Debounces.on = true
  3405. for i = 1,20 do
  3406. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  3407. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  3408. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  3409. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  3410. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
  3411. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
  3412. 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)
  3413. if Debounces.on == false then break end
  3414. wait()
  3415. end
  3416. wait(1)
  3417. v = Instance.new("Sound")
  3418. v.SoundId = "rbxassetid://181384451"
  3419. v.Parent = char
  3420. v.Looped = false
  3421. v.Pitch = 1.04
  3422. v.Volume = 1.5
  3423. wait(.01)
  3424. v:Play()
  3425.  
  3426. v = Instance.new("Sound")
  3427. v.SoundId = "rbxassetid://138252341"
  3428. v.Parent = char
  3429. v.Looped = false
  3430. v.Pitch = 1.04
  3431. v.Volume = 1.2
  3432. wait(.01)
  3433. v:Play()
  3434. if Daytime == true then
  3435. Daytime = false
  3436. l.TimeOfDay = 24
  3437. else
  3438. Daytime = true
  3439. l.TimeOfDay = 12
  3440. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  3441. end
  3442.  
  3443. local Shockwave = function()
  3444. local rng1 = Instance.new("Part", char)
  3445. rng1.Anchored = true
  3446. rng1.BrickColor = BrickColor.new("Institutional white")
  3447. rng1.CanCollide = false
  3448. rng1.FormFactor = 3
  3449. rng1.Name = "Ring"
  3450. rng1.Material = "Neon"
  3451. rng1.Size = Vector3.new(1, 1, 1)
  3452. rng1.Transparency = 0.35
  3453. rng1.TopSurface = 0
  3454. rng1.BottomSurface = 0
  3455. local rngm1 = Instance.new("SpecialMesh", rng)
  3456. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3457. rngm1.Scale = Vector3.new(10, 10, 1)
  3458. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  3459. local Wave = Instance.new("Part", game.Workspace)
  3460. Wave.Name = "Shockwave"
  3461. Wave.BrickColor = BrickColor.new("Really black")
  3462. Wave.Size = Vector3.new(1, 1, 1)
  3463. Wave.Shape = "Ball"
  3464. Wave.Name = "Wave"
  3465. Wave.Material = "Neon"
  3466. Wave.CanCollide = false
  3467. Wave.Anchored = true
  3468. Wave.TopSurface = 0
  3469. Wave.BottomSurface = 0
  3470. Wave.Touched:connect(function(hit)
  3471. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  3472. local Occlude = true
  3473. local NotOccludes = {
  3474. char.Name;
  3475. "Wings";
  3476. "Scythe";
  3477. "Thingy";
  3478. "Thingy2"; -- put all of the names in a table pls
  3479. }
  3480. for i,v in pairs(NotOccludes) do
  3481. if hit.Parent.Name == v then
  3482. Occlude = false
  3483. end
  3484. end
  3485. --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
  3486. if Occlude then
  3487. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - math.huge
  3488. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  3489. end
  3490. end
  3491. end)
  3492.  
  3493. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  3494.  
  3495. coroutine.wrap(function()
  3496. for i = 1, 20, 0.2 do
  3497. rngm1.Scale = Vector3.new(30 + i*2, 30 + i*2, 1)
  3498. rng1.Transparency = i/20
  3499. local Wav2 = game.Workspace.Wave:Clone()
  3500. Wav2.Position = Vector3.new(math.random(0,200),2,math.random(0,200))
  3501. wait()
  3502. end
  3503. wait()
  3504. rng1:Destroy()
  3505. end)()
  3506.  
  3507. Delay(0, function()
  3508.  
  3509. if Daytime == false then
  3510. for i = 1, 50, 1 do
  3511. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  3512. Wave.CFrame = char.Torso.CFrame
  3513. local t = i / 50
  3514. Wave.Transparency = t
  3515. wait()
  3516. end
  3517. else
  3518. for i = 1, 50, 1 do
  3519. Wave.Size = Vector3.new(20 + i, 20 + i, 20 + i)
  3520. Wave.CFrame = char.Torso.CFrame
  3521. local t = i / 50
  3522. Wave.Transparency = t
  3523. wait()
  3524. end
  3525. end
  3526. Wave:Destroy()
  3527. end)
  3528. Delay(0, function()
  3529. while wait() do
  3530. if Wave ~= nil then
  3531. Wave.CFrame = char.Torso.CFrame
  3532. else
  3533. break
  3534. end
  3535. end
  3536. end)
  3537. end
  3538. Shockwave()
  3539. for i = 1, 15 do
  3540. 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)
  3541. 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)
  3542. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3543. 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)
  3544. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3545. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3546. if Debounces.on == false then break end
  3547. wait()
  3548. end
  3549. for i = 1, 15 do
  3550. 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)
  3551. 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)
  3552. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3553. 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)
  3554. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3555. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3556. if Debounces.on == false then break end
  3557. wait()
  3558. end
  3559. for i = 1, 15 do
  3560. 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)
  3561. 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)
  3562. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3563. 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)
  3564. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3565. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3566. if Debounces.on == false then break end
  3567. wait()
  3568. end
  3569. for i = 1, 15 do
  3570. 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)
  3571. 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)
  3572. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3573. 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)
  3574. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3575. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3576. if Debounces.on == false then break end
  3577. wait()
  3578. end
  3579. for i = 1, 15 do
  3580. 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)
  3581. 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)
  3582. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3583. 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)
  3584. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3585. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3586. if Debounces.on == false then break end
  3587. wait()
  3588. end
  3589. for i = 1, 15 do
  3590. 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)
  3591. 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)
  3592. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3593. 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)
  3594. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3595. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3596. if Debounces.on == false then break end
  3597. wait()
  3598. end
  3599. wait(1.4)
  3600. Debounces.NoIdl = false
  3601. hum.WalkSpeed = 50
  3602. Debounces.on = false
  3603. wait()
  3604. if Debounces.CanAttack == false then
  3605. Debounces.CanAttack = true
  3606. v:Destroy()
  3607. end
  3608. char.Mana.Value = char.Mana.Value + 1000
  3609. wait(4)
  3610. end
  3611. end
  3612. end)
  3613. ----------------------------------------------------
  3614. mouse.KeyDown:connect(function(key)
  3615. if key == "m" and char.Mana.Value> 60 then
  3616. char.Mana.Value = char.Mana.Value-60
  3617. hum.WalkSpeed = 0
  3618. if Debounces.CanAttack == true then
  3619. Debounces.CanAttack = false
  3620. Debounces.on = true
  3621. Debounces.NoIdl = true
  3622. x = Instance.new("Sound",char)
  3623. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  3624. x.Looped = false
  3625. x.Pitch = 1.1
  3626. x.Volume = 1
  3627. x:Play()
  3628. x2 = Instance.new("Sound",char)
  3629. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  3630. x2.Looped = false
  3631. x2.Pitch = .7
  3632. x2.Volume = 1
  3633. wait(.1)
  3634. x:Play()
  3635. x2:Play()
  3636. for i = 1, 20 do
  3637. 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)
  3638. 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)
  3639. 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)
  3640. 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)
  3641. 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)
  3642. 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)
  3643. 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)
  3644. if Debounces.on == false then break end
  3645. wait()
  3646. x:Destroy()
  3647. x2:Destroy()
  3648. end
  3649. wait(1)
  3650. local rng = Instance.new("Part", char)
  3651. rng.Anchored = true
  3652. rng.BrickColor = BrickColor.new("Really black")
  3653. rng.CanCollide = false
  3654. rng.FormFactor = 3
  3655. rng.Name = "Ring"
  3656. rng.Size = Vector3.new(1, 1, 1)
  3657. rng.Transparency = 0.35
  3658. rng.TopSurface = 0
  3659. rng.BottomSurface = 0
  3660. rng.Position = torso.Position - Vector3.new(0,2,0)
  3661. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  3662. local rngm = Instance.new("SpecialMesh", rng)
  3663. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3664. rngm.Scale = Vector3.new(1, 1, 2)
  3665. x = Instance.new("Sound",char)
  3666. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  3667. x.Looped = false
  3668. x.Pitch = .7
  3669. x.Volume = 1
  3670. x:Play()
  3671. coroutine.wrap(function()
  3672. for i = 1, 60, 2 do
  3673. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  3674. rng.Transparency = i/60
  3675. wait()
  3676. end
  3677. wait()
  3678. rng:Destroy()
  3679. end)()
  3680. hum.WalkSpeed = 50
  3681. BV = Instance.new("BodyVelocity", torso)
  3682. BV.maxForce = Vector3.new(0,200000,0)
  3683. BV.P = 100000
  3684. BV.velocity = Vector3.new(0,800,0)
  3685. for i = 1, 20 do
  3686. 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)
  3687. 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)
  3688. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  3689. 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)
  3690. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  3691. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  3692. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3693. if Debounces.on == false then break end
  3694. wait()
  3695. end
  3696. x:Destroy()
  3697. BV:Destroy()
  3698. for i = 1, 30 do
  3699. 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)
  3700. 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)
  3701. 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)
  3702. 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)
  3703. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  3704. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  3705. if Debounces.on == false then break end
  3706. wait()
  3707. end
  3708. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  3709. for i = 1, 30 do
  3710. 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)
  3711. 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)
  3712. 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)
  3713. 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)
  3714. 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)
  3715. 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)
  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. if Debounces.on == false then break end
  3718. wait()
  3719. end
  3720. end
  3721. Debounces.on = false
  3722. Debounces.NoIdl = false
  3723. local ry,ht,ps=nil,nil,nil
  3724. while ht==nil do
  3725. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  3726. wait()
  3727. end
  3728. z = Instance.new("Sound",char)
  3729. z.SoundId = "rbxassetid://142070127"
  3730. z.Volume = 1
  3731. wait(.1)
  3732. z:Play()
  3733. Landing()
  3734. hum.WalkSpeed = 50
  3735. if Debounces.CanAttack == false then
  3736. Debounces.CanAttack = true
  3737. end
  3738. end
  3739. end
  3740. end)
  3741. ----------------------------------------------------
  3742. Grab = false
  3743. mouse.KeyDown:connect(function(key)
  3744. if key == "z" then
  3745. larm.BrickColor = BrickColor.new("Bright red")
  3746. rarm.BrickColor = BrickColor.new("Bright red")
  3747. Debounces.on = true
  3748. Debounces.NoIdl = true
  3749. if Grab == false then
  3750. gp = nil
  3751. con1=larm.Touched:connect(function(hit) -- this is grab
  3752. ht = hit.Parent
  3753. hum1=ht:FindFirstChild('Humanoid')
  3754. if hum1 ~= nil then
  3755. hum1.PlatformStand=true
  3756. gp = ht
  3757. Grab = true
  3758. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  3759. asd.Parent = larm
  3760. asd.Name = "asd"
  3761. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  3762. elseif hum1 == nil then
  3763. con1:disconnect()
  3764. wait() return
  3765. end
  3766. end)
  3767. for i = 1, 18 do
  3768. 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)
  3769. 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)
  3770. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3771. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  3772. 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)
  3773. 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)
  3774. 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)
  3775. if Debounces.on == false then break end
  3776. wait()
  3777. end
  3778. con1:disconnect()
  3779. Debounces.on = false
  3780. Debounces.NoIdl = false
  3781. elseif Grab == true then
  3782. Grab = false
  3783. for i = 1, 20 do
  3784. 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)
  3785. 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)
  3786. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3787. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3788. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3789. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3790. 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)
  3791. if Debounces.on == false then end
  3792. wait()
  3793. end
  3794. if gp ~= nil then
  3795. for i,v in pairs(larm:GetChildren()) do
  3796. if v.Name == "asd" and v:IsA("Weld") then
  3797. v:Remove()
  3798. end
  3799. end
  3800. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3801. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3802. bv.P = 125000
  3803. bv.velocity = char.Head.CFrame.lookVector * 200
  3804. for i = 1, 12 do
  3805. 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)
  3806. if Debounces.on == false then end
  3807. wait()
  3808. end
  3809. ht=nil
  3810. Spawn(function()
  3811. wait(0.5)
  3812. bv:Destroy()
  3813. end)
  3814. Debounces.on = false
  3815. Debounces.NoIdl = false
  3816. elseif ht == nil then wait()
  3817. Grab = false
  3818. Debounces.on = false
  3819. Debounces.NoIdl = false
  3820. end
  3821. end
  3822. end
  3823. end)
  3824. ----------------------------------------------------
  3825. mouse.KeyDown:connect(function(key)
  3826. if string.byte(key) == 52 then
  3827. char.Humanoid.WalkSpeed = 21
  3828. end
  3829. end)
  3830. mouse.KeyUp:connect(function(key)
  3831. if string.byte(key) == 52 then
  3832. char.Humanoid.WalkSpeed = 50
  3833. end
  3834. end)
  3835. ----------------------------------------------------
  3836. local animpose = "Idle"
  3837. local lastanimpose = "Idle"
  3838. local sine = 0
  3839. local change = 1
  3840. local val = 0
  3841. local ffing = false
  3842. ----------------------------------------------------
  3843. x = Instance.new("Sound", char)
  3844. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  3845. x.Looped = true
  3846. x.Volume = 1
  3847. x.Pitch = 1
  3848. local footsteps = false
  3849. -------------------------------
  3850. game:GetService("RunService").RenderStepped:connect(function()
  3851. if char.Humanoid.Jump == true then
  3852. jump = true
  3853. else
  3854. jump = false
  3855. end
  3856. char.Humanoid.FreeFalling:connect(function(f)
  3857. if f then
  3858. ffing = true
  3859. else
  3860. ffing = false
  3861. end
  3862. end)
  3863. sine = sine + change
  3864. if jumpn == true then
  3865. animpose = "Jumping"
  3866. elseif ffing == true then
  3867. animpose = "Freefalling"
  3868. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3869. animpose = "Idle"
  3870. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3871. animpose = "Walking"
  3872. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3873. animpose = "Running"
  3874. end
  3875. if animpose ~= lastanimpose then
  3876. sine = 0
  3877. if Debounces.NoIdl == false then
  3878. if animpose == "Idle" then
  3879. for i = 1, 2 do
  3880. 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)
  3881. 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)
  3882. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3883. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3884. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3885. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3886. 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)
  3887. end
  3888. elseif animpose == "Walking" then
  3889. for i = 1, 2 do
  3890. 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)
  3891. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  3892. 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)
  3893. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  3894. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3895. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3896. 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)
  3897. end
  3898. elseif animpose == "Running" then
  3899. for i = 1, 2 do
  3900. 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)
  3901. 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)
  3902. 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)
  3903. 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)
  3904. 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)
  3905. 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)
  3906. 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)
  3907. end
  3908. wait()
  3909. end
  3910. else
  3911. end
  3912. end
  3913. lastanimpose = animpose
  3914. if Debounces.NoIdl == false then
  3915. if animpose == "Idle" then
  3916. if stanceToggle == "Normal" then
  3917. change = 0.5
  3918. 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)
  3919. 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)
  3920. 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)
  3921. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  3922. 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)
  3923. 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)
  3924. 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)
  3925. elseif stanceToggle == "Sitting" then
  3926. 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)
  3927. 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)
  3928. 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)
  3929. 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)
  3930. 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)
  3931. 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)
  3932. 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)
  3933. end
  3934. elseif animpose == "Walking" then
  3935. if stanceToggle == "Normal" then
  3936. change = 1
  3937. 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)
  3938. 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)
  3939. 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)
  3940. 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)
  3941. 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)
  3942. 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)
  3943. 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)
  3944. end
  3945. elseif animpose == "Running" then
  3946. change = 1
  3947. 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)
  3948. 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)
  3949. 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)
  3950. 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)
  3951. 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)
  3952. 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)
  3953. 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)
  3954. end
  3955. end
  3956. if animpose == "Walking" then
  3957. if footsteps == false then
  3958. x:Play()
  3959. footsteps = true
  3960. end
  3961. x.Pitch = 1.1
  3962. elseif animpose == "Idle" then
  3963. x:Stop()
  3964. footsteps = false
  3965. elseif animpose == "Running" then
  3966. x.Pitch = 1.2
  3967. if footsteps == false then
  3968. x:Play()
  3969. footsteps = true
  3970. end
  3971. end
  3972. end)
  3973. p.Chatted:connect(function(msg)
  3974. if msg == TitanBet.."loadsong" then
  3975. z = Instance.new("Sound", char)
  3976. z.SoundId = "rbxassetid://306826153"--242463565
  3977. z.Name = "Music"
  3978. z.Looped = true
  3979. z.Volume = 1
  3980. z.Pitch = 1
  3981. wait()
  3982. if p.Name == "PointCoded" or "nguyenjimbo" then
  3983. z:Play()
  3984. else
  3985. print("Not Point Coded = no music")
  3986. end
  3987. end
  3988.  
  3989. end)
  3990.  
  3991. p.Chatted:connect(function(msg)
  3992. if msg == TitanBet.."stopsong" then
  3993. char.Music:remove()
  3994. end
  3995.  
  3996. end)
  3997.  
  3998. while true do
  3999. local pe = char:GetChildren()
  4000. pe.Locked = true
  4001. p.PlayerGui.Mana.Mana.Text = "Mana: "..char.Mana.Value
  4002. if char.Mana.Value>4999 then
  4003. char.Mana.Value = 4999
  4004. end
  4005. char.Mana.Value = char.Mana.Value + 1
  4006. local pe = char:GetChildren()
  4007. hum.MaxHealth = 50000
  4008. hum.Health = 50000
  4009. pe.Locked = true
  4010. wait(0.000000000000000000000000001)
  4011. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement