Advertisement
wanTH092

CrimsonGlove

Jun 24th, 2018
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.47 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://608726256"
  33. sick.Looped = true
  34. sick.Pitch = 0.7
  35. sick.Volume = 1
  36. sick:Play()
  37.  
  38. local HBill = Instance.new("BillboardGui",Head)
  39. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  40. local HName = Instance.new("TextLabel")
  41. HBill.Size = UDim2.new(15,0,2.2,0)
  42. HBill.Name = "Health Display"
  43. HBill.StudsOffset = Vector3.new(3.675,2,0)
  44. HBill.AlwaysOnTop = true
  45. HBill.Enabled = true
  46. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  47. HMain.BackgroundTransparency = 1
  48. HMain.Size = UDim2.new(.5,0,.5,0)
  49. HName.Parent = HMain
  50. HName.BackgroundTransparency = 1
  51. HName.BackgroundColor3 = Color3.new(0,0,0)
  52. HName.BorderColor3 = Color3.new(0,155,155)
  53. HName.BorderSizePixel = 2
  54. HName.Size = UDim2.new(1,0,.75,0)
  55. HName.Font = "Highway"
  56. HName.Text = ""
  57. HName.TextScaled = true
  58. HName.TextColor3 = Color3.new(102,0,0)
  59. HName.TextStrokeColor3 = Color3.new(51,0,0)
  60. HName.TextStrokeTransparency = 0
  61. HName.TextYAlignment = "Bottom"
  62.  
  63. IT = Instance.new
  64. CF = CFrame.new
  65. VT = Vector3.new
  66. RAD = math.rad
  67. C3 = Color3.new
  68. UD2 = UDim2.new
  69. BRICKC = BrickColor.new
  70. ANGLES = CFrame.Angles
  71. EULER = CFrame.fromEulerAnglesXYZ
  72. COS = math.cos
  73. ACOS = math.acos
  74. SIN = math.sin
  75. ASIN = math.asin
  76. ABS = math.abs
  77. MRANDOM = math.random
  78. FLOOR = math.floor
  79.  
  80. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  81. local NEWMESH = IT(MESH)
  82. if MESH == "SpecialMesh" then
  83. NEWMESH.MeshType = MESHTYPE
  84. if MESHID ~= "nil" and MESHID ~= "" then
  85. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  86. end
  87. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  88. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  89. end
  90. end
  91. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  92. NEWMESH.Scale = SCALE
  93. NEWMESH.Parent = PARENT
  94. return NEWMESH
  95. end
  96.  
  97. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  98. local NEWPART = IT("Part")
  99. NEWPART.formFactor = FORMFACTOR
  100. NEWPART.Reflectance = REFLECTANCE
  101. NEWPART.Transparency = TRANSPARENCY
  102. NEWPART.CanCollide = false
  103. NEWPART.Locked = true
  104. NEWPART.Anchored = true
  105. if ANCHOR == false then
  106. NEWPART.Anchored = false
  107. end
  108. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  109. NEWPART.Name = NAME
  110. NEWPART.Size = SIZE
  111. NEWPART.Position = Torso.Position
  112. NEWPART.Material = MATERIAL
  113. NEWPART:BreakJoints()
  114. NEWPART.Parent = PARENT
  115. return NEWPART
  116. end
  117.  
  118. --//=================================\\
  119. --|| CUSTOMIZATION
  120. --\\=================================//
  121.  
  122. Player_Size = 1 --Size of the player.
  123. Animation_Speed = 3
  124. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  125.  
  126. local Speed = 16
  127. local Effects2 = {}
  128.  
  129. --//=================================\\
  130. --|| END OF CUSTOMIZATION
  131. --\\=================================//
  132.  
  133. local function weldBetween(a, b)
  134. local weldd = Instance.new("ManualWeld")
  135. weldd.Part0 = a
  136. weldd.Part1 = b
  137. weldd.C0 = CFrame.new()
  138. weldd.C1 = b.CFrame:inverse() * a.CFrame
  139. weldd.Parent = a
  140. return weldd
  141. end
  142.  
  143. --//=================================\\
  144. --|| USEFUL VALUES
  145. --\\=================================//
  146.  
  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 CHANGEDEFENSE = 0
  152. local CHANGEDAMAGE = 0
  153. local CHANGEMOVEMENT = 0
  154. local ANIM = "Idle"
  155. local ATTACK = false
  156. local EQUIPPED = false
  157. local HOLD = false
  158. local COMBO = 1
  159. local Rooted = false
  160. local SINE = 0
  161. local KEYHOLD = false
  162. local CHANGE = 2 / Animation_Speed
  163. local WALKINGANIM = false
  164. local WALK = 0
  165. local VALUE1 = false
  166. local VALUE2 = false
  167. local ROBLOXIDLEANIMATION = IT("Animation")
  168. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  169. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  170. --ROBLOXIDLEANIMATION.Parent = Humanoid
  171. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  172. WEAPONGUI.Name = "Weapon GUI"
  173. local Weapon = IT("Model")
  174. Weapon.Name = "Adds"
  175. local HITFLOOR = nil
  176. local Effects = IT("Folder", Weapon)
  177. Effects.Name = "Effects"
  178. local ANIMATOR = Humanoid.Animator
  179. local ANIMATE = Character.Animate
  180. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  181. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  182. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  183. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  184. local UNANCHOR = true
  185.  
  186. local SKILLTEXTCOLOR = C3(102,0,0)
  187.  
  188. --//=================================\\
  189. --\\=================================//
  190.  
  191.  
  192. --//=================================\\
  193. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  194. --\\=================================//
  195.  
  196. ArtificialHB = Instance.new("BindableEvent", script)
  197. ArtificialHB.Name = "ArtificialHB"
  198.  
  199. script:WaitForChild("ArtificialHB")
  200.  
  201. frame = Frame_Speed
  202. tf = 0
  203. allowframeloss = false
  204. tossremainder = false
  205. lastframe = tick()
  206. script.ArtificialHB:Fire()
  207.  
  208. game:GetService("RunService").Heartbeat:connect(function(s, p)
  209. tf = tf + s
  210. if tf >= frame then
  211. if allowframeloss then
  212. script.ArtificialHB:Fire()
  213. lastframe = tick()
  214. else
  215. for i = 1, math.floor(tf / frame) do
  216. script.ArtificialHB:Fire()
  217. end
  218. lastframe = tick()
  219. end
  220. if tossremainder then
  221. tf = 0
  222. else
  223. tf = tf - frame * math.floor(tf / frame)
  224. end
  225. end
  226. end)
  227.  
  228. --//=================================\\
  229. --\\=================================//
  230.  
  231.  
  232.  
  233.  
  234.  
  235. --//=================================\\
  236. --|| SOME FUNCTIONS
  237. --\\=================================//
  238.  
  239. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  240. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  241. end
  242.  
  243. function PositiveAngle(NUMBER)
  244. if NUMBER >= 0 then
  245. NUMBER = 0
  246. end
  247. return NUMBER
  248. end
  249.  
  250. function NegativeAngle(NUMBER)
  251. if NUMBER <= 0 then
  252. NUMBER = 0
  253. end
  254. return NUMBER
  255. end
  256.  
  257. function Swait(NUMBER)
  258. if NUMBER == 0 or NUMBER == nil then
  259. ArtificialHB.Event:wait()
  260. else
  261. for i = 1, NUMBER do
  262. ArtificialHB.Event:wait()
  263. end
  264. end
  265. end
  266.  
  267. function QuaternionFromCFrame(cf)
  268. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  269. local trace = m00 + m11 + m22
  270. if trace > 0 then
  271. local s = math.sqrt(1 + trace)
  272. local recip = 0.5 / s
  273. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  274. else
  275. local i = 0
  276. if m11 > m00 then
  277. i = 1
  278. end
  279. if m22 > (i == 0 and m00 or m11) then
  280. i = 2
  281. end
  282. if i == 0 then
  283. local s = math.sqrt(m00 - m11 - m22 + 1)
  284. local recip = 0.5 / s
  285. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  286. elseif i == 1 then
  287. local s = math.sqrt(m11 - m22 - m00 + 1)
  288. local recip = 0.5 / s
  289. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  290. elseif i == 2 then
  291. local s = math.sqrt(m22 - m00 - m11 + 1)
  292. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  293. end
  294. end
  295. end
  296.  
  297. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  298. local xs, ys, zs = x + x, y + y, z + z
  299. local wx, wy, wz = w * xs, w * ys, w * zs
  300. local xx = x * xs
  301. local xy = x * ys
  302. local xz = x * zs
  303. local yy = y * ys
  304. local yz = y * zs
  305. local zz = z * zs
  306. 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))
  307. end
  308.  
  309. function QuaternionSlerp(a, b, t)
  310. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  311. local startInterp, finishInterp;
  312. if cosTheta >= 0.0001 then
  313. if (1 - cosTheta) > 0.0001 then
  314. local theta = ACOS(cosTheta)
  315. local invSinTheta = 1 / SIN(theta)
  316. startInterp = SIN((1 - t) * theta) * invSinTheta
  317. finishInterp = SIN(t * theta) * invSinTheta
  318. else
  319. startInterp = 1 - t
  320. finishInterp = t
  321. end
  322. else
  323. if (1 + cosTheta) > 0.0001 then
  324. local theta = ACOS(-cosTheta)
  325. local invSinTheta = 1 / SIN(theta)
  326. startInterp = SIN((t - 1) * theta) * invSinTheta
  327. finishInterp = SIN(t * theta) * invSinTheta
  328. else
  329. startInterp = t - 1
  330. finishInterp = t
  331. end
  332. end
  333. 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
  334. end
  335.  
  336. function Clerp(a, b, t)
  337. local qa = {QuaternionFromCFrame(a)}
  338. local qb = {QuaternionFromCFrame(b)}
  339. local ax, ay, az = a.x, a.y, a.z
  340. local bx, by, bz = b.x, b.y, b.z
  341. local _t = 1 - t
  342. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  343. end
  344.  
  345. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  346. local frame = IT("Frame")
  347. frame.BackgroundTransparency = TRANSPARENCY
  348. frame.BorderSizePixel = BORDERSIZEPIXEL
  349. frame.Position = POSITION
  350. frame.Size = SIZE
  351. frame.BackgroundColor3 = COLOR
  352. frame.BorderColor3 = BORDERCOLOR
  353. frame.Name = NAME
  354. frame.Parent = PARENT
  355. return frame
  356. end
  357.  
  358. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  359. local label = IT("TextLabel")
  360. label.BackgroundTransparency = 1
  361. label.Size = UD2(1, 0, 1, 0)
  362. label.Position = UD2(0, 0, 0, 0)
  363. label.TextColor3 = TEXTCOLOR
  364. label.TextStrokeTransparency = STROKETRANSPARENCY
  365. label.TextTransparency = TRANSPARENCY
  366. label.FontSize = TEXTFONTSIZE
  367. label.Font = TEXTFONT
  368. label.BorderSizePixel = BORDERSIZEPIXEL
  369. label.TextScaled = false
  370. label.Text = TEXT
  371. label.Name = NAME
  372. label.Parent = PARENT
  373. return label
  374. end
  375.  
  376. function NoOutlines(PART)
  377. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  378. end
  379.  
  380.  
  381. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  382. local NEWWELD = IT(TYPE)
  383. NEWWELD.Part0 = PART0
  384. NEWWELD.Part1 = PART1
  385. NEWWELD.C0 = C0
  386. NEWWELD.C1 = C1
  387. NEWWELD.Parent = PARENT
  388. return NEWWELD
  389. end
  390.  
  391. function CreateSound(ID, PARENT, VOLUME, PITCH)
  392. local NEWSOUND = nil
  393. coroutine.resume(coroutine.create(function()
  394. NEWSOUND = IT("Sound", PARENT)
  395. NEWSOUND.Volume = VOLUME
  396. NEWSOUND.Pitch = PITCH
  397. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  398. Swait()
  399. NEWSOUND:play()
  400. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  401. end))
  402. return NEWSOUND
  403. end
  404.  
  405. function CFrameFromTopBack(at, top, back)
  406. local right = top:Cross(back)
  407. 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)
  408. end
  409.  
  410. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  411. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  412. local mesh = IT("SpecialMesh",wave)
  413. mesh.MeshType = "FileMesh"
  414. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  415. mesh.Scale = SIZE
  416. mesh.Offset = VT(0,0,-SIZE.X/8)
  417. wave.CFrame = CFRAME
  418. coroutine.resume(coroutine.create(function(PART)
  419. for i = 1, WAIT do
  420. Swait()
  421. mesh.Scale = mesh.Scale + GROW
  422. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  423. if DOESROT == true then
  424. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  425. end
  426. wave.Transparency = wave.Transparency + (0.5/WAIT)
  427. if wave.Transparency > 0.99 then
  428. wave:remove()
  429. end
  430. end
  431. end))
  432. end
  433.  
  434. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  435. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  436. local mesh = IT("SpecialMesh",wave)
  437. mesh.MeshType = "FileMesh"
  438. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  439. mesh.Scale = SIZE
  440. --mesh.Offset = VT(0,0,-SIZE.X/8)
  441. wave.CFrame = CFRAME
  442. coroutine.resume(coroutine.create(function(PART)
  443. for i = 1, WAIT do
  444. Swait()
  445. mesh.Scale = mesh.Scale + GROW
  446. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  447. if DOESROT == true then
  448. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  449. end
  450. wave.Transparency = wave.Transparency + (0.5/WAIT)
  451. if wave.Transparency > 0.99 then
  452. wave:remove()
  453. end
  454. end
  455. end))
  456. end
  457.  
  458. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  459. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  460. local mesh = IT("SpecialMesh",wave)
  461. mesh.MeshType = "FileMesh"
  462. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  463. mesh.Scale = SIZE
  464. wave.CFrame = CFRAME
  465. coroutine.resume(coroutine.create(function(PART)
  466. for i = 1, WAIT do
  467. Swait()
  468. mesh.Scale = mesh.Scale + GROW
  469. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  470. if DOESROT == true then
  471. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  472. end
  473. wave.Transparency = wave.Transparency + (0.5/WAIT)
  474. if wave.Transparency > 0.99 then
  475. wave:remove()
  476. end
  477. end
  478. end))
  479. end
  480.  
  481.  
  482. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  483. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  484. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  485. wave.CFrame = CFRAME
  486. coroutine.resume(coroutine.create(function(PART)
  487. for i = 1, WAIT do
  488. Swait()
  489. mesh.Scale = mesh.Scale * GROW
  490. wave.Transparency = wave.Transparency + (0.5/WAIT)
  491. if wave.Transparency > 0.99 then
  492. wave:remove()
  493. end
  494. end
  495. end))
  496. end
  497.  
  498. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  499. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  500. local mesh = IT("SpecialMesh",wave)
  501. mesh.MeshType = "Sphere"
  502. mesh.Scale = SIZE
  503. mesh.Offset = VT(0,0,0)
  504. wave.CFrame = CFRAME
  505. coroutine.resume(coroutine.create(function(PART)
  506. for i = 1, WAIT do
  507. Swait()
  508. mesh.Scale = mesh.Scale + GROW
  509. wave.Transparency = wave.Transparency + (1/WAIT)
  510. if wave.Transparency > 0.99 then
  511. wave:remove()
  512. end
  513. end
  514. end))
  515. end
  516.  
  517. function MakeForm(PART,TYPE)
  518. if TYPE == "Cyl" then
  519. local MSH = IT("CylinderMesh",PART)
  520. elseif TYPE == "Ball" then
  521. local MSH = IT("SpecialMesh",PART)
  522. MSH.MeshType = "Sphere"
  523. elseif TYPE == "Wedge" then
  524. local MSH = IT("SpecialMesh",PART)
  525. MSH.MeshType = "Wedge"
  526. end
  527. end
  528.  
  529. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  530. if FLOOR ~= nil then
  531. coroutine.resume(coroutine.create(function()
  532. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  533. PART.CFrame = CF(POSITION)
  534. for i = 1, 45 do
  535. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  536. RingPiece.Material = FLOOR.Material
  537. RingPiece.Color = FLOOR.Color
  538. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  539. Debris:AddItem(RingPiece,SWAIT/100)
  540. end
  541. PART:remove()
  542. end))
  543. end
  544. end
  545.  
  546. function CheckTableForString(Table, String)
  547. for i, v in pairs(Table) do
  548. if string.find(string.lower(String), string.lower(v)) then
  549. return true
  550. end
  551. end
  552. return false
  553. end
  554.  
  555. function CheckIntangible(Hit)
  556. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  557. if Hit and Hit.Parent then
  558. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  559. return true
  560. end
  561. end
  562. return false
  563. end
  564.  
  565. Debris = game:GetService("Debris")
  566.  
  567. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  568. local Direction = CFrame.new(StartPos, Vec).lookVector
  569. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  570. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  571. if RayHit and CheckIntangible(RayHit) then
  572. if DelayIfHit then
  573. wait()
  574. end
  575. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  576. end
  577. return RayHit, RayPos, RayNormal
  578. end
  579.  
  580. function turnto(position)
  581. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  582. end
  583.  
  584. --//=================================\\
  585. --|| WEAPON CREATION
  586. --\\=================================//
  587.  
  588. for i = 1, 15 do
  589. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  590. FACE.Color = C3(0,0,0)
  591. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  592. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  593. end
  594. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  595. MakeForm(HAT1,"Cyl")
  596. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  597. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  598. BELT.Color = C3(15/255,15/255,15/255)
  599. MakeForm(BELT,"Cyl")
  600. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  601. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  602. MakeForm(HAT2,"Cyl")
  603. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  604. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  605. BELT.Color = C3(15/255,15/255,15/255)
  606. MakeForm(BELT,"Cyl")
  607. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  608. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  609. MakeForm(GEM,"Ball")
  610. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  611. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  612. MakeForm(GEM,"Ball")
  613. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  614. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.1,0.25,0.25),false)
  615. MakeForm(GEM,"Ball")
  616. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  617. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.1,0.25,0.25),false)
  618. MakeForm(GEM,"Ball")
  619. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  620. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  621. BELT.Color = C3(15/255,15/255,15/255)
  622. MakeForm(BELT,"Cyl")
  623. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  624. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  625. BELT.Color = C3(15/255,15/255,15/255)
  626. MakeForm(BELT,"Cyl")
  627. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  628. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  629. BELT.Color = C3(15/255,15/255,15/255)
  630. MakeForm(BELT,"Cyl")
  631. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  632. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  633. BELT.Color = C3(15/255,15/255,15/255)
  634. MakeForm(BELT,"Cyl")
  635. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  636. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  637. MakeForm(BELT,"Ball")
  638. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  639. Humanoid.DisplayDistanceType = "None"
  640. local naeeym2 = IT("BillboardGui",Character)
  641. naeeym2.AlwaysOnTop = true
  642. naeeym2.Size = UDim2.new(5,35,2,15)
  643. naeeym2.StudsOffset = Vector3.new(0,3,0)
  644. naeeym2.MaxDistance = 75
  645. naeeym2.Adornee = Character.Head
  646. naeeym2.Name = "Name"
  647. naeeym2.PlayerToHideFrom = Player
  648. local tecks2 = IT("TextLabel",naeeym2)
  649. tecks2.BackgroundTransparency = 1
  650. tecks2.TextScaled = true
  651. tecks2.BorderSizePixel = 0
  652. tecks2.Text = ""
  653. tecks2.Font = "Bodoni"
  654. tecks2.TextSize = 30
  655. tecks2.TextStrokeTransparency = 0.5
  656. tecks2.TextColor3 = C3(0,0,0)
  657. tecks2.TextStrokeColor3 = BRICKC"Really red".Color
  658. tecks2.Size = UDim2.new(1,0,0.5,0)
  659. tecks2.Parent = naeeym2
  660. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.6,0.1,1)/2,false)
  661. MakeForm(EYE,"Ball")
  662. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  663. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.6,0.1,1)/2,false)
  664. MakeForm(EYE,"Ball")
  665. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  666. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.1,1,1)/2,false)
  667. MakeForm(EYE,"Ball")
  668. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  669. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.1,1,1)/2,false)
  670. MakeForm(EYE,"Ball")
  671. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  672.  
  673. local top = Instance.new("Shirt")
  674. top.ShirtTemplate = "rbxassetid://676428254"
  675. top.Parent = Character
  676. top.Name = "Cloth"
  677. local bottom = Instance.new("Pants")
  678. bottom.PantsTemplate = "rbxassetid://676428351"
  679. bottom.Parent = Character
  680. bottom.Name = "Cloth"
  681. for _, c in pairs(Character:GetChildren()) do
  682. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  683. c.Material = "Neon"
  684. if c:FindFirstChildOfClass("ParticleEmitter") then
  685. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  686. end
  687. c.Color = C3(1,1,1)
  688. if c == Head then
  689. if c:FindFirstChild("face") then
  690. c.face:remove()
  691. end
  692. end
  693. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  694. c:remove()
  695. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  696. c:remove()
  697. end
  698. end
  699. local BODY = {}
  700. for _, c in pairs(Character:GetDescendants()) do
  701. if c:IsA("BasePart") and c.Name ~= "Handle" then
  702. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  703. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  704. end
  705. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  706. elseif c:IsA("JointInstance") then
  707. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  708. end
  709. end
  710. for e = 1, #BODY do
  711. if BODY[e] ~= nil then
  712. local STUFF = BODY[e]
  713. local PART = STUFF[1]
  714. local PARENT = STUFF[2]
  715. local MATERIAL = STUFF[3]
  716. local COLOR = STUFF[4]
  717. local TRANSPARENCY = STUFF[5]
  718. if PART.ClassName == "Part" and PART ~= RootPart then
  719. PART.Material = MATERIAL
  720. PART.Color = COLOR
  721. PART.Transparency = TRANSPARENCY
  722. end
  723. PART.AncestryChanged:Connect(function()
  724. PART.Parent = PARENT
  725. end)
  726. end
  727. end
  728. function refit()
  729. Character.Parent = workspace
  730. for e = 1, #BODY do
  731. if BODY[e] ~= nil then
  732. local STUFF = BODY[e]
  733. local PART = STUFF[1]
  734. local PARENT = STUFF[2]
  735. local MATERIAL = STUFF[3]
  736. local COLOR = STUFF[4]
  737. local TRANSPARENCY = STUFF[5]
  738. if PART.ClassName == "Part" and PART ~= RootPart then
  739. PART.Material = MATERIAL
  740. PART.Color = COLOR
  741. PART.Transparency = TRANSPARENCY
  742. end
  743. if PART.Parent ~= PARENT then
  744. Humanoid:remove()
  745. PART.Parent = PARENT
  746. Humanoid = IT("Humanoid",Character)
  747. end
  748. end
  749. end
  750. end
  751.  
  752.  
  753.  
  754. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  755. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  756. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  757. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  758.  
  759. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  760. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  761. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  762. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  763. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  764. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  765. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  766. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  767.  
  768. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  769. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  770. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  771. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  772. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  773. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  774. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  775. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  776. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  777. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  778.  
  779. for _, c in pairs(Weapon:GetChildren()) do
  780. if c.ClassName == "Part" then
  781. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  782. end
  783. end
  784.  
  785. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  786. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  787. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  788. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  789.  
  790. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  791. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  792. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  793. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  794. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  795. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  796. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  797. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  798.  
  799. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  800. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  801. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  802. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  803. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  804. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  805. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  806. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  807. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  808. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  809.  
  810. for _, c in pairs(Weapon:GetChildren()) do
  811. if c.ClassName == "Part" then
  812. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  813. end
  814. end
  815.  
  816. Weapon.Parent = Character
  817.  
  818. Humanoid.Died:connect(function()
  819. ATTACK = true
  820. end)
  821.  
  822.  
  823.  
  824. --//=================================\\
  825. --|| DAMAGE FUNCTIONS
  826. --\\=================================//
  827.  
  828. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  829. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  830. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  831. local BODYGYRO = IT("BodyGyro", STATPART)
  832. local BODYPOSITION = IT("BodyPosition", STATPART)
  833. BODYPOSITION.P = 2000
  834. BODYPOSITION.D = 100
  835. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  836. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  837. game:GetService("Debris"):AddItem(STATPART ,5)
  838. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  839. BILLBOARDGUI.Adornee = STATPART
  840. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  841. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  842. BILLBOARDGUI.AlwaysOnTop = false
  843. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  844. TEXTLABEL.BackgroundTransparency = 1
  845. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  846. TEXTLABEL.Text = TEXT
  847. TEXTLABEL.Font = "SciFi"
  848. TEXTLABEL.FontSize="Size42"
  849. TEXTLABEL.TextColor3 = COLOR
  850. TEXTLABEL.TextStrokeTransparency = 1
  851. TEXTLABEL.TextScaled = true
  852. TEXTLABEL.TextWrapped = true
  853. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  854. if LABELTYPE == "Normal" then
  855. for i = 1, 30 do
  856. Swait()
  857. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  858. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  859. end
  860. elseif LABELTYPE == "Debuff" then
  861. for i = 1, 30 do
  862. Swait()
  863. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  864. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  865. end
  866. elseif LABELTYPE == "Shock" then
  867. local ORIGIN = STATPART.Position
  868. for i = 1, 30 do
  869. Swait()
  870. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  871. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  872. end
  873. end
  874. THEPART.Parent = nil
  875. end),STATPART, BODYPOSITION, TEXTLABEL)
  876. end
  877.  
  878. --//=================================\\
  879. --|| DAMAGING
  880. --\\=================================//
  881.  
  882. function killnearest(position,range,maxstrength,direction)
  883. for i,v in ipairs(workspace:GetChildren()) do
  884. local body = v:GetChildren()
  885. for part = 1, #body do
  886. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  887. if(body[part].Position - position).Magnitude < range then
  888. if v.ClassName == "Model" then
  889. --v:BreakJoints()
  890. end
  891. local POS = position
  892. coroutine.resume(coroutine.create(function()
  893. body[part].Anchored = true
  894. body[part].Parent = Effects
  895. body[part].CanCollide = true
  896. local SIZE = body[part].Size
  897. body[part].Material = "Neon"
  898. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  899. for i = 1, 75 do
  900. Swait()
  901. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  902. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  903. end
  904. coroutine.resume(coroutine.create(function()
  905. while true do
  906. Swait()
  907. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  908. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  909. end
  910. end))
  911. body[part].Anchored = false
  912. body[part].Velocity = direction.lookVector*maxstrength
  913. end))
  914. end
  915. end
  916. end
  917. if v.ClassName == "Part" then
  918. if v.Anchored == false and (v.Position - position).Magnitude < range then
  919. local POS = position
  920. coroutine.resume(coroutine.create(function()
  921. v.Anchored = true
  922. v.Parent = Effects
  923. local SIZE = v.Size
  924. v.Material = "Neon"
  925. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  926. for i = 1, 75 do
  927. Swait()
  928. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  929. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  930. end
  931. coroutine.resume(coroutine.create(function()
  932. while true do
  933. Swait()
  934. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  935. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  936. end
  937. end))
  938. v.Anchored = false
  939. v.Velocity = direction.lookVector*maxstrength
  940. end))
  941. end
  942. end
  943. end
  944. end
  945.  
  946. --//=================================\\
  947. --|| ATTACK FUNCTIONS AND STUFF
  948. --\\=================================//
  949.  
  950. function AttackTemplate()
  951. ATTACK = true
  952. Rooted = false
  953. for i=0, 1, 0.1 / Animation_Speed do
  954. Swait()
  955. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  956. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  959. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  960. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  961. end
  962. ATTACK = false
  963. Rooted = false
  964. end
  965.  
  966. function SinPower()
  967. ATTACK = true
  968. Rooted = false
  969. local SPEED = Speed
  970. Speed = 8
  971. CreateSound("169445572", RightArm, 10, 1.1)
  972. for i=0, 4, 0.1 / Animation_Speed do
  973. Swait()
  974. turnto(Mouse.Hit.p)
  975. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  976. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  977. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  978. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  980. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  981. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  982. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  983. end
  984. for i=0, 0.15, 0.1 / Animation_Speed do
  985. Swait()
  986. turnto(Mouse.Hit.p)
  987. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  989. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  990. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  991. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  992. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  993. end
  994. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Maroon", "Punch", VT(50,50,50),false)
  995. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  996. PART.Shape = "Ball"
  997. local bv = Instance.new("BodyVelocity")
  998. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  999. bv.velocity = RootPart.CFrame.lookVector*600
  1000. bv.Parent = PART
  1001. bv.Name = "PROJECTILEVELOCITY"
  1002. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2.5,0.2,2.5))
  1003. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(3,0.2,3))
  1004. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2,0.6,2))
  1005. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(2.2,0.6,2.2))
  1006. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1007. coroutine.resume(coroutine.create(function()
  1008. for i = 1, 10 do
  1009. Swait()
  1010. PART.Transparency = PART.Transparency + 0.2/10
  1011. PART.Size = PART.Size + VT(5,5,5)
  1012. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1013. end
  1014. PART:Destroy()
  1015. end))
  1016. for i=0, 1, 0.1 / Animation_Speed do
  1017. Swait()
  1018. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1019. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1020. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1021. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1022. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1023. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1024. end
  1025. Speed = SPEED
  1026. ATTACK = false
  1027. Rooted = false
  1028. end
  1029.  
  1030. function SinsHand()
  1031. ATTACK = true
  1032. Rooted = false
  1033. local HASGRABBED = false
  1034. local WELD = nil
  1035. local TORS = nil
  1036. local hitting = FIST.Touched:connect(function(hit)
  1037. if hit.Parent:FindFirstChild("Humanoid") then
  1038. if hit.Parent.Humanoid.Health ~= 0 then
  1039. UNANCHOR = false
  1040. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1041. TORS.Anchored = true
  1042. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1043. WELD = weldBetween(RightArm,TORS)
  1044. HASGRABBED = true
  1045. Rooted = true
  1046. end
  1047. end
  1048. end)
  1049. for i=0, 1, 0.1 / Animation_Speed do
  1050. Swait()
  1051. if HASGRABBED == true then
  1052. break
  1053. end
  1054. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  1055. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1057. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1058. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1059. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1060. end
  1061. hitting:disconnect()
  1062. if HASGRABBED == true then
  1063. TORS.Anchored = false
  1064. RootPart.Anchored = true
  1065. for i=0, 2, 0.1 / Animation_Speed do
  1066. Swait()
  1067. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1071. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1073. end
  1074. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  1075. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  1076. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1077. SOUNDPART.CFrame = RootPart.CFrame
  1078. Debris:AddItem(SOUNDPART,5)
  1079. CreateSound("1295446488", SOUNDPART, 2, 1)
  1080. for i = 1, 15 do
  1081. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  1082. end
  1083. for i=0, 2, 0.1 / Animation_Speed do
  1084. Swait()
  1085. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1086. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1089. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1090. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1091. end
  1092. for i=0, 0.25, 0.1 / Animation_Speed do
  1093. Swait()
  1094. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  1095. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1096. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1097. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1098. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1099. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1100. end
  1101. if HITFLOOR ~= nil then
  1102. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  1103. end
  1104. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1105. WELD:remove()
  1106. for i = 1, 25 do
  1107. Swait()
  1108. killnearest(RootPart.Position,45,100,Torso.CFrame)
  1109. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  1110. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(1,0.4,1))
  1111. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(2.3,0.3,2.3))
  1112. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1113. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Maroon", 1 + MRANDOM(1,30)/15)
  1114. end
  1115. end
  1116. UNANCHOR = true
  1117. ATTACK = false
  1118. Rooted = false
  1119. end
  1120.  
  1121. function Warp()
  1122. local ORIGIN = RootPart.Position
  1123. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1124. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1125. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1126. SOUNDPART.CFrame = RootPart.CFrame
  1127. Debris:AddItem(SOUNDPART,5)
  1128. CreateSound("1295446488", SOUNDPART, 2, 1)
  1129. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1130. Swait()
  1131. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1132. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1133. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1134. SOUNDPART.CFrame = RootPart.CFrame
  1135. Debris:AddItem(SOUNDPART,5)
  1136. CreateSound("1295446488", SOUNDPART, 2, 1)
  1137. if MRANDOM(1,8) == 1 then
  1138. ATTACK = true
  1139. Rooted = true
  1140. local FRUITSTABLE = {
  1141. {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
  1142. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  1143. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  1144. }
  1145. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1146. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1147. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1148. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  1149. weldBetween(RightArm,FRUITMODEL)
  1150. for i=0, 4, 0.1 / Animation_Speed do
  1151. Swait()
  1152. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1153. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1156. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1157. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1158. end
  1159. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1160. FRUITMODEL:remove()
  1161. for i = 1, 15 do
  1162. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  1163. end
  1164. for i=0, 0.5, 0.1 / Animation_Speed do
  1165. Swait()
  1166. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1167. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1168. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1169. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1170. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1171. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1172. end
  1173. ATTACK = false
  1174. Rooted = false
  1175. end
  1176. end
  1177.  
  1178. function SinUltimate()
  1179. ATTACK = true
  1180. Rooted = true
  1181. CreateSound("169445572", RightArm, 10, 0.8)
  1182. for i=0, 8, 0.1 / Animation_Speed do
  1183. Swait()
  1184. turnto(Mouse.Hit.p)
  1185. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(0.2,0,0.2))
  1186. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1.1)
  1187. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  1188. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Maroon",VT(0.001,0.001,2),0)
  1189. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  1190. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  1191. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1192. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1194. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1195. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1196. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1197. end
  1198. for i=0, 0.15, 0.1 / Animation_Speed do
  1199. Swait()
  1200. turnto(Mouse.Hit.p)
  1201. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1205. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1206. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1207. end
  1208. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Maroon",VT(-0.04,-0.04,-0.04))
  1209. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  1210. coroutine.resume(coroutine.create(function()
  1211. Swait(100)
  1212. for i = 1, 5 do
  1213. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Maroon",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  1214. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4.5*i,0.2,4.5*i))
  1215. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(5*i,0.2,5*i))
  1216. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4*i,0.6,4*i))
  1217. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(5.2*i,0.6,5.2*i))
  1218. end
  1219. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1220. for i = 1, 5 do
  1221. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1222. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1223. end
  1224. coroutine.resume(coroutine.create(function()
  1225. for i = 1, 50 do
  1226. Swait()
  1227. for i = 1, 1 do
  1228. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1229. end
  1230. for i = 1, 2 do
  1231. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/3)
  1232. end
  1233. end
  1234. end))
  1235. end))
  1236. for i=0, 4, 0.1 / Animation_Speed do
  1237. Swait()
  1238. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1239. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1240. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1241. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1242. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1243. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1244. end
  1245. ATTACK = false
  1246. Rooted = false
  1247. end
  1248.  
  1249. function TakeOnMe()
  1250. Speed = 5
  1251. local MEME = CreateSound(1933087790, Effects, 2, 1, false)
  1252. ATTACK = true
  1253. Rooted = false
  1254. local DANCE = true
  1255. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1256. if NEWKEY == "t" then
  1257. DANCE = false
  1258. end
  1259. end)
  1260. PLAYSONG = false
  1261. while true do
  1262. for i = 1, 15 do
  1263. Swait()
  1264. MEME.Parent = Effects
  1265. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1266. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1267. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1269. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1270. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1271. end
  1272. if DANCE == false then
  1273. break
  1274. end
  1275. for i = 1, 15 do
  1276. Swait()
  1277. MEME.Parent = Effects
  1278. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1279. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1280. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1281. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1282. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1283. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1284. end
  1285. end
  1286. PLAYSONG = true
  1287. KEY:Disconnect()
  1288. MEME:remove()
  1289. Speed = 25
  1290. ATTACK = false
  1291. Rooted = false
  1292. end
  1293.  
  1294. --//=================================\\
  1295. --|| ASSIGN THINGS TO KEYS
  1296. --\\=================================//
  1297.  
  1298. function MouseDown(Mouse)
  1299. if ATTACK == false then
  1300. end
  1301. end
  1302.  
  1303. function MouseUp(Mouse)
  1304. HOLD = false
  1305. end
  1306.  
  1307. function KeyDown(Key)
  1308. KEYHOLD = true
  1309. if Key == "z" and ATTACK == false then
  1310. SinPower()
  1311. end
  1312.  
  1313. if Key == "b" and ATTACK == false then
  1314. SinsHand()
  1315. end
  1316.  
  1317. if Key == "c" and ATTACK == false then
  1318. Warp()
  1319. end
  1320.  
  1321. if Key == "x" and ATTACK == false then
  1322. SinUltimate()
  1323. end
  1324.  
  1325. if Key == "t" and ATTACK == false then
  1326. TakeOnMe()
  1327. end
  1328.  
  1329. if Key == "p" and ATTACK == false then
  1330. if Speed == 16 then
  1331. Speed = 150
  1332. elseif Speed == 150 then
  1333. Speed = 16
  1334. end
  1335. end
  1336. end
  1337.  
  1338. function KeyUp(Key)
  1339. KEYHOLD = false
  1340. end
  1341.  
  1342. Mouse.Button1Down:connect(function(NEWKEY)
  1343. MouseDown(NEWKEY)
  1344. end)
  1345. Mouse.Button1Up:connect(function(NEWKEY)
  1346. MouseUp(NEWKEY)
  1347. end)
  1348. Mouse.KeyDown:connect(function(NEWKEY)
  1349. KeyDown(NEWKEY)
  1350. end)
  1351. Mouse.KeyUp:connect(function(NEWKEY)
  1352. KeyUp(NEWKEY)
  1353. end)
  1354.  
  1355. --//=================================\\
  1356. --\\=================================//
  1357.  
  1358.  
  1359. function unanchor()
  1360. if UNANCHOR == true then
  1361. g = Character:GetChildren()
  1362. for i = 1, #g do
  1363. if g[i].ClassName == "Part" then
  1364. g[i].Anchored = false
  1365. end
  1366. end
  1367. end
  1368. end
  1369.  
  1370.  
  1371. --//=================================\\
  1372. --|| WRAP THE WHOLE SCRIPT UP
  1373. --\\=================================//
  1374.  
  1375. Humanoid.Changed:connect(function(Jump)
  1376. if Jump == "Jump" and (Disable_Jump == true) then
  1377. Humanoid.Jump = false
  1378. end
  1379. end)
  1380.  
  1381. while true do
  1382. Swait()
  1383. ANIMATE.Parent = nil
  1384. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1385. IDLEANIMATION:Play()
  1386. SINE = SINE + CHANGE
  1387. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1388. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1389. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1390. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1391. local WALKSPEEDVALUE = 0
  1392. if Speed < 35 then
  1393. WALKSPEEDVALUE = 6
  1394. else
  1395. WALKSPEEDVALUE = 3
  1396. end
  1397. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1398. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  1399. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1400. if Speed < 35 then
  1401. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1402. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1403. else
  1404. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1405. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1406. end
  1407. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1408. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1409. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1410. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1411. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1412. end
  1413. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1414. ANIM = "Jump"
  1415. if ATTACK == false then
  1416. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1417. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1420. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1421. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1422. end
  1423. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1424. ANIM = "Fall"
  1425. if ATTACK == false then
  1426. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1427. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1428. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1429. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1430. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1431. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1432. end
  1433. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1434. ANIM = "Idle"
  1435. if ATTACK == false then
  1436. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1437. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1438. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1439. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1440. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1441. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1442. end
  1443. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1444. ANIM = "Walk"
  1445. WALK = WALK + 1 / Animation_Speed
  1446. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1447. WALK = 0
  1448. if WALKINGANIM == true then
  1449. WALKINGANIM = false
  1450. elseif WALKINGANIM == false then
  1451. WALKINGANIM = true
  1452. end
  1453. end
  1454. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1455. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1456. if ATTACK == false then
  1457. if Speed < 35 then
  1458. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1459. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1460. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1461. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1462. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1463. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1464. else
  1465. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1466. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1467. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1468. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1469. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1470. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1471. end
  1472. end
  1473. end
  1474. unanchor()
  1475. Humanoid.MaxHealth = "inf"
  1476. Humanoid.Health = "inf"
  1477. if Rooted == false then
  1478. Disable_Jump = false
  1479. Humanoid.WalkSpeed = Speed
  1480. elseif Rooted == true then
  1481. Disable_Jump = true
  1482. Humanoid.WalkSpeed = 0
  1483. end
  1484. local MATHS = {"0","1"}
  1485. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1486. Humanoid.PlatformStand = false
  1487. end
  1488.  
  1489. --//=================================\\
  1490. --\\=================================//
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496. --//====================================================\\--
  1497. --|| END OF SCRIPT
  1498. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement