Advertisement
voyqgo

TEST2

Jul 1st, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. local txt = Instance.new("BillboardGui", Character)
  4. txt.Adornee = Character.Head
  5. txt.Name = "_status"
  6. txt.Size = UDim2.new(2, 0, 1.2, 0)
  7. txt.StudsOffset = Vector3.new(-9, 8, 0)
  8. local text = Instance.new("TextLabel", txt)
  9. text.Size = UDim2.new(10, 0, 7, 0)
  10. text.FontSize = "Size24"
  11. text.TextScaled = true
  12. text.TextTransparency = 0
  13. text.BackgroundTransparency = 1
  14. text.TextTransparency = 0
  15. text.TextStrokeTransparency = 0
  16. text.Font = "Antique"
  17. text.TextStrokeColor3 = Color3.new(0,0,0)
  18. text.Text = "Ultimate kill bot"
  19. --//====================================================\\--
  20. --|| EDIE BY SHACKLUSTER
  21. --\\====================================================//--
  22.  
  23. wait(0.2)
  24.  
  25. Player = game:GetService("Players").LocalPlayer
  26. PlayerGui = Player.PlayerGui
  27. Cam = workspace.CurrentCamera
  28. Backpack = Player.Backpack
  29. Character = Player.Character
  30. Humanoid = Character.Humanoid
  31. Mouse = Player:GetMouse()
  32. RootPart = Character["HumanoidRootPart"]
  33. Torso = Character["Torso"]
  34. Head = Character["Head"]
  35. RightArm = Character["Right Arm"]
  36. LeftArm = Character["Left Arm"]
  37. RightLeg = Character["Right Leg"]
  38. LeftLeg = Character["Left Leg"]
  39. RootJoint = RootPart["RootJoint"]
  40. Neck = Torso["Neck"]
  41. RightShoulder = Torso["Right Shoulder"]
  42. LeftShoulder = Torso["Left Shoulder"]
  43. RightHip = Torso["Right Hip"]
  44. LeftHip = Torso["Left Hip"]
  45.  
  46. IT = Instance.new
  47. CF = CFrame.new
  48. VT = Vector3.new
  49. RAD = math.rad
  50. C3 = Color3.new
  51. UD2 = UDim2.new
  52. BRICKC = BrickColor.new
  53. ANGLES = CFrame.Angles
  54. EULER = CFrame.fromEulerAnglesXYZ
  55. COS = math.cos
  56. ACOS = math.acos
  57. SIN = math.sin
  58. ASIN = math.asin
  59. ABS = math.abs
  60. MRANDOM = math.random
  61. FLOOR = math.floor
  62.  
  63. --//=================================\\
  64. --|| USEFUL VALUES
  65. --\\=================================//
  66.  
  67. Animation_Speed = 3
  68. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  69. local Speed = 16
  70. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  71. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  72. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  73. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  74. local DAMAGEMULTIPLIER = 1
  75. local ANIM = "Idle"
  76. local ATTACK = false
  77. local EQUIPPED = false
  78. local HOLD = false
  79. local COMBO = 1
  80. local Rooted = false
  81. local SINE = 0
  82. local KEYHOLD = false
  83. local CHANGE = 2 / Animation_Speed
  84. local WALKINGANIM = false
  85. local VALUE1 = false
  86. local VALUE2 = false
  87. local ROBLOXIDLEANIMATION = IT("Animation")
  88. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  89. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  90. --ROBLOXIDLEANIMATION.Parent = Humanoid
  91. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  92. WEAPONGUI.Name = "Weapon GUI"
  93. local Weapon = IT("Model")
  94. Weapon.Name = "Adds"
  95. local Effects = IT("Folder", Weapon)
  96. Effects.Name = "Effects"
  97. local ANIMATOR = Humanoid.Animator
  98. local ANIMATE = Character.Animate
  99. local UNANCHOR = true
  100.  
  101. --//=================================\\
  102. --\\=================================//
  103.  
  104.  
  105. --//=================================\\
  106. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  107. --\\=================================//
  108.  
  109. ArtificialHB = Instance.new("BindableEvent", script)
  110. ArtificialHB.Name = "ArtificialHB"
  111.  
  112. script:WaitForChild("ArtificialHB")
  113.  
  114. frame = Frame_Speed
  115. tf = 0
  116. allowframeloss = false
  117. tossremainder = false
  118. lastframe = tick()
  119. script.ArtificialHB:Fire()
  120.  
  121. game:GetService("RunService").Heartbeat:connect(function(s, p)
  122. tf = tf + s
  123. if tf >= frame then
  124. if allowframeloss then
  125. script.ArtificialHB:Fire()
  126. lastframe = tick()
  127. else
  128. for i = 1, math.floor(tf / frame) do
  129. script.ArtificialHB:Fire()
  130. end
  131. lastframe = tick()
  132. end
  133. if tossremainder then
  134. tf = 0
  135. else
  136. tf = tf - frame * math.floor(tf / frame)
  137. end
  138. end
  139. end)
  140.  
  141. --//=================================\\
  142. --\\=================================//
  143.  
  144. --//=================================\\
  145. --|| SOME FUNCTIONS
  146. --\\=================================//
  147.  
  148. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  149. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  150. end
  151.  
  152. function PositiveAngle(NUMBER)
  153. if NUMBER >= 0 then
  154. NUMBER = 0
  155. end
  156. return NUMBER
  157. end
  158.  
  159. function NegativeAngle(NUMBER)
  160. if NUMBER <= 0 then
  161. NUMBER = 0
  162. end
  163. return NUMBER
  164. end
  165.  
  166. function Swait(NUMBER)
  167. if NUMBER == 0 or NUMBER == nil then
  168. ArtificialHB.Event:wait()
  169. else
  170. for i = 1, NUMBER do
  171. ArtificialHB.Event:wait()
  172. end
  173. end
  174. end
  175.  
  176. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  177. local NEWMESH = IT(MESH)
  178. if MESH == "SpecialMesh" then
  179. NEWMESH.MeshType = MESHTYPE
  180. if MESHID ~= "nil" and MESHID ~= "" then
  181. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  182. end
  183. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  184. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  185. end
  186. end
  187. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  188. NEWMESH.Scale = SCALE
  189. NEWMESH.Parent = PARENT
  190. return NEWMESH
  191. end
  192.  
  193. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  194. local NEWPART = IT("Part")
  195. NEWPART.formFactor = FORMFACTOR
  196. NEWPART.Reflectance = REFLECTANCE
  197. NEWPART.Transparency = TRANSPARENCY
  198. NEWPART.CanCollide = false
  199. NEWPART.Locked = true
  200. NEWPART.Anchored = true
  201. if ANCHOR == false then
  202. NEWPART.Anchored = false
  203. end
  204. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  205. NEWPART.Name = NAME
  206. NEWPART.Size = SIZE
  207. NEWPART.Position = Torso.Position
  208. NEWPART.Material = MATERIAL
  209. NEWPART:BreakJoints()
  210. NEWPART.Parent = PARENT
  211. return NEWPART
  212. end
  213.  
  214. local function weldBetween(a, b)
  215. local weldd = Instance.new("ManualWeld")
  216. weldd.Part0 = a
  217. weldd.Part1 = b
  218. weldd.C0 = CFrame.new()
  219. weldd.C1 = b.CFrame:inverse() * a.CFrame
  220. weldd.Parent = a
  221. return weldd
  222. end
  223.  
  224.  
  225. function QuaternionFromCFrame(cf)
  226. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  227. local trace = m00 + m11 + m22
  228. if trace > 0 then
  229. local s = math.sqrt(1 + trace)
  230. local recip = 0.5 / s
  231. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  232. else
  233. local i = 0
  234. if m11 > m00 then
  235. i = 1
  236. end
  237. if m22 > (i == 0 and m00 or m11) then
  238. i = 2
  239. end
  240. if i == 0 then
  241. local s = math.sqrt(m00 - m11 - m22 + 1)
  242. local recip = 0.5 / s
  243. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  244. elseif i == 1 then
  245. local s = math.sqrt(m11 - m22 - m00 + 1)
  246. local recip = 0.5 / s
  247. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  248. elseif i == 2 then
  249. local s = math.sqrt(m22 - m00 - m11 + 1)
  250. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  251. end
  252. end
  253. end
  254.  
  255. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  256. local xs, ys, zs = x + x, y + y, z + z
  257. local wx, wy, wz = w * xs, w * ys, w * zs
  258. local xx = x * xs
  259. local xy = x * ys
  260. local xz = x * zs
  261. local yy = y * ys
  262. local yz = y * zs
  263. local zz = z * zs
  264. 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))
  265. end
  266.  
  267. function QuaternionSlerp(a, b, t)
  268. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  269. local startInterp, finishInterp;
  270. if cosTheta >= 0.0001 then
  271. if (1 - cosTheta) > 0.0001 then
  272. local theta = ACOS(cosTheta)
  273. local invSinTheta = 1 / SIN(theta)
  274. startInterp = SIN((1 - t) * theta) * invSinTheta
  275. finishInterp = SIN(t * theta) * invSinTheta
  276. else
  277. startInterp = 1 - t
  278. finishInterp = t
  279. end
  280. else
  281. if (1 + cosTheta) > 0.0001 then
  282. local theta = ACOS(-cosTheta)
  283. local invSinTheta = 1 / SIN(theta)
  284. startInterp = SIN((t - 1) * theta) * invSinTheta
  285. finishInterp = SIN(t * theta) * invSinTheta
  286. else
  287. startInterp = t - 1
  288. finishInterp = t
  289. end
  290. end
  291. 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
  292. end
  293.  
  294. function Clerp(a, b, t)
  295. local qa = {QuaternionFromCFrame(a)}
  296. local qb = {QuaternionFromCFrame(b)}
  297. local ax, ay, az = a.x, a.y, a.z
  298. local bx, by, bz = b.x, b.y, b.z
  299. local _t = 1 - t
  300. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  301. end
  302.  
  303. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  304. local frame = IT("Frame")
  305. frame.BackgroundTransparency = TRANSPARENCY
  306. frame.BorderSizePixel = BORDERSIZEPIXEL
  307. frame.Position = POSITION
  308. frame.Size = SIZE
  309. frame.BackgroundColor3 = COLOR
  310. frame.BorderColor3 = BORDERCOLOR
  311. frame.Name = NAME
  312. frame.Parent = PARENT
  313. return frame
  314. end
  315.  
  316. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  317. local label = IT("TextLabel")
  318. label.BackgroundTransparency = 1
  319. label.Size = UD2(1, 0, 1, 0)
  320. label.Position = UD2(0, 0, 0, 0)
  321. label.TextColor3 = TEXTCOLOR
  322. label.TextStrokeTransparency = STROKETRANSPARENCY
  323. label.TextTransparency = TRANSPARENCY
  324. label.FontSize = TEXTFONTSIZE
  325. label.Font = TEXTFONT
  326. label.BorderSizePixel = BORDERSIZEPIXEL
  327. label.TextScaled = false
  328. label.Text = TEXT
  329. label.Name = NAME
  330. label.Parent = PARENT
  331. return label
  332. end
  333.  
  334. function NoOutlines(PART)
  335. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  336. end
  337.  
  338. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  339. local NEWWELD = IT(TYPE)
  340. NEWWELD.Part0 = PART0
  341. NEWWELD.Part1 = PART1
  342. NEWWELD.C0 = C0
  343. NEWWELD.C1 = C1
  344. NEWWELD.Parent = PARENT
  345. return NEWWELD
  346. end
  347.  
  348. local S = IT("Sound")
  349. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  350. local NEWSOUND = nil
  351. coroutine.resume(coroutine.create(function()
  352. NEWSOUND = S:Clone()
  353. NEWSOUND.Parent = PARENT
  354. NEWSOUND.Volume = VOLUME
  355. NEWSOUND.Pitch = PITCH
  356. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  357. NEWSOUND:play()
  358. if DOESLOOP == true then
  359. NEWSOUND.Looped = true
  360. else
  361. repeat wait(1) until NEWSOUND.Playing == false
  362. NEWSOUND:remove()
  363. end
  364. end))
  365. return NEWSOUND
  366. end
  367.  
  368. function CFrameFromTopBack(at, top, back)
  369. local right = top:Cross(back)
  370. 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)
  371. end
  372.  
  373. --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})
  374. function WACKYEFFECT(Table)
  375. local TYPE = (Table.EffectType or "Sphere")
  376. local SIZE = (Table.Size or VT(1,1,1))
  377. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  378. local TRANSPARENCY = (Table.Transparency or 0)
  379. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  380. local CFRAME = (Table.CFrame or Torso.CFrame)
  381. local MOVEDIRECTION = (Table.MoveToPos or nil)
  382. local ROTATION1 = (Table.RotationX or 0)
  383. local ROTATION2 = (Table.RotationY or 0)
  384. local ROTATION3 = (Table.RotationZ or 0)
  385. local MATERIAL = (Table.Material or "Neon")
  386. local COLOR = (Table.Color or C3(1,1,1))
  387. local TIME = (Table.Time or 45)
  388. local SOUNDID = (Table.SoundID or nil)
  389. local SOUNDPITCH = (Table.SoundPitch or nil)
  390. local SOUNDVOLUME = (Table.SoundVolume or nil)
  391. coroutine.resume(coroutine.create(function()
  392. local PLAYSSOUND = false
  393. local SOUND = nil
  394. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  395. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  396. PLAYSSOUND = true
  397. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  398. end
  399. EFFECT.Color = COLOR
  400. local MSH = nil
  401. if TYPE == "Sphere" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  403. elseif TYPE == "Block" then
  404. MSH = IT("BlockMesh",EFFECT)
  405. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  406. elseif TYPE == "Wave" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  408. elseif TYPE == "Ring" then
  409. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  410. elseif TYPE == "Slash" then
  411. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  412. elseif TYPE == "Round Slash" then
  413. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  414. elseif TYPE == "Swirl" then
  415. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  416. elseif TYPE == "Skull" then
  417. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  418. elseif TYPE == "Crystal" then
  419. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  420. end
  421. if MSH ~= nil then
  422. local MOVESPEED = nil
  423. if MOVEDIRECTION ~= nil then
  424. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  425. end
  426. local GROWTH = SIZE - ENDSIZE
  427. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  428. if TYPE == "Block" then
  429. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  430. else
  431. EFFECT.CFrame = CFRAME
  432. end
  433. for LOOP = 1, TIME+1 do
  434. Swait()
  435. MSH.Scale = MSH.Scale - GROWTH/TIME
  436. if TYPE == "Wave" then
  437. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  438. end
  439. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  440. if TYPE == "Block" then
  441. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  442. else
  443. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  444. end
  445. if MOVEDIRECTION ~= nil then
  446. local ORI = EFFECT.Orientation
  447. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  448. EFFECT.Orientation = ORI
  449. end
  450. end
  451. if PLAYSSOUND == false then
  452. EFFECT:remove()
  453. else
  454. repeat Swait() until SOUND.Playing == false
  455. EFFECT:remove()
  456. end
  457. else
  458. if PLAYSSOUND == false then
  459. EFFECT:remove()
  460. else
  461. repeat Swait() until SOUND.Playing == false
  462. EFFECT:remove()
  463. end
  464. end
  465. end))
  466. end
  467.  
  468. function MakeForm(PART,TYPE)
  469. if TYPE == "Cyl" then
  470. local MSH = IT("CylinderMesh",PART)
  471. elseif TYPE == "Ball" then
  472. local MSH = IT("SpecialMesh",PART)
  473. MSH.MeshType = "Sphere"
  474. elseif TYPE == "Wedge" then
  475. local MSH = IT("SpecialMesh",PART)
  476. MSH.MeshType = "Wedge"
  477. end
  478. end
  479.  
  480. Debris = game:GetService("Debris")
  481.  
  482. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  483. local DIRECTION = CF(StartPos,EndPos).lookVector
  484. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  485. end
  486.  
  487. function CharacterFade(COLOR,TIMER)
  488. coroutine.resume(coroutine.create(function()
  489. local FADE = IT("Model",Effects)
  490. for _, c in pairs(Character:GetChildren()) do
  491. if c.ClassName == "Part" and c ~= RootPart then
  492. local FADER = c:Clone()
  493. FADER.Color = COLOR
  494. FADER.CFrame = c.CFrame
  495. FADER.Parent = FADE
  496. FADER.Anchored = true
  497. FADER.Transparency = 0.25
  498. FADER:BreakJoints()
  499. FADER.Material = "Glass"
  500. FADER:ClearAllChildren()
  501. if FADER.Name == "Head" then
  502. FADER.Size = VT(1,1,1)
  503. end
  504. end
  505. end
  506. local TRANS = 0.75/TIMER
  507. for i = 1, TIMER do
  508. Swait()
  509. for _, c in pairs(FADE:GetChildren()) do
  510. if c.ClassName == "Part" then
  511. c.Transparency = c.Transparency + TRANS
  512. end
  513. end
  514. end
  515. FADE:remove()
  516. end))
  517. end
  518.  
  519. local PE=Instance.new("ParticleEmitter")
  520. PE.LightEmission=0.3
  521. PE.Size=NumberSequence.new(0)
  522. PE.Transparency=NumberSequence.new(0,1)
  523. PE.Rotation=NumberRange.new(0,360)
  524. PE.LockedToPart = false
  525. PE.Speed = NumberRange.new(0,0,0)
  526. PE.ZOffset = 0.3
  527. PE.Rate = 999
  528. PE.VelocitySpread = 25
  529. PE.Name = "Particles"
  530.  
  531. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  532. local particle = nil
  533. coroutine.resume(coroutine.create(function(PART)
  534. particle = PE:Clone()
  535. Swait()
  536. particle.Rate = 999
  537. particle.Parent = art
  538. particle.Acceleration = accel
  539. if type == "Fire" then
  540. local EyeSizes={
  541. NumberSequenceKeypoint.new(0,size,size/2),
  542. NumberSequenceKeypoint.new(1,size/4,size/8)
  543. }
  544. particle.Size = NumberSequence.new(EyeSizes)
  545. elseif type == "Smoke" then
  546. local EyeSizes={
  547. NumberSequenceKeypoint.new(0,size/5,0),
  548. NumberSequenceKeypoint.new(1,size*2,0.5)
  549. }
  550. particle.Size = NumberSequence.new(EyeSizes)
  551. elseif type == "Solid" then
  552. local EyeSizes={
  553. NumberSequenceKeypoint.new(0,size,0),
  554. NumberSequenceKeypoint.new(1,size,0)
  555. }
  556. particle.Size = NumberSequence.new(EyeSizes)
  557. end
  558. particle.Lifetime=NumberRange.new(lifetime)
  559. particle.Drag = drag
  560. if locked == true then
  561. particle.LockedToPart = true
  562. end
  563. particle.Speed = NumberRange.new(speed*0.8,speed)
  564. particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
  565. particle.Enabled = isenabledbydefault
  566. particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
  567. end))
  568. return particle
  569. end
  570.  
  571. --//=================================\\
  572. --|| RAGDOLL STUFF
  573. --\\=================================//
  574.  
  575. function recurse(root,callback,i)
  576. i= i or 0
  577. for _,v in pairs(root:GetChildren()) do
  578. i = i + 1
  579. callback(i,v)
  580.  
  581. if #v:GetChildren() > 0 then
  582. i = recurse(v,callback,i)
  583. end
  584. end
  585.  
  586. return i
  587. end
  588.  
  589. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  590. attachmentName = attachmentName.."RigAttachment"
  591. local constraint = Instance.new(className.."Constraint")
  592. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  593. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  594. constraint.Name = "RagdollConstraint"..part1.Name
  595.  
  596. for _,propertyData in next,properties or {} do
  597. constraint[propertyData[1]] = propertyData[2]
  598. end
  599.  
  600. constraint.Parent = character
  601. end
  602.  
  603. function getAttachment0(character, attachmentName)
  604. for _,child in next,character:GetChildren() do
  605. local attachment = child:FindFirstChild(attachmentName)
  606. if attachment then
  607. return attachment
  608. end
  609. end
  610. end
  611.  
  612. function ArtificialHitbox(Part)
  613. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  614. HITBOX.CanCollide = true
  615. HITBOX.CFrame = Part.CFrame
  616. weldBetween(Part,HITBOX)
  617. end
  618.  
  619. function R15Ragdoll(character,KeepArms)
  620. character:BreakJoints()
  621. coroutine.resume(coroutine.create(function()
  622. recurse(character, function(_,v)
  623. if v:IsA("Attachment") then
  624. v.Axis = Vector3.new(0, 1, 0)
  625. v.SecondaryAxis = Vector3.new(0, 0, 1)
  626. v.Rotation = Vector3.new(0, 0, 0)
  627. end
  628. end)
  629. for _,child in next,character:GetChildren() do
  630. if child:IsA("Accoutrement") then
  631. for _,part in next,child:GetChildren() do
  632. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  633. local attachment1 = part:FindFirstChildOfClass("Attachment")
  634. local attachment0 = getAttachment0(character,attachment1.Name)
  635. if attachment0 and attachment1 then
  636. local constraint = Instance.new("HingeConstraint")
  637. constraint.Attachment0 = attachment0
  638. constraint.Attachment1 = attachment1
  639. constraint.LimitsEnabled = true
  640. constraint.UpperAngle = 0
  641. constraint.LowerAngle = 0
  642. constraint.Parent = character
  643. end
  644. ArtificialHitbox(part)
  645. elseif part.Name == "HumanoidRootPart" then
  646. part:remove()
  647. end
  648. end
  649. end
  650. end
  651.  
  652. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  653. {"LimitsEnabled",true};
  654. {"UpperAngle",5};
  655. })
  656. if character:FindFirstChild("Head") then
  657. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  658. {"LimitsEnabled",true};
  659. {"UpperAngle",15};
  660. })
  661. end
  662.  
  663. local handProperties = {
  664. {"LimitsEnabled", true};
  665. {"UpperAngle",0};
  666. {"LowerAngle",0};
  667. }
  668. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  669. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  670.  
  671. local shinProperties = {
  672. {"LimitsEnabled", true};
  673. {"UpperAngle", 0};
  674. {"LowerAngle", -75};
  675. }
  676. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  677. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  678.  
  679. local footProperties = {
  680. {"LimitsEnabled", true};
  681. {"UpperAngle", 15};
  682. {"LowerAngle", -45};
  683. }
  684. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  685. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  686. if KeepArms == true then
  687. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  688. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  689. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  690. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  691. end
  692. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  693. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  694. Debris:AddItem(character,5)
  695. end))
  696. end
  697.  
  698. function Ragdoll(Character2,CharTorso,KeepArms)
  699. coroutine.resume(coroutine.create(function()
  700. Character2:BreakJoints()
  701. local hum = Character2:findFirstChild("Humanoid")
  702. hum:remove()
  703. local function Scan(ch)
  704. local e
  705. for e = 1,#ch do
  706. Scan(ch[e]:GetChildren())
  707. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  708. ch[e]:remove()
  709. end
  710. end
  711. end
  712. local NEWHUM = IT("Humanoid")
  713. NEWHUM.Name = "Corpse"
  714. NEWHUM.Health = 0
  715. NEWHUM.MaxHealth = 0
  716. NEWHUM.PlatformStand = true
  717. NEWHUM.Parent = Character2
  718. NEWHUM.DisplayDistanceType = "None"
  719.  
  720. local ch = Character2:GetChildren()
  721. local i
  722. for i = 1,#ch do
  723. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  724. ch[i]:remove()
  725. end
  726. end
  727.  
  728. local Torso2 = Character2.Torso
  729. local movevector = Vector3.new()
  730.  
  731. if Torso2 then
  732. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  733. local Head = Character2:FindFirstChild("Head")
  734. if Head then
  735. local Neck = Instance.new("Weld")
  736. Neck.Name = "Neck"
  737. Neck.Part0 = Torso2
  738. Neck.Part1 = Head
  739. Neck.C0 = CFrame.new(0, 1.5, 0)
  740. Neck.C1 = CFrame.new()
  741. Neck.Parent = Torso2
  742.  
  743. end
  744. local Limb = Character2:FindFirstChild("Right Arm")
  745. if Limb and KeepArms == true then
  746.  
  747. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  748. local Joint = Instance.new("Glue")
  749. Joint.Name = "RightShoulder"
  750. Joint.Part0 = Torso2
  751. Joint.Part1 = Limb
  752. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  753. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  754. Joint.Parent = Torso2
  755.  
  756. local B = Instance.new("Part")
  757. B.TopSurface = 0
  758. B.BottomSurface = 0
  759. B.formFactor = "Symmetric"
  760. B.Size = Vector3.new(1, 1, 1)
  761. B.Transparency = 1
  762. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  763. B.Parent = Character2
  764. local W = Instance.new("Weld")
  765. W.Part0 = Limb
  766. W.Part1 = B
  767. W.C0 = CFrame.new(0, -0.5, 0)
  768. W.Parent = Limb
  769.  
  770. end
  771. local Limb = Character2:FindFirstChild("Left Arm")
  772. if Limb and KeepArms == true then
  773.  
  774. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  775. local Joint = Instance.new("Glue")
  776. Joint.Name = "LeftShoulder"
  777. Joint.Part0 = Torso2
  778. Joint.Part1 = Limb
  779. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  780. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  781. Joint.Parent = Torso2
  782.  
  783. local B = Instance.new("Part")
  784. B.TopSurface = 0
  785. B.BottomSurface = 0
  786. B.formFactor = "Symmetric"
  787. B.Size = Vector3.new(1, 1, 1)
  788. B.Transparency = 1
  789. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  790. B.Parent = Character2
  791. local W = Instance.new("Weld")
  792. W.Part0 = Limb
  793. W.Part1 = B
  794. W.C0 = CFrame.new(0, -0.5, 0)
  795. W.Parent = Limb
  796.  
  797. end
  798. local Limb = Character2:FindFirstChild("Right Leg")
  799. if Limb then
  800.  
  801. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  802. local Joint = Instance.new("Glue")
  803. Joint.Name = "RightHip"
  804. Joint.Part0 = Torso2
  805. Joint.Part1 = Limb
  806. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  807. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  808. Joint.Parent = Torso2
  809.  
  810. local B = Instance.new("Part")
  811. B.TopSurface = 0
  812. B.BottomSurface = 0
  813. B.formFactor = "Symmetric"
  814. B.Size = Vector3.new(1, 1, 1)
  815. B.Transparency = 1
  816. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  817. B.Parent = Character2
  818. local W = Instance.new("Weld")
  819. W.Part0 = Limb
  820. W.Part1 = B
  821. W.C0 = CFrame.new(0, -0.5, 0)
  822. W.Parent = Limb
  823.  
  824. end
  825. local Limb = Character2:FindFirstChild("Left Leg")
  826. if Limb then
  827.  
  828. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  829. local Joint = Instance.new("Glue")
  830. Joint.Name = "LeftHip"
  831. Joint.Part0 = Torso2
  832. Joint.Part1 = Limb
  833. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  834. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  835. Joint.Parent = Torso2
  836.  
  837. local B = Instance.new("Part")
  838. B.TopSurface = 0
  839. B.BottomSurface = 0
  840. B.formFactor = "Symmetric"
  841. B.Size = Vector3.new(1, 1, 1)
  842. B.Transparency = 1
  843. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  844. B.Parent = Character2
  845. local W = Instance.new("Weld")
  846. W.Part0 = Limb
  847. W.Part1 = B
  848. W.C0 = CFrame.new(0, -0.5, 0)
  849. W.Parent = Limb
  850.  
  851. end
  852. --[
  853. local Bar = Instance.new("Part")
  854. Bar.TopSurface = 0
  855. Bar.BottomSurface = 0
  856. Bar.formFactor = "Symmetric"
  857. Bar.Size = Vector3.new(1, 1, 1)
  858. Bar.Transparency = 1
  859. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  860. Bar.Parent = Character2
  861. local Weld = Instance.new("Weld")
  862. Weld.Part0 = Torso2
  863. Weld.Part1 = Bar
  864. Weld.C0 = CFrame.new(0, 0.5, 0)
  865. Weld.Parent = Torso2
  866. --]]
  867. end
  868. Character2.Parent = workspace
  869. Debris:AddItem(Character2,5)
  870.  
  871. return Character2,Torso2
  872. end))
  873. end
  874.  
  875. --//=================================\\
  876. --|| WEAPON CREATION
  877. --\\=================================//
  878.  
  879. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  880. PRT.Color = C3(0,0,0)
  881. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  882. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  883. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  884. PRT.Color = C3(0,0,0)
  885. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  886. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  887. for i = 1, 16 do
  888. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  889. FACE.Color = C3(0,0,0)
  890. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  891. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  892. end
  893. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Institutional White", "Eye", VT(0.1,1,1)/2,false)
  894. MakeForm(Eye,"Ball")
  895. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  896. local LASTPART = Head
  897. for i = 1, 20 do
  898. local MATH = (1-(i/25))
  899. if LASTPART == Head then
  900. local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  901. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  902. LASTPART = Horn
  903. Horn.Color = C3((i*3-3)/255,0,0)
  904. else
  905. local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  906. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  907. LASTPART = Horn
  908. Horn.Color = C3((i*3-3)/255,0,0)
  909. end
  910. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  911. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  912. end
  913.  
  914. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  915. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  916. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  917. MakeForm(Part,"Wedge")
  918. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  919. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  920. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  921. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  922. MakeForm(Part,"Cyl")
  923. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  924. for i = 1, 8 do
  925. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  926. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  927. end
  928. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  929. MakeForm(Part,"Wedge")
  930. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  931. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  932. MakeForm(Part,"Cyl")
  933. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  934. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  935. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  936. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  937. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  938. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  939. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  940. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  941. MakeForm(RightBarrel,"Cyl")
  942. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  943. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  944. MakeForm(Part,"Wedge")
  945. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  946. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  947. MakeForm(RightHole,"Cyl")
  948. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  949. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  950. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  951. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  952. MakeForm(Part,"Wedge")
  953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  954. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  955. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  956. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  957. MakeForm(Part,"Cyl")
  958. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  959. for i = 1, 8 do
  960. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  961. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  962. end
  963. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  964. MakeForm(Part,"Wedge")
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  966. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  967. MakeForm(Part,"Cyl")
  968. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  969. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  970. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  971. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  972. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  973. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  974. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  975. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  976. MakeForm(LeftBarrel,"Cyl")
  977. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  978. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  979. MakeForm(Part,"Wedge")
  980. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  981. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  982. MakeForm(LeftHole,"Cyl")
  983. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  984. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  985. MakeForm(Eye,"Ball")
  986. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  987. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  988. MakeForm(Eye,"Ball")
  989. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  990. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  991. MakeForm(Eye,"Ball")
  992. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  993. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  994. MakeForm(Eye,"Ball")
  995. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  996. local A = IT("Attachment",Torso)
  997. A.Position = VT(1,1.3,0)
  998. A.Orientation = VT(-0.098, -89.999, 0.227)
  999. local B = IT("Attachment",Torso)
  1000. B.Position = VT(-1.3,-0.6,0)
  1001. B.Orientation = VT(-88.911, -68.808, 158.782)
  1002. local ChainLink = IT("Beam",Torso)
  1003. ChainLink.Texture = "rbxassetid://73042633"
  1004. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1005. ChainLink.TextureSpeed = 1
  1006. ChainLink.FaceCamera = true
  1007. ChainLink.Width0 = 1
  1008. ChainLink.Width1 = 1
  1009. ChainLink.TextureLength = 3
  1010. ChainLink.Attachment0 = A
  1011. ChainLink.Attachment1 = B
  1012. ChainLink.CurveSize0 = 1.6
  1013. ChainLink.CurveSize1 = 1.6
  1014. ChainLink.FaceCamera = true
  1015. ChainLink.Transparency = NumberSequence.new(0)
  1016. local ChainLink = IT("Beam",Torso)
  1017. ChainLink.Texture = "rbxassetid://73042633"
  1018. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1019. ChainLink.TextureSpeed = 1
  1020. ChainLink.FaceCamera = true
  1021. ChainLink.Width0 = 1
  1022. ChainLink.Width1 = 1
  1023. ChainLink.TextureLength = 3
  1024. ChainLink.Attachment0 = B
  1025. ChainLink.Attachment1 = A
  1026. ChainLink.CurveSize0 = 1.6
  1027. ChainLink.CurveSize1 = 1.6
  1028. ChainLink.FaceCamera = true
  1029. ChainLink.Transparency = NumberSequence.new(0)
  1030. local A = IT("Attachment",Torso)
  1031. A.Position = VT(1.3,-0.85,0)
  1032. A.Orientation = VT(-0.098, -89.999, 0.227)
  1033. local B = IT("Attachment",Torso)
  1034. B.Position = VT(-1,2,0)
  1035. B.Orientation = VT(-88.911, -68.808, 158.782)
  1036. local ChainLink = IT("Beam",Torso)
  1037. ChainLink.Texture = "rbxassetid://73042633"
  1038. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1039. ChainLink.TextureSpeed = 1
  1040. ChainLink.FaceCamera = true
  1041. ChainLink.Width0 = 1
  1042. ChainLink.Width1 = 1
  1043. ChainLink.TextureLength = 3
  1044. ChainLink.Attachment0 = A
  1045. ChainLink.Attachment1 = B
  1046. ChainLink.CurveSize0 = 1.3
  1047. ChainLink.CurveSize1 = 1.3
  1048. ChainLink.FaceCamera = true
  1049. ChainLink.Transparency = NumberSequence.new(0)
  1050. local ChainLink = IT("Beam",Torso)
  1051. ChainLink.Texture = "rbxassetid://73042633"
  1052. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1053. ChainLink.TextureSpeed = 1
  1054. ChainLink.FaceCamera = true
  1055. ChainLink.Width0 = 1
  1056. ChainLink.Width1 = 1
  1057. ChainLink.TextureLength = 3
  1058. ChainLink.Attachment0 = B
  1059. ChainLink.Attachment1 = A
  1060. ChainLink.CurveSize0 = 1.3
  1061. ChainLink.CurveSize1 = 1.3
  1062. ChainLink.FaceCamera = true
  1063. ChainLink.Transparency = NumberSequence.new(0)
  1064.  
  1065. local A = IT("Attachment",RightBarrel)
  1066. A.Position = VT(0,-2.5,0)
  1067. local B = IT("Attachment",RightBarrel)
  1068. B.Position = VT(0,2.5,0)
  1069. local Trail = IT("Trail",RightBarrel)
  1070. Trail.Attachment0 = A
  1071. Trail.Attachment1 = B
  1072. Trail.Lifetime = 0.2
  1073. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  1074. Trail.Transparency = NumberSequence.new(0, 1)
  1075. Trail.Enabled = false
  1076.  
  1077. local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
  1078. DUST.ZOffset = 1
  1079. RightArm.Transparency = 1
  1080. local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(1,2,1),false)
  1081. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1082. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(1.4,1.4,1.4),false)
  1083. MakeForm(Sphere,"Ball")
  1084. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1085. local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
  1086. MakeForm(LaserPart,"Ball")
  1087. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1088. local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.2),false)
  1089. MakeForm(Bump,"Ball")
  1090. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1091. local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
  1092. MakeForm(BottomLaser,"Cyl")
  1093. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1094. local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1095. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1096. local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1097. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
  1098. local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1099. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
  1100. local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1101. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
  1102. local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1103. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
  1104. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
  1105. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
  1106. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
  1107. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
  1108. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1109. MakeForm(Part,"Cyl")
  1110. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1111. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1112. MakeForm(Part,"Cyl")
  1113. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1114. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
  1115. MakeForm(Sphere,"Ball")
  1116. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1117.  
  1118. for _, c in pairs(Weapon:GetChildren()) do
  1119. if c.ClassName == "Part" then
  1120. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1121. end
  1122. end
  1123.  
  1124. local SKILLTEXTCOLOR = C3(1,0,0)
  1125. local SKILLFONT = "SciFi"
  1126. local SKILLTEXTSIZE = 5
  1127.  
  1128. Weapon.Parent = Character
  1129.  
  1130. Humanoid.Died:connect(function()
  1131. ATTACK = true
  1132. end)
  1133.  
  1134. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1135. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1136. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1137. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1138. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1139. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1140.  
  1141. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  1142. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  1143. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  1144. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  1145. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  1146. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  1147.  
  1148. --//=================================\\
  1149. --|| ATTACK FUNCTIONS AND STUFF
  1150. --\\=================================//
  1151.  
  1152. function Warp()
  1153. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1154. if HITFLOOR then
  1155. CharacterFade(C3(0.5,0,0),50)
  1156. HITPOS = HITPOS + VT(0,3.5,0)
  1157. local POS = RootPart.Position
  1158. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1159. CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
  1160. end
  1161. end
  1162.  
  1163. function Dash()
  1164. ATTACK = true
  1165. Rooted = false
  1166. local TARGET = nil
  1167. local TORS = nil
  1168. local GYRO = IT("BodyGyro",RootPart)
  1169. GYRO.D = 175
  1170. GYRO.P = 20000
  1171. GYRO.MaxTorque = VT(0,40000,0)
  1172. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1173. local RANGE = 5
  1174. CreateSound(541909867, Torso, 7, 1, false)
  1175. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1176. for i=0, 1, 0.1 / Animation_Speed do
  1177. Swait()
  1178. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  1179. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1180. local CHILDREN = workspace:GetDescendants()
  1181. for index, CHILD in pairs(CHILDREN) do
  1182. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1183. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1184. if HUM then
  1185. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1186. if TORSO then
  1187. if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  1188. RANGE = (TORSO.Position - LeftHole.Position).Magnitude
  1189. TARGET = HUM
  1190. TORS = TORSO
  1191. end
  1192. end
  1193. end
  1194. end
  1195. end
  1196. if TARGET then
  1197. break
  1198. end
  1199. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1200. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
  1201. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1202. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1203. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1204. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1205. end
  1206. GYRO:remove()
  1207. if TORS and TARGET then
  1208. Rooted = true
  1209. local BODYPOSITION = IT("BodyPosition", TORS)
  1210. BODYPOSITION.P = 2000
  1211. BODYPOSITION.D = 100
  1212. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1213. for i=0, 1, 0.1 / Animation_Speed do
  1214. Swait()
  1215. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1216. BODYPOSITION.Position = TORS.Position
  1217. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1218. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1220. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1221. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1222. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1223. end
  1224. for i=0, 0.4, 0.1 / Animation_Speed do
  1225. Swait()
  1226. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1227. BODYPOSITION.Position = TORS.Position
  1228. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1229. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1230. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1231. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1232. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1233. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1234. end
  1235. local LOOP = 0
  1236. local LOOP2 = 0
  1237. for i=0, 5, 0.1 / Animation_Speed do
  1238. Swait()
  1239. LOOP = LOOP + 1
  1240. TORS.Anchored = true
  1241. LOOP2 = LOOP2 + 1
  1242. if LOOP2 >= 5 then
  1243. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1244. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1245. CreateSound(145080998, RightHole, 7, 1, false)
  1246. SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
  1247. LOOP2 = 0
  1248. getbloody(TORS,1)
  1249. end
  1250. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1251. BODYPOSITION.Position = TORS.Position
  1252. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1253. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1254. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1255. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1256. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1257. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1258. end
  1259. BODYPOSITION:remove()
  1260. if TORS then
  1261. TORS.Anchored = false
  1262. Kill(TORS.Parent)
  1263. end
  1264. end
  1265. ATTACK = false
  1266. Rooted = false
  1267. end
  1268. function Deathbound()
  1269. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1270. ATTACK = true
  1271. Rooted = true
  1272. for i=0, 1, 0.1 / Animation_Speed do
  1273. Swait()
  1274. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1275. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1276. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1277. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1278. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1279. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1280. end
  1281. local DONE = false
  1282. local GATE = nil
  1283. local GATESPIN = true
  1284. coroutine.resume(coroutine.create(function()
  1285. repeat
  1286. Swait()
  1287. if GATE ~= nil then
  1288. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1289. end
  1290. until GATESPIN == false
  1291. end))
  1292. coroutine.resume(coroutine.create(function()
  1293. repeat
  1294. Swait()
  1295. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1296. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1297. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1298. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1299. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1300. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1301. until DONE == true
  1302. Swait(50)
  1303. for i = 1, 35 do
  1304. Swait(4)
  1305. local FIRED = false
  1306. local CHILDREN = workspace:GetDescendants()
  1307. for index, CHILD in pairs(CHILDREN) do
  1308. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1309. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1310. if HUM then
  1311. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1312. if TORSO then
  1313. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1314. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1315. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1316. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1317. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1318. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1319. Kill(CHILD)
  1320. FIRED = true
  1321. break
  1322. end
  1323. end
  1324. end
  1325. end
  1326. end
  1327. if FIRED == false then
  1328. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1329. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1330. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1331. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1332. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1333. if HITBOD ~= nil then
  1334. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1335. Kill(HITBOD.Parent)
  1336. end
  1337. end
  1338. end
  1339. end
  1340. for i = 1, 45 do
  1341. Swait()
  1342. GATE.Size = GATE.Size - VT(3,0,3)
  1343. end
  1344. GATESPIN = false
  1345. GATE:remove()
  1346. end))
  1347. Swait(15)
  1348. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1349. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  1350. local DECAL = IT("Decal",GATE)
  1351. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  1352. DECAL.Face = "Top"
  1353. GATE.CFrame = CF(HITPOS)
  1354. CreateSound(160772554, GATE, 7, 1.3, false)
  1355. for i = 1, 45 do
  1356. Swait()
  1357. GATE.Size = GATE.Size + VT(3,0,3)
  1358. end
  1359. CreateSound(145080998, RightHole, 7, 1, false)
  1360. CreateSound(145080998, LeftHole, 7, 1, false)
  1361. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1362. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1363. ATTACK = false
  1364. Rooted = false
  1365. DONE = true
  1366. end
  1367.  
  1368. function ReeeEEEEEE()
  1369. ATTACK = true
  1370. Rooted = false
  1371. Speed = 12
  1372. local FX = CreateSound(198165368, Head, 4, 0.5, false)
  1373. repeat
  1374. Swait()
  1375. FX.Parent = Head
  1376. local CHILDREN = workspace:GetDescendants()
  1377. for index, CHILD in pairs(CHILDREN) do
  1378. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1379. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1380. if HUM then
  1381. local TORSO = CHILD:FindFirstChild("Head")
  1382. if TORSO then
  1383. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  1384. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1385. TORSO:remove()
  1386. if CHILD:FindFirstChild("Torso") then
  1387. Ragdoll(CHILD,Torso,true)
  1388. elseif CHILD:FindFirstChild("UpperTorso") then
  1389. R15Ragdoll(CHILD,true)
  1390. end
  1391. end
  1392. end
  1393. end
  1394. end
  1395. end
  1396. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1397. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1400. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1401. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1402. until FX.Playing == false
  1403. Speed = 16
  1404. ATTACK = false
  1405. Rooted = false
  1406. end
  1407.  
  1408. function Morning_Star()
  1409. ATTACK = true
  1410. Rooted = true
  1411. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1412. for i=0, 1, 0.1 / Animation_Speed do
  1413. Swait()
  1414. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1415. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1416. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1417. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1418. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1419. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1420. end
  1421. coroutine.resume(coroutine.create(function()
  1422. local POS = Mouse.Hit.p
  1423. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  1424. MakeForm(RAY,"Cyl")
  1425. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  1426. MakeForm(SPHERE,"Ball")
  1427. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1428. MakeForm(SHIELD,"Ball")
  1429. SHIELD.CFrame = CF(POS)
  1430. RAY.CFrame = CF(POS)
  1431. SPHERE.CFrame = CF(POS)
  1432. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1433. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1434. for i = 1, 200 do
  1435. Swait()
  1436. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1437. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1438. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1439. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1440. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1441. end
  1442. for i = 1, 45 do
  1443. Swait()
  1444. RAY.Transparency = RAY.Transparency + 1/45
  1445. SPHERE.Transparency = RAY.Transparency
  1446. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1447. end
  1448. RAY:remove()
  1449. SHIELD:remove()
  1450. SPHERE:remove()
  1451. end))
  1452. for i=0, 1, 0.1 / Animation_Speed do
  1453. Swait()
  1454. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1455. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1456. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1457. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1458. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1459. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1460. end
  1461. ATTACK = false
  1462. Rooted = false
  1463. end
  1464.  
  1465. function ScrewThis()
  1466. ATTACK = true
  1467. Rooted = true
  1468. local SCREW = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Part", VT(2, 0.4, 0.4)/2,false)
  1469. SCREW.CanCollide = true
  1470. local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, SCREW, CF(0,-1,0.2) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1471. CreateMesh("SpecialMesh", SCREW, "FileMesh", "70265804", "70265794", VT(1,1,1)/1.5, VT(0,0,0))
  1472. for i=0, 0.4, 0.1 / Animation_Speed do
  1473. Swait()
  1474. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
  1476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1478. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1479. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1480. end
  1481. SCREW.Transparency = 0
  1482. for i=0, 0.1, 0.1 / Animation_Speed do
  1483. Swait()
  1484. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1485. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1486. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1487. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1488. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1489. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1490. end
  1491. for i=0, 1, 0.1 / Animation_Speed do
  1492. Swait()
  1493. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1494. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1495. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1496. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1497. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1498. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1499. end
  1500. for i = 1, 3 do
  1501. for i=0, 0.3, 0.1 / Animation_Speed do
  1502. Swait()
  1503. WELD.C1 = WELD.C1 * ANGLES(RAD(5), RAD(0), RAD(0))
  1504. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1505. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1506. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1507. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(78)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1508. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1509. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1510. end
  1511. for i=0, 1, 0.1 / Animation_Speed do
  1512. Swait()
  1513. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1514. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1515. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1516. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1517. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1518. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1519. end
  1520. end
  1521. if MRANDOM(1, 5) == 1 then
  1522. DUST:Emit(25)
  1523. WELD:remove()
  1524. CreateSound(328460122, RightArm, 3, 1, false)
  1525. SCREW.Velocity = CF(RightArm.Position,SCREW.Position).lookVector*65
  1526. Debris:AddItem(SCREW,6)
  1527. for i=0, 3, 0.1 / Animation_Speed do
  1528. Swait()
  1529. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1530. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1531. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1532. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1533. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1534. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1535. end
  1536. for i = 1, 3 do
  1537. for i=0, 0.35, 0.1 / Animation_Speed do
  1538. Swait()
  1539. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1540. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  1541. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1542. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1543. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1544. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1545. end
  1546. for i=0, 0.35, 0.1 / Animation_Speed do
  1547. Swait()
  1548. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1549. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1550. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1551. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1552. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1553. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1554. end
  1555. end
  1556. else
  1557. for i=0, 0.5, 0.1 / Animation_Speed do
  1558. Swait()
  1559. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1562. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1563. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1564. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1565. end
  1566. WELD:remove()
  1567. for i=0, 0.15, 0.1 / Animation_Speed do
  1568. Swait()
  1569. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1570. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1571. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1572. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1573. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1574. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1575. end
  1576. Debris:AddItem(SCREW,6)
  1577. end
  1578. ATTACK = false
  1579. Rooted = false
  1580. end
  1581.  
  1582. --//=================================\\
  1583. --|| ASSIGN THINGS TO KEYS
  1584. --\\=================================//
  1585.  
  1586. function MouseDown(Mouse)
  1587. if ATTACK == false then
  1588. end
  1589. end
  1590.  
  1591. function MouseUp(Mouse)
  1592. HOLD = false
  1593. end
  1594.  
  1595. function KeyDown(Key)
  1596. KEYHOLD = true
  1597. if Key == "z" and ATTACK == false then
  1598. Warp()
  1599. end
  1600.  
  1601. if Key == "b" and ATTACK == false then
  1602. Dash()
  1603. end
  1604.  
  1605. if Key == "c" and ATTACK == false then
  1606. LimbRip()
  1607. end
  1608.  
  1609. if Key == "v" and ATTACK == false then
  1610. Buzzsaw()
  1611. end
  1612.  
  1613. if Key == "e" and ATTACK == false then
  1614. ReeeEEEEEE()
  1615. end
  1616.  
  1617. if Key == "x" and ATTACK == false then
  1618. Needle()
  1619. end
  1620.  
  1621. if Key == "t" and ATTACK == false then
  1622. ScrewThis()
  1623. end
  1624. end
  1625.  
  1626. function KeyUp(Key)
  1627. KEYHOLD = false
  1628. end
  1629.  
  1630. Mouse.Button1Down:connect(function(NEWKEY)
  1631. MouseDown(NEWKEY)
  1632. end)
  1633. Mouse.Button1Up:connect(function(NEWKEY)
  1634. MouseUp(NEWKEY)
  1635. end)
  1636. Mouse.KeyDown:connect(function(NEWKEY)
  1637. KeyDown(NEWKEY)
  1638. end)
  1639. Mouse.KeyUp:connect(function(NEWKEY)
  1640. KeyUp(NEWKEY)
  1641. end)
  1642.  
  1643. --//=================================\\
  1644. --\\=================================//
  1645.  
  1646. function AntiTimeStop()
  1647. for _, c in pairs(Character:GetChildren()) do
  1648. if c:IsA("BasePart") then
  1649. c.Anchored = false
  1650. end
  1651. end
  1652. for _, c in pairs(Weapon:GetChildren()) do
  1653. if c:IsA("BasePart") then
  1654. c.Anchored = false
  1655. end
  1656. end
  1657. end
  1658.  
  1659. --//=================================\\
  1660. --|| WRAP THE WHOLE SCRIPT UP
  1661. --\\=================================//
  1662.  
  1663. Humanoid.Changed:connect(function(Jump)
  1664. if Jump == "Jump" and (Disable_Jump == true) then
  1665. Humanoid.Jump = false
  1666. end
  1667. end)
  1668.  
  1669. local sick = IT("Sound")
  1670.  
  1671. while true do
  1672. Swait()
  1673. script.Parent = WEAPONGUI
  1674. ANIMATE.Parent = nil
  1675. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1676. v:Stop();
  1677. end
  1678. SINE = SINE + CHANGE
  1679. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1680. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1681. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1682. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1683. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1684. 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)
  1685. 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)
  1686. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1687. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1688. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1689. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1690. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1691. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1692. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1693. end
  1694. if HITFLOOR == nil then
  1695. ANIM = "Midair"
  1696. if ATTACK == false then
  1697. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1701. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1702. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1703. end
  1704. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1705. ANIM = "Idle"
  1706. if ATTACK == false then
  1707. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1708. 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)
  1709. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1710. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1711. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1712. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1713. end
  1714. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1715. ANIM = "Walk"
  1716. if ATTACK == false then
  1717. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1718. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  1720. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  1721. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1722. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1723. end
  1724. end
  1725. Humanoid.MaxHealth = 10e10
  1726. Humanoid.Health = 10e10
  1727. sick.SoundId = "rbxassetid://1696854181"
  1728. sick.Looped = true
  1729. sick.Pitch = 1
  1730. sick.Volume = 2
  1731. sick.Playing = true
  1732. sick.Parent = Effects
  1733. AntiTimeStop()
  1734. if Rooted == false then
  1735. Disable_Jump = false
  1736. Humanoid.WalkSpeed = Speed
  1737. elseif Rooted == true then
  1738. Disable_Jump = true
  1739. Humanoid.WalkSpeed = 0
  1740. end
  1741. Humanoid.Name = "Killbot"
  1742. end
  1743.  
  1744. --//=================================\\
  1745. --\\=================================//
  1746.  
  1747. --//====================================================\\--
  1748. --|| END OF SCRIPT
  1749. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement