Advertisement
Silver_cole

Im stealing scripts

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