Advertisement
cobblecorn

Untitled

Jul 13th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.40 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49. local mas = {}
  50. local GetChildren = nil
  51. for i,v in pairs(mas:GetChildren()) do
  52. v.Parent = script
  53. pcall(function() v:MakeJoints() end)
  54. end
  55. mas:Destroy()
  56. for i,v in pairs(cors) do
  57. spawn(function()
  58. pcall(v)
  59. end)
  60. end
  61.  
  62. function onKeyPress(inputObject, gameProcessedEvent)
  63. if inputObject.KeyCode == Enum.KeyCode.L then
  64.  
  65.  
  66. local q = game.Players:GetChildren() for i = 1, #q do if q[i].Character.Parent ~= workspace and q[i].Parent ~= nil then q[i].Character.Parent = workspace local sound2 = Instance.new("Sound",workspace) sound2.SoundId = "rbxassetid://245910488" sound2.Volume = 5 sound2:Play() end end end
  67.  
  68.  
  69. end
  70.  
  71. local createstuff = function()
  72. local stuff = Instance.new("Model")
  73.  
  74. local ParticleBox = Instance.new("Part")
  75.  
  76.  
  77. stuff.Name = "Stuff"
  78. stuff.Parent = workspace
  79.  
  80. ParticleBox.Size = Vector3.new(10, 10, 10)
  81. ParticleBox.BottomSurface = Enum.SurfaceType.Smooth
  82. ParticleBox.Material = Enum.Material.SmoothPlastic
  83. ParticleBox.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  84. ParticleBox.BrickColor = BrickColor.new("Really black")
  85. ParticleBox.TopSurface = Enum.SurfaceType.Smooth
  86. ParticleBox.Name = "ParticleBox"
  87. ParticleBox.Parent = stuff
  88. ParticleBox.CFrame = CFrame.new(9.8, 44.1, -48.7)
  89. ParticleBox.Transparency = 1
  90.  
  91. local headness = Instance.new("Part")
  92. headness.Parent = stuff
  93. headness.Name = ("headness")
  94. headness.Size = Vector3.new(2,1,1)
  95. headness.Transparency = 0.5
  96. headness.Material = ("Neon")
  97. headness.BrickColor = BrickColor.new("Navy blue")
  98. headness.CanCollide = false
  99.  
  100.  
  101. local Blockhead = Instance.new("BlockMesh")
  102. Blockhead.Name = ("Blockhead")
  103. Blockhead.Offset = Vector3.new(0,-0.45,0)
  104. Blockhead.Scale = Vector3.new(0.56,1.1,1.1)
  105. Blockhead.Parent = stuff
  106.  
  107. local MajesticGlow = Instance.new("PointLight")
  108. MajesticGlow.Color = Color3.new(6/225,6/255,159/255)
  109. MajesticGlow.Range = 25
  110. MajesticGlow.Shadows = false
  111. MajesticGlow.Brightness = 1
  112. MajesticGlow.Name = ("MajesticGlow")
  113. MajesticGlow.Parent = stuff
  114.  
  115.  
  116.  
  117. for i,v in pairs(stuff:GetChildren()) do
  118. v.Parent = script
  119. end
  120. end
  121.  
  122. createstuff()
  123.  
  124.  
  125. Animation_Speed = 3
  126. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  127. local Speed = 16
  128. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  129. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  130. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  131. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  132. local DAMAGEMULTIPLIER = 1
  133. local ANIM = "Idle"
  134. local ATTACK = false
  135. local MELEE = false
  136. local EQUIPPED = false
  137. local HOLD = false
  138. local COMBO = 1
  139. local Rooted = false
  140. local SINE = 0
  141. local KEYHOLD = false
  142. local CHANGE = 2 / Animation_Speed
  143. local WALKINGANIM = false
  144. local VALUE1 = false
  145. local VALUE2 = false
  146. local ROBLOXIDLEANIMATION = IT("Animation")
  147. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  148. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  149. --ROBLOXIDLEANIMATION.Parent = Humanoid
  150. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  151. WEAPONGUI.Name = "Weapon GUI"
  152. local Effects = IT("Folder", Character)
  153. Effects.Name = "Effects"
  154. local ANIMATOR = Humanoid.Animator
  155. local ANIMATE = Character.Animate
  156. local UNANCHOR = true
  157. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  158. local EXTRATRANS = 0
  159. local DASHING = false
  160. local CanCollide = false
  161. mas = Instance.new("Model",game:GetService("Lighting"))
  162. cors = {}
  163. --//=================================\\
  164. --\\=================================//
  165.  
  166.  
  167. --//=================================\\
  168. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  169. --\\=================================//
  170.  
  171. ArtificialHB = Instance.new("BindableEvent", script)
  172. ArtificialHB.Name = "ArtificialHB"
  173.  
  174. script:WaitForChild("ArtificialHB")
  175.  
  176. frame = Frame_Speed
  177. tf = 0
  178. allowframeloss = false
  179. tossremainder = false
  180. lastframe = tick()
  181. script.ArtificialHB:Fire()
  182.  
  183. game:GetService("RunService").Heartbeat:connect(function(s, p)
  184. tf = tf + s
  185. if tf >= frame then
  186. if allowframeloss then
  187. script.ArtificialHB:Fire()
  188. lastframe = tick()
  189. else
  190. for i = 1, math.floor(tf / frame) do
  191. script.ArtificialHB:Fire()
  192. end
  193. lastframe = tick()
  194. end
  195. if tossremainder then
  196. tf = 0
  197. else
  198. tf = tf - frame * math.floor(tf / frame)
  199. end
  200. end
  201. end)
  202.  
  203. --//=================================\\
  204. --\\=================================//
  205.  
  206. --//=================================\\
  207. --|| SOME FUNCTIONS
  208. --\\=================================//
  209.  
  210.  
  211. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  212. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  213. end
  214.  
  215. function PositiveAngle(NUMBER)
  216. if NUMBER >= 0 then
  217. NUMBER = 0
  218. end
  219. return NUMBER
  220. end
  221.  
  222. function NegativeAngle(NUMBER)
  223. if NUMBER <= 0 then
  224. NUMBER = 0
  225. end
  226. return NUMBER
  227. end
  228.  
  229. function Swait(NUMBER)
  230. if NUMBER == 0 or NUMBER == nil then
  231. ArtificialHB.Event:wait()
  232. else
  233. for i = 1, NUMBER do
  234. ArtificialHB.Event:wait()
  235. end
  236. end
  237. end
  238.  
  239. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  240. local NEWMESH = IT(MESH)
  241. if MESH == "SpecialMesh" then
  242. NEWMESH.MeshType = MESHTYPE
  243. if MESHID ~= "nil" and MESHID ~= "" then
  244. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  245. end
  246. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  247. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  248. end
  249. end
  250. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  251. NEWMESH.Scale = SCALE
  252. NEWMESH.Parent = PARENT
  253. return NEWMESH
  254. end
  255.  
  256. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  257. local NEWPART = IT("Part")
  258. NEWPART.formFactor = FORMFACTOR
  259. NEWPART.Reflectance = REFLECTANCE
  260. NEWPART.Transparency = TRANSPARENCY
  261. NEWPART.CanCollide = false
  262. NEWPART.Locked = true
  263. NEWPART.Anchored = true
  264. if ANCHOR == false then
  265. NEWPART.Anchored = false
  266. end
  267. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  268. NEWPART.Name = NAME
  269. NEWPART.Size = SIZE
  270. NEWPART.Position = Torso.Position
  271. NEWPART.Material = MATERIAL
  272. NEWPART:BreakJoints()
  273. NEWPART.Parent = PARENT
  274. return NEWPART
  275. end
  276.  
  277. local function weldBetween(a, b)
  278. local weldd = Instance.new("ManualWeld")
  279. weldd.Part0 = a
  280. weldd.Part1 = b
  281. weldd.C0 = CFrame.new()
  282. weldd.C1 = b.CFrame:inverse() * a.CFrame
  283. weldd.Parent = a
  284. return weldd
  285. end
  286.  
  287.  
  288. function QuaternionFromCFrame(cf)
  289. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  290. local trace = m00 + m11 + m22
  291. if trace > 0 then
  292. local s = math.sqrt(1 + trace)
  293. local recip = 0.5 / s
  294. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  295. else
  296. local i = 0
  297. if m11 > m00 then
  298. i = 1
  299. end
  300. if m22 > (i == 0 and m00 or m11) then
  301. i = 2
  302. end
  303. if i == 0 then
  304. local s = math.sqrt(m00 - m11 - m22 + 1)
  305. local recip = 0.5 / s
  306. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  307. elseif i == 1 then
  308. local s = math.sqrt(m11 - m22 - m00 + 1)
  309. local recip = 0.5 / s
  310. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  311. elseif i == 2 then
  312. local s = math.sqrt(m22 - m00 - m11 + 1)
  313. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  314. end
  315. end
  316. end
  317.  
  318. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  319. local xs, ys, zs = x + x, y + y, z + z
  320. local wx, wy, wz = w * xs, w * ys, w * zs
  321. local xx = x * xs
  322. local xy = x * ys
  323. local xz = x * zs
  324. local yy = y * ys
  325. local yz = y * zs
  326. local zz = z * zs
  327. 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))
  328. end
  329.  
  330. function QuaternionSlerp(a, b, t)
  331. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  332. local startInterp, finishInterp;
  333. if cosTheta >= 0.0001 then
  334. if (1 - cosTheta) > 0.0001 then
  335. local theta = ACOS(cosTheta)
  336. local invSinTheta = 1 / SIN(theta)
  337. startInterp = SIN((1 - t) * theta) * invSinTheta
  338. finishInterp = SIN(t * theta) * invSinTheta
  339. else
  340. startInterp = 1 - t
  341. finishInterp = t
  342. end
  343. else
  344. if (1 + cosTheta) > 0.0001 then
  345. local theta = ACOS(-cosTheta)
  346. local invSinTheta = 1 / SIN(theta)
  347. startInterp = SIN((t - 1) * theta) * invSinTheta
  348. finishInterp = SIN(t * theta) * invSinTheta
  349. else
  350. startInterp = t - 1
  351. finishInterp = t
  352. end
  353. end
  354. 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
  355. end
  356.  
  357. function Clerp(a, b, t)
  358. local qa = {QuaternionFromCFrame(a)}
  359. local qb = {QuaternionFromCFrame(b)}
  360. local ax, ay, az = a.x, a.y, a.z
  361. local bx, by, bz = b.x, b.y, b.z
  362. local _t = 1 - t
  363. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  364. end
  365.  
  366. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  367. local frame = IT("Frame")
  368. frame.BackgroundTransparency = TRANSPARENCY
  369. frame.BorderSizePixel = BORDERSIZEPIXEL
  370. frame.Position = POSITION
  371. frame.Size = SIZE
  372. frame.BackgroundColor3 = COLOR
  373. frame.BorderColor3 = BORDERCOLOR
  374. frame.Name = NAME
  375. frame.Parent = PARENT
  376. return frame
  377. end
  378.  
  379. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  380. local label = IT("TextLabel")
  381. label.BackgroundTransparency = 1
  382. label.Size = UD2(1, 0, 1, 0)
  383. label.Position = UD2(0, 0, 0, 0)
  384. label.TextColor3 = TEXTCOLOR
  385. label.TextStrokeTransparency = STROKETRANSPARENCY
  386. label.TextTransparency = TRANSPARENCY
  387. label.FontSize = TEXTFONTSIZE
  388. label.Font = TEXTFONT
  389. label.BorderSizePixel = BORDERSIZEPIXEL
  390. label.TextScaled = false
  391. label.Text = TEXT
  392. label.Name = NAME
  393. label.Parent = PARENT
  394. return label
  395. end
  396.  
  397. function NoOutlines(PART)
  398. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  399. end
  400.  
  401. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  402. local NEWWELD = IT(TYPE)
  403. NEWWELD.Part0 = PART0
  404. NEWWELD.Part1 = PART1
  405. NEWWELD.C0 = C0
  406. NEWWELD.C1 = C1
  407. NEWWELD.Parent = PARENT
  408. return NEWWELD
  409. end
  410.  
  411. local S = IT("Sound")
  412. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  413. local NEWSOUND = nil
  414. coroutine.resume(coroutine.create(function()
  415. NEWSOUND = S:Clone()
  416. NEWSOUND.Parent = PARENT
  417. NEWSOUND.Volume = VOLUME
  418. NEWSOUND.Pitch = PITCH
  419. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  420. NEWSOUND:play()
  421. if DOESLOOP == true then
  422. NEWSOUND.Looped = true
  423. else
  424. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  425. NEWSOUND.Playing = false
  426. NEWSOUND:remove()
  427. end
  428. end))
  429. return NEWSOUND
  430. end
  431.  
  432. function CFrameFromTopBack(at, top, back)
  433. local right = top:Cross(back)
  434. 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)
  435. end
  436.  
  437. --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})
  438. function WACKYEFFECT(Table)
  439. local TYPE = (Table.EffectType or "Sphere")
  440. local SIZE = (Table.Size or VT(1,1,1))
  441. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  442. local TRANSPARENCY = (Table.Transparency or 0)
  443. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  444. local CFRAME = (Table.CFrame or Torso.CFrame)
  445. local MOVEDIRECTION = (Table.MoveToPos or nil)
  446. local ROTATION1 = (Table.RotationX or 0)
  447. local ROTATION2 = (Table.RotationY or 0)
  448. local ROTATION3 = (Table.RotationZ or 0)
  449. local MATERIAL = (Table.Material or "Neon")
  450. local COLOR = (Table.Color or C3(1,1,1))
  451. local TIME = (Table.Time or 45)
  452. local SOUNDID = (Table.SoundID or nil)
  453. local SOUNDPITCH = (Table.SoundPitch or nil)
  454. local SOUNDVOLUME = (Table.SoundVolume or nil)
  455. coroutine.resume(coroutine.create(function()
  456. local PLAYSSOUND = false
  457. local SOUND = nil
  458. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  459. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  460. PLAYSSOUND = true
  461. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  462. end
  463. EFFECT.Color = COLOR
  464. local MSH = nil
  465. if TYPE == "Sphere" then
  466. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  467. elseif TYPE == "Block" then
  468. MSH = IT("BlockMesh",EFFECT)
  469. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  470. elseif TYPE == "Wave" then
  471. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/0))
  472. elseif TYPE == "Ring" then
  473. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  474. elseif TYPE == "Slash" then
  475. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  476. elseif TYPE == "Round Slash" then
  477. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  478. elseif TYPE == "Swirl" then
  479. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  480. elseif TYPE == "Skull" then
  481. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  482. elseif TYPE == "Crystal" then
  483. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  484. end
  485. if MSH ~= nil then
  486. local MOVESPEED = nil
  487. if MOVEDIRECTION ~= nil then
  488. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  489. end
  490. local GROWTH = SIZE - ENDSIZE
  491. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  492. if TYPE == "Block" then
  493. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  494. else
  495. EFFECT.CFrame = CFRAME
  496. end
  497. for LOOP = 1, TIME+1 do
  498. Swait()
  499. MSH.Scale = MSH.Scale - GROWTH/TIME
  500. if TYPE == "Wave" then
  501. MSH.Offset = VT(0,0,-MSH.Scale.X/0)
  502. end
  503. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  504. if TYPE == "Block" then
  505. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  506. else
  507. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  508. end
  509. if MOVEDIRECTION ~= nil then
  510. local ORI = EFFECT.Orientation
  511. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  512. EFFECT.Orientation = ORI
  513. end
  514. end
  515. if PLAYSSOUND == false then
  516. EFFECT:remove()
  517. else
  518. repeat Swait() until SOUND.Playing == false
  519. EFFECT:remove()
  520. end
  521. else
  522. if PLAYSSOUND == false then
  523. EFFECT:remove()
  524. else
  525. repeat Swait() until SOUND.Playing == false
  526. EFFECT:remove()
  527. end
  528. end
  529. end))
  530. end
  531.  
  532. function MakeForm(PART,TYPE)
  533. if TYPE == "Cyl" then
  534. local MSH = IT("CylinderMesh",PART)
  535. elseif TYPE == "Ball" then
  536. local MSH = IT("SpecialMesh",PART)
  537. MSH.MeshType = "Sphere"
  538. elseif TYPE == "Wedge" then
  539. local MSH = IT("SpecialMesh",PART)
  540. MSH.MeshType = "Wedge"
  541. end
  542. end
  543.  
  544. Debris = game:GetService("Debris")
  545.  
  546. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  547. local DIRECTION = CF(StartPos,EndPos).lookVector
  548. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  549. end
  550.  
  551. function turnto(position)
  552. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  553. end
  554.  
  555. function WaveParticles(Position,Size,Color)
  556. local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
  557. BASE.CFrame = CF(Position)
  558. local A = IT("Attachment",BASE)
  559. local WAVE = script.Wave:Clone()
  560. WAVE.Parent = A
  561. WAVE.Size = NumberSequence.new(0,Size)
  562. WAVE.Color = ColorSequence.new(Color)
  563. Debris:AddItem(BASE,0.5)
  564. WAVE:Emit(1)
  565. end
  566.  
  567. --//=================================\\
  568. --|| WEAPON CREATION
  569. --\\=================================//
  570.  
  571. for _, c in pairs(Character:GetChildren()) do
  572. if c.ClassName == "Part" and c.Name ~= "Eye" then
  573. c.Material = "SmoothPlastic"
  574. c.Transparency = 0.8
  575. if c:FindFirstChildOfClass("ParticleEmitter") then
  576. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  577. end
  578. if c == LeftLeg or c == RightLeg then
  579. c.Color = C3(1,1,1)
  580. elseif c == Torso then
  581. c.Color = C3(1,1,1)
  582. else
  583. c.BrickColor = BRICKC"White"
  584. end
  585. if c == Head then
  586. if c:FindFirstChild("face") then
  587. c.face:remove()
  588. end
  589. end
  590. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  591. c:remove()
  592. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  593. c:remove()
  594. end
  595. end
  596.  
  597. local BODY = {}
  598. for _, c in pairs(Character:GetDescendants()) do
  599. if c:IsA("BasePart") and c.Name ~= "Handle" then
  600. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  601. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  602.  
  603. end
  604.  
  605. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  606.  
  607. elseif c:IsA("JointInstance") then
  608. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  609. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  610. c:remove()
  611.  
  612. end
  613.  
  614.  
  615. end
  616.  
  617. for e = 1, #BODY do
  618. if BODY[e] ~= nil then
  619. local STUFF = BODY[e]
  620. local PART = STUFF[1]
  621. local PARENT = STUFF[2]
  622. local MATERIAL = STUFF[3]
  623. local COLOR = STUFF[4]
  624. local TRANSPARENCY = STUFF[5]
  625. if PART.ClassName == "Part" and PART ~= RootPart then
  626. PART.Material = MATERIAL
  627. PART.Color = COLOR
  628. PART.Transparency = TRANSPARENCY
  629. end
  630. PART.AncestryChanged:Connect(function()
  631. PART.Parent = PARENT
  632. end)
  633. end
  634. end
  635. function refit()
  636.  
  637.  
  638. Character.Parent = workspace
  639. for e = 1, #BODY do
  640. if BODY[e] ~= nil then
  641. local STUFF = BODY[e]
  642. local PART = STUFF[1]
  643. local PARENT = STUFF[2]
  644. local MATERIAL = STUFF[3]
  645. local COLOR = STUFF[4]
  646. local TRANSPARENCY = STUFF[5]
  647. if PART:IsA("BasePart") and PART ~= RootPart then
  648.  
  649. end
  650.  
  651. if PART.Parent ~= PARENT then
  652. Humanoid:remove()
  653. PART.Parent = PARENT
  654. Humanoid = IT("Humanoid",Character)
  655. end
  656.  
  657. end
  658. end
  659. end
  660.  
  661. Humanoid.Died:connect(function()
  662. for _, c in pairs(Character:GetChildren()) do
  663. c:Remove()
  664. local headness = script.headness
  665. headness.Parent = Character
  666. headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
  667. weldBetween(headness,Head)
  668.  
  669. local Blockhead = script.Blockhead
  670. Blockhead.Parent = headness
  671. end
  672. refit()
  673. createstuff()
  674. end)
  675.  
  676.  
  677. local SKILLTEXTCOLOR = C3(1,1,1)
  678. local SKILLFONT = "Fantasy"
  679. local SKILLTEXTSIZE = 5
  680.  
  681. local MOBILITY = {"Z","B","C","G","H"}
  682. local ATTACKS = {"Mouse","Q","E","V","X","M"}
  683. local MOBILITYFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.71, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  684. local TEXT = CreateLabel(MOBILITYFRAME, "[MOBILITY]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
  685. local ATTACKSFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  686. local TEXT = CreateLabel(ATTACKSFRAME, "[ATTACKS]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
  687.  
  688. for i = 1, #MOBILITY do
  689. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.71, 0, 0.90-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  690. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..MOBILITY[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Skill text")
  691. end
  692. for i = 1, #ATTACKS do
  693. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  694. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Skill text")
  695. end
  696.  
  697. function Shatter(Part)
  698. if Part.Transparency < 1 then
  699. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  700. Debris:AddItem(SOUNDPART,5)
  701. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  702. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  703. local SIZESET = SIZE/4
  704. local XOffset = Part.Size.X*1.5/SIZESET
  705. local YOffset = Part.Size.Y*1.5/SIZESET
  706. local ZOffset = Part.Size.Z*1.5/SIZESET
  707. for x = 1, math.ceil(XOffset) do
  708. for y = 1, math.ceil(YOffset) do
  709. for z = 1, math.ceil(ZOffset) do
  710. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  711. SHARD.CanCollide = true
  712. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
  713. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  714. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  715. for _, c in pairs(Part:GetChildren()) do
  716. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  717. c:Clone().Parent = SHARD
  718. end
  719. end
  720. end
  721. end
  722. end
  723. end
  724. Part:remove()
  725. end
  726.  
  727. --//=================================\\
  728. --|| DAMAGING
  729. --\\=================================//
  730.  
  731. local DParticles = script.Death
  732. DParticles:remove()
  733. DParticles.Name = "ArchangelDeathParticles"
  734.  
  735. local EyeSizes={
  736. NumberSequenceKeypoint.new(0,1,0),
  737. NumberSequenceKeypoint.new(1,0,0)
  738. }
  739. local EyeTrans={
  740. NumberSequenceKeypoint.new(0,0.8,0),
  741. NumberSequenceKeypoint.new(1,1,0)
  742. }
  743.  
  744.  
  745. local PE=Instance.new("ParticleEmitter",nil)
  746. PE.LightEmission=.8
  747. PE.Color = ColorSequence.new(BRICKC("White").Color)
  748. PE.Size=NumberSequence.new(EyeSizes)
  749. PE.Transparency=NumberSequence.new(EyeTrans)
  750. PE.Lifetime=NumberRange.new(0.35,1.5)
  751. PE.Rotation=NumberRange.new(0,360)
  752. PE.Rate=999
  753. PE.VelocitySpread = 10000
  754. PE.Acceleration = Vector3.new(0,0,0)
  755. PE.Drag = 5
  756. PE.Speed = NumberRange.new(0,0,0)
  757. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  758. PE.ZOffset = -0
  759. PE.Name = "PE"
  760. PE.Enabled = false
  761.  
  762.  
  763. function particles(art)
  764. local PARTICLES = PE:Clone()
  765. PARTICLES.Parent = art
  766. end
  767.  
  768. function KillChildren(v)
  769. v:BreakJoints()
  770. for _, c in pairs(v:GetChildren()) do
  771. if c:IsA("BasePart") then
  772. if c.Transparency < 1 then
  773. if c:FindFirstChildOfClass("Decal") then
  774. c:FindFirstChildOfClass("Decal"):remove()
  775. end
  776. particles(c)
  777. c.PE.Enabled = true
  778. c.Parent = Effects
  779. c.CanCollide = false
  780. c.Material = "Neon"
  781. c.Color = C3(1,1,1)
  782. c.Transparency = 1
  783. local grav = Instance.new("BodyPosition",c)
  784. grav.P = 20000
  785. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  786. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  787. grav.Name = "GravityForce"
  788. coroutine.resume(coroutine.create(function()
  789. for i = 1, 20 do
  790. Swait()
  791. c.Transparency = c.Transparency + 1/20
  792. end
  793. c.PE.Enabled = false
  794. Debris:AddItem(c,2)
  795. end))
  796. end
  797. end
  798. end
  799. end
  800.  
  801. function ApplyDamage(Humanoid,Damage)
  802. Damage = Damage * DAMAGEMULTIPLIER
  803. if Humanoid.Health ~= 0 then
  804. Humanoid.Health = Humanoid.Health - Damage
  805. end
  806. end
  807.  
  808. function Reap(Victim,Fire)
  809. coroutine.resume(coroutine.create(function()
  810. local NIL = script.TotalNil:Clone()
  811. NIL.Parent = Victim
  812. NIL.Disabled = false
  813. if Fire ~= true then
  814. Victim:BreakJoints()
  815. for _, c in pairs(Victim:GetChildren()) do
  816. if c:IsA("BasePart") then
  817. c.Anchored = true
  818. end
  819. end
  820. for _, c in pairs(Victim:GetChildren()) do
  821. if c:IsA("BasePart") then
  822. Shatter(c)
  823. end
  824. end
  825. else
  826. Victim:BreakJoints()
  827. local FIRES = {}
  828. for _, e in pairs(Victim:GetDescendants()) do
  829. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  830. e.Transparency = 1
  831. e:ClearAllChildren()
  832. local FIRE = script.HellFire:Clone()
  833. FIRE.Parent = e
  834. FIRE.Enabled = true
  835. table.insert(FIRES,FIRE)
  836. elseif e.ClassName == "Decal" then
  837. e:remove()
  838. end
  839. end
  840. for i = 1, 50 do
  841. Victim:BreakJoints()
  842. wait()
  843. end
  844. for i = 1, #FIRES do
  845. FIRES[i].Enabled = false
  846. end
  847. wait(1.1)
  848. Victim:remove()
  849. end
  850. end))
  851. end
  852.  
  853.  
  854. function Gone(Char)
  855. local NewCharacter = IT("Model",Effects)
  856. NewCharacter.Name = "Ow im ded ;-;"
  857. for _, c in pairs(Char:GetDescendants()) do
  858. if c:IsA("Part") then
  859. c:Remove()
  860. c:ClearAllChildren()
  861. c:Remove()
  862. end
  863. end
  864. end
  865.  
  866.  
  867.  
  868. function Kill(Char)
  869. local NewCharacter = IT("Model",Effects)
  870. NewCharacter.Name = "Ow im ded ;-;"
  871. for _, c in pairs(Char:GetDescendants()) do
  872. if c:IsA("BasePart") then
  873. if c.Parent == Char then
  874. c:BreakJoints()
  875. c.Material = "SmoothPlastic"
  876. c.Color = C3(1,1,1)
  877. c.CanCollide = true
  878. c.Transparency = 0.8
  879. if c:FindFirstChildOfClass("SpecialMesh") then
  880. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  881. end
  882. if c.Name == "Head" then
  883. c:ClearAllChildren()
  884. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  885. end
  886. if c.ClassName == "MeshPart" then
  887. c.TextureID = ""
  888. end
  889. if c:FindFirstChildOfClass("BodyPosition") then
  890. c:FindFirstChildOfClass("BodyPosition"):remove()
  891. end
  892. if c:FindFirstChildOfClass("ParticleEmitter") then
  893. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  894. end
  895. c.Parent = NewCharacter
  896. c.Name = "DeadPart"
  897. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  898. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  899. end
  900. end
  901. Char:remove()
  902. Debris:AddItem(NewCharacter,5)
  903. end
  904. end
  905.  
  906.  
  907. function killnearest(position,range,maxstrength)
  908. for i,v in ipairs(workspace:GetChildren()) do
  909. local body = v:GetChildren()
  910. for part = 1, #body do
  911. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  912. if(body[part].Position - position).Magnitude < range then
  913. if v.ClassName == "Model" then
  914. v:BreakJoints()
  915. end
  916. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  917. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  918. end
  919. end
  920. end
  921. if v.ClassName == "Part" then
  922. if v.Anchored == false and (v.Position - position).Magnitude < range then
  923. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  924. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  925. end
  926. end
  927. end
  928. end
  929.  
  930. function ApplyAoE(POSITION, RANGE)
  931. local PARTS = {}
  932. for index, CHILD in pairs(workspace:GetDescendants()) do
  933. if CHILD.ClassName == "Model" and CHILD ~= Character then
  934. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  935. if HUM then
  936. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  937. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  938. CHILD:BreakJoints()
  939. for index, PART in pairs(CHILD:GetChildren()) do
  940. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  941. local P = DParticles:Clone()
  942.  
  943. P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
  944.  
  945. table.insert(PARTS, {PART, P})
  946. end
  947. end
  948. end
  949. end
  950. elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
  951. local FOLDER = IT("Folder", CHILD)
  952. FOLDER.Name = "ewdfrfgrwefd"
  953. local P = DParticles:Clone()
  954.  
  955. CHILD.Velocity = Vector3.new(math.huge,math.huge,math.huge)
  956.  
  957.  
  958. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  959. P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
  960. table.insert(PARTS, {CHILD, P})
  961. end
  962. end
  963. coroutine.resume(coroutine.create(function()
  964. if #PARTS > 0 then
  965. for i = 1, 85 do
  966. Swait()
  967. for E = 1, #PARTS do
  968. local F = PARTS[E]
  969. local A = F[1]
  970. local B = F[2]
  971. A.Transparency = A.Transparency + 0.011764705882352941
  972. B.Rate = math.ceil(B.Rate * 1.2)
  973. for index, E in pairs(A:GetChildren()) do
  974.  
  975. end
  976. end
  977. end
  978. for E = 1, #PARTS do
  979. local F = PARTS[E]
  980. local A = F[1]
  981. local B = F[2]
  982. B.Enabled = false
  983. Debris:AddItem(A, 3)
  984. end
  985. end
  986. end))
  987. end
  988.  
  989. function APPLYMELEE(PART,MINDMG,MAXDMG,CANSTUN)
  990. local HITS = {}
  991. local TOUCH = PART.Touched:Connect(function(hit)
  992. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  993. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  994. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  995. if TORSO and HUM.Health > 0 then
  996. local PASS = true
  997. for i = 1, #HITS do
  998. if HITS[i] == hit.Parent then
  999. PASS = false
  1000. end
  1001. end
  1002. table.insert(HITS,hit.Parent)
  1003. if PASS == true then
  1004. for i = 1, 3 do
  1005. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0.3,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1006. end
  1007. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG),TORSO,CANSTUN)
  1008. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)],TORSO,2,MRANDOM(8,12)/10,false)
  1009. end
  1010. end
  1011. end
  1012. end)
  1013. return TOUCH
  1014. end
  1015.  
  1016.  
  1017. --//=================================\\
  1018. --|| MOBILITY STUFF
  1019. --\\=================================//
  1020.  
  1021. function SpawnTrail(FROM,TO,BIG)
  1022. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
  1023. MakeForm(TRAIL,"Cyl")
  1024. local DIST = (FROM - TO).Magnitude
  1025. if BIG == true then
  1026. TRAIL.Size = VT(20,DIST,20)
  1027. else
  1028. TRAIL.Size = VT(10,DIST,10)
  1029. end
  1030. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1031. coroutine.resume(coroutine.create(function()
  1032. for i = 1, 5 do
  1033. Swait()
  1034. TRAIL.Transparency = 1
  1035. end
  1036. TRAIL:remove()
  1037. end))
  1038. end
  1039.  
  1040. --//=================================\\
  1041. --|| ATTACK FUNCTIONS AND STUFF
  1042. --\\=================================//
  1043.  
  1044.  
  1045. function Morning_Star()
  1046. ATTACK = true
  1047. Rooted = true
  1048. for i=0, 1, 0.1 / Animation_Speed do
  1049. Swait()
  1050. 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)
  1051. 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)
  1052. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1053. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * 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. coroutine.resume(coroutine.create(function()
  1058. local POS = Mouse.Hit.p
  1059. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,2000,0))
  1060. MakeForm(RAY,"Cyl")
  1061. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  1062. MakeForm(SPHERE,"Ball")
  1063. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Strike", VT(0,0,0))
  1064. MakeForm(SHIELD,"Ball")
  1065. SHIELD.CFrame = CF(POS)
  1066. RAY.CFrame = CF(POS)
  1067. SPHERE.CFrame = CF(POS)
  1068. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1069. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1070. for i = 1, 200 do
  1071. Swait()
  1072. 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,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1073. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1074. SPHERE.Size = SPHERE.Size + VT(0.3,0.3,0.3)
  1075. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  1076. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1077. end
  1078. for i = 1, 45 do
  1079. Swait()
  1080. RAY.Transparency = RAY.Transparency + 1/45
  1081. SPHERE.Transparency = RAY.Transparency
  1082. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1083. end
  1084. RAY:remove()
  1085. SHIELD:remove()
  1086. SPHERE:remove()
  1087. end))
  1088. for i=0, 1, 0.1 / Animation_Speed do
  1089. Swait()
  1090. 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)
  1091. 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)
  1092. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1093. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1094. 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)
  1095. 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)
  1096. end
  1097. ATTACK = false
  1098. Rooted = false
  1099. end
  1100.  
  1101.  
  1102. function Bullet()
  1103. ATTACK = true
  1104. Rooted = false
  1105. for i=1, 2, 3 / Animation_Speed do
  1106. Swait()
  1107. turnto(Mouse.Hit.p)
  1108. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1109. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1110. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1111. end
  1112. repeat
  1113. for i=1, 2, 3 / Animation_Speed do
  1114. Swait()
  1115. turnto(Mouse.Hit.p)
  1116. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1117. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1118. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1119. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1120. end
  1121. local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
  1122. if HIT ~= nil then
  1123. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1124. Shatter(HIT.Parent)
  1125. end
  1126. end
  1127. for i=1, 2, 3 / Animation_Speed do
  1128. Swait()
  1129. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1130. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1133. end
  1134. until KEYHOLD == false
  1135. ATTACK = false
  1136. Rooted = false
  1137. end
  1138.  
  1139. --//=================================\\
  1140. --|| ASSIGN THINGS TO KEYS
  1141. --\\=================================//
  1142.  
  1143. function MouseDown(Mouse)
  1144. HOLD = true
  1145. if ATTACK == false then
  1146. Bullet()
  1147. end
  1148. end
  1149.  
  1150. function MouseUp(Mouse)
  1151. HOLD = false
  1152. end
  1153.  
  1154. function KeyDown(Key)
  1155. KEYHOLD = true
  1156. if Key == "q" and ATTACK == false then
  1157. Bullet()
  1158. end
  1159.  
  1160. if Key == "e" and ATTACK == false then
  1161. Morning_Star()
  1162. end
  1163.  
  1164. if Key == "v" and ATTACK == false then
  1165. end
  1166.  
  1167. if Key == "x" and ATTACK == false then
  1168. end
  1169.  
  1170. if Key == "m" and ATTACK == false then
  1171. end
  1172. end
  1173.  
  1174. function KeyUp(Key)
  1175. KEYHOLD = false
  1176. end
  1177.  
  1178. Mouse.Button1Down:connect(function(NEWKEY)
  1179. MouseDown(NEWKEY)
  1180. end)
  1181. Mouse.Button1Up:connect(function(NEWKEY)
  1182. MouseUp(NEWKEY)
  1183. end)
  1184. Mouse.KeyDown:connect(function(NEWKEY)
  1185. KeyDown(NEWKEY)
  1186. end)
  1187. Mouse.KeyUp:connect(function(NEWKEY)
  1188. KeyUp(NEWKEY)
  1189. end)
  1190.  
  1191. --//=================================\\
  1192. --\\=================================//
  1193.  
  1194. function unanchor()
  1195. for _, c in pairs(Character:GetChildren()) do
  1196. if c:IsA("BasePart") and c ~= RootPart then
  1197. c.Anchored = false
  1198. end
  1199. end
  1200. if UNANCHOR == true then
  1201. RootPart.Anchored = false
  1202. else
  1203. RootPart.Anchored = true
  1204. end
  1205. end
  1206.  
  1207. --//=================================\\
  1208. --|| WRAP THE WHOLE SCRIPT UP
  1209. --\\=================================//
  1210.  
  1211. Humanoid.Changed:connect(function(Jump)
  1212. if Jump == "Jump" and (Disable_Jump == true) then
  1213. Humanoid.Jump = false
  1214. end
  1215. end)
  1216.  
  1217. function fix()
  1218.  
  1219. if Head.Size ~= Vector3.new(2,1,1)then
  1220. Head.Size = Vector3.new(1,1,1)
  1221. end
  1222.  
  1223.  
  1224. if RightArm.Size ~= Vector3.new(1,2,1)then
  1225. RightArm.Size = Vector3.new(1,2,1)
  1226. end
  1227.  
  1228.  
  1229. if LeftArm.Size ~= Vector3.new(1,2,1)then
  1230. LeftArm.Size = Vector3.new(1,2,1)
  1231. end
  1232.  
  1233. if RightLeg.Size ~= Vector3.new(1,2,1)then
  1234. RightLeg.Size = Vector3.new(1,2,1)
  1235. end
  1236.  
  1237. if LeftArm.Size ~= Vector3.new(1,2,1)then
  1238. LeftArm.Size = Vector3.new(1,2,1)
  1239. end
  1240.  
  1241. if Torso.Size ~= Vector3.new(2,2,1)then
  1242. Torso.Size = Vector3.new(2,2,1)
  1243. end
  1244. end
  1245.  
  1246. while true do
  1247. Swait()
  1248. Head:ClearAllChildren()
  1249. script.Parent = WEAPONGUI
  1250. ANIMATE.Parent = nil
  1251. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1252. v:Stop();
  1253. end
  1254. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1255. Humanoid = IT("Humanoid",Character)
  1256. end
  1257. SINE = SINE + CHANGE
  1258. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1259. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1260. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1261. local WALKSPEEDVALUE = 4
  1262. Neck.C1 = Clerp(Neck.C1, CF(0, 0, 0.03) * ANGLES(RAD(90), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(180)) , 1 / Animation_Speed)
  1263. if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true then
  1264. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1265. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1266. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1267. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1268. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
  1269. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1270. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1271. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1272. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1273. end
  1274. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1275. ANIM = "Jump"
  1276. if ATTACK == false then
  1277. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1278. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1279. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1280. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1281. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1282. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1283. end
  1284. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1285. ANIM = "Fall"
  1286. if ATTACK == false then
  1287. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1288. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1289. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1290. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1291. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1292. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1293. end
  1294. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1295. ANIM = "Idle"
  1296. if ATTACK == false then
  1297. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1298. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1299. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1300. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1301. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1302. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1303. end
  1304. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1305. ANIM = "Walk"
  1306. if ATTACK == false then
  1307. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1308. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1309. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1310. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1311. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1312. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1313. end
  1314. end
  1315. unanchor()
  1316. fix()
  1317.  
  1318.  
  1319. Humanoid.MaxHealth = 10e10
  1320. Humanoid.Health = 10e10
  1321.  
  1322.  
  1323. if Rooted == false then
  1324. Disable_Jump = false
  1325. Humanoid.WalkSpeed = Speed
  1326. elseif Rooted == true then
  1327. Disable_Jump = true
  1328. Humanoid.WalkSpeed = 0
  1329. end
  1330.  
  1331.  
  1332. for _, c in pairs(Character:GetChildren()) do
  1333. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1334. c.Material = "SmoothPlastic"
  1335. c.Transparency = 0.8
  1336. if c:FindFirstChildOfClass("ParticleEmitter") then
  1337. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1338. end
  1339. if c == LeftLeg or c == RightLeg then
  1340. c.Color = C3(1,1,1)
  1341. if c:FindFirstChildOfClass("BlockMesh") == nil then
  1342. IT("BlockMesh",c)
  1343. end
  1344. elseif c == Torso then
  1345. c.Color = C3(1,1,1)
  1346. if c:FindFirstChildOfClass("BlockMesh") == nil then
  1347. IT("BlockMesh",c)
  1348. end
  1349. else
  1350. c.BrickColor = BRICKC"White"
  1351. end
  1352. if c == Head then
  1353. if c:FindFirstChild("face") then
  1354. c.face:remove()
  1355. end
  1356. end
  1357. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1358. c:remove()
  1359. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1360. c:remove()
  1361. end
  1362. end
  1363. sick.SoundId = "rbxassetid://601021377"
  1364. sick.Looped = true
  1365. sick.Pitch = 1
  1366. sick.Volume = 0
  1367. sick.Parent = Character
  1368. sick.Playing = true
  1369. Humanoid.Name = "Lost"
  1370. refit()
  1371. Effects.Parent = Character
  1372. for _, c in pairs(Character:GetChildren()) do
  1373. if c:IsA("BasePart") and ATTACK == false then
  1374. for _, e in pairs(c:GetChildren()) do
  1375. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  1376. e:remove()
  1377. end
  1378. end
  1379. end
  1380. end
  1381. if Head:FindFirstChild("face") then
  1382. Head.face:remove()
  1383. elseif Head:FindFirstChildOfClass("Sound") then
  1384. Head:FindFirstChildOfClass("Sound"):remove()
  1385. end
  1386. end
  1387.  
  1388. --//=================================\\
  1389. --\\=================================//
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395. --//====================================================\\--
  1396. --|| END OF SCRIPT
  1397. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement