Advertisement
jone12333

dead eye edit

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