Advertisement
Toey8415

my

Jun 24th, 2018
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 122.37 KB | None | 0 0
  1. --//=================================================================\\--
  2. --|| CREATED BY SHACKLUSTER | EDITED BY maximum442 AND SHYIME
  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. SIZE = 1
  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.  
  50. Animation_Speed = 3
  51. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  52. local Speed = 23
  53. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  56. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  57. local DAMAGEMULTIPLIER = 1
  58. local ANIM = "Idle"
  59. local ATTACK = false
  60. local EQUIPPED = false
  61. local HOLD = false
  62. local COMBO = 1
  63. local Rooted = false
  64. local SINE = 0
  65. local KEYHOLD = false
  66. local CHANGE = 2 / Animation_Speed
  67. local WALKINGANIM = false
  68. local VALUE1 = false
  69. local VALUE2 = false
  70. local ROBLOXIDLEANIMATION = IT("Animation")
  71. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  72. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  73. --ROBLOXIDLEANIMATION.Parent = Humanoid
  74. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  75. WEAPONGUI.Name = "Weapon GUI"
  76. local Effects = IT("Folder", Character)
  77. Effects.Name = "Effects"
  78. local ANIMATOR = Humanoid.Animator
  79. local ANIMATE = Character.Animate
  80. local UNANCHOR = true
  81. local GHOSTS = {}
  82. ANIMATE:remove()
  83. Character.Archivable = true
  84. script.Parent = WEAPONGUI
  85. local GHOSTBASE = Character:Clone()
  86. GHOSTBASE.Parent = nil
  87. GHOSTBASE.Name = "Shingo"
  88. for _, c in pairs(GHOSTBASE:GetChildren()) do
  89. if c.ClassName == "Part" and c.Transparency < 1 then
  90. c.Color = C3(0,0,0)
  91. if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  92. c:remove()
  93. end
  94. end
  95. end
  96. local sick = Instance.new("Sound",Torso)
  97. sick.SoundId = "rbxassetid://427649630"
  98. sick.Looped = true
  99. sick.Pitch = 1.2
  100. sick.Volume = 5
  101. sick:Play()
  102. local Effects = IT("Folder", Character)
  103. Effects.Name = "Effects"
  104. Character.Archivable = false
  105.  
  106. --//=================================\\
  107. --\\=================================//
  108.  
  109. local Player = game:service'Players'.LocalPlayer
  110. repeat wait() until Player.Character
  111. local Character = Player.Character
  112. local Char, Plr = Character, Player
  113. local Mouse = Player:GetMouse()
  114.  
  115.  
  116.  
  117. local Char = Plr.Character
  118. local Hum = Char:FindFirstChildOfClass'Humanoid'
  119. local RArm = Char["Right Arm"]
  120. local LArm = Char["Left Arm"]
  121. local RLeg = Char["Right Leg"]
  122. local LLeg = Char["Left Leg"]
  123. local Root = Char:FindFirstChild'HumanoidRootPart'
  124. local Torso = Char.Torso
  125. local Head = Char.Head
  126.  
  127. Player = game.Players.LocalPlayer
  128. Character = Player.Character
  129. local txt = Instance.new("BillboardGui", Character)
  130. txt.Adornee = Character.Head
  131. txt.Name = "_status"
  132. txt.Size = UDim2.new(2, 0, 1.2, 0)
  133. txt.StudsOffset = Vector3.new(-9, 8, 0)
  134. local text = Instance.new("TextLabel", txt)
  135. text.Size = UDim2.new(10, 0, 7, 0)
  136. text.FontSize = "Size24"
  137. text.TextScaled = true
  138. text.TextTransparency = 0
  139. text.BackgroundTransparency = 1
  140. text.TextTransparency = 0
  141. text.TextStrokeTransparency = 0
  142. text.Font = "SciFi"
  143. text.TextStrokeColor3 = Color3.new(170,0,0)
  144. text.Text = ""
  145.  
  146.  
  147.  
  148. local face = Head:FindFirstChild'face'
  149. if(not face)then
  150. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://1281412824"})
  151. else
  152. face.Texture = "rbxassetid://1281412824"
  153. end
  154.  
  155. --//=================================\\
  156. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  157. --\\=================================//
  158.  
  159. ArtificialHB = Instance.new("BindableEvent", script)
  160. ArtificialHB.Name = "ArtificialHB"
  161.  
  162. script:WaitForChild("ArtificialHB")
  163.  
  164. frame = Frame_Speed
  165. tf = 0
  166. allowframeloss = false
  167. tossremainder = false
  168. lastframe = tick()
  169. script.ArtificialHB:Fire()
  170.  
  171. game:GetService("RunService").Heartbeat:connect(function(s, p)
  172. tf = tf + s
  173. if tf >= frame then
  174. if allowframeloss then
  175. script.ArtificialHB:Fire()
  176. lastframe = tick()
  177. else
  178. for i = 1, math.floor(tf / frame) do
  179. script.ArtificialHB:Fire()
  180. end
  181. lastframe = tick()
  182. end
  183. if tossremainder then
  184. tf = 0
  185. else
  186. tf = tf - frame * math.floor(tf / frame)
  187. end
  188. end
  189. end)
  190.  
  191. --//=================================\\
  192. --\\=================================//
  193. Player_Name = game.Players.LocalPlayer.Name
  194. Player = game.Players.LocalPlayer
  195. Character = Player.Character
  196. local txt = Instance.new("BillboardGui", Character)
  197. txt.Adornee = Character.Head
  198. txt.Name = "_status"
  199. txt.Size = UDim2.new(2, 0, 1.2, 0)
  200. txt.StudsOffset = Vector3.new(-9, 8, 0)
  201. local text = Instance.new("TextLabel", txt)
  202. text.Size = UDim2.new(10, 0, 7, 0)
  203. text.FontSize = "Size24"
  204. text.TextScaled = true
  205. text.TextTransparency = 0
  206. text.BackgroundTransparency = 1
  207. text.TextTransparency = 0
  208. text.TextStrokeTransparency = 0
  209. text.Font = "Antique"
  210. text.TextStrokeColor3 = BrickColor.new("Magenta").Color
  211. text.Text = Player_Name.. " The Dead Gunner"
  212.  
  213. Player.Chatted:connect(chat)
  214. warn("Edit made by Toey")
  215. warn("We're still updating it")
  216. warn("So if there is some problem contact me(Absyltrax)")
  217. warn("Frosty's discord is Frosty#2229")
  218. warn("SHYIME's Discord is shimi#9518")
  219. warn("Jesse has the permission to leak it")
  220. --//=================================\\
  221. --|| SOME FUNCTIONS
  222. --\\=================================//
  223.  
  224. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  225. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  226. end
  227.  
  228. function PositiveAngle(NUMBER)
  229. if NUMBER >= 0 then
  230. NUMBER = 0
  231. end
  232. return NUMBER
  233. end
  234.  
  235. function NegativeAngle(NUMBER)
  236. if NUMBER <= 0 then
  237. NUMBER = 0
  238. end
  239. return NUMBER
  240. end
  241.  
  242. function Swait(NUMBER)
  243. if NUMBER == 0 or NUMBER == nil then
  244. ArtificialHB.Event:wait()
  245. else
  246. for i = 1, NUMBER do
  247. ArtificialHB.Event:wait()
  248. end
  249. end
  250. end
  251.  
  252. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  253. local NEWMESH = IT(MESH)
  254. if MESH == "SpecialMesh" then
  255. NEWMESH.MeshType = MESHTYPE
  256. if MESHID ~= "nil" and MESHID ~= "" then
  257. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  258. end
  259. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  260. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  261. end
  262. end
  263. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  264. NEWMESH.Scale = SCALE
  265. NEWMESH.Parent = PARENT
  266. return NEWMESH
  267. end
  268.  
  269. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  270. local NEWPART = IT("Part")
  271. NEWPART.formFactor = FORMFACTOR
  272. NEWPART.Reflectance = REFLECTANCE
  273. NEWPART.Transparency = TRANSPARENCY
  274. NEWPART.CanCollide = false
  275. NEWPART.Locked = true
  276. NEWPART.Anchored = true
  277. if ANCHOR == false then
  278. NEWPART.Anchored = false
  279. end
  280. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  281. NEWPART.Name = NAME
  282. NEWPART.Size = SIZE
  283. NEWPART.Position = Torso.Position
  284. NEWPART.Material = MATERIAL
  285. NEWPART:BreakJoints()
  286. NEWPART.Parent = PARENT
  287. return NEWPART
  288. end
  289.  
  290. local function weldBetween(a, b)
  291. local weldd = Instance.new("ManualWeld")
  292. weldd.Part0 = a
  293. weldd.Part1 = b
  294. weldd.C0 = CFrame.new()
  295. weldd.C1 = b.CFrame:inverse() * a.CFrame
  296. weldd.Parent = a
  297. return weldd
  298. end
  299.  
  300.  
  301. function QuaternionFromCFrame(cf)
  302. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  303. local trace = m00 + m11 + m22
  304. if trace > 0 then
  305. local s = math.sqrt(1 + trace)
  306. local recip = 0.5 / s
  307. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  308. else
  309. local i = 0
  310. if m11 > m00 then
  311. i = 1
  312. end
  313. if m22 > (i == 0 and m00 or m11) then
  314. i = 2
  315. end
  316. if i == 0 then
  317. local s = math.sqrt(m00 - m11 - m22 + 1)
  318. local recip = 0.5 / s
  319. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  320. elseif i == 1 then
  321. local s = math.sqrt(m11 - m22 - m00 + 1)
  322. local recip = 0.5 / s
  323. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  324. elseif i == 2 then
  325. local s = math.sqrt(m22 - m00 - m11 + 1)
  326. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  327. end
  328. end
  329. end
  330.  
  331. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  332. local xs, ys, zs = x + x, y + y, z + z
  333. local wx, wy, wz = w * xs, w * ys, w * zs
  334. local xx = x * xs
  335. local xy = x * ys
  336. local xz = x * zs
  337. local yy = y * ys
  338. local yz = y * zs
  339. local zz = z * zs
  340. 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))
  341. end
  342.  
  343. function QuaternionSlerp(a, b, t)
  344. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  345. local startInterp, finishInterp;
  346. if cosTheta >= 0.0001 then
  347. if (1 - cosTheta) > 0.0001 then
  348. local theta = ACOS(cosTheta)
  349. local invSinTheta = 1 / SIN(theta)
  350. startInterp = SIN((1 - t) * theta) * invSinTheta
  351. finishInterp = SIN(t * theta) * invSinTheta
  352. else
  353. startInterp = 1 - t
  354. finishInterp = t
  355. end
  356. else
  357. if (1 + cosTheta) > 0.0001 then
  358. local theta = ACOS(-cosTheta)
  359. local invSinTheta = 1 / SIN(theta)
  360. startInterp = SIN((t - 1) * theta) * invSinTheta
  361. finishInterp = SIN(t * theta) * invSinTheta
  362. else
  363. startInterp = t - 1
  364. finishInterp = t
  365. end
  366. end
  367. 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
  368. end
  369.  
  370. function Clerp(a, b, t)
  371. local qa = {QuaternionFromCFrame(a)}
  372. local qb = {QuaternionFromCFrame(b)}
  373. local ax, ay, az = a.x, a.y, a.z
  374. local bx, by, bz = b.x, b.y, b.z
  375. local _t = 1 - t
  376. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  377. end
  378.  
  379. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  380. local frame = IT("Frame")
  381. frame.BackgroundTransparency = TRANSPARENCY
  382. frame.BorderSizePixel = BORDERSIZEPIXEL
  383. frame.Position = POSITION
  384. frame.Size = SIZE
  385. frame.BackgroundColor3 = COLOR
  386. frame.BorderColor3 = BORDERCOLOR
  387. frame.Name = NAME
  388. frame.Parent = PARENT
  389. return frame
  390. end
  391.  
  392. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  393. local label = IT("TextLabel")
  394. label.BackgroundTransparency = 1
  395. label.Size = UD2(1, 0, 1, 0)
  396. label.Position = UD2(0, 0, 0, 0)
  397. label.TextColor3 = TEXTCOLOR
  398. label.TextStrokeTransparency = STROKETRANSPARENCY
  399. label.TextTransparency = TRANSPARENCY
  400. label.FontSize = TEXTFONTSIZE
  401. label.Font = TEXTFONT
  402. label.BorderSizePixel = BORDERSIZEPIXEL
  403. label.TextScaled = false
  404. label.Text = TEXT
  405. label.Name = NAME
  406. label.Parent = PARENT
  407. return label
  408. end
  409.  
  410. function NoOutlines(PART)
  411. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  412. end
  413.  
  414. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  415. local NEWWELD = IT(TYPE)
  416. NEWWELD.Part0 = PART0
  417. NEWWELD.Part1 = PART1
  418. NEWWELD.C0 = C0
  419. NEWWELD.C1 = C1
  420. NEWWELD.Parent = PARENT
  421. return NEWWELD
  422. end
  423.  
  424. local S = IT("Sound")
  425. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  426. local NEWSOUND = nil
  427. coroutine.resume(coroutine.create(function()
  428. NEWSOUND = S:Clone()
  429. NEWSOUND.Parent = PARENT
  430. NEWSOUND.Volume = VOLUME
  431. NEWSOUND.Pitch = PITCH
  432. NEWSOUND.SoundId = "rbxassetid://535807556"
  433. NEWSOUND:play()
  434. if DOESLOOP == true then
  435. NEWSOUND.Looped = true
  436. else
  437. repeat wait(1) until NEWSOUND.Playing == false
  438. NEWSOUND:remove()
  439. end
  440. end))
  441. return NEWSOUND
  442. end
  443.  
  444. function CFrameFromTopBack(at, top, back)
  445. local right = top:Cross(back)
  446. 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)
  447. end
  448.  
  449. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  450. function WACKYEFFECT(Table)
  451. local TYPE = (Table.EffectType or "Sphere")
  452. local SIZE = (Table.Size or VT(1,1,1))
  453. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  454. local TRANSPARENCY = (Table.Transparency or 0)
  455. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  456. local CFRAME = (Table.CFrame or Torso.CFrame)
  457. local MOVEDIRECTION = (Table.MoveToPos or nil)
  458. local ROTATION1 = (Table.RotationX or 0)
  459. local ROTATION2 = (Table.RotationY or 0)
  460. local ROTATION3 = (Table.RotationZ or 0)
  461. local MATERIAL = (Table.Material or "Neon")
  462. local COLOR = (Table.Color or C3(0,0,0))
  463. local TIME = (Table.Time or 45)
  464. local SOUNDID = (Table.SoundID or nil)
  465. local SOUNDPITCH = (Table.SoundPitch or nil)
  466. local SOUNDVOLUME = (Table.SoundVolume or nil)
  467. coroutine.resume(coroutine.create(function()
  468. local PLAYSSOUND = false
  469. local SOUND = nil
  470. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  471. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  472. PLAYSSOUND = true
  473. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  474. end
  475. EFFECT.Color = COLOR
  476. local MSH = nil
  477. if TYPE == "Sphere" then
  478. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  479. elseif TYPE == "Block" then
  480. MSH = IT("BlockMesh",EFFECT)
  481. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  482. elseif TYPE == "Wave" then
  483. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  484. elseif TYPE == "Ring" then
  485. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  486. elseif TYPE == "Slash" then
  487. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  488. elseif TYPE == "Round Slash" then
  489. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  490. elseif TYPE == "Swirl" then
  491. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  492. elseif TYPE == "Skull" then
  493. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  494. elseif TYPE == "Crystal" then
  495. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  496. end
  497. if MSH ~= nil then
  498. local MOVESPEED = nil
  499. if MOVEDIRECTION ~= nil then
  500. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  501. end
  502. local GROWTH = SIZE - ENDSIZE
  503. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  504. if TYPE == "Block" then
  505. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  506. else
  507. EFFECT.CFrame = CFRAME
  508. end
  509. for LOOP = 1, TIME+1 do
  510. Swait()
  511. MSH.Scale = MSH.Scale - GROWTH/TIME
  512. if TYPE == "Wave" then
  513. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  514. end
  515. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  516. if TYPE == "Block" then
  517. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  518. else
  519. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  520. end
  521. if MOVEDIRECTION ~= nil then
  522. local ORI = EFFECT.Orientation
  523. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  524. EFFECT.Orientation = ORI
  525. end
  526. end
  527. if PLAYSSOUND == false then
  528. EFFECT:remove()
  529. else
  530. SOUND.Stopped:Connect(function()
  531. EFFECT:remove()
  532. end)
  533. end
  534. else
  535. if PLAYSSOUND == false then
  536. EFFECT:remove()
  537. else
  538. repeat Swait() until SOUND.Playing == false
  539. EFFECT:remove()
  540. end
  541. end
  542. end))
  543. end
  544.  
  545. function MakeForm(PART,TYPE)
  546. if TYPE == "Cyl" then
  547. local MSH = IT("CylinderMesh",PART)
  548. elseif TYPE == "Ball" then
  549. local MSH = IT("SpecialMesh",PART)
  550. MSH.MeshType = "Sphere"
  551. elseif TYPE == "Wedge" then
  552. local MSH = IT("SpecialMesh",PART)
  553. MSH.MeshType = "Wedge"
  554. end
  555. end
  556.  
  557. Debris = game:GetService("Debris")
  558.  
  559. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  560. local DIRECTION = CF(StartPos,EndPos).lookVector
  561. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  562. end
  563.  
  564. function Kill(Char)
  565. local NewCharacter = IT("Model",Effects)
  566. NewCharacter.Name = "rekt player"
  567. for _, c in pairs(Char:GetDescendants()) do
  568. if c:IsA("BasePart") and c.Transparency == 0 then
  569. if c.Parent == Char then
  570. getbloody(c,5)
  571. end
  572. c:BreakJoints()
  573. c.Material = "Glass"
  574. c.Color = C3(0,0,0)
  575. c.CanCollide = false
  576. c.Transparency = 0.005
  577. if c:FindFirstChildOfClass("SpecialMesh") then
  578. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  579. end
  580. if c.Name == "Head" then
  581. c:ClearAllChildren()
  582. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  583. end
  584. if c.ClassName == "MeshPart" then
  585. c.TextureID = ""
  586. end
  587. if c:FindFirstChildOfClass("BodyPosition") then
  588. c:FindFirstChildOfClass("BodyPosition"):remove()
  589. end
  590. if c:FindFirstChildOfClass("ParticleEmitter") then
  591. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  592. end
  593. c.Parent = NewCharacter
  594. c.Name = "DeadPart"
  595. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  596. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  597. end
  598. end
  599. Char:remove()
  600. Debris:AddItem(NewCharacter,5)
  601. end
  602.  
  603. function ApplyAoE(POSITION,RANGE,BRUTAL)
  604. local CHILDREN = workspace:GetDescendants()
  605. for index, CHILD in pairs(CHILDREN) do
  606. if CHILD.ClassName == "Model" and CHILD ~= Character then
  607. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  608. if HUM then
  609. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  610. if TORSO then
  611. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  612. if BRUTAL == true then
  613. Kill(CHILD)
  614. else
  615. CHILD:BreakJoints()
  616. end
  617. end
  618. end
  619. end
  620. end
  621. end
  622. end
  623.  
  624. function Morning_Star()
  625. ATTACK = true
  626. Rooted = true
  627. for i=0, 1, 0.1 / Animation_Speed do
  628. Swait()
  629. 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)
  630. 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)
  631. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  632. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  633. 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)
  634. 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)
  635. end
  636. coroutine.resume(coroutine.create(function()
  637. local POS = Mouse.Hit.p
  638. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(0,2000,0))
  639. MakeForm(RAY,"Cyl")
  640. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(0,0,0))
  641. MakeForm(SPHERE,"Ball")
  642. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  643. MakeForm(SHIELD,"Ball")
  644. SHIELD.CFrame = CF(POS)
  645. RAY.CFrame = CF(POS)
  646. SPHERE.CFrame = CF(POS)
  647. CreateSound(440145570, SPHERE, 10, 0.8, false)
  648. CreateSound(415700134, SPHERE, 10, 0.8, false)
  649. for i = 1, 200 do
  650. Swait()
  651. 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})
  652. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  653. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  654. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  655. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  656. end
  657. for i = 1, 45 do
  658. Swait()
  659. RAY.Transparency = RAY.Transparency + 1/45
  660. SPHERE.Transparency = RAY.Transparency
  661. SHIELD.Transparency = SPHERE.Transparency + 1/45
  662. end
  663. RAY:remove()
  664. SHIELD:remove()
  665. SPHERE:remove()
  666. end))
  667. for i=0, 1, 0.1 / Animation_Speed do
  668. Swait()
  669. 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)
  670. 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)
  671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  673. 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)
  674. 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)
  675. end
  676. ATTACK = false
  677. Rooted = false
  678. end
  679.  
  680. function Prison_Key()
  681. if Mouse.Target ~= nil then
  682. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  683. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  684. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  685. local GYRO = IT("BodyGyro",RootPart)
  686. GYRO.D = 750
  687. GYRO.P = 20000
  688. GYRO.MaxTorque = VT(0,40000000,0)
  689. local grav = Instance.new("BodyPosition",TORSO)
  690. grav.D = 15
  691. grav.P = 20000
  692. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  693. grav.position = TORSO.Position
  694. local GYRO2 = IT("BodyGyro",TORSO)
  695. GYRO2.D = 750
  696. GYRO2.P = 20000
  697. GYRO2.MaxTorque = VT(0,40000000,0)
  698. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  699. grav.Name = "Jail"
  700. local LOCKPARTS = {}
  701. ATTACK = true
  702. Rooted = false
  703. local LOCK = IT("Model",Effects)
  704. LOCK.Name = "Lock"
  705. local LOCK2 = IT("Model",LOCK)
  706. LOCK2.Name = "Metal"
  707. --CREATE LOCK--
  708. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gray", "Keylock", VT(3, 2.5, 1))
  709. LOCK.PrimaryPart = BASE
  710. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  711. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gray", "Keylock", VT(3, 1, 3))
  712. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  713. MakeForm(PRT,"Cyl")
  714. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  715. PRT.Color = C3(0,0,0)
  716. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  717. MakeForm(PRT,"Cyl")
  718. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  719. PRT.Color = C3(0,0,0)
  720. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  721. for i = 1, 45 do
  722. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  723. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  724. end
  725. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  726. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  727. LOCK2.PrimaryPart = PRT
  728. ---------------
  729. local CHILDREN = LOCK:GetDescendants()
  730. for index, CHILD in pairs(CHILDREN) do
  731. if CHILD:IsA("BasePart") then
  732. CHILD.Transparency = 1
  733. end
  734. end
  735. for i = 1, 75 do
  736. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  737. Swait()
  738. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  739. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  740. local CHILDREN = LOCK:GetDescendants()
  741. for index, CHILD in pairs(CHILDREN) do
  742. if CHILD:IsA("BasePart") then
  743. CHILD.Transparency = CHILD.Transparency - 1/75
  744. end
  745. end
  746. end
  747. HUM.DisplayDistanceType = "None"
  748. local KEY = IT("Model",Effects)
  749. KEY.Name = "Key"
  750. --CREATE KEY--
  751. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  752. KEY.PrimaryPart = KBASE
  753. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  754. local WLD = weldBetween(RightArm,KBASE)
  755. for i = 1, 45 do
  756. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  757. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  758. weldBetween(KBASE,PRT)
  759. end
  760. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  761. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  762. weldBetween(KBASE,PRT)
  763. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  764. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  765. weldBetween(KBASE,PRT)
  766. --------------
  767. Rooted = true
  768. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  769. coroutine.resume(coroutine.create(function()
  770. for i = 1, 10 do
  771. Swait()
  772. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  773. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  774. end
  775. CreateSound(1149318312,BASE,5,1,false)
  776. CreateSound(160772554,BASE,3,1,false)
  777. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  778. for i = 1, 4 do
  779. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  780. end
  781. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  782. wait(1)
  783. TORSO.Parent.Parent = LOCK
  784. for i = 1, 75 do
  785. Swait()
  786. local CHILDREN = KEY:GetDescendants()
  787. for index, CHILD in pairs(CHILDREN) do
  788. if CHILD:IsA("BasePart") then
  789. CHILD.Transparency = i/25
  790. end
  791. end
  792. local CHILDREN = LOCK:GetDescendants()
  793. for index, CHILD in pairs(CHILDREN) do
  794. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  795. CHILD.Transparency = CHILD.Transparency + 1/75
  796. elseif CHILD.ClassName == "Decal" then
  797. CHILD.Transparency = CHILD.Transparency + 1/75
  798. end
  799. end
  800. end
  801. TORSO.Parent:ClearAllChildren()
  802. KEY:remove()
  803. LOCK:remove()
  804. end))
  805. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  806. GYRO:remove()
  807. ATTACK = false
  808. Rooted = false
  809. end
  810. end
  811. end
  812.  
  813. local HATWELD = nil
  814. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  815. PLAYMAINANIMINANIM = false
  816. if WhichPose == "Cast1" then
  817. for i=0, Time, 0.1 / Animation_Speed do
  818. Swait()
  819. if Magic == true then
  820. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  821. end
  822. if Gyro ~= nil and Gyro ~= false then
  823. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  824. end
  825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  829. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  830. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  831. end
  832. elseif WhichPose == "Cast2" then
  833. for i=0, Time, 0.1 / Animation_Speed do
  834. Swait()
  835. if Magic == true then
  836. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  837. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  838. end
  839. if Gyro ~= nil and Gyro ~= false then
  840. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  841. end
  842. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  848. end
  849. elseif WhichPose == "RightArmUp" then
  850. for i=0, Time, 0.1 / Animation_Speed do
  851. Swait()
  852. if Magic == true then
  853. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  854. end
  855. if Gyro ~= nil and Gyro ~= false then
  856. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  857. end
  858. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  862. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  863. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  864. end
  865. elseif WhichPose == "Taunt" then
  866. for i=0, Time, 0.1 / Animation_Speed do
  867. Swait()
  868. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  869. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  872. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  873. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  874. end
  875. HATWELD.Part0 = RightArm
  876. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  877. CreateSound(221057812,Torso,10,1,false)
  878. for i=0, Time*2, 0.1 / Animation_Speed do
  879. Swait()
  880. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  881. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  882. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  883. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  884. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  885. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  886. end
  887. for i=0, Time, 0.1 / Animation_Speed do
  888. Swait()
  889. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  890. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  891. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  892. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  893. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  894. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  895. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  896. end
  897. HATWELD.Part0 = Head
  898. HATWELD.C0 = CF(0,0.35,0)
  899. elseif WhichPose == "Prepare key" then
  900. for i=0, Time, 0.1 / Animation_Speed do
  901. Swait()
  902. if Gyro ~= nil and Gyro ~= false then
  903. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  904. end
  905. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  906. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  907. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  908. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  909. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  910. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  911. end
  912. elseif WhichPose == "Turn key" then
  913. for i=0, Time, 0.1 / Animation_Speed do
  914. Swait()
  915. if Gyro ~= nil and Gyro ~= false then
  916. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  917. end
  918. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  919. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  920. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  921. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  922. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  923. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  924. end
  925. end
  926. PLAYMAINANIM = true
  927. end
  928.  
  929. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOES360)
  930. if FLOOR ~= nil then
  931. for i = 1, AMOUNT do
  932. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  933. DEBREE.Material = FLOOR.Material
  934. DEBREE.Color = FLOOR.Color
  935. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  936. if DOES360 == true then
  937. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  938. else
  939. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  940. end
  941. coroutine.resume(coroutine.create(function()
  942. Swait(15)
  943. DEBREE.Parent = workspace
  944. DEBREE.CanCollide = true
  945. Debris:AddItem(DEBREE,SWAIT)
  946. end))
  947. end
  948. end
  949. end
  950.  
  951. function SpawnTrail(FROM,TO)
  952. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0))
  953. MakeForm(TRAIL,"Cyl")
  954. local DIST = (FROM - TO).Magnitude
  955. TRAIL.Size = VT(0.1,DIST,0.1)
  956. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  957. coroutine.resume(coroutine.create(function()
  958. for i = 1, 5 do
  959. Swait()
  960. TRAIL.Transparency = TRAIL.Transparency + 0.1
  961. end
  962. TRAIL:remove()
  963. end))
  964. end
  965.  
  966. local Decal = IT("Decal")
  967. function SpawnBulletHole(POSITION)
  968. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Magenta", "Bullet hole", VT(0.2,0,0.2))
  969. local decal = Decal:Clone()
  970. decal.Parent = O1
  971. decal.Face = "Top"
  972. decal.Texture = "http://www.roblox.com/asset/?id=130624105"
  973. local decal2 = Decal:Clone()
  974. decal2.Parent = O1
  975. decal2.Face = "Bottom"
  976. decal2.Texture = "http://www.roblox.com/asset/?id=130624105"
  977. O1.CFrame = POSITION*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))
  978. Debris:AddItem(O1,5)
  979. end
  980.  
  981. local asd = Instance.new("ParticleEmitter")
  982. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  983. asd.LightEmission = .1
  984. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  985. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 2)})
  986. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  987. asd.Transparency = bbb
  988. asd.Size = aaa
  989. asd.ZOffset = .9
  990. asd.Acceleration = Vector3.new(0, -15, 0)
  991. asd.LockedToPart = false
  992. asd.EmissionDirection = "Back"
  993. asd.Lifetime = NumberRange.new(1, 2)
  994. asd.Rotation = NumberRange.new(-100, 100)
  995. asd.RotSpeed = NumberRange.new(-100, 100)
  996. asd.Speed = NumberRange.new(10)
  997. asd.Enabled = false
  998. asd.VelocitySpread = 999
  999.  
  1000. function getbloody(victim,amount)
  1001. local PART = IT("Part",Effects)
  1002. PART.Transparency = 1
  1003. PART.Size = victim.Size
  1004. PART.Anchored = true
  1005. PART.CanCollide = false
  1006. PART.CFrame = CF(victim.Position)
  1007. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1008. Debris:AddItem(PART,5)
  1009. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1010. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1011. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1012. local prtcl = asd:Clone()
  1013. prtcl.Parent = PART
  1014. prtcl:Emit(amount*10)
  1015. end
  1016.  
  1017. function BulletDetection(FROM,TO)
  1018. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1019. coroutine.resume(coroutine.create(function()
  1020. if AIMHIT ~= nil then
  1021. if AIMHIT.Parent ~= Character then
  1022. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1023. if AIMHIT.Name ~= "Head" and AIMHIT.Parent.ClassName ~= "Accessory" then
  1024. ApplyDamage(AIMHIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25),AIMHIT)
  1025. elseif AIMHIT.Name == "Head" or AIMHIT.Parent.ClassName == "Accessory" then
  1026. if AIMHIT.Parent.ClassName == "Accessory" then
  1027. if AIMHIT:FindFirstChild("HatAttachment") or AIMHIT:FindFirstChild("FaceFrontAttachment") or AIMHIT:FindFirstChild("HairAttachment") then
  1028. AIMHIT.Parent.Parent:BreakJoints()
  1029. if AIMHIT.Parent.Parent:FindFirstChild("Head") then
  1030. getbloody(AIMHIT.Parent.Parent.Head,15)
  1031. AIMHIT.Parent.Parent.Head:remove()
  1032. StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(0,0,0))
  1033. end
  1034. else
  1035. ApplyDamage(AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(25,65),AIMHIT)
  1036. end
  1037. elseif AIMHIT.Name == "Head" then
  1038. getbloody(AIMHIT,15)
  1039. AIMHIT.Parent:BreakJoints()
  1040. AIMHIT:remove()
  1041. StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(0,0,0))
  1042. end
  1043. end
  1044. else
  1045. CreateFlyingDebree(AIMHIT,CF(AIMPOS),7,VT(0.1,0.1,0.1),5,35,true)
  1046. SpawnBulletHole(CF(AIMPOS,AIMPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0)))
  1047. end
  1048. end
  1049. end
  1050. end))
  1051. return AIMHIT,AIMPOS,NORMAL
  1052. end
  1053.  
  1054.  
  1055. function Shatter(Part)
  1056. if Part.Transparency == 0 then
  1057. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  1058. Debris:AddItem(SOUNDPART,5)
  1059. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  1060. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  1061. local SIZESET = SIZE/4
  1062. local XOffset = Part.Size.X*1.5/SIZESET
  1063. local YOffset = Part.Size.Y*1.5/SIZESET
  1064. local ZOffset = Part.Size.Z*1.5/SIZESET
  1065. for x = 1, math.ceil(XOffset) do
  1066. for y = 1, math.ceil(YOffset) do
  1067. for z = 1, math.ceil(ZOffset) do
  1068. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  1069. SHARD.CanCollide = true
  1070. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  1071. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  1072. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  1073. end
  1074. end
  1075. end
  1076. end
  1077. Part:remove()
  1078. end
  1079.  
  1080. function MakeForm(PART,TYPE)
  1081. if TYPE == "Cyl" then
  1082. local MSH = IT("CylinderMesh",PART)
  1083. elseif TYPE == "Ball" then
  1084. local MSH = IT("SpecialMesh",PART)
  1085. MSH.MeshType = "Sphere"
  1086. elseif TYPE == "Wedge" then
  1087. local MSH = IT("SpecialMesh",PART)
  1088. MSH.MeshType = "Wedge"
  1089. end
  1090. end
  1091.  
  1092. Debris = game:GetService("Debris")
  1093.  
  1094. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1095. local DIRECTION = CF(StartPos,EndPos).lookVector
  1096. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1097. end
  1098.  
  1099. function turnto(position)
  1100. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1101. end
  1102.  
  1103.  
  1104. function MakeForm(PART,TYPE)
  1105. if TYPE == "Cyl" then
  1106. local MSH = IT("CylinderMesh",PART)
  1107. elseif TYPE == "Ball" then
  1108. local MSH = IT("SpecialMesh",PART)
  1109. MSH.MeshType = "Sphere"
  1110. elseif TYPE == "Wedge" then
  1111. local MSH = IT("SpecialMesh",PART)
  1112. MSH.MeshType = "Wedge"
  1113. end
  1114. end
  1115.  
  1116. Debris = game:GetService("Debris")
  1117.  
  1118. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1119. local DIRECTION = CF(StartPos,EndPos).lookVector
  1120. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1121. end
  1122.  
  1123. function turnto(position)
  1124. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1125. end
  1126.  
  1127.  
  1128. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1129. if FLOOR ~= nil then
  1130. coroutine.resume(coroutine.create(function()
  1131. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1132. PART.CFrame = CF(POSITION)
  1133. for i = 1, 45 do
  1134. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1135. RingPiece.Material = FLOOR.Material
  1136. RingPiece.Color = FLOOR.Color
  1137. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1138. Debris:AddItem(RingPiece,SWAIT)
  1139. end
  1140. PART:remove()
  1141. end))
  1142. end
  1143. end
  1144.  
  1145. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1146. if FLOOR ~= nil then
  1147. for i = 1, AMOUNT do
  1148. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1149. DEBREE.Material = FLOOR.Material
  1150. DEBREE.Color = FLOOR.Color
  1151. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1152. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1153. coroutine.resume(coroutine.create(function()
  1154. Swait(15)
  1155. DEBREE.Parent = workspace
  1156. DEBREE.CanCollide = true
  1157. Debris:AddItem(DEBREE,SWAIT)
  1158. end))
  1159. end
  1160. end
  1161. end
  1162.  
  1163.  
  1164.  
  1165. --//=================================\\
  1166. --|| WEAPON CREATION
  1167. --\\=================================//
  1168.  
  1169. for i = 1, 35 do
  1170. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(0,0,0),false)
  1171. FACE.Color = C3(0,0,0)
  1172. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1173. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1174. end
  1175. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eyeball", VT(0,0,0),false)
  1176. MakeForm(EYE,"Ball")
  1177. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  1178. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eyeball", VT(0.25,0.25,0.25),false)
  1179. MakeForm(EYE2,"Ball")
  1180. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  1181. local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Gun", VT(0, 0, 0),false)
  1182. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430070098", "154987811", VT(0.05,0.05,0.05), VT(0,0, 0))
  1183. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  1184.  
  1185. local BODY = {}
  1186.  
  1187. for _, c in pairs(Character:GetDescendants()) do
  1188. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1189. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1190. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1191. end
  1192. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1193. elseif c:IsA("JointInstance") then
  1194. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1195. end
  1196. end
  1197.  
  1198. for e = 1, #BODY do
  1199. if BODY[e] ~= nil then
  1200. local STUFF = BODY[e]
  1201. local PART = STUFF[1]
  1202. local PARENT = STUFF[2]
  1203. local MATERIAL = STUFF[3]
  1204. local COLOR = STUFF[4]
  1205. local TRANSPARENCY = STUFF[5]
  1206. if PART.ClassName == "Part" and PART ~= RootPart then
  1207. PART.Material = MATERIAL
  1208. PART.Color = COLOR
  1209. PART.Transparency = TRANSPARENCY
  1210. end
  1211. PART.AncestryChanged:Connect(function()
  1212. PART.Parent = PARENT
  1213. end)
  1214. end
  1215. end
  1216.  
  1217. function refit()
  1218. Character.Parent = workspace
  1219. for e = 1, #BODY do
  1220. if BODY[e] ~= nil then
  1221. local STUFF = BODY[e]
  1222. local PART = STUFF[1]
  1223. local PARENT = STUFF[2]
  1224. local MATERIAL = STUFF[3]
  1225. local COLOR = STUFF[4]
  1226. local TRANSPARENCY = STUFF[5]
  1227. if PART.ClassName == "Part" and PART ~= RootPart then
  1228. PART.Material = MATERIAL
  1229. PART.Color = COLOR
  1230. PART.Transparency = TRANSPARENCY
  1231. end
  1232. if PART.Parent ~= PARENT then
  1233. Humanoid:remove()
  1234. PART.Parent = PARENT
  1235. Humanoid = IT("Humanoid",Character)
  1236. end
  1237. end
  1238. end
  1239. end
  1240.  
  1241. local SKILLTEXTCOLOR = BrickColor.new("Magenta").Color
  1242. local SKILLFONT = "SciFi"
  1243. local SKILLTEXTSIZE = 7
  1244.  
  1245. Humanoid.Died:connect(function()
  1246. refit()
  1247. end)
  1248.  
  1249. function Blink()
  1250. coroutine.resume(coroutine.create(function()
  1251. if EYE ~= nil then
  1252. for i = 1, 5 do
  1253. Swait()
  1254. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  1255. EYE2.Mesh.Scale = EYE.Mesh.Scale
  1256. end
  1257. for i = 1, 7 do
  1258. Swait()
  1259. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  1260. EYE2.Mesh.Scale = EYE.Mesh.Scale
  1261. end
  1262. EYE.Mesh.Scale = VT(1,1,1)
  1263. EYE2.Mesh.Scale = EYE.Mesh.Scale
  1264. end
  1265. end))
  1266. end
  1267.  
  1268. local AMMO1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.07, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Ammo 1 Frame")
  1269. local AMMO2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.07, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Ammo 2 Frame")
  1270. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1271. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1272.  
  1273. local SKILL3TEXT = CreateLabel(SKILL1FRAME, "press [Z] to troll people", C3(0,0,0), 7, SKILLFONT, 0, 2, 1, "Text 3")
  1274. local SKILL4TEXT = CreateLabel(SKILL2FRAME, "press [X] to pay jason respect", C3(0,0,0), 7, "SciFi", 0, 2, 1, "Text 4")
  1275.  
  1276. local AMMOIMAGE2 = IT("ImageLabel",AMMO2FRAME)
  1277. AMMOIMAGE2.Size = UD2(1,0,1,0)
  1278. AMMOIMAGE2.BackgroundTransparency = 1
  1279. AMMOIMAGE2.BorderSizePixel = 0
  1280. AMMOIMAGE2.Image = "http://www.roblox.com/asset/?id=923773583"
  1281.  
  1282. for i = 1, 35 do
  1283. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Magenta", "FaceGradient", VT(1.01,0.5,1.01),false)
  1284. FACE.Color = BrickColor.new("Magenta").Color
  1285. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1286. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1287. end
  1288.  
  1289. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Eye", VT(0.6,0.1,1)/2,false)
  1290. MakeForm(Eye,"Ball")
  1291. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1292. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Eye", VT(0.6,0.1,1)/2,false)
  1293. MakeForm(Eye,"Ball")
  1294. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1295. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Eye", VT(0.1,1,1)/2,false)
  1296. MakeForm(Eye,"Ball")
  1297. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1298. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Eye", VT(0.1,1,1)/2,false)
  1299. MakeForm(Eye,"Ball")
  1300. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1301.  
  1302. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Magenta", "BraceletPart", VT(1.01,0.3,1.01),false)
  1303. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1304. for i = 1, 3 do
  1305. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Magenta", "BraceletPart", VT(0.2,1.02,0.2),false)
  1306. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1307. MakeForm(Part,"Cyl")
  1308. end
  1309. for i = 1, 3 do
  1310. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Magenta", "BraceletPart", VT(0.2,1.02,0.2),false)
  1311. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
  1312. MakeForm(Part,"Cyl")
  1313. end
  1314. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Magenta", "BraceletPart", VT(0.51,0.6,0.25),false)
  1315. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
  1316. MakeForm(Part,"Wedge")
  1317. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Magenta", "BraceletPart", VT(0.51,0.6,0.25),false)
  1318. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
  1319. MakeForm(Part,"Wedge")
  1320. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Magenta", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
  1321. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
  1322. MakeForm(Part,"Wedge")
  1323. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Magenta", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
  1324. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
  1325. MakeForm(Part,"Wedge")
  1326.  
  1327.  
  1328.  
  1329. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Magenta", "Hat", VT(2,0.2,2),false)
  1330. MakeForm(HAT1,"Cyl")
  1331. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1332. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Magenta", "Hat", VT(2.01,0.15,2.01),false)
  1333. BELT.Color = BrickColor.new("Magenta").Color
  1334. MakeForm(BELT,"Cyl")
  1335. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1336. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Magenta", "Hat", VT(1.3,2.2,1.3),false)
  1337. MakeForm(HAT2,"Cyl")
  1338. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1339. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Magenta", "Hat", VT(1.31,0.2,1.31),false)
  1340. BELT.Color = BrickColor.new("Magenta").Color
  1341. MakeForm(BELT,"Cyl")
  1342. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1343. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Gem", VT(0.25,0.25,0.1),false)
  1344. MakeForm(GEM,"Ball")
  1345. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1346. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Gem", VT(0.25,0.25,0.1),false)
  1347. MakeForm(GEM,"Ball")
  1348. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1349. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Gem", VT(0.1,0.25,0.25),false)
  1350. MakeForm(GEM,"Ball")
  1351. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1352. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Gem", VT(0.1,0.25,0.25),false)
  1353. MakeForm(GEM,"Ball")
  1354. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360. --//=================================\\
  1361. --|| DAMAGE FUNCTIONS
  1362. --\\=================================//
  1363.  
  1364. function StatLabel(CFRAME, TEXT, COLOR)
  1365. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1366. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1367. local BODYGYRO = IT("BodyGyro", STATPART)
  1368. game:GetService("Debris"):AddItem(STATPART ,5)
  1369. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1370. BILLBOARDGUI.Adornee = STATPART
  1371. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1372. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1373. BILLBOARDGUI.AlwaysOnTop = false
  1374. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1375. TEXTLABEL.BackgroundTransparency = 1
  1376. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1377. TEXTLABEL.Text = TEXT
  1378. TEXTLABEL.Font = SKILLFONT
  1379. TEXTLABEL.FontSize="Size42"
  1380. TEXTLABEL.TextColor3 = COLOR
  1381. TEXTLABEL.TextStrokeTransparency = 0
  1382. TEXTLABEL.TextScaled = true
  1383. TEXTLABEL.TextWrapped = true
  1384. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1385. for i = 1, 10 do
  1386. Swait()
  1387. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1388. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/10)
  1389. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1390. end
  1391. THEPART.Parent = nil
  1392. end),STATPART, TEXTLABEL)
  1393. end
  1394.  
  1395. --//=================================\\
  1396. --|| DAMAGING
  1397. --\\=================================//
  1398.  
  1399. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1400. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1401. defence.Name = ("HitBy"..Player.Name)
  1402. game:GetService("Debris"):AddItem(defence, 0.001)
  1403. Damage = Damage * DAMAGEMULTIPLIER
  1404. if Humanoid.Health ~= 0 then
  1405. local CritChance = MRANDOM(1,100)
  1406. if Damage > Humanoid.Health then
  1407. Damage = math.ceil(Humanoid.Health)
  1408. if Damage == 0 then
  1409. Damage = 0.1
  1410. end
  1411. end
  1412. Humanoid.Health = Humanoid.Health - Damage
  1413. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1414. end
  1415. end
  1416.  
  1417. function Ghostify(POSITION,RANGE)
  1418. local CHILDREN = workspace:GetDescendants()
  1419. for index, CHILD in pairs(CHILDREN) do
  1420. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1421. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1422. if HUM then
  1423. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1424. if TORSO then
  1425. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1426. local GHOST = GHOSTBASE:Clone()
  1427. GHOST.Parent = Effects
  1428. GHOST.Torso.CFrame = TORSO.CFrame
  1429. table.insert(GHOSTS,GHOST)
  1430. CHILD:remove()
  1431. end
  1432. end
  1433. end
  1434. end
  1435. end
  1436. end
  1437.  
  1438.  
  1439. function BulletDetection(FROM,TO,BRUTAL)
  1440. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1441. coroutine.resume(coroutine.create(function()
  1442. if AIMHIT ~= nil then
  1443. if AIMHIT.Parent ~= Character then
  1444. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1445. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1446. if BRUTAL == true then
  1447. Kill(AIMHIT.Parent)
  1448. else
  1449. getbloody(AIMHIT,15)
  1450. AIMHIT.Parent:BreakJoints()
  1451. if AIMHIT.Name == "Head" then
  1452. AIMHIT.Name = "HEADSHOT"
  1453. AIMHIT:remove()
  1454. end
  1455. end
  1456. else
  1457. if BRUTAL == true then
  1458. Kill(AIMHIT.Parent.Parent)
  1459. else
  1460. AIMHIT.Parent.Parent:BreakJoints()
  1461. end
  1462. end
  1463. end
  1464. end
  1465. end
  1466. end))
  1467. SpawnTrail(FROM,AIMPOS)
  1468. return AIMHIT,AIMPOS,NORMAL
  1469. end
  1470.  
  1471.  
  1472. --//=================================\\
  1473. --|| ATTACK FUNCTIONS AND STUFF
  1474. --\\=================================//
  1475.  
  1476. function PandorasBox()
  1477. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1478. if HITFLOOR ~= nil then
  1479. ATTACK = false
  1480. Rooted = false
  1481. local RINGSPIN = true
  1482. local CONSTRUCTING = true
  1483. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1484. RING.Color = C3(0,0,0)
  1485. MakeForm(RING,"Cyl")
  1486. RING.CFrame = CF(HITPOS)
  1487. CreateSound(402981977, RING, 5, 1.2, false)
  1488. coroutine.resume(coroutine.create(function()
  1489. repeat
  1490. Swait()
  1491. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1492. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1493. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1494. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1495. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1496. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1497. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1498. until CONSTRUCTING == false
  1499. repeat
  1500. Swait()
  1501. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1502. until RINGSPIN == false
  1503. for i = 1, 25 do
  1504. Swait()
  1505. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1506. RING.Size = RING.Size - VT(0.15,0,0.15)
  1507. --DECAL.Transparency = DECAL.Transparency + 1/25
  1508. RING.Transparency = RING.Transparency + 1/25
  1509. end
  1510. RING:remove()
  1511. end))
  1512. for i = 1, 15 do
  1513. Swait()
  1514. RING.Size = RING.Size + VT(0.75,0,0.75)
  1515. RING.Transparency = RING.Transparency - 1/15
  1516. end
  1517. local BOXSPIN = true
  1518. local PANDORASBOX = IT("Model",Effects)
  1519. PANDORASBOX.Name = "Pandora's Box"
  1520. local BOX = IT("Model",PANDORASBOX)
  1521. BOX.Name = "Body"
  1522. local LID = IT("Model",PANDORASBOX)
  1523. LID.Name = "Lid"
  1524. --BUILDING THE BOX--
  1525. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1526. BASE.Color = C3(0,0,0)
  1527. PANDORASBOX.PrimaryPart = BASE
  1528. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1529. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1530. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1531. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1532. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1533. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1534. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1535. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1536. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1537. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1538. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1539. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1540. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1541. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1542. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1543. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1544. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1545. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1546. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1547. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1548. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1549. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1550. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1551. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1552. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1553. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1554. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1555. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1556. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1557. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1558. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1559. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1560. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1561. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1562. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1563. -------------
  1564. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1565. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1566. LID.PrimaryPart = LIDPART
  1567. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1568. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1569. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1570. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1571. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1572. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1573. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1574. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1575. local DECAL = IT("Decal",LIDPART)
  1576. DECAL.Face = "Top"
  1577. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1578. DECAL.Color3 = C3(0,0,0)
  1579. --BUILDING THE BOX--
  1580. coroutine.resume(coroutine.create(function()
  1581. repeat
  1582. Swait()
  1583. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1584. until BOXSPIN == false
  1585. end))
  1586. for i = 1, 25 do
  1587. Swait()
  1588. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1589. end
  1590. wait(0.5)
  1591. BOXSPIN = false
  1592. CONSTRUCTING = false
  1593. coroutine.resume(coroutine.create(function()
  1594. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  1595. --[[for i = 1, 45 do
  1596. Swait()
  1597. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1598. end-
  1599. LID:remove()]]--
  1600. for _, c in pairs(LID:GetChildren()) do
  1601. if c.ClassName == "Part" then
  1602. c.Anchored = false
  1603. c.CanCollide = true
  1604. if c ~= LIDPART then
  1605. weldBetween(LIDPART,c)
  1606. end
  1607. end
  1608. end
  1609. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1610. Debris:AddItem(LID,15)
  1611. wait(0.5)
  1612. local RANDOMEFFECT = MRANDOM(1,4)
  1613. if RANDOMEFFECT == 1 then
  1614. for i = 1, 45 do
  1615. wait((2-(i/15))/15)
  1616. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  1617. end
  1618. wait(1)
  1619. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1620. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  1621. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1622. for i = 1, 5 do
  1623. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1624. end
  1625. ApplyAoE(BASE.Position,50,1,200,375,false)
  1626. ApplyAoE(BASE.Position,250,35,75,175,false)
  1627. elseif RANDOMEFFECT == 2 then
  1628. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1629. FIELD.CFrame = BASE.CFrame
  1630. MakeForm(FIELD,"Ball")
  1631. for i = 1, 50 do
  1632. Swait()
  1633. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1634. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1635. end
  1636. wait(0.2)
  1637. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1638. coroutine.resume(coroutine.create(function()
  1639. for i = 1, 75 do
  1640. Swait()
  1641. LOOP.Volume = LOOP.Volume + 10/75
  1642. LOOP.Parent = FIELD
  1643. local CHILDREN = workspace:GetDescendants()
  1644. for index, CHILD in pairs(CHILDREN) do
  1645. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1646. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1647. if HUM then
  1648. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1649. if TORSO then
  1650. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1651. HUM.Health = HUM.Health - 0.1
  1652. TORSO.Velocity = VT(0,5,0)
  1653. HUM.PlatformStand = true
  1654. if TORSO.RotVelocity.Magnitude < 15 then
  1655. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1656. end
  1657. end
  1658. end
  1659. end
  1660. end
  1661. end
  1662. FIELD.Size = FIELD.Size + VT(3,3,3)
  1663. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1664. end
  1665. for i = 1, 500 do
  1666. Swait()
  1667. LOOP.Parent = FIELD
  1668. local CHILDREN = workspace:GetDescendants()
  1669. for index, CHILD in pairs(CHILDREN) do
  1670. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1671. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1672. if HUM then
  1673. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1674. if TORSO then
  1675. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1676. TORSO.Velocity = VT(0,5,0)
  1677. HUM.Health = HUM.Health - 0.1
  1678. HUM.PlatformStand = true
  1679. if TORSO.RotVelocity.Magnitude < 15 then
  1680. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1681. end
  1682. end
  1683. end
  1684. end
  1685. end
  1686. end
  1687. end
  1688. for i = 1, 25 do
  1689. Swait()
  1690. LOOP.Volume = LOOP.Volume + 10/25
  1691. LOOP.Parent = FIELD
  1692. local CHILDREN = workspace:GetDescendants()
  1693. for index, CHILD in pairs(CHILDREN) do
  1694. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1695. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1696. if HUM then
  1697. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1698. if TORSO then
  1699. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1700. TORSO.Velocity = VT(0,5,0)
  1701. HUM.Health = HUM.Health - 0.1
  1702. HUM.PlatformStand = false
  1703. if TORSO.RotVelocity.Magnitude < 15 then
  1704. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1705. end
  1706. end
  1707. end
  1708. end
  1709. end
  1710. end
  1711. FIELD.Size = FIELD.Size - VT(3,3,3)
  1712. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1713. end
  1714. FIELD:remove()
  1715. end))
  1716. elseif RANDOMEFFECT == 3 then
  1717. for i = 1, 10 do
  1718. wait(0.15)
  1719. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  1720. coroutine.resume(coroutine.create(function()
  1721. local MINION = CLONE:Clone()
  1722. MINION.Parent = Effects
  1723. MINION.Name = "Shadow"
  1724. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1725. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1726. for _, c in pairs(MINION:GetChildren()) do
  1727. if c.ClassName == "Part" then
  1728. c.Material = "Neon"
  1729. c.Color = C3(0,0,0)
  1730. c.Transparency = 0.25
  1731. if c.Name == "Head" then
  1732. c:ClearAllChildren()
  1733. local MSH = IT("BlockMesh",c)
  1734. MSH.Scale = VT(0.5,1,1)
  1735. end
  1736. end
  1737. end
  1738. local TORSO = MINION.Torso
  1739. local HUMAN = MINION.Humanoid
  1740. HUMAN.WalkSpeed = 100
  1741. HUMAN.MaxHealth = math.huge
  1742. HUMAN.Health = math.huge
  1743. HUMAN.DisplayDistanceType = "None"
  1744. HUMAN.Died:connect(function()
  1745. MINION:remove()
  1746. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1747. end)
  1748. wait(1)
  1749. local findNearestTorso = function(POS)
  1750. local list = game.Workspace:GetDescendants()
  1751. local torso = nil
  1752. local dist = 9999
  1753. local temp = nil
  1754. local human = nil
  1755. local temp2 = nil
  1756. for x = 1, #list do
  1757. temp2 = list[x]
  1758. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1759. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1760. human = temp2:findFirstChildOfClass("Humanoid")
  1761. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1762. if (temp.Position - POS).magnitude < dist then
  1763. torso = temp
  1764. dist = (temp.Position - POS).magnitude
  1765. end
  1766. end
  1767. end
  1768. end
  1769. return torso, dist
  1770. end
  1771. for i = 1, 40 do
  1772. if HUMAN.Health == 0 then
  1773. break
  1774. end
  1775. wait(0.3)
  1776. local target,dist= findNearestTorso(TORSO.Position)
  1777. if target then
  1778. HUMAN:MoveTo(target.Position)
  1779. if dist < 999 then
  1780. CreateSound(348663022, TORSO, 10, 1, true)
  1781. wait(0.5)
  1782. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1783. --ANIM:Play()
  1784. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1785. ApplyAoE(TORSO.Position,10,0,0,85,false)
  1786. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  1787. for i = 1, 5 do
  1788. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1789. end
  1790. break
  1791. end
  1792. end
  1793. end
  1794. MINION:remove()
  1795. end))
  1796. end
  1797. elseif RANDOMEFFECT == 4 then
  1798. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1799. FIELD.Color = C3(0,0,0)
  1800. FIELD.CFrame = BASE.CFrame
  1801. MakeForm(FIELD,"Ball")
  1802. FIELD.CanCollide = true
  1803. for i = 1, 50 do
  1804. Swait()
  1805. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1806. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1807. end
  1808. wait(0.2)
  1809. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1810. coroutine.resume(coroutine.create(function()
  1811. local E = 0
  1812. for i = 1, 75 do
  1813. E = E + 1
  1814. Swait()
  1815. if E >= 35 then
  1816. E = 0
  1817. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1818. end
  1819. LOOP.Volume = LOOP.Volume + 10/75
  1820. LOOP.Parent = FIELD
  1821. local CHILDREN = workspace:GetDescendants()
  1822. for index, CHILD in pairs(CHILDREN) do
  1823. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1824. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1825. if HUM then
  1826. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1827. if TORSO then
  1828. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1829. for _, c in pairs(CHILD:GetChildren()) do
  1830. if c:IsA("BasePart") then
  1831. local bv = Instance.new("BodyVelocity")
  1832. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1833. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1834. bv.Parent = c
  1835. Debris:AddItem(bv,0.05)
  1836. end
  1837. end
  1838. HUM.Health = HUM.Health - 0.3
  1839. end
  1840. end
  1841. end
  1842. end
  1843. end
  1844. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1845. end
  1846. for i = 1, 180 do
  1847. E = E + 1
  1848. Swait()
  1849. if E >= 35 then
  1850. E = 0
  1851. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1852. end
  1853. LOOP.Parent = FIELD
  1854. local CHILDREN = workspace:GetDescendants()
  1855. for index, CHILD in pairs(CHILDREN) do
  1856. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1857. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1858. if HUM then
  1859. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1860. if TORSO then
  1861. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1862. for _, c in pairs(CHILD:GetChildren()) do
  1863. if c:IsA("BasePart") then
  1864. local bv = Instance.new("BodyVelocity")
  1865. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1866. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1867. bv.Parent = c
  1868. Debris:AddItem(bv,0.05)
  1869. end
  1870. end
  1871. HUM.Health = HUM.Health - 0.3
  1872. end
  1873. end
  1874. end
  1875. end
  1876. end
  1877. end
  1878. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1879. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  1880. for i = 1, 5 do
  1881. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1882. end
  1883. FIELD:remove()
  1884. end))
  1885. elseif RANDOMEFFECT == 5 then
  1886. end
  1887. wait(0.5)
  1888. for i = 1, 25 do
  1889. Swait()
  1890. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1891. end
  1892. PANDORASBOX:remove()
  1893. RINGSPIN = false
  1894. end))
  1895. ATTACK = false
  1896. Rooted = false
  1897. end
  1898. end
  1899.  
  1900.  
  1901. function Taunt()
  1902. ATTACK = true
  1903. Rooted = false
  1904. TAUNT = true
  1905. for i=0, 0.1, 0.1 / Animation_Speed do
  1906. Swait()
  1907. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1908. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1909. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1910. end
  1911. for i=0, 3, 0.1 / Animation_Speed do
  1912. Swait()
  1913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1916. end
  1917. CreateSound(363808674, Torso, 10, 1.3)
  1918. for i=0, 1, 0.1 / Animation_Speed do
  1919. Swait()
  1920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1923. end
  1924. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1925. CreateSound(649634100, Torso, 10, 0.8)
  1926. for i=0, 0.01, 0.1 / Animation_Speed do
  1927. Swait()
  1928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1931. end
  1932. ATTACK = false
  1933. Rooted = false
  1934. TAUNT = false
  1935. end
  1936.  
  1937. function SinfulShell()
  1938. ATTACK = true
  1939. Rooted = false
  1940. local GYRO = IT("BodyGyro",RootPart)
  1941. GYRO.D = 750
  1942. GYRO.P = 20000
  1943. GYRO.MaxTorque = VT(0,40000000,0)
  1944. for i=0, 1, 0.1 / Animation_Speed do
  1945. Swait()
  1946. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1947. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed)
  1949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(115), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1951. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1952. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed)
  1953. end
  1954. GYRO:remove()
  1955. CreateSound(132456187, Gun, 5, 1, false)
  1956. WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1957. coroutine.resume(coroutine.create(function()
  1958. local Bullet = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Royal purple", "Sinful bullet", VT(0,0,0))
  1959. CreateMesh("SpecialMesh", Bullet, "FileMesh", "94295100", "", VT(6, 6, 7), VT(0,0, 0))
  1960. Bullet.CFrame = Gun.CFrame*CF(1.5,0.5,0)
  1961. local AIMPOINT = Mouse.Hit.p
  1962. local STARTPOS = Gun.CFrame*CF(1.5,0.5,0).p
  1963. local VECTOR = CF(STARTPOS,AIMPOINT)
  1964. local IMPACTED = false
  1965. CreateSound(1393698948, Bullet, 10, 1, true)
  1966. for E = 1, 50 do
  1967. if IMPACTED == true then
  1968. break
  1969. end
  1970. local TARGETPOINT = VECTOR*CF(0,0,-E*5)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,1,0).p
  1971. Bullet.CFrame = CF(Bullet.Position,TARGETPOINT)
  1972. for i = 1, 5 do
  1973. Swait()
  1974. WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(1,1,1), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i+E, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1975. Bullet.CFrame = Bullet.CFrame*CF(0,0,-1)
  1976. local AIMHIT,AIMPOS,NORMAL = Raycast(Bullet.Position,Bullet.CFrame.lookVector,1.3,Character)
  1977. if AIMHIT ~= nil then
  1978. IMPACTED = true
  1979. break
  1980. end
  1981. end
  1982. end
  1983. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(9,9,9), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 182765513, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7})
  1984. for i = 1, 7 do
  1985. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,15,1), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1986. end
  1987. Ghostify(Bullet.Position,10)
  1988. Bullet:remove()
  1989. end))
  1990. for i=0, 0.3, 0.1 / Animation_Speed do
  1991. Swait()
  1992. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1993. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed)
  1994. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0.3) * ANGLES(RAD(110), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1995. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1996. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1997. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed)
  1998. end
  1999. ATTACK = false
  2000. Rooted = false
  2001. end
  2002.  
  2003.  
  2004.  
  2005.  
  2006. function Astral_Hop()
  2007. ATTACK = true
  2008. Rooted = false
  2009. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  2010. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  2011. local decal = Decal:Clone()
  2012. decal.Parent = O1
  2013. decal.Face = "Top"
  2014. decal.Texture = "http://www.roblox.com/asset/?id=202696571"
  2015. local decal2 = Decal:Clone()
  2016. decal2.Parent = O1
  2017. decal2.Face = "Bottom"
  2018. decal2.Texture = "http://www.roblox.com/asset/?id=202696571"
  2019. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  2020. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  2021. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  2022. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  2023. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  2024. local decal = Decal:Clone()
  2025. decal.Parent = O2
  2026. decal.Face = "Top"
  2027. decal.Texture = "http://www.roblox.com/asset/?id=202696571"
  2028. local decal2 = Decal:Clone()
  2029. decal2.Parent = O2
  2030. decal2.Face = "Bottom"
  2031. decal2.Texture = "http://www.roblox.com/asset/?id=202696571"
  2032. CreateSound("153613030", O1, 10, 0.7)
  2033. CreateSound("153613030", O2, 10, 0.7)
  2034. for i = 1, 75 do
  2035. Swait()
  2036. O1.Size = O1.Size + VT(0.1,0,0.1)
  2037. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  2038. O2.Size = O2.Size + VT(0.1,0,0.1)
  2039. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  2040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2044. 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)
  2045. 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)
  2046.  
  2047. end
  2048.  
  2049.  
  2050. Rooted = true
  2051. UNANCHOR = false
  2052. RootPart.Anchored = true
  2053. VALUE1 = true
  2054. for i = 1, 15 do
  2055. Swait()
  2056. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  2057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2061. 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)
  2062. 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)
  2063. end
  2064. RootPart.CFrame = ROOT.CFrame
  2065. ROOT:remove()
  2066. for i = 1, 15 do
  2067. Swait()
  2068. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  2069. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2070. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2071. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2072. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2073. 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)
  2074. 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)
  2075. end
  2076. VALUE1 = false
  2077. coroutine.resume(coroutine.create(function()
  2078. for i = 1, 75 do
  2079. Swait()
  2080. O1.Size = O1.Size - VT(0.1,0,0.1)
  2081. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  2082. O2.Size = O2.Size - VT(0.1,0,0.1)
  2083. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  2084. end
  2085. O1:remove()
  2086. O2:remove()
  2087. end))
  2088. UNANCHOR = true
  2089. RootPart.Anchored = false
  2090. ATTACK = false
  2091. Rooted = false
  2092. end
  2093.  
  2094.  
  2095. function Technobeam()
  2096. ATTACK = true
  2097. Rooted = false
  2098. local GYRO = IT("BodyGyro",RootPart)
  2099. GYRO.D = 100
  2100. GYRO.P = 2000
  2101. GYRO.MaxTorque = VT(0,4000000,0)
  2102. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2103. CreateSound("93724183", RightArm, 5, 1, false)
  2104. for i=1, 35 do
  2105. Swait()
  2106. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  2107. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2108. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2109. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2110. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2111. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2112. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2113. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2114. end
  2115. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Magenta", "Lazer", VT(0,0,0))
  2116. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  2117. local TOCH = BEAM.Touched:Connect(function(hit)
  2118. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  2119. Shatter(hit)
  2120. end
  2121. end)
  2122. local I = 0
  2123. repeat
  2124. Swait()
  2125. I = I + 1
  2126. if I <= 10 then
  2127. BEAM.Transparency = BEAM.Transparency - 0.1
  2128. end
  2129. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  2130. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  2131. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  2132. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  2133. BEAM.Size = VT(2,2,DISTANCE)
  2134. WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2135. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  2136. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  2137. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2142. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2143. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2144. if ENDHIT ~= nil then
  2145. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  2146. Shatter(ENDHIT)
  2147. end
  2148. end
  2149. until LOOP.Playing == false
  2150. GYRO:remove()
  2151. BEAM:remove()
  2152. ATTACK = false
  2153. Rooted = false
  2154. end
  2155.  
  2156. function SpawnSmite(POS)
  2157. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2158. local EMITPOS = HITPOS
  2159. if HITFLOOR ~= nil then
  2160. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2161. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2162. EMITPOS = HITPOS
  2163. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2164. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2165. EMITPOS = HITPOS
  2166. end
  2167. end
  2168. if HITFLOOR ~= nil then
  2169. ApplyAoE(EMITPOS,10)
  2170. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2171. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2172. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2173. for i = 1, 5 do
  2174. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2175. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2176. end
  2177. end
  2178. end
  2179.  
  2180. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2181. coroutine.resume(coroutine.create(function()
  2182. local METEOR = IT("Model",Effects)
  2183. METEOR.Name = "Meteorite"
  2184. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Magenta", "MeteorCenter", VT(5,5,5)*SIZE)
  2185. METEOR.PrimaryPart = CENTER
  2186. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Magenta", "MeteorCenter", VT(5,5,5)*SIZE)
  2187. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2188. for i = 1, 15 do
  2189. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Magenta", "Fire", VT(5.1,1,5.1)*SIZE)
  2190. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2191. end
  2192. if ISDEBREE ~= true then
  2193. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2194. else
  2195. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2196. end
  2197. local IMPACT = false
  2198. CreateSound(463593339, CENTER, 10, 0.6)
  2199. if SIZE >= 3.5 then
  2200. for i = 1, MRANDOM(3,7) do
  2201. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  2202. end
  2203. end
  2204. for i = 1, 200 do
  2205. Swait()
  2206. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  2207. if HITFLOOR == nil then
  2208. local ORI = CENTER.Orientation
  2209. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2210. else
  2211. if HITFLOOR.Anchored == true then
  2212. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  2213. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(6,6,6)*SIZE,5,175)
  2214. end
  2215. IMPACT = true
  2216. break
  2217. end
  2218. end
  2219. if IMPACT == true then
  2220. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2221. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  2222. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2223. ApplyAoE(CENTER.Position,30*SIZE)
  2224. end
  2225. METEOR:remove()
  2226. end))
  2227. end
  2228.  
  2229. function Smite()
  2230. ATTACK = true
  2231. Rooted = false
  2232. CreateSound(1368573150, RightArm, 3, 1.5)
  2233. for i=0, 0.6, 0.1 / Animation_Speed do
  2234. Swait()
  2235. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2236. 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)
  2237. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2238. end
  2239. local POWER = 0
  2240. repeat
  2241. Swait()
  2242. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2243. 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)
  2244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2245. POWER = POWER + 0.5
  2246. if POWER >= 85 then
  2247. POWER = 85
  2248. end
  2249. until KEYHOLD == false
  2250. if POWER < 0.6 then
  2251. SpawnSmite(Mouse.Hit.p)
  2252. else
  2253. if POWER < 15 then
  2254. POWER = 15
  2255. end
  2256. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2257. end
  2258. ATTACK = false
  2259. Rooted = false
  2260. end
  2261.  
  2262.  
  2263.  
  2264. function Corrupted_Explosion()
  2265. ATTACK = true
  2266. Rooted = true
  2267. for i=0, 1, 0.1 / Animation_Speed do
  2268. Swait()
  2269. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed)
  2270. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed)
  2271. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2272. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2273. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2274. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2275. end
  2276. for i=0, 0.4, 0.1 / Animation_Speed do
  2277. Swait()
  2278. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  2279. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  2280. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2281. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2282. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2283. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2284. end
  2285. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Beam", VT(0,0,0))
  2286. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Beam", VT(0,0,0))
  2287. MakeForm(BEAM,"Ball")
  2288. MakeForm(BEAM2,"Ball")
  2289. BEAM.CFrame = CF(RootPart.Position)
  2290. BEAM2.CFrame = CF(RootPart.Position)
  2291. CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  2292. for i=1, 100 do
  2293. Swait()
  2294. BEAM.Size = BEAM.Size + VT(0.7,8,0.7)
  2295. BEAM2.Size = BEAM2.Size + VT(2,2,2)
  2296. ApplyAoE(BEAM2.Position,BEAM2.Size.Z/2,5,5,15,true)
  2297. BEAM.CFrame = CF(RootPart.Position)
  2298. BEAM2.CFrame = CF(RootPart.Position)
  2299. WACKYEFFECT({TIME = 5+i, EffectType = "Swirl", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2300. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  2301. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  2302. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2303. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2304. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2305. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2306. end
  2307. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2308. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2309. BEAM2:remove()
  2310. BEAM:remove()
  2311. ATTACK = false
  2312. Rooted = false
  2313. end
  2314.  
  2315.  
  2316.  
  2317. --//=================================\\
  2318. --|| ASSIGN THINGS TO KEYS
  2319. --\\=================================//
  2320.  
  2321. function MouseDown(Mouse)
  2322. if ATTACK == false then
  2323. end
  2324. end
  2325.  
  2326. function MouseUp(Mouse)
  2327. HOLD = false
  2328. end
  2329.  
  2330. function KeyDown(Key)
  2331. KEYHOLD = true
  2332. if Key == "z" and ATTACK == false then
  2333. PandorasBox()
  2334. end
  2335. if Key == "q" and ATTACK == false then
  2336. Astral_Hop()
  2337. end
  2338.  
  2339. if Key == "e" and ATTACK == false then
  2340. Corrupted_Explosion()
  2341. end
  2342.  
  2343.  
  2344.  
  2345. if Key == "b" and ATTACK == false then
  2346. Technobeam()
  2347. end
  2348.  
  2349. if Key == "t" and ATTACK == false then
  2350. Taunt()
  2351. end
  2352.  
  2353.  
  2354.  
  2355. if Key == "c" and ATTACK == false then
  2356. Smite()
  2357. end
  2358.  
  2359.  
  2360. if Key == "x" and ATTACK == false then
  2361. SinfulShell()
  2362. end
  2363.  
  2364. if Key == "f" and ATTACK == false then
  2365. Prison_Key()
  2366. end
  2367.  
  2368. if Key == "g" and ATTACK == false then
  2369. Morning_Star()
  2370. end
  2371. end
  2372.  
  2373. function KeyUp(Key)
  2374. KEYHOLD = false
  2375. end
  2376.  
  2377. Mouse.Button1Down:connect(function(NEWKEY)
  2378. MouseDown(NEWKEY)
  2379. end)
  2380. Mouse.Button1Up:connect(function(NEWKEY)
  2381. MouseUp(NEWKEY)
  2382. end)
  2383. Mouse.KeyDown:connect(function(NEWKEY)
  2384. KeyDown(NEWKEY)
  2385. end)
  2386. Mouse.KeyUp:connect(function(NEWKEY)
  2387. KeyUp(NEWKEY)
  2388. end)
  2389.  
  2390. --//=================================\\
  2391. --\\=================================//
  2392.  
  2393.  
  2394. function unanchor()
  2395. if UNANCHOR == true then
  2396. g = Character:GetChildren()
  2397. for i = 1, #g do
  2398. if g[i].ClassName == "Part" then
  2399. g[i].Anchored = false
  2400. end
  2401. end
  2402. end
  2403. end
  2404.  
  2405.  
  2406. --//=================================\\
  2407. --|| WRAP THE WHOLE SCRIPT UP
  2408. --\\=================================//
  2409.  
  2410. Humanoid.Changed:connect(function(Jump)
  2411. if Jump == "Jump" and (Disable_Jump == true) then
  2412. Humanoid.Jump = false
  2413. end
  2414. end)
  2415.  
  2416. local BLINKLOOP = 0
  2417.  
  2418. while true do
  2419. Swait()
  2420. Character.Parent = workspace
  2421. Humanoid.Parent = Character
  2422. script.Parent = WEAPONGUI
  2423. ANIMATE.Parent = nil
  2424. if Humanoid then
  2425. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2426. IDLEANIMATION:Play()
  2427. end
  2428. SINE = SINE + CHANGE
  2429. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2430. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2431. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 6, Character)
  2432. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2433. if ATTACK == false then
  2434. if TORSOVELOCITY < 1 then
  2435. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 0.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2436. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2437. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2438. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2439. 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)
  2440. 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)
  2441. elseif TORSOVELOCITY > 1 then
  2442. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(Speed/3 + 0.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2443. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-Speed/3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2444. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2445. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2446. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2447. 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)
  2448. end
  2449. end
  2450. unanchor()
  2451. Humanoid.MaxHealth = "inf"
  2452. Humanoid.Health = "inf"
  2453. if Rooted == false then
  2454. Disable_Jump = false
  2455. Humanoid.WalkSpeed = Speed
  2456. elseif Rooted == true then
  2457. Disable_Jump = true
  2458. Humanoid.WalkSpeed = 0
  2459. end
  2460. sick.SoundId = "rbxassetid://427649630"
  2461. sick.Looped = true
  2462. sick.Pitch = 1.2
  2463. sick.Volume = 10
  2464. sick.Playing = true
  2465. sick.Parent = Torso
  2466. if Head:FindFirstChild("face") then
  2467. Head.face.Texture = "rbxassetid://142478285"
  2468. end
  2469. BLINKLOOP = BLINKLOOP + 1
  2470. if BLINKLOOP >=650 then
  2471. BLINKLOOP = 0
  2472. Blink()
  2473. end
  2474. if #GHOSTS>0 then
  2475. for e=1,#GHOSTS do
  2476. if GHOSTS[e]~=nil then
  2477. local Thing=GHOSTS[e]
  2478. if Thing~=nil then
  2479. if Thing:FindFirstChild("Head") then
  2480. if Thing:FindFirstChild("Head"):FindFirstChild("face") then
  2481. Thing:FindFirstChild("Head").face.Texture = "rbxassetid://127959433"
  2482. end
  2483. if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
  2484. Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
  2485. end
  2486. end
  2487. local TORSO = Thing:FindFirstChild("Torso")
  2488. if TORSO then
  2489. TORSO.Anchored = false
  2490. local ROOT = Thing.HumanoidRootPart
  2491. local RootJoint1 = ROOT:FindFirstChild("RootJoint")
  2492. local Neck1 = TORSO:FindFirstChild("Neck")
  2493. local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
  2494. local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
  2495. local RightHip1 = TORSO:FindFirstChild("Right Hip")
  2496. local LeftHip1 = TORSO:FindFirstChild("Left Hip")
  2497. if ROOT and RootJoint1 then
  2498. local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
  2499. if VELOCITY < 1 then
  2500. RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
  2501. Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
  2502. RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
  2503. LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
  2504. RightHip1.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))
  2505. LeftHip1.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))
  2506. elseif VELOCITY > 1 then
  2507. RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
  2508. Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
  2509. RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
  2510. LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
  2511. RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0))
  2512. LeftHip1.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))
  2513. end
  2514. end
  2515. local Human = Thing.Humanoid
  2516. if Human then
  2517. Human.HipHeight = 0.3
  2518. for _, c in pairs(Thing:GetChildren()) do
  2519. if c.ClassName == "Part" and c.Transparency < 1 then
  2520. c.Color = C3(0,0,0)
  2521. c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
  2522. elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  2523. c:remove()
  2524. end
  2525. end
  2526. if Human then
  2527. local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
  2528. IDLEANIMATION:Play()
  2529. end
  2530. local list = game.Workspace:children()
  2531. local torso = nil
  2532. local dist = 50
  2533. local temp = nil
  2534. local human = nil
  2535. local temp2 = nil
  2536. local OwnerInDanger = false
  2537. for x = 1, #list do
  2538. temp2 = list[x]
  2539. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
  2540. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2541. human = temp2:findFirstChildOfClass("Humanoid")
  2542. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2543. if (temp.Position - Torso.Position).magnitude < 15 then
  2544. OwnerInDanger = true
  2545. newdist = (temp.Position - TORSO.Position).magnitude
  2546. dist = (Torso.Position - temp.Position).magnitude
  2547. Human:MoveTo(temp.Position)
  2548. torso = temp
  2549. if newdist < 7 then
  2550. torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
  2551. CreateSound(814168787, temp, 1, 2, false)
  2552. ApplyDamage(human,MRANDOM(15,35),temp)
  2553. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2554. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2555. end
  2556. end
  2557. end
  2558. end
  2559. end
  2560. if OwnerInDanger == false then
  2561. for x = 1, #list do
  2562. temp2 = list[x]
  2563. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
  2564. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2565. human = temp2:findFirstChildOfClass("Humanoid")
  2566. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2567. if (temp.Position - Torso.Position).magnitude < dist then
  2568. newdist = (temp.Position - TORSO.Position).magnitude
  2569. Human:MoveTo(temp.Position)
  2570. torso = temp
  2571. if newdist < 15 then
  2572. if MRANDOM(1,35) == 1 then
  2573. CreateSound(438665935, temp, 1, 3, false)
  2574. ApplyDamage(human,MRANDOM(2,20),temp)
  2575. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2576. end
  2577. end
  2578. end
  2579. end
  2580. end
  2581. end
  2582. end
  2583. if torso == nil then
  2584. Human.WalkSpeed = Speed -0.2
  2585. if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
  2586. Human:MoveTo(TORSO.Position)
  2587. elseif (Torso.Position - TORSO.Position).magnitude > 15 then
  2588. Human:MoveTo(Torso.Position)
  2589. elseif (Torso.Position - TORSO.Position).magnitude < 11 then
  2590. Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
  2591. end
  2592. else
  2593. if OwnerInDanger == false then
  2594. Human.WalkSpeed = Speed*1.2
  2595. else
  2596. Human.WalkSpeed = Speed*5
  2597. end
  2598. end
  2599. if Human.Health == 0 then
  2600. Thing:remove()
  2601. table.remove(GHOSTS,e)
  2602. else
  2603. Human.Health = Human.Health + 0.5
  2604. end
  2605. else
  2606. Thing:remove()
  2607. table.remove(GHOSTS,e)
  2608. end
  2609. else
  2610. Thing:remove()
  2611. table.remove(GHOSTS,e)
  2612. end
  2613. end
  2614. end
  2615. end
  2616. end
  2617. refit()
  2618. end
  2619.  
  2620. --//=================================\\
  2621. --\\=================================//
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627. --//====================================================\\--
  2628. --|| END OF THE SCRIPT
  2629. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement