Advertisement
voyqgo

TEST6

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