Advertisement
cobblecorn

Untitled

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