Advertisement
Toey8415

ok

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