Advertisement
cobblecorn

Untitled

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