Advertisement
Toey8415

100%

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