Advertisement
Gotmilk0086

FE ???

Sep 18th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.66 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.  
  6. plr = owner
  7. repeat
  8. wait(0.4)
  9. until plr.Character
  10. chr = plr.Character
  11. human = chr:FindFirstChild("Humanoid")
  12. chr.Humanoid.MaxHealth = math.huge
  13. mouse = plr:GetMouse()
  14. equipd = false
  15. tors = chr.Torso
  16. rarm = chr["Right Arm"]
  17. larm = chr["Left Arm"]
  18. rleg = chr["Right Leg"]
  19. lleg = chr["Left Leg"]
  20. local txt = Instance.new("BillboardGui", chr)
  21. CV="Lime green"
  22. v=Instance.new("Part")
  23. v.Name = "ColorBrick"
  24. v.Parent= plr.Character
  25. v.FormFactor="Symmetric"
  26. v.Anchored=true
  27. v.CanCollide=false
  28. v.BottomSurface="Smooth"
  29. v.TopSurface="Smooth"
  30. v.Size=Vector3.new(10,5,3)
  31. v.Transparency=1
  32. v.CFrame=chr.Torso.CFrame
  33. v.BrickColor=BrickColor.new("Lime green")
  34. v.Transparency=1
  35. v.Shape="Block"
  36. for i,v in pairs(chr:children()) do
  37. if v:IsA("Hat") then
  38. v:Destroy()
  39. end
  40. end
  41. for i,v in pairs(chr:children()) do
  42. if v:IsA("Accessory") then
  43. v:Destroy()
  44. end
  45. end
  46. for i,v in pairs(chr:children()) do
  47. if v:IsA("Hair") then
  48. v:Destroy()
  49. end
  50. end
  51. local Part = Instance.new("Part",chr)
  52. Part.BrickColor = BrickColor.new("Royal blue")
  53. Part.Size = Vector3.new(1,1,1)
  54. Part.CanCollide = false
  55. Part.Material = "Neon"
  56. local M = Instance.new("SpecialMesh",Part)
  57. M.MeshId = "rbxassetid://212966179"
  58. M.Scale = Vector3.new(1.2,1.2,1.2)
  59. M.TextureId = "rbxassetid://431984628"
  60. local Part2 = Instance.new("Weld",Part)
  61. Part2.Part0 = chr.Head
  62. Part2.Part1 = Part
  63. Part2.C0 = CFrame.new(0,0.2,0)*CFrame.Angles(0,0,0)
  64. local Part1 = Instance.new("Part",chr)
  65. Part1.BrickColor = BrickColor.new("Really black")
  66. Part1.Size = Vector3.new(1,1,1)
  67. Part1.CanCollide = false
  68. Part1.Material = "Neon"
  69. local M1 = Instance.new("SpecialMesh",Part1)
  70. M1.MeshId = "rbxassetid://212966179"
  71. M1.Scale = Vector3.new(1.1,1.1,1.1)
  72. local Part21 = Instance.new("Weld",Part1)
  73. Part21.Part0 = chr.Head
  74. Part21.Part1 = Part1
  75. Part21.C0 = CFrame.new(0,0.1,0)*CFrame.Angles(0,0,0)
  76. hrp = chr.HumanoidRootPart
  77. head = chr.Head
  78. anim = human.Animator
  79. activu = false
  80. Heartbeat = Instance.new("BindableEvent")
  81. Heartbeat.Name = "Heartbeat"
  82. Heartbeat.Parent = script
  83. frame = 0.03333333333333333
  84. tf = 0
  85. --//====================================================\\--
  86. --|| EDIT BY 1x1x1x1x1x1x1x0x0x2
  87. --|| CREATED BY SHACKLUSTER
  88. --\\====================================================//--
  89.  
  90. wait(0.2)
  91.  
  92. Player = game:GetService("Players").LocalPlayer
  93. PlayerGui = Player.PlayerGui
  94. Cam = workspace.CurrentCamera
  95. Backpack = Player.Backpack
  96. Character = Player.Character
  97. Humanoid = Character.Humanoid
  98. RootPart = Character["HumanoidRootPart"]
  99. Torso = Character["Torso"]
  100. Head = Character["Head"]
  101. RightArm = Character["Right Arm"]
  102. LeftArm = Character["Left Arm"]
  103. RightLeg = Character["Right Leg"]
  104. LeftLeg = Character["Left Leg"]
  105. RootJoint = RootPart["RootJoint"]
  106. Neck = Torso["Neck"]
  107. RightShoulder = Torso["Right Shoulder"]
  108. LeftShoulder = Torso["Left Shoulder"]
  109. RightHip = Torso["Right Hip"]
  110. LeftHip = Torso["Left Hip"]
  111. local sick = Instance.new("Sound",Character)
  112. sick.SoundId = "rbxassetid://513429715"
  113. sick.Looped = true
  114. sick.Pitch = 1
  115. sick.Volume = 50
  116. sick:Play()
  117.  
  118. IT = Instance.new
  119. CF = CFrame.new
  120. VT = Vector3.new
  121. RAD = math.rad
  122. C3 = Color3.new
  123. UD2 = UDim2.new
  124. BRICKC = BrickColor.new
  125. ANGLES = CFrame.Angles
  126. EULER = CFrame.fromEulerAnglesXYZ
  127. COS = math.cos
  128. ACOS = math.acos
  129. SIN = math.sin
  130. ASIN = math.asin
  131. ABS = math.abs
  132. MRANDOM = math.random
  133. FLOOR = math.floor
  134. local LAUGHS = {834001699,834001752,834001797,834001828}
  135. local SONGS = {534861083,530959353,1534958855,0}
  136. local CHOICE = MRANDOM(1,4)
  137.  
  138. --//=================================\\
  139. --|| USEFUL VALUES
  140. --\\=================================//
  141.  
  142. Player_Size = 1 --Size of the player.
  143. Animation_Speed = 3
  144. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  145. local Speed = 25
  146. local SIZE = 1
  147. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  148. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  149. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  150. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  151. local DAMAGEMULTIPLIER = 1
  152. local ANIM = "Idle"
  153. local ATTACK = false
  154. local EQUIPPED = false
  155. local HOLD = false
  156. local COMBO = 1
  157. local Rooted = false
  158. local SINE = 0
  159. local KEYHOLD = false
  160. local CHANGE = 2 / Animation_Speed
  161. local WALKINGANIM = false
  162. local VALUE1 = false
  163. local VALUE2 = false
  164. local ROBLOXIDLEANIMATION = IT("Animation")
  165. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  166. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  167. --ROBLOXIDLEANIMATION.Parent = Humanoid
  168. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  169. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  170. WEAPONGUI.Name = "Weapon GUI"
  171. local Weapon = IT("Model")
  172. Weapon.Name = "Adds"
  173. local Effects = IT("Folder", Character)
  174. Effects.Name = "Effects"
  175. local ANIMATOR = Humanoid.Animator
  176. local ANIMATE = Character.Animate
  177. local UNANCHOR = true
  178. local CLOCKLOOP = 0
  179. local SONG = 1382488262
  180. local CLOCKTARGET = nil
  181. local CLOCKSPEED = 2.5
  182. local PLAYMAINANIM = true
  183. local BOLTSOUNDS = {168586621,168586586,178452241}
  184. local WHITELIST = {Animetaional_Clone}
  185. --HELLO
  186.  
  187. --//=================================\\
  188. --\\=================================//
  189.  
  190.  
  191. --//=================================\\
  192. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  193. --\\=================================//
  194.  
  195. ArtificialHB = Instance.new("BindableEvent", script)
  196. ArtificialHB.Name = "ArtificialHB"
  197.  
  198. script:WaitForChild("ArtificialHB")
  199.  
  200. frame = Frame_Speed
  201. tf = 0
  202. allowframeloss = false
  203. tossremainder = false
  204. lastframe = tick()
  205. script.ArtificialHB:Fire()
  206.  
  207. game:GetService("RunService").Heartbeat:connect(function(s, p)
  208. tf = tf + s
  209. if tf >= frame then
  210. if allowframeloss then
  211. script.ArtificialHB:Fire()
  212. lastframe = tick()
  213. else
  214. for i = 1, math.floor(tf / frame) do
  215. script.ArtificialHB:Fire()
  216. end
  217. lastframe = tick()
  218. end
  219. if tossremainder then
  220. tf = 0
  221. else
  222. tf = tf - frame * math.floor(tf / frame)
  223. end
  224. end
  225. end)
  226.  
  227. --//=================================\\
  228. --\\=================================//
  229.  
  230. --//=================================\\
  231. --|| SOME FUNCTIONS
  232. --\\=================================//
  233.  
  234. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  235. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  236. end
  237.  
  238. function PositiveAngle(NUMBER)
  239. if NUMBER >= 0 then
  240. NUMBER = 0
  241. end
  242. return NUMBER
  243. end
  244.  
  245. function NegativeAngle(NUMBER)
  246. if NUMBER <= 0 then
  247. NUMBER = 0
  248. end
  249. return NUMBER
  250. end
  251.  
  252. function Swait(NUMBER)
  253. if NUMBER == 0 or NUMBER == nil then
  254. ArtificialHB.Event:wait()
  255. else
  256. for i = 1, NUMBER do
  257. ArtificialHB.Event:wait()
  258. end
  259. end
  260. end
  261.  
  262. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  263. local NEWMESH = IT(MESH)
  264. if MESH == "SpecialMesh" then
  265. NEWMESH.MeshType = MESHTYPE
  266. if MESHID ~= "nil" and MESHID ~= "" then
  267. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  268. end
  269. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  270. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  271. end
  272. end
  273. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  274. NEWMESH.Scale = SCALE
  275. NEWMESH.Parent = PARENT
  276. return NEWMESH
  277. end
  278.  
  279. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  280. local NEWPART = IT("Part")
  281. NEWPART.formFactor = FORMFACTOR
  282. NEWPART.Reflectance = REFLECTANCE
  283. NEWPART.Transparency = TRANSPARENCY
  284. NEWPART.CanCollide = false
  285. NEWPART.Locked = true
  286. NEWPART.Anchored = true
  287. if ANCHOR == false then
  288. NEWPART.Anchored = false
  289. end
  290. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  291. NEWPART.Name = NAME
  292. NEWPART.Size = SIZE
  293. NEWPART.Position = Torso.Position
  294. NEWPART.Material = MATERIAL
  295. NEWPART:BreakJoints()
  296. NEWPART.Parent = PARENT
  297. return NEWPART
  298. end
  299.  
  300. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  301. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  302. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  303. wave.CFrame = CFRAME
  304. coroutine.resume(coroutine.create(function(PART)
  305. for i = 1, WAIT do
  306. Swait()
  307. mesh.Scale = mesh.Scale * GROW
  308. wave.Transparency = wave.Transparency + (0.5/WAIT)
  309. if wave.Transparency > 0.99 then
  310. wave:remove()
  311. end
  312. end
  313. end))
  314. end
  315.  
  316. local function weldBetween(a, b)
  317. local weldd = Instance.new("ManualWeld")
  318. weldd.Part0 = a
  319. weldd.Part1 = b
  320. weldd.C0 = CFrame.new()
  321. weldd.C1 = b.CFrame:inverse() * a.CFrame
  322. weldd.Parent = a
  323. return weldd
  324. end
  325.  
  326.  
  327. function QuaternionFromCFrame(cf)
  328. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  329. local trace = m00 + m11 + m22
  330. if trace > 0 then
  331. local s = math.sqrt(1 + trace)
  332. local recip = 0.5 / s
  333. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  334. else
  335. local i = 0
  336. if m11 > m00 then
  337. i = 1
  338. end
  339. if m22 > (i == 0 and m00 or m11) then
  340. i = 2
  341. end
  342. if i == 0 then
  343. local s = math.sqrt(m00 - m11 - m22 + 1)
  344. local recip = 0.5 / s
  345. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  346. elseif i == 1 then
  347. local s = math.sqrt(m11 - m22 - m00 + 1)
  348. local recip = 0.5 / s
  349. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  350. elseif i == 2 then
  351. local s = math.sqrt(m22 - m00 - m11 + 1)
  352. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  353. end
  354. end
  355. end
  356.  
  357. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  358. local xs, ys, zs = x + x, y + y, z + z
  359. local wx, wy, wz = w * xs, w * ys, w * zs
  360. local xx = x * xs
  361. local xy = x * ys
  362. local xz = x * zs
  363. local yy = y * ys
  364. local yz = y * zs
  365. local zz = z * zs
  366. 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))
  367. end
  368.  
  369. function QuaternionSlerp(a, b, t)
  370. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  371. local startInterp, finishInterp;
  372. if cosTheta >= 0.0001 then
  373. if (1 - cosTheta) > 0.0001 then
  374. local theta = ACOS(cosTheta)
  375. local invSinTheta = 1 / SIN(theta)
  376. startInterp = SIN((1 - t) * theta) * invSinTheta
  377. finishInterp = SIN(t * theta) * invSinTheta
  378. else
  379. startInterp = 1 - t
  380. finishInterp = t
  381. end
  382. else
  383. if (1 + cosTheta) > 0.0001 then
  384. local theta = ACOS(-cosTheta)
  385. local invSinTheta = 1 / SIN(theta)
  386. startInterp = SIN((t - 1) * theta) * invSinTheta
  387. finishInterp = SIN(t * theta) * invSinTheta
  388. else
  389. startInterp = t - 1
  390. finishInterp = t
  391. end
  392. end
  393. 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
  394. end
  395.  
  396. function Clerp(a, b, t)
  397. local qa = {QuaternionFromCFrame(a)}
  398. local qb = {QuaternionFromCFrame(b)}
  399. local ax, ay, az = a.x, a.y, a.z
  400. local bx, by, bz = b.x, b.y, b.z
  401. local _t = 1 - t
  402. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  403. end
  404.  
  405. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  406. local frame = IT("Frame")
  407. frame.BackgroundTransparency = TRANSPARENCY
  408. frame.BorderSizePixel = BORDERSIZEPIXEL
  409. frame.Position = POSITION
  410. frame.Size = SIZE
  411. frame.BackgroundColor3 = COLOR
  412. frame.BorderColor3 = BORDERCOLOR
  413. frame.Name = NAME
  414. frame.Parent = PARENT
  415. return frame
  416. end
  417.  
  418. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  419. local label = IT("TextLabel")
  420. label.BackgroundTransparency = 1
  421. label.Size = UD2(1, 0, 1, 0)
  422. label.Position = UD2(0, 0, 0, 0)
  423. label.TextColor3 = TEXTCOLOR
  424. label.TextStrokeTransparency = STROKETRANSPARENCY
  425. label.TextTransparency = TRANSPARENCY
  426. label.FontSize = TEXTFONTSIZE
  427. label.Font = TEXTFONT
  428. label.BorderSizePixel = BORDERSIZEPIXEL
  429. label.TextScaled = false
  430. label.Text = TEXT
  431. label.Name = NAME
  432. label.Parent = PARENT
  433. return label
  434. end
  435.  
  436. function NoOutlines(PART)
  437. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  438. end
  439.  
  440. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  441. local NEWWELD = IT(TYPE)
  442. NEWWELD.Part0 = PART0
  443. NEWWELD.Part1 = PART1
  444. NEWWELD.C0 = C0
  445. NEWWELD.C1 = C1
  446. NEWWELD.Parent = PARENT
  447. return NEWWELD
  448. end
  449.  
  450. local S = IT("Sound")
  451. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  452. local NEWSOUND = nil
  453. coroutine.resume(coroutine.create(function()
  454. NEWSOUND = S:Clone()
  455. NEWSOUND.Parent = PARENT
  456. NEWSOUND.Volume = VOLUME
  457. NEWSOUND.Pitch = PITCH
  458. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  459. NEWSOUND:play()
  460. if DOESLOOP == true then
  461. NEWSOUND.Looped = true
  462. else
  463. repeat wait(1) until NEWSOUND.Playing == false
  464. NEWSOUND:remove()
  465. end
  466. end))
  467. return NEWSOUND
  468. end
  469.  
  470. local EyeSizes={
  471. NumberSequenceKeypoint.new(0,2,0),
  472. NumberSequenceKeypoint.new(1,0,0)
  473. }
  474. local EyeTrans={
  475. NumberSequenceKeypoint.new(0,0.5,0),
  476. NumberSequenceKeypoint.new(1,1,0)
  477. }
  478. local PE=Instance.new("ParticleEmitter",nil)
  479. PE.LightEmission=.8
  480. PE.Color = ColorSequence.new(BRICKC("Alder").Color,BRICKC("Lavender").Color)
  481. PE.Size=NumberSequence.new(EyeSizes)
  482. PE.Transparency=NumberSequence.new(EyeTrans)
  483. PE.Lifetime=NumberRange.new(0.35,1)
  484. PE.Rotation=NumberRange.new(0,360)
  485. PE.Rate=100
  486. PE.VelocitySpread = 10000
  487. PE.Acceleration = Vector3.new(0,85,0)
  488. PE.Drag = 5
  489. PE.Speed = NumberRange.new(0.1,5)
  490. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  491. PE.ZOffset = 0.5
  492. PE.Name = "PE"
  493. PE.Enabled = false
  494.  
  495. function Fire(art)
  496. local PARTICLES = PE:Clone()
  497. PARTICLES.Parent = art
  498. PARTICLES.Enabled = true
  499. return PARTICLES
  500. end
  501.  
  502. function CFrameFromTopBack(at, top, back)
  503. local right = top:Cross(back)
  504. 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)
  505. end
  506.  
  507. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  508. function WACKYEFFECT(Table)
  509. local TYPE = (Table.EffectType or "Sphere")
  510. local SIZE = (Table.Size or VT(1,1,1))
  511. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  512. local TRANSPARENCY = (Table.Transparency or 0)
  513. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  514. local CFRAME = (Table.CFrame or Torso.CFrame)
  515. local MOVEDIRECTION = (Table.MoveToPos or nil)
  516. local ROTATION1 = (Table.RotationX or 0)
  517. local ROTATION2 = (Table.RotationY or 0)
  518. local ROTATION3 = (Table.RotationZ or 0)
  519. local MATERIAL = (Table.Material or "Neon")
  520. local COLOR = (Table.Color or C3(1,1,1))
  521. local TIME = (Table.Time or 45)
  522. local SOUNDID = (Table.SoundID or nil)
  523. local SOUNDPITCH = (Table.SoundPitch or nil)
  524. local SOUNDVOLUME = (Table.SoundVolume or nil)
  525. coroutine.resume(coroutine.create(function()
  526. local PLAYSSOUND = false
  527. local SOUND = nil
  528. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  529. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  530. PLAYSSOUND = true
  531. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  532. end
  533. EFFECT.Color = COLOR
  534. local MSH = nil
  535. if TYPE == "Sphere" then
  536. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  537. elseif TYPE == "Block" or TYPE == "Box" then
  538. MSH = IT("BlockMesh",EFFECT)
  539. MSH.Scale = SIZE
  540. elseif TYPE == "Wave" then
  541. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  542. elseif TYPE == "Ring" then
  543. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  544. elseif TYPE == "Slash" then
  545. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  546. elseif TYPE == "Round Slash" then
  547. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  548. elseif TYPE == "Swirl" then
  549. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  550. elseif TYPE == "Skull" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  552. elseif TYPE == "Crystal" then
  553. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  554. end
  555. if MSH ~= nil then
  556. local MOVESPEED = nil
  557. if MOVEDIRECTION ~= nil then
  558. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  559. end
  560. local GROWTH = SIZE - ENDSIZE
  561. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  562. if TYPE == "Block" then
  563. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  564. else
  565. EFFECT.CFrame = CFRAME
  566. end
  567. for LOOP = 1, TIME+1 do
  568. Swait()
  569. MSH.Scale = MSH.Scale - GROWTH/TIME
  570. if TYPE == "Wave" then
  571. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  572. end
  573. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  574. if TYPE == "Block" then
  575. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  576. else
  577. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  578. end
  579. if MOVEDIRECTION ~= nil then
  580. local ORI = EFFECT.Orientation
  581. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  582. EFFECT.Orientation = ORI
  583. end
  584. end
  585. if PLAYSSOUND == false then
  586. EFFECT:remove()
  587. else
  588. repeat wait(1) until SOUND.Playing == false
  589. EFFECT:remove()
  590. end
  591. else
  592. if PLAYSSOUND == false then
  593. EFFECT:remove()
  594. else
  595. repeat Swait() until SOUND.Playing == false
  596. EFFECT:remove()
  597. end
  598. end
  599. end))
  600. end
  601.  
  602. function MakeForm(PART,TYPE)
  603. if TYPE == "Cyl" then
  604. local MSH = IT("CylinderMesh",PART)
  605. elseif TYPE == "Ball" then
  606. local MSH = IT("SpecialMesh",PART)
  607. MSH.MeshType = "Sphere"
  608. elseif TYPE == "Wedge" then
  609. local MSH = IT("SpecialMesh",PART)
  610. MSH.MeshType = "Wedge"
  611. end
  612. end
  613.  
  614. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  615. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  616. local mesh = IT("SpecialMesh",wave)
  617. mesh.MeshType = "FileMesh"
  618. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  619. mesh.Scale = SIZE
  620. mesh.Offset = VT(0,0,-SIZE.X/8)
  621. wave.CFrame = CFRAME
  622. coroutine.resume(coroutine.create(function(PART)
  623. for i = 1, WAIT do
  624. Swait()
  625. mesh.Scale = mesh.Scale + GROW
  626. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  627. if DOESROT == true then
  628. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  629. end
  630. wave.Transparency = wave.Transparency + (0.5/WAIT)
  631. if wave.Transparency > 0.99 then
  632. wave:remove()
  633. end
  634. end
  635. end))
  636. end
  637.  
  638. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  639. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  640. local mesh = IT("SpecialMesh",wave)
  641. mesh.MeshType = "FileMesh"
  642. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  643. mesh.Scale = SIZE
  644. --mesh.Offset = VT(0,0,-SIZE.X/8)
  645. wave.CFrame = CFRAME
  646. coroutine.resume(coroutine.create(function(PART)
  647. for i = 1, WAIT do
  648. Swait()
  649. mesh.Scale = mesh.Scale + GROW
  650. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  651. if DOESROT == true then
  652. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  653. end
  654. wave.Transparency = wave.Transparency + (0.5/WAIT)
  655. if wave.Transparency > 0.99 then
  656. wave:remove()
  657. end
  658. end
  659. end))
  660. end
  661.  
  662. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  663. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  664. local mesh = IT("SpecialMesh",wave)
  665. mesh.MeshType = "FileMesh"
  666. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  667. mesh.Scale = SIZE
  668. wave.CFrame = CFRAME
  669. coroutine.resume(coroutine.create(function(PART)
  670. for i = 1, WAIT do
  671. Swait()
  672. mesh.Scale = mesh.Scale + GROW
  673. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  674. if DOESROT == true then
  675. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  676. end
  677. wave.Transparency = wave.Transparency + (0.5/WAIT)
  678. if wave.Transparency > 0.99 then
  679. wave:remove()
  680. end
  681. end
  682. end))
  683. end
  684.  
  685. Debris = game:GetService("Debris")
  686.  
  687. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  688. local DIRECTION = CF(StartPos,EndPos).lookVector
  689. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  690. end
  691.  
  692. local HATWELD = nil
  693. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  694. PLAYMAINANIM = false
  695. if WhichPose == "Cast1" then
  696. for i=0, Time, 0.1 / Animation_Speed do
  697. Swait()
  698. if Magic == true then
  699. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  700. end
  701. if Gyro ~= nil and Gyro ~= false then
  702. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  703. end
  704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  708. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  710. end
  711. elseif WhichPose == "Cast2" then
  712. for i=0, Time, 0.1 / Animation_Speed do
  713. Swait()
  714. if Magic == true then
  715. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  716. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  717. end
  718. if Gyro ~= nil and Gyro ~= false then
  719. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  720. end
  721. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  725. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  726. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  727. end
  728. elseif WhichPose == "RightArmUp" then
  729. for i=0, Time, 0.1 / Animation_Speed do
  730. Swait()
  731. if Magic == true then
  732. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  733. end
  734. if Gyro ~= nil and Gyro ~= false then
  735. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  736. end
  737. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  738. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  739. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  740. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  741. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  742. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  743. end
  744. elseif WhichPose == "Taunt" then
  745. for i=0, Time, 0.1 / Animation_Speed do
  746. Swait()
  747. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  748. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  750. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  751. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  752. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  753. end
  754. HATWELD.Part0 = RightArm
  755. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  756. CreateSound(221057812,Torso,10,1,false)
  757. for i=0, Time*2, 0.1 / Animation_Speed do
  758. Swait()
  759. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  763. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  764. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  765. end
  766. for i=0, Time, 0.1 / Animation_Speed do
  767. Swait()
  768. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  769. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  770. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  771. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  772. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  773. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  774. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  775. end
  776. HATWELD.Part0 = Head
  777. HATWELD.C0 = CF(0,0.35,0)
  778. elseif WhichPose == "Prepare key" then
  779. for i=0, Time, 0.1 / Animation_Speed do
  780. Swait()
  781. if Gyro ~= nil and Gyro ~= false then
  782. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  783. end
  784. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  785. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  786. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  787. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  788. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  789. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  790. end
  791. elseif WhichPose == "Turn key" then
  792. for i=0, Time, 0.1 / Animation_Speed do
  793. Swait()
  794. if Gyro ~= nil and Gyro ~= false then
  795. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  796. end
  797. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  798. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  799. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  800. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  801. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  802. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  803. end
  804. end
  805. PLAYMAINANIM = true
  806. end
  807.  
  808. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  809. function Lightning(Table)
  810. local Color = Table.Color or C3(1,1,1)
  811. local StartPos = Table.Start or Torso.Position
  812. local EndPos = Table.End or Mouse.Hit.p
  813. local SegmentLength = Table.SegmentL or 2
  814. local Thickness = Table.Thickness or 0.1
  815. local Dissapear = Table.DoesFade or false
  816. local Parent = Table.Ignore or Character
  817. local MaxDist = Table.MaxDist or 400
  818. local Branches = Table.Branches or false
  819. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  820. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  821. local LIGHTNINGMODEL = IT("Model",Effects)
  822. LIGHTNINGMODEL.Name = "Lightning"
  823. local LastBolt = nil
  824. for E = 1, DISTANCE do
  825. local ExtraSize = (DISTANCE-E)/15
  826. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  827. PART.Color = Color
  828. MakeForm(PART,"Cyl")
  829. if LastBolt == nil then
  830. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  831. else
  832. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  833. end
  834. LastBolt = PART
  835. if Branches == true then
  836. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  837. if CHOICE == 1 then
  838. local LASTBRANCH = nil
  839. for i = 1, MRANDOM(2,5) do
  840. local ExtraSize2 = ((DISTANCE-E)/25)/i
  841. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  842. PART.Color = Color
  843. MakeForm(PART,"Cyl")
  844. if LASTBRANCH == nil then
  845. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  846. else
  847. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  848. end
  849. LASTBRANCH = PART
  850. end
  851. end
  852. end
  853. end
  854. if Dissapear == true then
  855. coroutine.resume(coroutine.create(function()
  856. for i = 1, 10 do
  857. Swait()
  858. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  859. if c.ClassName == "Part" then
  860. c.Transparency = i/10
  861. end
  862. end
  863. end
  864. LIGHTNINGMODEL:remove()
  865. end))
  866. elseif Dissapear == false then
  867. Debris:AddItem(LIGHTNINGMODEL,0.1)
  868. end
  869. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  870. end
  871.  
  872.  
  873. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  874. if FLOOR ~= nil then
  875. coroutine.resume(coroutine.create(function()
  876. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  877. PART.CFrame = CF(POSITION)
  878. for i = 1, 45 do
  879. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  880. RingPiece.Material = FLOOR.Material
  881. RingPiece.Color = FLOOR.Color
  882. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  883. Debris:AddItem(RingPiece,SWAIT)
  884. end
  885. PART:remove()
  886. end))
  887. end
  888. end
  889.  
  890. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  891. if FLOOR ~= nil then
  892. for i = 1, AMOUNT do
  893. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  894. DEBREE.Material = FLOOR.Material
  895. DEBREE.Color = FLOOR.Color
  896. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  897. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  898. coroutine.resume(coroutine.create(function()
  899. Swait(15)
  900. DEBREE.Parent = workspace
  901. DEBREE.CanCollide = true
  902. Debris:AddItem(DEBREE,SWAIT)
  903. end))
  904. end
  905. end
  906. end
  907. function SpawnTrail(FROM,TO,BIG)
  908. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "red", "Trail", VT(0,0,0))
  909. MakeForm(TRAIL,"Cyl")
  910. local DIST = (FROM - TO).Magnitude
  911. if BIG == true then
  912. TRAIL.Size = VT(0.5,DIST,0.5)
  913. else
  914. TRAIL.Size = VT(0.25,DIST,0.25)
  915. end
  916. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  917. coroutine.resume(coroutine.create(function()
  918. for i = 1, 5 do
  919. Swait()
  920. TRAIL.Transparency = TRAIL.Transparency + 0.1
  921. end
  922. TRAIL:remove()
  923. end))
  924. end
  925.  
  926. local asd = Instance.new("ParticleEmitter")
  927. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  928. asd.LightEmission = .1
  929. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  930. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  931. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  932. asd.Transparency = bbb
  933. asd.Size = aaa
  934. asd.ZOffset = .9
  935. asd.Acceleration = Vector3.new(0, -15, 0)
  936. asd.LockedToPart = false
  937. asd.EmissionDirection = "Back"
  938. asd.Lifetime = NumberRange.new(1, 2)
  939. asd.Rotation = NumberRange.new(-100, 100)
  940. asd.RotSpeed = NumberRange.new(-100, 100)
  941. asd.Speed = NumberRange.new(10)
  942. asd.Enabled = false
  943. asd.VelocitySpread = 999
  944.  
  945. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  946. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  947. local mesh = IT("SpecialMesh",wave)
  948. mesh.MeshType = "Sphere"
  949. mesh.Scale = SIZE
  950. mesh.Offset = VT(0,0,0)
  951. wave.CFrame = CFRAME
  952. coroutine.resume(coroutine.create(function(PART)
  953. for i = 1, WAIT do
  954. Swait()
  955. mesh.Scale = mesh.Scale + GROW
  956. wave.Transparency = wave.Transparency + (1/WAIT)
  957. if wave.Transparency > 0.99 then
  958. wave:remove()
  959. end
  960. end
  961. end))
  962. end
  963.  
  964. function getbloody(victim,amount)
  965. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  966. PART.CFrame = victim.CFrame
  967. local HITPLAYERSOUNDS = {"356551938","264486467"}
  968. Debris:AddItem(PART,5)
  969. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  970. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  971. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  972. local prtcl = asd:Clone()
  973. prtcl.Parent = PART
  974. prtcl:Emit(amount*10)
  975. end
  976.  
  977. local Particle = IT("ParticleEmitter",nil)
  978. Particle.Enabled = false
  979. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  980. Particle.LightEmission = 0.5
  981. Particle.Rate = 150
  982. Particle.ZOffset = 1
  983. Particle.Rotation = NumberRange.new(-180, 180)
  984. Particle.RotSpeed = NumberRange.new(-180, 180)
  985. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  986. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  987.  
  988. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  989. function ParticleEmitter(Table)
  990. local PRTCL = Particle:Clone()
  991. local Speed = Table.Speed or 5
  992. local Drag = Table.Drag or 0
  993. local Size1 = Table.Size1 or 1
  994. local Size2 = Table.Size2 or 5
  995. local Lifetime1 = Table.Lifetime1 or 1
  996. local Lifetime2 = Table.Lifetime2 or 1.5
  997. local Parent = Table.Parent or Torso
  998. local Emit = Table.Emit or 100
  999. local Offset = Table.Offset or 360
  1000. local Acel = Table.Acel or VT(0,0,0)
  1001. local Enabled = Table.Enabled or false
  1002. PRTCL.Parent = Parent
  1003. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1004. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1005. PRTCL.Speed = NumberRange.new(Speed)
  1006. PRTCL.VelocitySpread = Offset
  1007. PRTCL.Drag = Drag
  1008. PRTCL.Acceleration = Acel
  1009. if Enabled == false then
  1010. PRTCL:Emit(Emit)
  1011. Debris:AddItem(PRTCL,Lifetime2)
  1012. else
  1013. PRTCL.Enabled = true
  1014. end
  1015. return PRTCL
  1016. end
  1017. function particles(art)
  1018. local PARTICLES = PE:Clone()
  1019. PARTICLES.Parent = art
  1020. end
  1021. function Shatter(Part)
  1022. if Part.Transparency == 0 then
  1023. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  1024. Debris:AddItem(SOUNDPART,5)
  1025. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  1026. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  1027. local SIZESET = SIZE/4
  1028. local XOffset = Part.Size.X*1.5/SIZESET
  1029. local YOffset = Part.Size.Y*1.5/SIZESET
  1030. local ZOffset = Part.Size.Z*1.5/SIZESET
  1031. for x = 1, math.ceil(XOffset) do
  1032. for y = 1, math.ceil(YOffset) do
  1033. for z = 1, math.ceil(ZOffset) do
  1034. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  1035. SHARD.CanCollide = true
  1036. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  1037. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  1038. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  1039. end
  1040. end
  1041. end
  1042. end
  1043. Part:remove()
  1044. end
  1045.  
  1046. function turnto(position)
  1047. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1048. end
  1049.  
  1050. --//=================================\\
  1051. --|| WEAPON CREATION
  1052. --\\=================================//
  1053.  
  1054. function chatfunc(text)
  1055. local chat = coroutine.wrap(function()
  1056. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1057. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1058. end
  1059. local Bill = Instance.new("BillboardGui",Character)
  1060. Bill.Size = UDim2.new(0,100,0,40)
  1061. Bill.StudsOffset = Vector3.new(0,3,0)
  1062. Bill.Adornee = Character.Head
  1063. Bill.Name = "TalkingBillBoard"
  1064. local Hehe = Instance.new("TextLabel",Bill)
  1065. Hehe.BackgroundTransparency = 1
  1066. Hehe.BorderSizePixel = 0
  1067. Hehe.Text = ""
  1068. Hehe.Font = "Garamond"
  1069. Hehe.TextSize = 40
  1070. Hehe.TextStrokeTransparency = 0
  1071. Hehe.Size = UDim2.new(1,0,0.5,0)
  1072. coroutine.resume(coroutine.create(function()
  1073. while Hehe ~= nil do
  1074. Swait()
  1075. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1076. Hehe.Rotation = math.random(-5,5)
  1077. Hehe.TextColor3 = Color3.new(0,0,0)
  1078. Hehe.TextStrokeColor3 = Color3.new(1,1,1)
  1079. end
  1080. end))
  1081. for i = 1,string.len(text),1 do
  1082. Swait()
  1083. Hehe.Text = string.sub(text,1,i)
  1084. end
  1085. Swait(90)--Re[math.random(1, 93)]
  1086. for i = 0, 1, .025 do
  1087. Swait()
  1088. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1089. Hehe.TextStrokeTransparency = i
  1090. Hehe.TextTransparency = i
  1091. end
  1092. Bill:Destroy()
  1093. end)
  1094. chat()
  1095. end
  1096.  
  1097. function onChatted(msg)
  1098. chatfunc(msg)
  1099. end
  1100.  
  1101. Player.Chatted:connect(onChatted)
  1102.  
  1103. for i = 1, 15 do
  1104. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  1105. FACE.Color = C3(0,0,0)
  1106. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1107. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  1108. end
  1109.  
  1110. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1111. Humanoid.DisplayDistanceType = "None"
  1112. local naeeym2 = IT("BillboardGui",Character)
  1113. naeeym2.AlwaysOnTop = true
  1114. naeeym2.Size = UDim2.new(5,35,2,15)
  1115. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1116. naeeym2.MaxDistance = 75
  1117. naeeym2.Adornee = Character.Head
  1118. naeeym2.Name = "Name"
  1119. local tecks2 = IT("TextLabel",naeeym2)
  1120. tecks2.BackgroundTransparency = 1
  1121. tecks2.TextScaled = true
  1122. tecks2.BorderSizePixel = 0
  1123. tecks2.Text = "Mr. Midoriya"
  1124. tecks2.Font = "Bodoni"
  1125. tecks2.TextSize = 30
  1126. tecks2.TextStrokeTransparency = 0.5
  1127. tecks2.TextColor3 = C3(0,0,0)
  1128. tecks2.TextStrokeColor3 = BRICKC"Lavender".Color
  1129. tecks2.Size = UDim2.new(1,0,0.5,0)
  1130. tecks2.Parent = naeeym2
  1131. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Lilac", "FaceGradient", VT(0.15,0.15,0.15),false)
  1132. MakeForm(EYE,"Ball")
  1133. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.55), CF(0, 0, 0))
  1134. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Lilac", "FaceGradient", VT(0.05,0.14,0.05),false)
  1135. EYE.Color = C3(1,1,1)
  1136. MakeForm(EYE,"Ball")
  1137. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.6), CF(0, 0, 0))
  1138. local top = Instance.new("Shirt")
  1139. top.ShirtTemplate = "rbxassetid://846519063"
  1140. top.Parent = Character
  1141. top.Name = "Cloth"
  1142. local bottom = Instance.new("Pants")
  1143. bottom.PantsTemplate = "rbxassetid://848613245"
  1144. bottom.Parent = Character
  1145. bottom.Name = "Cloth"
  1146.  
  1147. for _, c in pairs(Character:GetChildren()) do
  1148. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1149. c.Material = "Neon"
  1150. if c:FindFirstChildOfClass("ParticleEmitter") then
  1151. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1152. end
  1153. c.Color = C3(1,1,1)
  1154. if c == Head then
  1155. if c:FindFirstChild("face") then
  1156. c.face:remove()
  1157. end
  1158. end
  1159. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1160. c:remove()
  1161. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1162. c:remove()
  1163. end
  1164. end
  1165.  
  1166. for _, c in pairs(Weapon:GetChildren()) do
  1167. if c.ClassName == "Part" then
  1168. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1169. end
  1170. end
  1171.  
  1172. Weapon.Parent = Character
  1173.  
  1174. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1175. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1176. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1177. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1178. MakeForm(PRT,"Cyl")
  1179. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1180. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1181. MakeForm(PRT,"Cyl")
  1182. PRT.Color = C3(159/255, 111/255, 183/255)
  1183. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1184. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1185. MakeForm(RING,"Cyl")
  1186. RING.Color = C3(0,0,0)
  1187. for i = 1, 12 do
  1188. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0,0.15,0)*SIZE,false)
  1189. PRT.Color = C3(0,0,0)
  1190. local MSH = IT("BlockMesh",PRT)
  1191. MSH.Scale = VT(0.6,1,1)
  1192. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  1193. end
  1194. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1195. PRT.Color = C3(0,0,0)
  1196. local MSH = IT("BlockMesh",PRT)
  1197. MSH.Scale = VT(0.4,1,1)
  1198. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1199. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "red", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1200. PRT.Color = C3(0,0,0)
  1201. local MSH = IT("BlockMesh",PRT)
  1202. MSH.Scale = VT(0.4,1,1)
  1203. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1204. coroutine.resume(coroutine.create(function()
  1205. while true do
  1206. Swait()
  1207. CLOCKLOOP = CLOCKLOOP - 2.5*CLOCKSPEED
  1208. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1209. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1210. if CLOCKLOOP <= -150 then
  1211. if VALUE1 == false then
  1212. CLOCKLOOP = 0
  1213. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
  1214. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1215. ApplyAoE(HITPOS,10,15,45,75,false)
  1216. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1/1, 1/1, 1/1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1217. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1218. if CLOCKTARGET ~= nil then
  1219. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1220. if CLOCKTARGET.Torso ~= nil then
  1221. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1222. end
  1223. if CLOCKTARGET.Health == 0 then
  1224. CLOCKTARGET = nil
  1225. end
  1226. end
  1227. end
  1228. end
  1229. end
  1230. end))
  1231. chatfunc("Wele Come To UA")
  1232.  
  1233. for _, c in pairs(Weapon:GetChildren()) do
  1234. if c.ClassName == "Part" then
  1235. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1236. end
  1237. end
  1238.  
  1239. local BODY = {}
  1240. for _, c in pairs(Character:GetDescendants()) do
  1241. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1242. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1243. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1244. end
  1245. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1246. elseif c:IsA("JointInstance") then
  1247. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1248. end
  1249. end
  1250. for e = 1, #BODY do
  1251. if BODY[e] ~= nil then
  1252. local STUFF = BODY[e]
  1253. local PART = STUFF[1]
  1254. local PARENT = STUFF[2]
  1255. local MATERIAL = STUFF[3]
  1256. local COLOR = STUFF[4]
  1257. local TRANSPARENCY = STUFF[5]
  1258. if PART.ClassName == "Part" and PART ~= RootPart then
  1259. PART.Material = MATERIAL
  1260. PART.Color = COLOR
  1261. PART.Transparency = TRANSPARENCY
  1262. end
  1263. PART.AncestryChanged:Connect(function()
  1264. PART.Parent = PARENT
  1265. end)
  1266. end
  1267. end
  1268. function refit()
  1269. Character.Parent = workspace
  1270. for e = 1, #BODY do
  1271. if BODY[e] ~= nil then
  1272. local STUFF = BODY[e]
  1273. local PART = STUFF[1]
  1274. local PARENT = STUFF[2]
  1275. local MATERIAL = STUFF[3]
  1276. local COLOR = STUFF[4]
  1277. local TRANSPARENCY = STUFF[5]
  1278. if PART.ClassName == "Part" and PART ~= RootPart then
  1279. PART.Material = MATERIAL
  1280. PART.Color = COLOR
  1281. PART.Transparency = TRANSPARENCY
  1282. end
  1283. if PART.Parent ~= PARENT then
  1284. Humanoid:remove()
  1285. PART.Parent = PARENT
  1286. Humanoid = IT("Humanoid",Character)
  1287. end
  1288. end
  1289. end
  1290. end
  1291.  
  1292. local SKILLTEXTCOLOR = BRICKC"red".Color
  1293. local SKILLFONT = "Bodoni"
  1294. local SKILLTEXTSIZE = 7
  1295.  
  1296. Humanoid.Died:connect(function()
  1297. refit()
  1298. end)
  1299.  
  1300. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1301. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1302. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1303. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1304.  
  1305. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] SMASH!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1306. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] DELAWARE SMASH!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1307. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] DETROIT SMASH!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1308. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[V] TEAXS SMASH!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1309.  
  1310. --ello
  1311. --//=================================\\
  1312. --|| DAMAGING
  1313. --\\=================================//
  1314.  
  1315. function killneares(position,range,EFFECT)
  1316. for i,v in ipairs(workspace:GetChildren()) do
  1317. local body = v:GetChildren()
  1318. for part = 1, #body do
  1319. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1320. local SIZE = body[part].Size.Magnitude
  1321. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  1322. if v.ClassName == "Model" then
  1323. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  1324. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1325. v:BreakJoints()
  1326. if EFFECT == "Glitch" then
  1327. coroutine.resume(coroutine.create(function()
  1328. local ORIGINPOS = body[part].CFrame
  1329. local SIZE = body[part].Size
  1330. for i = 1, 100 do
  1331. Swait()
  1332. local PART = body[part]
  1333. PART.Anchored = true
  1334. PART.Size = SIZE*MRANDOM(5,15)/10
  1335. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  1336. end
  1337. body[part]:remove()
  1338. end))
  1339. elseif EFFECT == "Shatter" then
  1340. for _, c in pairs(v:GetChildren()) do
  1341. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1342. Shatter(c)
  1343. end
  1344. end
  1345. end
  1346. end
  1347. end
  1348. end
  1349. end
  1350. end
  1351. end
  1352. end
  1353. end
  1354.  
  1355. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1356. local CHILDREN = workspace:GetDescendants()
  1357. for index, CHILD in pairs(CHILDREN) do
  1358. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1359. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1360. if HUM then
  1361. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1362. if TORSO then
  1363. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1364. CHILD:BreakJoints()
  1365. if FLING ~= 0 then
  1366. for _, c in pairs(CHILD:GetChildren()) do
  1367. if c:IsA("BasePart") and c.Transparency == 0 then
  1368. if BURN == true then
  1369. Fire(c)
  1370. end
  1371. local bv = Instance.new("BodyVelocity")
  1372. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1373. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1374. bv.Parent = c
  1375. Debris:AddItem(bv,0.05)
  1376. end
  1377. end
  1378. end
  1379. end
  1380. end
  1381. end
  1382. end
  1383. end
  1384. end
  1385.  
  1386. function APPLYMELEE(PART,MINDMG,MAXDMG)
  1387. local ONESHOT = false
  1388. if MINDMG == "inf" then
  1389. ONESHOT = true
  1390. end
  1391. local HITS = {}
  1392. local TOUCH = PART.Touched:Connect(function(hit)
  1393. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1394. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  1395. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1396. if TORSO and HUM.Health > 0 then
  1397. local PASS = true
  1398. for i = 1, #HITS do
  1399. if HITS[i] == hit.Parent then
  1400. PASS = false
  1401. end
  1402. end
  1403. table.insert(HITS,hit.Parent)
  1404. if PASS == true then
  1405. if ONESHOT == false then
  1406. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG))
  1407. else
  1408. CreateSound(1538571923, TORSO, 10, 1, false)
  1409. HUM.Parent:BreakJoints()
  1410. HUM:remove()
  1411. for _, c in pairs(TORSO.Parent:GetChildren()) do
  1412. if c:IsA("BasePart") then
  1413. c.CanCollide = true
  1414. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45))
  1415. Debris:AddItem(c,MRANDOM(5,20)/10)
  1416. end
  1417. end
  1418. end
  1419. end
  1420. end
  1421. end
  1422. end)
  1423. return TOUCH
  1424. end
  1425.  
  1426. function GoombaStomp(OBJECT)
  1427. for _, c in pairs(OBJECT:GetChildren()) do
  1428. if c:IsA("BasePart") then
  1429. c.Size = VT(c.Size.X,0,c.Size.Z)
  1430. end
  1431. end
  1432. end
  1433. function KillChildren(v)
  1434. v:BreakJoints()
  1435. for _, c in pairs(v:GetChildren()) do
  1436. if c:IsA("BasePart") then
  1437. if c.Transparency < 1 then
  1438. if c:FindFirstChildOfClass("Decal") then
  1439. c:FindFirstChildOfClass("Decal"):remove()
  1440. end
  1441. particles(c)
  1442. c.PE.Enabled = true
  1443. c.Parent = Effects
  1444. c.CanCollide = false
  1445. c.Material = "Neon"
  1446. c.Color = C3(0,0,0)
  1447. c.Transparency = 1
  1448. local grav = Instance.new("BodyPosition",c)
  1449. grav.P = 20000
  1450. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1451. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1452. grav.Name = "GravityForce"
  1453. coroutine.resume(coroutine.create(function()
  1454. for i = 1, 20 do
  1455. Swait()
  1456. c.Transparency = c.Transparency + 1/20
  1457. end
  1458. c.PE.Enabled = false
  1459. Debris:AddItem(c,2)
  1460. end))
  1461. end
  1462. end
  1463. end
  1464. end
  1465.  
  1466. function ApplyAoe(POSITION,RANGE)
  1467. local CHILDREN = workspace:GetDescendants()
  1468. for index, CHILD in pairs(CHILDREN) do
  1469. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1470. local LISTED = false
  1471. for LIST = 1, #WHITELIST do
  1472. if WHITELIST[LIST] ~= nil then
  1473. if CHILD.Name == WHITELIST[LIST] then
  1474. LISTED = true
  1475. end
  1476. end
  1477. end
  1478. if LISTED == false then
  1479. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1480. if HUM then
  1481. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1482. if TORSO then
  1483. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1484. KillChildren(CHILD)
  1485. end
  1486. end
  1487. end
  1488. end
  1489. end
  1490. end
  1491. end
  1492. function oof(Char)
  1493. local NewCharacter = IT("Model",Effects)
  1494. NewCharacter.Name = "Ow im ded ;-;"
  1495. for _, c in pairs(Char:GetDescendants()) do
  1496. if c:IsA("BasePart") and c.Transparency == 0 then
  1497. if c.Parent == Char then
  1498. getbloody(c,5)
  1499. end
  1500. c:BreakJoints()
  1501. c.Material = "Neon"
  1502. c.Color = C3(0,0,0)
  1503. c.CanCollide = true
  1504. c.Transparency = 0.3
  1505. if c:FindFirstChildOfClass("SpecialMesh") then
  1506. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1507. end
  1508. if c.Name == "Head" then
  1509. c:ClearAllChildren()
  1510. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1511. end
  1512. if c.ClassName == "MeshPart" then
  1513. c.TextureID = ""
  1514. end
  1515. if c:FindFirstChildOfClass("BodyPosition") then
  1516. c:FindFirstChildOfClass("BodyPosition"):remove()
  1517. end
  1518. if c:FindFirstChildOfClass("ParticleEmitter") then
  1519. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1520. end
  1521. c.Parent = NewCharacter
  1522. c.Name = "DeadPart"
  1523. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1524. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1525. end
  1526. end
  1527. Char:remove()
  1528. Debris:AddItem(NewCharacter,5)
  1529. end
  1530.  
  1531. function ApplyAOE(POSITION,RANGE,BRUTAL)
  1532. local CHILDREN = workspace:GetDescendants()
  1533. for index, CHILD in pairs(CHILDREN) do
  1534. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1535. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1536. if HUM then
  1537. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1538. if TORSO then
  1539. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1540. if BRUTAL == true then
  1541. Kill(CHILD)
  1542. else
  1543. CHILD:BreakJoints()
  1544. end
  1545. end
  1546. end
  1547. end
  1548. end
  1549. end
  1550. end
  1551.  
  1552. function BulletDetection(FROM,TO,BRUTAL)
  1553. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1554. coroutine.resume(coroutine.create(function()
  1555. if AIMHIT ~= nil then
  1556. if AIMHIT.Parent ~= Character then
  1557. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1558. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1559. if BRUTAL == true then
  1560. Kill(AIMHIT.Parent)
  1561. else
  1562. getbloody(AIMHIT,15)
  1563. AIMHIT.Parent:BreakJoints()
  1564. if AIMHIT.Name == "Head" then
  1565. AIMHIT.Name = "HEADSHOT"
  1566. AIMHIT:remove()
  1567. end
  1568. end
  1569. else
  1570. if BRUTAL == true then
  1571. Kill(AIMHIT.Parent.Parent)
  1572. else
  1573. AIMHIT.Parent.Parent:BreakJoints()
  1574. end
  1575. end
  1576. end
  1577. end
  1578. end
  1579. end))
  1580. SpawnTrail(FROM,AIMPOS)
  1581. return AIMHIT,AIMPOS,NORMAL
  1582. end
  1583.  
  1584. function killnearest(position,range,maxstrength,direction)
  1585. for i,v in ipairs(workspace:GetChildren()) do
  1586. local body = v:GetChildren()
  1587. for part = 1, #body do
  1588. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1589. if(body[part].Position - position).Magnitude < range then
  1590. if v.ClassName == "Model" then
  1591. --v:BreakJoints()
  1592. end
  1593. local POS = position
  1594. coroutine.resume(coroutine.create(function()
  1595. body[part].Anchored = true
  1596. body[part].Parent = Effects
  1597. body[part].CanCollide = true
  1598. local SIZE = body[part].Size
  1599. body[part].Material = "Neon"
  1600. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1601. for i = 1, 75 do
  1602. Swait()
  1603. body[part].Color = C3(0/0, 0/0, 0/0)
  1604. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1605. end
  1606. coroutine.resume(coroutine.create(function()
  1607. while true do
  1608. Swait()
  1609. body[part].Color = C3(0, 0, 0)
  1610. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1611. end
  1612. end))
  1613. body[part].Anchored = false
  1614. body[part].Velocity = direction.lookVector*maxstrength
  1615. end))
  1616. end
  1617. end
  1618. end
  1619. if v.ClassName == "Part" then
  1620. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1621. local POS = position
  1622. coroutine.resume(coroutine.create(function()
  1623. v.Anchored = true
  1624. v.Parent = Effects
  1625. local SIZE = v.Size
  1626. v.Material = "Neon"
  1627. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1628. for i = 1, 75 do
  1629. Swait()
  1630. v.Color = C3(0, 0, 0)
  1631. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1632. end
  1633. coroutine.resume(coroutine.create(function()
  1634. while true do
  1635. Swait()
  1636. v.Color = C3(0/0, 0/0, 0/0)
  1637. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1638. end
  1639. end))
  1640. v.Anchored = false
  1641. v.Velocity = direction.lookVector*maxstrength
  1642. end))
  1643. end
  1644. end
  1645. end
  1646. end
  1647.  
  1648. --//=================================\\
  1649. --|| ATTACK FUNCTIONS AND STUFF
  1650. --\\=================================//
  1651.  
  1652. function ChainPunch1()
  1653. ATTACK = true
  1654. Rooted = false
  1655. local GYRO = IT("BodyGyro",RootPart)
  1656. GYRO.D = 25
  1657. GYRO.P = 2000
  1658. GYRO.MaxTorque = VT(0,40000,0)
  1659. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1660. repeat
  1661. Swait()
  1662. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1663. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1664. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1665. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1666. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1667. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1668. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1669. until HOLD == true
  1670. local POS = Mouse.Hit.p
  1671. local CHAINS = false
  1672. local CHAINLINKS = {}
  1673. local A = IT("Attachment",RightArm)
  1674. A.Position = VT(0,0,0)*SIZE
  1675. A.Orientation = VT(0, 0, 0)
  1676. local B = IT("Attachment",RightArm)
  1677. B.Position = VT(0,0,0)*SIZE
  1678. B.Orientation = VT(0, 0, 0)
  1679. local C = IT("Attachment",RightArm)
  1680. C.Position = VT(0,0,0)*SIZE
  1681. C.Orientation = VT(0, 0, 0)
  1682. local D = IT("Attachment",RightArm)
  1683. D.Position = VT(0,0,0)*SIZE
  1684. D.Orientation = VT(0, 0, 0)
  1685. local LIGHT = IT("Attachment",RightArm)
  1686. LIGHT.Position = VT(0,0,0)*SIZE
  1687. local LIGHT2 = IT("PointLight",LIGHT)
  1688. LIGHT2.Range = 0
  1689. LIGHT2.Brightness = 0
  1690. LIGHT2.Color = SKILLTEXTCOLOR
  1691. for i = 1, 2 do
  1692. local TWIST = -2
  1693. local START = A
  1694. local END = B
  1695. if i == 1 then
  1696. START = B
  1697. END = A
  1698. end
  1699. local ChainLink = IT("Beam",Torso)
  1700. ChainLink.Texture = "rbxassetid://73042633"
  1701. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1702. ChainLink.TextureSpeed = 100
  1703. ChainLink.Width0 = 0
  1704. ChainLink.Width1 = 0
  1705. ChainLink.TextureLength = 0
  1706. ChainLink.Attachment0 = START
  1707. ChainLink.Attachment1 = END
  1708. ChainLink.CurveSize0 = TWIST
  1709. ChainLink.CurveSize1 = TWIST
  1710. --ChainLink.FaceCamera = true
  1711. ChainLink.Segments = 0
  1712. ChainLink.Transparency = NumberSequence.new(1)
  1713. table.insert(CHAINLINKS,ChainLink)
  1714. end
  1715. for i = 1, 2 do
  1716. local TWIST = -1
  1717. local START = C
  1718. local END = D
  1719. if i == 1 then
  1720. START = D
  1721. END = C
  1722. end
  1723. local ChainLink = IT("Beam",Torso)
  1724. ChainLink.Texture = "rbxassetid://73042633"
  1725. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1726. ChainLink.TextureSpeed = 100
  1727. ChainLink.Width0 = 0
  1728. ChainLink.Width1 = 0
  1729. ChainLink.TextureLength = 0
  1730. ChainLink.Attachment0 = START
  1731. ChainLink.Attachment1 = END
  1732. ChainLink.CurveSize0 = TWIST
  1733. ChainLink.CurveSize1 = TWIST
  1734. --ChainLink.FaceCamera = true
  1735. ChainLink.Segments = 0
  1736. ChainLink.LightEmission = 0
  1737. ChainLink.Transparency = NumberSequence.new(1)
  1738. table.insert(CHAINLINKS,ChainLink)
  1739. end
  1740. coroutine.resume(coroutine.create(function()
  1741. repeat
  1742. Swait()
  1743. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1744. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1745. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1746. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1747. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1748. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1749. until CHAINS == true
  1750. repeat
  1751. Swait()
  1752. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1756. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1757. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1758. until ATTACK == false
  1759. for e = 1, 15 do
  1760. Swait()
  1761. for i = 1, #CHAINLINKS do
  1762. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1763. end
  1764. end
  1765. A:remove()
  1766. B:remove()
  1767. C:remove()
  1768. D:remove()
  1769. end))
  1770. CreateSound(233856115, RightArm, 5, 1.2, false)
  1771. for e = 1, 15 do
  1772. Swait()
  1773. for i = 1, #CHAINLINKS do
  1774. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1775. end
  1776. end
  1777. CHAINS = true
  1778. Rooted = true
  1779. wait(0.25)
  1780. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Part", VT(2,2,2))
  1781. FIST.Color = Color3.fromRGB(255, 255, 255)
  1782. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1783. local LIGHT3 = IT("PointLight",FIST)
  1784. LIGHT3.Range = 0
  1785. LIGHT3.Brightness = 0
  1786. LIGHT3.Color = SKILLTEXTCOLOR
  1787. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(0,0,0), VT(0,0,0))
  1788. local FISTA = IT("Attachment",FIST)
  1789. FISTA.Position = VT(0, 0, 0)
  1790. local ChainLink = IT("Beam",Torso)
  1791. ChainLink.Texture = "rbxassetid://0"
  1792. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1793. ChainLink.TextureSpeed = 100
  1794. ChainLink.Width0 = 0
  1795. ChainLink.Width1 = 0
  1796. ChainLink.TextureLength = 0
  1797. ChainLink.Attachment0 = LIGHT
  1798. ChainLink.Attachment1 = FISTA
  1799. ChainLink.FaceCamera = true
  1800. ChainLink.Segments = 0
  1801. ChainLink.LightEmission = 0
  1802. ChainLink.Transparency = NumberSequence.new(0.25)
  1803. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1804. for i = 1, 85 do
  1805. Swait()
  1806. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1807. ChainLink.TextureLength = 12+(i*2)
  1808. ApplyAoE(FIST.Position,10,15,25,100,false)
  1809. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(10,10,10)*SIZE, Size2 = VT(25,25,25), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255, 255, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1810. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1811. if HITFLOOR ~= nil then
  1812. HITFLOOR:BreakJoints()
  1813. coroutine.resume(coroutine.create(function()
  1814. for i = 1, 15 do
  1815. Swait()
  1816. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1817. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1818. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(30,30,30)*SIZE, Size2 = VT(30,30,30), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1819. end
  1820. end))
  1821. break
  1822. end
  1823. end
  1824. coroutine.resume(coroutine.create(function()
  1825. for i = 1, 50 do
  1826. Swait()
  1827. FIST.Transparency = FIST.Transparency + 0.5/50
  1828. LIGHT3.Range = LIGHT3.Range - 7/50
  1829. end
  1830. FIST:remove()
  1831. end))
  1832. LIGHT:remove()
  1833. GYRO:remove()
  1834. ATTACK = false
  1835. Rooted = false
  1836. end
  1837.  
  1838. function ChainPunch2()
  1839. ATTACK = true
  1840. Rooted = false
  1841. local GYRO = IT("BodyGyro",RootPart)
  1842. GYRO.D = 25
  1843. GYRO.P = 2000
  1844. GYRO.MaxTorque = VT(0,40000,0)
  1845. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1846. repeat
  1847. Swait()
  1848. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1853. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1855. until HOLD == true
  1856. local POS = Mouse.Hit.p
  1857. local CHAINS = false
  1858. local CHAINLINKS = {}
  1859. local A = IT("Attachment",RightArm)
  1860. A.Position = VT(0,0,0)*SIZE
  1861. A.Orientation = VT(0, 0, 0)
  1862. local B = IT("Attachment",RightArm)
  1863. B.Position = VT(0,0,0)*SIZE
  1864. B.Orientation = VT(0, 0, 0)
  1865. local C = IT("Attachment",RightArm)
  1866. C.Position = VT(0,0,0)*SIZE
  1867. C.Orientation = VT(0, 0, 0)
  1868. local D = IT("Attachment",RightArm)
  1869. D.Position = VT(0,0,0)*SIZE
  1870. D.Orientation = VT(0, 0, 0)
  1871. local LIGHT = IT("Attachment",RightArm)
  1872. LIGHT.Position = VT(0,0,0)*SIZE
  1873. local LIGHT2 = IT("PointLight",LIGHT)
  1874. LIGHT2.Range = 0
  1875. LIGHT2.Brightness = 0
  1876. LIGHT2.Color = SKILLTEXTCOLOR
  1877. for i = 1, 2 do
  1878. local TWIST = -2
  1879. local START = A
  1880. local END = B
  1881. if i == 1 then
  1882. START = B
  1883. END = A
  1884. end
  1885. local ChainLink = IT("Beam",Torso)
  1886. ChainLink.Texture = "rbxassetid://73042633"
  1887. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1888. ChainLink.TextureSpeed = 100
  1889. ChainLink.Width0 = 0
  1890. ChainLink.Width1 = 0
  1891. ChainLink.TextureLength = 0
  1892. ChainLink.Attachment0 = START
  1893. ChainLink.Attachment1 = END
  1894. ChainLink.CurveSize0 = TWIST
  1895. ChainLink.CurveSize1 = TWIST
  1896. --ChainLink.FaceCamera = true
  1897. ChainLink.Segments = 0
  1898. ChainLink.Transparency = NumberSequence.new(1)
  1899. table.insert(CHAINLINKS,ChainLink)
  1900. end
  1901. for i = 1, 2 do
  1902. local TWIST = -1
  1903. local START = C
  1904. local END = D
  1905. if i == 1 then
  1906. START = D
  1907. END = C
  1908. end
  1909. local ChainLink = IT("Beam",Torso)
  1910. ChainLink.Texture = "rbxassetid://73042633"
  1911. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1912. ChainLink.TextureSpeed = 100
  1913. ChainLink.Width0 = 0
  1914. ChainLink.Width1 = 0
  1915. ChainLink.TextureLength = 0
  1916. ChainLink.Attachment0 = START
  1917. ChainLink.Attachment1 = END
  1918. ChainLink.CurveSize0 = TWIST
  1919. ChainLink.CurveSize1 = TWIST
  1920. --ChainLink.FaceCamera = true
  1921. ChainLink.Segments = 0
  1922. ChainLink.LightEmission = 0
  1923. ChainLink.Transparency = NumberSequence.new(1)
  1924. table.insert(CHAINLINKS,ChainLink)
  1925. end
  1926. coroutine.resume(coroutine.create(function()
  1927. repeat
  1928. Swait()
  1929. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1932. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1933. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1934. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1935. until CHAINS == true
  1936. repeat
  1937. Swait()
  1938. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1939. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1940. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1941. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1942. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1943. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1944. until ATTACK == false
  1945. for e = 1, 15 do
  1946. Swait()
  1947. for i = 1, #CHAINLINKS do
  1948. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1949. end
  1950. end
  1951. A:remove()
  1952. B:remove()
  1953. C:remove()
  1954. D:remove()
  1955. end))
  1956. CreateSound(233856115, RightArm, 5, 1.2, false)
  1957. for e = 1, 15 do
  1958. Swait()
  1959. for i = 1, #CHAINLINKS do
  1960. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1961. end
  1962. end
  1963. CHAINS = true
  1964. Rooted = true
  1965. wait(0.25)
  1966. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Part", VT(2,2,2))
  1967. FIST.Color = Color3.fromRGB(255, 255, 255)
  1968. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1969. local LIGHT3 = IT("PointLight",FIST)
  1970. LIGHT3.Range = 0
  1971. LIGHT3.Brightness = 0
  1972. LIGHT3.Color = SKILLTEXTCOLOR
  1973. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(0,0,0), VT(0,0,0))
  1974. local FISTA = IT("Attachment",FIST)
  1975. FISTA.Position = VT(0, 0, 0)
  1976. local ChainLink = IT("Beam",Torso)
  1977. ChainLink.Texture = "rbxassetid://0"
  1978. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1979. ChainLink.TextureSpeed = 100
  1980. ChainLink.Width0 = 0
  1981. ChainLink.Width1 = 0
  1982. ChainLink.TextureLength = 0
  1983. ChainLink.Attachment0 = LIGHT
  1984. ChainLink.Attachment1 = FISTA
  1985. ChainLink.FaceCamera = true
  1986. ChainLink.Segments = 0
  1987. ChainLink.LightEmission = 0
  1988. ChainLink.Transparency = NumberSequence.new(0.25)
  1989. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1990. for i = 1, 85 do
  1991. Swait()
  1992. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1993. ChainLink.TextureLength = 12+(i*2)
  1994. ApplyAoE(FIST.Position,10,15,25,100,false)
  1995. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(20,90,20)*SIZE, Size2 = VT(20,90,20), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255, 255, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1996. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1997. if HITFLOOR ~= nil then
  1998. HITFLOOR:BreakJoints()
  1999. coroutine.resume(coroutine.create(function()
  2000. for i = 1, 15 do
  2001. Swait()
  2002. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2003. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2004. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(50,50,50)*SIZE, Size2 = VT(50,50,50), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2005. end
  2006. end))
  2007. break
  2008. end
  2009. end
  2010. coroutine.resume(coroutine.create(function()
  2011. for i = 1, 50 do
  2012. Swait()
  2013. FIST.Transparency = FIST.Transparency + 0.5/50
  2014. LIGHT3.Range = LIGHT3.Range - 7/50
  2015. end
  2016. FIST:remove()
  2017. end))
  2018. LIGHT:remove()
  2019. GYRO:remove()
  2020. ATTACK = false
  2021. Rooted = false
  2022. end
  2023.  
  2024. function ChainPunch3()
  2025. ATTACK = true
  2026. Rooted = false
  2027. local GYRO = IT("BodyGyro",RootPart)
  2028. GYRO.D = 25
  2029. GYRO.P = 2000
  2030. GYRO.MaxTorque = VT(0,40000,0)
  2031. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2032. repeat
  2033. Swait()
  2034. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2039. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2041. until HOLD == true
  2042. local POS = Mouse.Hit.p
  2043. local CHAINS = false
  2044. local CHAINLINKS = {}
  2045. local A = IT("Attachment",RightArm)
  2046. A.Position = VT(0,0,0)*SIZE
  2047. A.Orientation = VT(0, 0, 0)
  2048. local B = IT("Attachment",RightArm)
  2049. B.Position = VT(0,0,0)*SIZE
  2050. B.Orientation = VT(0, 0, 0)
  2051. local C = IT("Attachment",RightArm)
  2052. C.Position = VT(0,0,0)*SIZE
  2053. C.Orientation = VT(0, 0, 0)
  2054. local D = IT("Attachment",RightArm)
  2055. D.Position = VT(0,0,0)*SIZE
  2056. D.Orientation = VT(0, 0, 0)
  2057. local LIGHT = IT("Attachment",RightArm)
  2058. LIGHT.Position = VT(0,0,0)*SIZE
  2059. local LIGHT2 = IT("PointLight",LIGHT)
  2060. LIGHT2.Range = 0
  2061. LIGHT2.Brightness = 0
  2062. LIGHT2.Color = SKILLTEXTCOLOR
  2063. for i = 1, 2 do
  2064. local TWIST = -2
  2065. local START = A
  2066. local END = B
  2067. if i == 1 then
  2068. START = B
  2069. END = A
  2070. end
  2071. local ChainLink = IT("Beam",Torso)
  2072. ChainLink.Texture = "rbxassetid://73042633"
  2073. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2074. ChainLink.TextureSpeed = 100
  2075. ChainLink.Width0 = 0
  2076. ChainLink.Width1 = 0
  2077. ChainLink.TextureLength = 0
  2078. ChainLink.Attachment0 = START
  2079. ChainLink.Attachment1 = END
  2080. ChainLink.CurveSize0 = TWIST
  2081. ChainLink.CurveSize1 = TWIST
  2082. --ChainLink.FaceCamera = true
  2083. ChainLink.Segments = 0
  2084. ChainLink.Transparency = NumberSequence.new(1)
  2085. table.insert(CHAINLINKS,ChainLink)
  2086. end
  2087. for i = 1, 2 do
  2088. local TWIST = -1
  2089. local START = C
  2090. local END = D
  2091. if i == 1 then
  2092. START = D
  2093. END = C
  2094. end
  2095. local ChainLink = IT("Beam",Torso)
  2096. ChainLink.Texture = "rbxassetid://73042633"
  2097. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2098. ChainLink.TextureSpeed = 100
  2099. ChainLink.Width0 = 0
  2100. ChainLink.Width1 = 0
  2101. ChainLink.TextureLength = 0
  2102. ChainLink.Attachment0 = START
  2103. ChainLink.Attachment1 = END
  2104. ChainLink.CurveSize0 = TWIST
  2105. ChainLink.CurveSize1 = TWIST
  2106. --ChainLink.FaceCamera = true
  2107. ChainLink.Segments = 0
  2108. ChainLink.LightEmission = 0
  2109. ChainLink.Transparency = NumberSequence.new(1)
  2110. table.insert(CHAINLINKS,ChainLink)
  2111. end
  2112. coroutine.resume(coroutine.create(function()
  2113. repeat
  2114. Swait()
  2115. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2117. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2118. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2119. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2120. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2121. until CHAINS == true
  2122. repeat
  2123. Swait()
  2124. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2128. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2130. until ATTACK == false
  2131. for e = 1, 15 do
  2132. Swait()
  2133. for i = 1, #CHAINLINKS do
  2134. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2135. end
  2136. end
  2137. A:remove()
  2138. B:remove()
  2139. C:remove()
  2140. D:remove()
  2141. end))
  2142. CreateSound(233856115, RightArm, 5, 1.2, false)
  2143. for e = 1, 15 do
  2144. Swait()
  2145. for i = 1, #CHAINLINKS do
  2146. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2147. end
  2148. end
  2149. CHAINS = true
  2150. Rooted = true
  2151. wait(0.25)
  2152. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Part", VT(2,2,2))
  2153. FIST.Color = Color3.fromRGB(255, 255, 255)
  2154. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2155. local LIGHT3 = IT("PointLight",FIST)
  2156. LIGHT3.Range = 0
  2157. LIGHT3.Brightness = 0
  2158. LIGHT3.Color = SKILLTEXTCOLOR
  2159. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(0,0,0), VT(0,0,0))
  2160. local FISTA = IT("Attachment",FIST)
  2161. FISTA.Position = VT(0, 0, 0)
  2162. local ChainLink = IT("Beam",Torso)
  2163. ChainLink.Texture = "rbxassetid://0"
  2164. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2165. ChainLink.TextureSpeed = 100
  2166. ChainLink.Width0 = 0
  2167. ChainLink.Width1 = 0
  2168. ChainLink.TextureLength = 0
  2169. ChainLink.Attachment0 = LIGHT
  2170. ChainLink.Attachment1 = FISTA
  2171. ChainLink.FaceCamera = true
  2172. ChainLink.Segments = 0
  2173. ChainLink.LightEmission = 0
  2174. ChainLink.Transparency = NumberSequence.new(0.25)
  2175. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2176. for i = 1, 85 do
  2177. Swait()
  2178. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2179. ChainLink.TextureLength = 12+(i*2)
  2180. ApplyAoE(FIST.Position,10,15,25,100,false)
  2181. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(50,10,50)*SIZE, Size2 = VT(50,10,50), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255, 255, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2182. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2183. if HITFLOOR ~= nil then
  2184. HITFLOOR:BreakJoints()
  2185. coroutine.resume(coroutine.create(function()
  2186. for i = 1, 15 do
  2187. Swait()
  2188. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2189. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2190. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(100,100,100)*SIZE, Size2 = VT(100,100,100), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2191. end
  2192. end))
  2193. break
  2194. end
  2195. end
  2196. coroutine.resume(coroutine.create(function()
  2197. for i = 1, 50 do
  2198. Swait()
  2199. FIST.Transparency = FIST.Transparency + 0.5/50
  2200. LIGHT3.Range = LIGHT3.Range - 7/50
  2201. end
  2202. FIST:remove()
  2203. end))
  2204. LIGHT:remove()
  2205. GYRO:remove()
  2206. ATTACK = false
  2207. Rooted = false
  2208. end
  2209.  
  2210. function ChainPunch4()
  2211. ATTACK = true
  2212. Rooted = false
  2213. local GYRO = IT("BodyGyro",RootPart)
  2214. GYRO.D = 25
  2215. GYRO.P = 2000
  2216. GYRO.MaxTorque = VT(0,40000,0)
  2217. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2218. repeat
  2219. Swait()
  2220. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2221. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2222. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2225. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2226. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2227. until HOLD == true
  2228. local POS = Mouse.Hit.p
  2229. local CHAINS = false
  2230. local CHAINLINKS = {}
  2231. local A = IT("Attachment",RightArm)
  2232. A.Position = VT(0,0,0)*SIZE
  2233. A.Orientation = VT(0, 0, 0)
  2234. local B = IT("Attachment",RightArm)
  2235. B.Position = VT(0,0,0)*SIZE
  2236. B.Orientation = VT(0, 0, 0)
  2237. local C = IT("Attachment",RightArm)
  2238. C.Position = VT(0,0,0)*SIZE
  2239. C.Orientation = VT(0, 0, 0)
  2240. local D = IT("Attachment",RightArm)
  2241. D.Position = VT(0,0,0)*SIZE
  2242. D.Orientation = VT(0, 0, 0)
  2243. local LIGHT = IT("Attachment",RightArm)
  2244. LIGHT.Position = VT(0,0,0)*SIZE
  2245. local LIGHT2 = IT("PointLight",LIGHT)
  2246. LIGHT2.Range = 0
  2247. LIGHT2.Brightness = 0
  2248. LIGHT2.Color = SKILLTEXTCOLOR
  2249. for i = 1, 2 do
  2250. local TWIST = -2
  2251. local START = A
  2252. local END = B
  2253. if i == 1 then
  2254. START = B
  2255. END = A
  2256. end
  2257. local ChainLink = IT("Beam",Torso)
  2258. ChainLink.Texture = "rbxassetid://73042633"
  2259. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2260. ChainLink.TextureSpeed = 100
  2261. ChainLink.Width0 = 0
  2262. ChainLink.Width1 = 0
  2263. ChainLink.TextureLength = 0
  2264. ChainLink.Attachment0 = START
  2265. ChainLink.Attachment1 = END
  2266. ChainLink.CurveSize0 = TWIST
  2267. ChainLink.CurveSize1 = TWIST
  2268. --ChainLink.FaceCamera = true
  2269. ChainLink.Segments = 0
  2270. ChainLink.Transparency = NumberSequence.new(1)
  2271. table.insert(CHAINLINKS,ChainLink)
  2272. end
  2273. for i = 1, 2 do
  2274. local TWIST = -1
  2275. local START = C
  2276. local END = D
  2277. if i == 1 then
  2278. START = D
  2279. END = C
  2280. end
  2281. local ChainLink = IT("Beam",Torso)
  2282. ChainLink.Texture = "rbxassetid://73042633"
  2283. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2284. ChainLink.TextureSpeed = 100
  2285. ChainLink.Width0 = 0
  2286. ChainLink.Width1 = 0
  2287. ChainLink.TextureLength = 0
  2288. ChainLink.Attachment0 = START
  2289. ChainLink.Attachment1 = END
  2290. ChainLink.CurveSize0 = TWIST
  2291. ChainLink.CurveSize1 = TWIST
  2292. --ChainLink.FaceCamera = true
  2293. ChainLink.Segments = 0
  2294. ChainLink.LightEmission = 0
  2295. ChainLink.Transparency = NumberSequence.new(1)
  2296. table.insert(CHAINLINKS,ChainLink)
  2297. end
  2298. coroutine.resume(coroutine.create(function()
  2299. repeat
  2300. Swait()
  2301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2305. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2306. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2307. until CHAINS == true
  2308. repeat
  2309. Swait()
  2310. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2311. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2314. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2315. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2316. until ATTACK == false
  2317. for e = 1, 15 do
  2318. Swait()
  2319. for i = 1, #CHAINLINKS do
  2320. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2321. end
  2322. end
  2323. A:remove()
  2324. B:remove()
  2325. C:remove()
  2326. D:remove()
  2327. end))
  2328. CreateSound(233856115, RightArm, 5, 1.2, false)
  2329. for e = 1, 15 do
  2330. Swait()
  2331. for i = 1, #CHAINLINKS do
  2332. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2333. end
  2334. end
  2335. CHAINS = true
  2336. Rooted = true
  2337. wait(0.25)
  2338. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Part", VT(2,2,2))
  2339. FIST.Color = Color3.fromRGB(255, 255, 255)
  2340. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2341. local LIGHT3 = IT("PointLight",FIST)
  2342. LIGHT3.Range = 0
  2343. LIGHT3.Brightness = 0
  2344. LIGHT3.Color = SKILLTEXTCOLOR
  2345. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(0,0,0), VT(0,0,0))
  2346. local FISTA = IT("Attachment",FIST)
  2347. FISTA.Position = VT(0, 0, 0)
  2348. local ChainLink = IT("Beam",Torso)
  2349. ChainLink.Texture = "rbxassetid://0"
  2350. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2351. ChainLink.TextureSpeed = 100
  2352. ChainLink.Width0 = 0
  2353. ChainLink.Width1 = 0
  2354. ChainLink.TextureLength = 0
  2355. ChainLink.Attachment0 = LIGHT
  2356. ChainLink.Attachment1 = FISTA
  2357. ChainLink.FaceCamera = true
  2358. ChainLink.Segments = 0
  2359. ChainLink.LightEmission = 0
  2360. ChainLink.Transparency = NumberSequence.new(0.25)
  2361. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2362. for i = 1, 85 do
  2363. Swait()
  2364. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2365. ChainLink.TextureLength = 12+(i*2)
  2366. ApplyAoE(FIST.Position,10,15,25,100,false)
  2367. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(150,150,150)*SIZE, Size2 = VT(75,75,75), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255, 255, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2368. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2369. if HITFLOOR ~= nil then
  2370. HITFLOOR:BreakJoints()
  2371. coroutine.resume(coroutine.create(function()
  2372. for i = 1, 15 do
  2373. Swait()
  2374. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2375. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2376. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(150,150,150)*SIZE, Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2377. end
  2378. end))
  2379. break
  2380. end
  2381. end
  2382. coroutine.resume(coroutine.create(function()
  2383. for i = 1, 50 do
  2384. Swait()
  2385. FIST.Transparency = FIST.Transparency + 0.5/50
  2386. LIGHT3.Range = LIGHT3.Range - 7/50
  2387. end
  2388. FIST:remove()
  2389. end))
  2390. LIGHT:remove()
  2391. GYRO:remove()
  2392. ATTACK = false
  2393. Rooted = false
  2394. end
  2395.  
  2396.  
  2397. --//=================================\\
  2398. --|| ASSIGN THINGS TO KEYS
  2399. --\\=================================//
  2400.  
  2401. function MouseDown(Mouse)
  2402. HOLD = true
  2403. if ATTACK == false then
  2404. end
  2405. end
  2406.  
  2407. function MouseUp(Mouse)
  2408. HOLD = false
  2409. end
  2410.  
  2411. function KeyDown(Key)
  2412. KEYHOLD = true
  2413.  
  2414. if Key == "z" and ATTACK == false then
  2415. ChainPunch1()
  2416. end
  2417.  
  2418. if Key == "c" and ATTACK == false then
  2419. ChainPunch3()
  2420. end
  2421.  
  2422. if Key == "v" and ATTACK == false then
  2423. ChainPunch4()
  2424. end
  2425.  
  2426. if Key == "x" and ATTACK == false then
  2427. ChainPunch2()
  2428. end
  2429. end
  2430.  
  2431. function KeyUp(Key)
  2432. KEYHOLD = false
  2433. end
  2434.  
  2435. Mouse.Button1Down:connect(function(NEWKEY)
  2436. MouseDown(NEWKEY)
  2437. end)
  2438. Mouse.Button1Up:connect(function(NEWKEY)
  2439. MouseUp(NEWKEY)
  2440. end)
  2441. Mouse.KeyDown:connect(function(NEWKEY)
  2442. KeyDown(NEWKEY)
  2443. end)
  2444. Mouse.KeyUp:connect(function(NEWKEY)
  2445. KeyUp(NEWKEY)
  2446. end)
  2447.  
  2448. --//=================================\\
  2449. --\\=================================//
  2450.  
  2451.  
  2452. function unanchor()
  2453. if UNANCHOR == true then
  2454. g = Character:GetChildren()
  2455. for i = 1, #g do
  2456. if g[i].ClassName == "Part" then
  2457. g[i].Anchored = false
  2458. end
  2459. end
  2460. end
  2461. end
  2462.  
  2463. Swait()
  2464. warn("1x1x1x1x1x1x1x0x0x2 and Penien23 Edit")
  2465.  
  2466. --//=================================\\
  2467. --|| WRAP THE WHOLE SCRIPT UP
  2468. --\\=================================//
  2469.  
  2470. Humanoid.Changed:connect(function(Jump)
  2471. if Jump == "Jump" and (Disable_Jump == true) then
  2472. Humanoid.Jump = false
  2473. end
  2474. end)
  2475.  
  2476. while true do
  2477. Swait()
  2478. script.Parent = WEAPONGUI
  2479. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2480. v:Stop();
  2481. end
  2482. ANIMATE.Parent = nil
  2483. SINE = SINE + CHANGE*1.5
  2484. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2485. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2486. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2487. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2488. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2489. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2490. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  2491. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2492. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2493. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2494. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2495. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2496. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2497. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2498. end
  2499. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2500. ANIM = "Jump"
  2501. if ATTACK == false then
  2502. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2503. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2504. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2505. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2506. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2507. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2508. end
  2509. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2510. ANIM = "Fall"
  2511. if ATTACK == false then
  2512. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2513. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2516. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2518. end
  2519. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2520. ANIM = "Idle"
  2521. if ATTACK == false then
  2522. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(15 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2526. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2528. end
  2529. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2530. ANIM = "Walk"
  2531. if ATTACK == false then
  2532. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2535. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2536. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2537. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2538. end
  2539. end
  2540. unanchor()
  2541. Humanoid.MaxHealth = "inf"
  2542. Humanoid.Health = "inf"
  2543. if Rooted == false then
  2544. Disable_Jump = false
  2545. Humanoid.WalkSpeed = Speed
  2546. elseif Rooted == true then
  2547. Disable_Jump = true
  2548. Humanoid.WalkSpeed = 0
  2549. end
  2550. for _, c in pairs(Character:GetChildren()) do
  2551. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2552. c.Material = "Neon"
  2553. if c:FindFirstChildOfClass("ParticleEmitter") then
  2554. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2555. end
  2556. c.Color = C3(1,1,1)
  2557. if c == Head then
  2558. if c:FindFirstChild("face") then
  2559. c.face:remove()
  2560. end
  2561. end
  2562. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  2563. c:remove()
  2564. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2565. c:remove()
  2566. end
  2567. end
  2568. sick.SoundId = "rbxassetid://450783524"
  2569. sick.Looped = true
  2570. sick.Pitch = 1
  2571. sick.Volume = 99
  2572. sick:Resume()
  2573. sick.Parent = Torso
  2574. refit()
  2575. if Head:FindFirstChildOfClass("Sound") then
  2576. Head:FindFirstChildOfClass("Sound"):remove()
  2577. end
  2578. end
  2579.  
  2580. --//=================================\\
  2581. --\\=================================//
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587. --//====================================================\\--
  2588. --|| END OF SCRIPT
  2589. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement