Advertisement
masterofdesires1

Untitled

Aug 12th, 2018
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 288.14 KB | None | 0 0
  1. script.Name = "The Dark"
  2. --//====================================================\\--
  3. --|| CREATED BY | EDIT BY HOANGCHANNELVN
  4. --|| SHACKLUSTER| EDIT BY NEEDYBAO123456789
  5. --\\====================================================//--
  6. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  7. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  8. do
  9. print("FE Compatibility code by Mokiros")
  10. script.Parent = Player.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent and t.Function then
  36. t.Function(...)
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=Player then return end
  44. if io.isMouse then
  45. m.Target = io.Target
  46. m.Hit = io.Hit
  47. else
  48. local b = io.UserInputState == Enum.UserInputState.Begin
  49. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  50. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  51. end
  52. for _,t in pairs(CAS.Actions) do
  53. for _,k in pairs(t.Keys) do
  54. if k==io.KeyCode then
  55. t.Function(t.Name,io.UserInputState,io)
  56. end
  57. end
  58. end
  59. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  60. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  61. end
  62. end)
  63. Event.Parent = NLS([==[
  64. local Player = game:GetService("Players").LocalPlayer
  65. local Event = script:WaitForChild("UserInput_Event")
  66.  
  67. local UIS = game:GetService("UserInputService")
  68. local input = function(io,a)
  69. if a then return end
  70. --Since InputObject is a client-side instance, we create and pass table instead
  71. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75.  
  76. local Mouse = Player:GetMouse()
  77. local h,t
  78. --Give the server mouse data 30 times every second, but only if the values changed
  79. --If player is not moving their mouse, client won't fire events
  80. while wait(1/30) do
  81. if h~=Mouse.Hit or t~=Mouse.Target then
  82. h,t=Mouse.Hit,Mouse.Target
  83. Event:FireServer({isMouse=true,Target=t,Hit=h})
  84. end
  85. end]==],Player.Character)
  86. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  87. end
  88.  
  89. Player = owner
  90. Character = Player.Character
  91. local txt = Instance.new("BillboardGui", Character)
  92. txt.Adornee = Character.Head
  93. txt.Name = "_status"
  94. txt.Size = UDim2.new(2, 0, 1.2, 0)
  95. txt.StudsOffset = Vector3.new(-9, 8, 0)
  96. local text = Instance.new("TextLabel", txt)
  97. text.Size = UDim2.new(10, 0, 7, 0)
  98. text.FontSize = "Size24"
  99. text.TextScaled = true
  100. text.TextTransparency = 0
  101. text.BackgroundTransparency = 1
  102. text.TextTransparency = 0
  103. text.TextStrokeTransparency = 0
  104. text.Font = "Antique"
  105. text.TextColor3 = Color3.new(0, 0, 0)
  106. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  107. text.Text = "The Darkness"
  108. local Player = game:GetService("Players").LocalPlayer
  109. repeat
  110. wait()
  111. until Player.Character
  112. local Character = Player.Character
  113. TrailSettings = {
  114. Lifetime = 1,
  115. Texture = "http://www.roblox.com/asset/?id=25356538",
  116. Color1 = ColorSequence.new(BrickColor.new("Really black").Color),
  117. Color2 = ColorSequence.new(BrickColor.new("White").Color),
  118. AllBody = true,
  119. UpperBodyOnly = false,
  120. LowerBodyOnly = false,
  121. Accessories = false,
  122. Extras = true,
  123. R15 = false,
  124. R15Parts = {"UpperTorso", "LowerTorso"}
  125. }
  126. local Trail
  127. function UpperBody()
  128. if TrailSettings.R15 == false then
  129. A0 = Instance.new("Attachment", Character.Torso)
  130. A1 = Instance.new("Attachment", Character.Head)
  131. A2 = Instance.new("Attachment", Character["Right Arm"])
  132. A3 = Instance.new("Attachment", Character["Left Arm"])
  133. Trail = Instance.new("Trail", Character)
  134. Trail.Attachment0 = A0
  135. Trail.Attachment1 = A1
  136. Trail.Texture = TrailSettings.Texture
  137. Trail.Color = TrailSettings.Color1
  138. Trail.Lifetime = TrailSettings.Lifetime
  139. local Trail2 = Trail:Clone()
  140. Trail2.Parent = Character
  141. Trail2.Attachment1 = A2
  142. local Trail3 = Trail:Clone()
  143. Trail3.Parent = Character
  144. Trail3.Attachment1 = A3
  145. local Trail6 = Trail:Clone()
  146. Trail6.Parent = Character
  147. Trail6.Attachment0 = A1
  148. Trail6.Attachment1 = A2
  149. local Trail7 = Trail:Clone()
  150. Trail7.Parent = Character
  151. Trail7.Attachment0 = A1
  152. Trail7.Attachment1 = A3
  153. else
  154. A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
  155. A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
  156. A1 = Instance.new("Attachment", Character.Head)
  157. A2 = Instance.new("Attachment", Character.RightUpperArm)
  158. A2R = Instance.new("Attachment", Character.RightLowerArm)
  159. A3 = Instance.new("Attachment", Character.LeftUpperArm)
  160. A3R = Instance.new("Attachment", Character.LeftLowerArm)
  161. Trail = Instance.new("Trail", Character)
  162. Trail.Attachment0 = A0
  163. Trail.Attachment1 = A1
  164. Trail.Texture = TrailSettings.Texture
  165. Trail.Color = TrailSettings.Color1
  166. Trail.Lifetime = TrailSettings.Lifetime
  167. local Trail2 = Trail:Clone()
  168. Trail2.Parent = Character
  169. Trail2.Attachment1 = A2
  170. local Trail3 = Trail:Clone()
  171. Trail3.Parent = Character
  172. Trail3.Attachment1 = A3
  173. local Trail6 = Trail:Clone()
  174. Trail6.Parent = Character
  175. Trail6.Attachment0 = A1
  176. Trail6.Attachment1 = A2
  177. local Trail7 = Trail:Clone()
  178. Trail7.Parent = Character
  179. Trail7.Attachment0 = A1
  180. Trail7.Attachment1 = A3
  181. local Trail1R = Trail:Clone()
  182. Trail1R.Parent = Character
  183. Trail1R.Attachment1 = A2R
  184. local Trail2R = Trail:Clone()
  185. Trail2R.Parent = Character
  186. Trail2R.Attachment1 = A3R
  187. local Trail6R = Trail:Clone()
  188. Trail6.Parent = Character
  189. Trail6.Attachment0 = A1
  190. Trail6.Attachment1 = A2R
  191. local Trail7R = Trail:Clone()
  192. Trail7.Parent = Character
  193. Trail7.Attachment0 = A1
  194. Trail7.Attachment1 = A3R
  195. end
  196. end
  197. function LowerBody()
  198. if TrailSettings.R15 == false then
  199. A4 = Instance.new("Attachment", Character["Right Leg"])
  200. A5 = Instance.new("Attachment", Character["Left Leg"])
  201. local Trail4 = Trail:Clone()
  202. Trail4.Parent = Character
  203. Trail4.Attachment1 = A4
  204. local Trail5 = Trail:Clone()
  205. Trail5.Parent = Character
  206. Trail5.Attachment1 = A5
  207. local Trail8 = Trail:Clone()
  208. Trail8.Parent = Character
  209. Trail8.Attachment0 = A2
  210. Trail8.Attachment1 = A4
  211. Trail8.Color = TrailSettings.Color2
  212. local Trail9 = Trail:Clone()
  213. Trail9.Parent = Character
  214. Trail9.Attachment0 = A3
  215. Trail9.Attachment1 = A5
  216. Trail9.Color = TrailSettings.Color2
  217. local FT = Trail:Clone()
  218. FT.Parent = Character
  219. FT.Attachment0 = A4
  220. FT.Attachment1 = A5
  221. FT.Color = TrailSettings.Color2
  222. else
  223. A4 = Instance.new("Attachment", Character.RightLowerLeg)
  224. A4R = Instance.new("Attachment", Character.RightUpperLeg)
  225. A5 = Instance.new("Attachment", Character.LeftLowerLeg)
  226. A5R = Instance.new("Attachment", Character.LeftUpperLeg)
  227. local Trail4 = Trail:Clone()
  228. Trail4.Parent = Character
  229. Trail4.Attachment1 = A4
  230. local Trail5 = Trail:Clone()
  231. Trail5.Parent = Character
  232. Trail5.Attachment1 = A5
  233. local Trail8 = Trail:Clone()
  234. Trail8.Parent = Character
  235. Trail8.Attachment0 = A2
  236. Trail8.Attachment1 = A4
  237. Trail8.Color = TrailSettings.Color2
  238. local Trail9 = Trail:Clone()
  239. Trail9.Parent = Character
  240. Trail9.Attachment0 = A3
  241. Trail9.Attachment1 = A5
  242. Trail9.Color = TrailSettings.Color2
  243. local FT = Trail:Clone()
  244. FT.Parent = Character
  245. FT.Attachment0 = A4
  246. FT.Attachment1 = A5
  247. FT.Color = TrailSettings.Color2
  248. local Trail3R = Trail:Clone()
  249. Trail3R.Parent = Character
  250. Trail3R.Attachment1 = A4R
  251. local Trail4R = Trail:Clone()
  252. Trail4R.Parent = Character
  253. Trail4R.Attachment1 = A5R
  254. local Trail8 = Trail:Clone()
  255. Trail8.Parent = Character
  256. Trail8.Attachment0 = A2R
  257. Trail8.Attachment1 = A4R
  258. Trail8.Color = TrailSettings.Color2
  259. local Trail9 = Trail:Clone()
  260. Trail9.Parent = Character
  261. Trail9.Attachment0 = A3R
  262. Trail9.Attachment1 = A5R
  263. Trail9.Color = TrailSettings.Color2
  264. local FT2R = Trail:Clone()
  265. FT2R.Parent = Character
  266. FT2R.Attachment0 = A4R
  267. FT2R.Attachment1 = A5R
  268. FT2R.Color = TrailSettings.Color2
  269. end
  270. end
  271. function AllBody()
  272. UpperBody()
  273. LowerBody()
  274. end
  275. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  276. TrailSettings.UpperBodyOnly = false
  277. TrailSettings.LowerBodyOnly = false
  278. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  279. TrailSettings.UpperBodyOnly = false
  280. TrailSettings.LowerBodyOnly = false
  281. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  282. TrailSettings.UpperBodyOnly = false
  283. TrailSettings.LowerBodyOnly = false
  284. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  285. TrailSettings.AllBody = true
  286. TrailSettings.UpperBodyOnly = false
  287. TrailSettings.LowerBodyOnly = false
  288. end
  289. if TrailSettings.UpperBodyOnly == true then
  290. UpperBody()
  291. print("Called Upper Body Trail")
  292. elseif TrailSettings.LowerBodyOnly == true then
  293. LowerBody()
  294. print("Called Lower Body Trail")
  295. elseif TrailSettings.AllBody == true then
  296. AllBody()
  297. print("Called Full Body Trail")
  298. end
  299. if TrailSettings.Accessories == true then
  300. for Index, Item in pairs(Character:GetChildren()) do
  301. if Item:IsA("Accessory") then
  302. local AA = Instance.new("Attachment", Item.Handle)
  303. local ATrail = Trail:Clone()
  304. ATrail.Parent = Character
  305. ATrail.Attachment1 = AA
  306. end
  307. end
  308. end
  309. if TrailSettings.Extras == true then
  310. spawn(function()
  311. repeat
  312. wait()
  313. until Trail
  314. local AB = Instance.new("Attachment", a)
  315. local ABT = Trail:Clone()
  316. ABT.Parent = Character
  317. ABT.Attachment0 = A4
  318. ABT.Attachment1 = AB
  319. ABT.Color = TrailSettings.Color2
  320. local ABT2 = Trail:Clone()
  321. ABT2.Parent = Character
  322. ABT2.Attachment0 = A5
  323. ABT2.Attachment1 = AB
  324. ABT2.Color = TrailSettings.Color2
  325. end)
  326. end
  327. wait(0.1)
  328.  
  329. script:ClearAllChildren()
  330. wait(0.2)
  331.  
  332. Player = game:GetService("Players").LocalPlayer
  333. PlayerGui = Player.PlayerGui
  334. Cam = workspace.CurrentCamera
  335. Backpack = Player.Backpack
  336. Character = Player.Character
  337. Humanoid = Character.Humanoid
  338. RootPart = Character["HumanoidRootPart"]
  339. Torso = Character["Torso"]
  340. Head = Character["Head"]
  341. RightArm = Character["Right Arm"]
  342. LeftArm = Character["Left Arm"]
  343. RightLeg = Character["Right Leg"]
  344. LeftLeg = Character["Left Leg"]
  345. RootJoint = RootPart["RootJoint"]
  346. Neck = Torso["Neck"]
  347. RightShoulder = Torso["Right Shoulder"]
  348. LeftShoulder = Torso["Left Shoulder"]
  349. RightHip = Torso["Right Hip"]
  350. LeftHip = Torso["Left Hip"]
  351. local TIME = 0
  352. local sick = Instance.new("Sound",Torso)
  353.  
  354. IT = Instance.new
  355. CF = CFrame.new
  356. VT = Vector3.new
  357. RAD = math.rad
  358. C3 = Color3.new
  359. UD2 = UDim2.new
  360. BRICKC = BrickColor.new
  361. ANGLES = CFrame.Angles
  362. EULER = CFrame.fromEulerAnglesXYZ
  363. COS = math.cos
  364. ACOS = math.acos
  365. SIN = math.sin
  366. ASIN = math.asin
  367. ABS = math.abs
  368. MRANDOM = math.random
  369. FLOOR = math.floor
  370.  
  371. warn ("Message from Needybao123456789......")
  372. warn ("If you leak this i going to kill you and rise the demon cursed you")
  373.  
  374. --//=================================\\
  375. --|| USEFUL VALUES
  376. --\\=================================//
  377.  
  378. Animation_Speed = 2
  379. local FORCERESET = false
  380. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  381. local Speed = 50
  382. Player_Size = 1 --Size of the player.
  383. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  384. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  385. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  386. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  387. local DAMAGEMULTIPLIER = 1
  388. local ANIM = "Idle"
  389. local ATTACK = false
  390. local EQUIPPED = false
  391. local HOLD = false
  392. local COMBO = 1
  393. local Rooted = false
  394. local SINE = 0
  395. local KEYHOLD = false
  396. local CHANGE = 2 / Animation_Speed
  397. local WALKINGANIM = false
  398. local VALUE1 = false
  399. local VALUE2 = false
  400. local ROBLOXIDLEANIMATION = IT("Animation")
  401. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  402. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  403. --ROBLOXIDLEANIMATION.Parent = Humanoid
  404. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  405. WEAPONGUI.Name = "BanishV3Gui"
  406. local Weapon = IT("Model")
  407. Weapon.Name = "Adds"
  408. local Effects = IT("Folder", Weapon)
  409. Effects.Name = "Effects"
  410. local ANIMATOR = Humanoid.Animator
  411. local ANIMATE = Character:FindFirstChild("Animate")
  412. local UNANCHOR = true
  413. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  414. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  415. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  416. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  417. local TOBANISH = {}
  418. script.Parent = PlayerGui
  419. Player_Size = 1 --Size of the player.
  420. local EXTRATRANS = 0
  421. local Effects2 = {}
  422. local UNANCHOR = true
  423. local CHOICE = MRANDOM(1,4)
  424. local LAUGHS = {907329893,907329532,907333294,907332856}
  425. local ATTACKEDTAUNTS = {
  426. "907332040",
  427. "907332525",
  428. "907330011"
  429. }
  430. local ATTACKTAUNTS = {
  431. "907329893",
  432. "907329532",
  433. "907333294",
  434. "907332856"
  435. }
  436. local ULTTAUNTS = {
  437. "907332997",
  438. "907332670",
  439. "907330103"
  440. }
  441. local TOBANISH = {}
  442. script.Parent = PlayerGui
  443. local CLOCKLOOP = 0
  444. local CLOCKTARGET = nil
  445. local CLOCKSPEED = 25
  446. local SIZE = 1
  447. local RING = {}
  448. local EXTRATRANS = 0
  449. local SKILLTEXTCOLOR = C3(0,0,0)
  450. local SKILLTEXTCOLOR2 = C3(1,0,0)
  451. --//=================================\\
  452. --\\=================================//
  453.  
  454.  
  455. --//=================================\\
  456. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  457. --\\=================================//
  458.  
  459. ArtificialHB = Instance.new("BindableEvent", script)
  460. ArtificialHB.Name = "ArtificialHB"
  461.  
  462. script:WaitForChild("ArtificialHB")
  463.  
  464. frame = Frame_Speed
  465. tf = 0
  466. allowframeloss = false
  467. tossremainder = false
  468. lastframe = tick()
  469. script.ArtificialHB:Fire()
  470.  
  471. game:GetService("RunService").Heartbeat:connect(function(s, p)
  472. tf = tf + s
  473. if tf >= frame then
  474. if allowframeloss then
  475. script.ArtificialHB:Fire()
  476. lastframe = tick()
  477. else
  478. for i = 1, math.floor(tf / frame) do
  479. script.ArtificialHB:Fire()
  480. end
  481. lastframe = tick()
  482. end
  483. if tossremainder then
  484. tf = 0
  485. else
  486. tf = tf - frame * math.floor(tf / frame)
  487. end
  488. end
  489. end)
  490.  
  491. --//=================================\\
  492. --\\=================================//
  493.  
  494. --//=================================\\
  495. --|| SOME FUNCTIONS
  496. --\\=================================//
  497.  
  498. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  499. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  500. end
  501.  
  502. function PositiveAngle(NUMBER)
  503. if NUMBER >= 0 then
  504. NUMBER = 0
  505. end
  506. return NUMBER
  507. end
  508.  
  509. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  510. for _, c in pairs(PARENT:GetChildren()) do
  511. if c.ClassName == "Model" then
  512. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  513. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  514. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  515. if DIST > (TORSO.Position - FROM).Magnitude then
  516. table.insert(TABLE, c)
  517. end
  518. AddChildrenToTable(FROM, c, DIST, TABLE)
  519. elseif c.ClassName == "Folder" then
  520. AddChildrenToTable(FROM, c, DIST, TABLE)
  521. end
  522. end
  523. end
  524. end
  525.  
  526. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  527. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  528. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  529. wave.CFrame = CFRAME
  530. coroutine.resume(coroutine.create(function(PART)
  531. for i = 1, WAIT do
  532. Swait()
  533. mesh.Scale = mesh.Scale + GROW
  534. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  535. if DOESROT == true then
  536. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  537. end
  538. wave.Transparency = wave.Transparency + 0.5 / WAIT
  539. if wave.Transparency > 0.99 then
  540. wave:remove()
  541. end
  542. end
  543. end))
  544. end
  545. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  546. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  547. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  548. wave.CFrame = CFRAME
  549. coroutine.resume(coroutine.create(function(PART)
  550. for i = 1, WAIT do
  551. Swait()
  552. mesh.Scale = mesh.Scale + GROW
  553. if DOESROT == true then
  554. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  555. end
  556. wave.Transparency = wave.Transparency + 0.5 / WAIT
  557. if wave.Transparency > 0.99 then
  558. wave:remove()
  559. end
  560. end
  561. end))
  562. end
  563. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  564. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  565. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  566. wave.CFrame = CFRAME
  567. coroutine.resume(coroutine.create(function(PART)
  568. for i = 1, WAIT do
  569. Swait()
  570. mesh.Scale = mesh.Scale + GROW
  571. wave.Transparency = wave.Transparency + 1 / WAIT
  572. if wave.Transparency > 0.99 then
  573. wave:remove()
  574. end
  575. end
  576. end))
  577. end
  578. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  579. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  580. local mesh
  581. if KIND == "Base" then
  582. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  583. elseif KIND == "Thin" then
  584. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  585. elseif KIND == "Round" then
  586. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  587. end
  588. wave.CFrame = CFRAME
  589. coroutine.resume(coroutine.create(function(PART)
  590. for i = 1, WAIT do
  591. Swait()
  592. mesh.Scale = mesh.Scale + GROW / 10
  593. wave.Transparency = wave.Transparency + 0.5 / WAIT
  594. if wave.Transparency > 0.99 then
  595. wave:remove()
  596. end
  597. end
  598. end))
  599. end
  600.  
  601. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  602. if DoesCourontine == false then
  603. local Direction = CF(Part.Position, ToLocation)
  604. local Distance = (Part.Position - ToLocation).magnitude
  605. for i = 1, AmountOfTime do
  606. Swait()
  607. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  608. Direction = Part.CFrame
  609. end
  610. Part:remove()
  611. elseif DoesCourontine == true then
  612. coroutine.resume(coroutine.create(function()
  613. local Direction = CF(Part.Position, ToLocation)
  614. local Distance = (Part.Position - ToLocation).magnitude
  615. for i = 1, AmountOfTime do
  616. Swait()
  617. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)Direction = Part.CFrame
  618. end
  619. Part:remove()
  620. end))
  621. end
  622. end
  623.  
  624. function NegativeAngle(NUMBER)
  625. if NUMBER <= 0 then
  626. NUMBER = 0
  627. end
  628. return NUMBER
  629. end
  630.  
  631. function Swait(NUMBER)
  632. if NUMBER == 0 or NUMBER == nil then
  633. ArtificialHB.Event:wait()
  634. else
  635. for i = 1, NUMBER do
  636. ArtificialHB.Event:wait()
  637. end
  638. end
  639. end
  640.  
  641. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  642. local NEWMESH = IT(MESH)
  643. if MESH == "SpecialMesh" then
  644. NEWMESH.MeshType = MESHTYPE
  645. if MESHID ~= "nil" and MESHID ~= "" then
  646. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  647. end
  648. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  649. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  650. end
  651. end
  652. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  653. NEWMESH.Scale = SCALE
  654. NEWMESH.Parent = PARENT
  655. return NEWMESH
  656. end
  657.  
  658. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  659. local NEWPART = IT("Part")
  660. NEWPART.formFactor = FORMFACTOR
  661. NEWPART.Reflectance = REFLECTANCE
  662. NEWPART.Transparency = TRANSPARENCY
  663. NEWPART.CanCollide = false
  664. NEWPART.Locked = true
  665. NEWPART.Anchored = true
  666. if ANCHOR == false then
  667. NEWPART.Anchored = false
  668. end
  669. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  670. NEWPART.Name = NAME
  671. NEWPART.Size = SIZE
  672. NEWPART.Position = Torso.Position
  673. NEWPART.Material = MATERIAL
  674. NEWPART:BreakJoints()
  675. NEWPART.Parent = PARENT
  676. return NEWPART
  677. end
  678.  
  679. local function weldBetween(a, b)
  680. local weldd = Instance.new("ManualWeld")
  681. weldd.Part0 = a
  682. weldd.Part1 = b
  683. weldd.C0 = CFrame.new()
  684. weldd.C1 = b.CFrame:inverse() * a.CFrame
  685. weldd.Parent = a
  686. return weldd
  687. end
  688.  
  689.  
  690. function QuaternionFromCFrame(cf)
  691. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  692. local trace = m00 + m11 + m22
  693. if trace > 0 then
  694. local s = math.sqrt(1 + trace)
  695. local recip = 0.5 / s
  696. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  697. else
  698. local i = 0
  699. if m11 > m00 then
  700. i = 1
  701. end
  702. if m22 > (i == 0 and m00 or m11) then
  703. i = 2
  704. end
  705. if i == 0 then
  706. local s = math.sqrt(m00 - m11 - m22 + 1)
  707. local recip = 0.5 / s
  708. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  709. elseif i == 1 then
  710. local s = math.sqrt(m11 - m22 - m00 + 1)
  711. local recip = 0.5 / s
  712. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  713. elseif i == 2 then
  714. local s = math.sqrt(m22 - m00 - m11 + 1)
  715. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  716. end
  717. end
  718. end
  719.  
  720. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  721. local xs, ys, zs = x + x, y + y, z + z
  722. local wx, wy, wz = w * xs, w * ys, w * zs
  723. local xx = x * xs
  724. local xy = x * ys
  725. local xz = x * zs
  726. local yy = y * ys
  727. local yz = y * zs
  728. local zz = z * zs
  729. 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))
  730. end
  731.  
  732. function QuaternionSlerp(a, b, t)
  733. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  734. local startInterp, finishInterp;
  735. if cosTheta >= 0.0001 then
  736. if (1 - cosTheta) > 0.0001 then
  737. local theta = ACOS(cosTheta)
  738. local invSinTheta = 1 / SIN(theta)
  739. startInterp = SIN((1 - t) * theta) * invSinTheta
  740. finishInterp = SIN(t * theta) * invSinTheta
  741. else
  742. startInterp = 1 - t
  743. finishInterp = t
  744. end
  745. else
  746. if (1 + cosTheta) > 0.0001 then
  747. local theta = ACOS(-cosTheta)
  748. local invSinTheta = 1 / SIN(theta)
  749. startInterp = SIN((t - 1) * theta) * invSinTheta
  750. finishInterp = SIN(t * theta) * invSinTheta
  751. else
  752. startInterp = t - 1
  753. finishInterp = t
  754. end
  755. end
  756. 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
  757. end
  758.  
  759. function Clerp(a, b, t)
  760. local qa = {QuaternionFromCFrame(a)}
  761. local qb = {QuaternionFromCFrame(b)}
  762. local ax, ay, az = a.x, a.y, a.z
  763. local bx, by, bz = b.x, b.y, b.z
  764. local _t = 1 - t
  765. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  766. end
  767.  
  768. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  769. local frame = IT("Frame")
  770. frame.BackgroundTransparency = TRANSPARENCY
  771. frame.BorderSizePixel = BORDERSIZEPIXEL
  772. frame.Position = POSITION
  773. frame.Size = SIZE
  774. frame.BackgroundColor3 = COLOR
  775. frame.BorderColor3 = BORDERCOLOR
  776. frame.Name = NAME
  777. frame.Parent = PARENT
  778. return frame
  779. end
  780.  
  781. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  782. local label = IT("TextLabel")
  783. label.BackgroundTransparency = 1
  784. label.Size = UD2(1, 0, 1, 0)
  785. label.Position = UD2(0, 0, 0, 0)
  786. label.TextColor3 = TEXTCOLOR
  787. label.TextStrokeTransparency = STROKETRANSPARENCY
  788. label.TextTransparency = TRANSPARENCY
  789. label.FontSize = TEXTFONTSIZE
  790. label.Font = TEXTFONT
  791. label.BorderSizePixel = BORDERSIZEPIXEL
  792. label.TextScaled = false
  793. label.Text = TEXT
  794. label.Name = NAME
  795. label.Parent = PARENT
  796. return label
  797. end
  798.  
  799. function NoOutlines(PART)
  800. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  801. end
  802.  
  803. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  804. local NEWWELD = IT(TYPE)
  805. NEWWELD.Part0 = PART0
  806. NEWWELD.Part1 = PART1
  807. NEWWELD.C0 = C0
  808. NEWWELD.C1 = C1
  809. NEWWELD.Parent = PARENT
  810. return NEWWELD
  811. end
  812.  
  813. local S = IT("Sound")
  814. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  815. local NEWSOUND = nil
  816. coroutine.resume(coroutine.create(function()
  817. NEWSOUND = S:Clone()
  818. NEWSOUND.Parent = PARENT
  819. NEWSOUND.Volume = VOLUME
  820. NEWSOUND.Pitch = PITCH
  821. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  822. NEWSOUND:play()
  823. if DOESLOOP == true then
  824. NEWSOUND.Looped = true
  825. else
  826. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  827. NEWSOUND:remove()
  828. end
  829. end))
  830. return NEWSOUND
  831. end
  832.  
  833. function CFrameFromTopBack(at, top, back)
  834. local right = top:Cross(back)
  835. 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)
  836. end
  837.  
  838. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  839. function Lightning(Table)
  840. local Color = Table.Color or C3(1,1,1)
  841. local StartPos = Table.Start or Torso.Position
  842. local EndPos = Table.End or Mouse.Hit.p
  843. local SegmentLength = Table.SegmentL or 2
  844. local Thickness = Table.Thickness or 0.1
  845. local Dissapear = Table.DoesFade or false
  846. local Parent = Table.Ignore or Character
  847. local MaxDist = Table.MaxDist or 400
  848. local Branches = Table.Branches or false
  849. local Thicken = Table.Thicken or false
  850. local FadeTime = Table.FadeTime or 15
  851. local FadeIn = Table.FadeIn or false
  852. local Material = Table.Material or "Neon"
  853. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  854. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  855. local LIGHTNINGMODEL = IT("Model",Effects)
  856. LIGHTNINGMODEL.Name = "Lightning"
  857. local LastBolt = nil
  858. for E = 1, DISTANCE do
  859. local ExtraSize = 0
  860. if Thicken == true then
  861. ExtraSize = (DISTANCE-E)/15
  862. end
  863. local TRANSPARENCY = 0
  864. if FadeIn == true then
  865. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  866. if TRANSPARENCY < 0 then
  867. TRANSPARENCY = 0
  868. end
  869. end
  870. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  871. PART.Color = Color
  872. MakeForm(PART,"Cyl")
  873. if LastBolt == nil then
  874. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  875. else
  876. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  877. end
  878. LastBolt = PART
  879. if Branches == true and E < (DISTANCE-5) then
  880. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  881. if CHOICE == 1 then
  882. local LASTBRANCH = nil
  883. for i = 1, MRANDOM(2,5) do
  884. local ExtraSize2 = 0
  885. if Thicken == true then
  886. ExtraSize = ((DISTANCE-E)/25)/i
  887. end
  888. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  889. PART.Color = Color
  890. MakeForm(PART,"Cyl")
  891. if LASTBRANCH == nil then
  892. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  893. else
  894. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  895. end
  896. LASTBRANCH = PART
  897. end
  898. end
  899. end
  900. end
  901. if Dissapear == true then
  902. coroutine.resume(coroutine.create(function()
  903. for i = 1, FadeTime do
  904. Swait()
  905. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  906. if c.ClassName == "Part" then
  907. c.Transparency = c.Transparency + (i/FadeTime)/10
  908. end
  909. end
  910. end
  911. LIGHTNINGMODEL:remove()
  912. end))
  913. elseif Dissapear == false then
  914. Debris:AddItem(LIGHTNINGMODEL,0.1)
  915. end
  916. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  917. end
  918.  
  919. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  920. function WACKYEFFECT(Table)
  921. local TYPE = (Table.EffectType or "Sphere")
  922. local SIZE = (Table.Size or VT(1,1,1))
  923. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  924. local TRANSPARENCY = (Table.Transparency or 0)
  925. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  926. local CFRAME = (Table.CFrame or Torso.CFrame)
  927. local MOVEDIRECTION = (Table.MoveToPos or nil)
  928. local ROTATION1 = (Table.RotationX or 0)
  929. local ROTATION2 = (Table.RotationY or 0)
  930. local ROTATION3 = (Table.RotationZ or 0)
  931. local MATERIAL = (Table.Material or "Neon")
  932. local COLOR = (Table.Color or C3(1,1,1))
  933. local TIME = (Table.Time or 45)
  934. local SOUNDID = (Table.SoundID or nil)
  935. local SOUNDPITCH = (Table.SoundPitch or nil)
  936. local SOUNDVOLUME = (Table.SoundVolume or nil)
  937. coroutine.resume(coroutine.create(function()
  938. local PLAYSSOUND = false
  939. local SOUND = nil
  940. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  941. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  942. PLAYSSOUND = true
  943. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  944. end
  945. EFFECT.Color = COLOR
  946. local MSH = nil
  947. if TYPE == "Sphere" then
  948. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  949. elseif TYPE == "Block" then
  950. MSH = IT("BlockMesh",EFFECT)
  951. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  952. elseif TYPE == "Wave" then
  953. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  954. elseif TYPE == "Ring" then
  955. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  956. elseif TYPE == "Slash" then
  957. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  958. elseif TYPE == "Round Slash" then
  959. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  960. elseif TYPE == "Swirl" then
  961. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  962. elseif TYPE == "Skull" then
  963. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  964. elseif TYPE == "Crystal" then
  965. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  966. end
  967. if MSH ~= nil then
  968. local MOVESPEED = nil
  969. if MOVEDIRECTION ~= nil then
  970. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  971. end
  972. local GROWTH = SIZE - ENDSIZE
  973. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  974. if TYPE == "Block" then
  975. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  976. else
  977. EFFECT.CFrame = CFRAME
  978. end
  979. for LOOP = 1, TIME+1 do
  980. Swait()
  981. MSH.Scale = MSH.Scale - GROWTH/TIME
  982. if TYPE == "Wave" then
  983. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  984. end
  985. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  986. if TYPE == "Block" thenEFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  987. else
  988. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  989. end
  990. if MOVEDIRECTION ~= nil then
  991. local ORI = EFFECT.Orientation
  992. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  993. EFFECT.Orientation = ORI
  994. end
  995. end
  996. if PLAYSSOUND == false then
  997. EFFECT:remove()
  998. else
  999. SOUND.Stopped:Connect(function()
  1000. EFFECT:remove()
  1001. end)
  1002. end
  1003. else
  1004. if PLAYSSOUND == false then
  1005. EFFECT:remove()
  1006. else
  1007. repeat Swait() until SOUND.Playing == false
  1008. EFFECT:remove()
  1009. end
  1010. end
  1011. end))
  1012. end
  1013.  
  1014. function MakeForm(PART,TYPE)
  1015. if TYPE == "Cyl" then
  1016. local MSH = IT("CylinderMesh",PART)
  1017. elseif TYPE == "Ball" then
  1018. local MSH = IT("SpecialMesh",PART)
  1019. MSH.MeshType = "Sphere"
  1020. elseif TYPE == "Wedge" then
  1021. local MSH = IT("SpecialMesh",PART)
  1022. MSH.MeshType = "Wedge"
  1023. end
  1024. end
  1025.  
  1026. function SpawnTrail(FROM,TO,BIG)
  1027. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "really black", "Trail", VT(0,0,0))
  1028. MakeForm(TRAIL,"Cyl")
  1029. local DIST = (FROM - TO).Magnitude
  1030. if BIG == true then
  1031. TRAIL.Size = VT(0.5,DIST,0.5)
  1032. else
  1033. TRAIL.Size = VT(0.25,DIST,0.25)
  1034. end
  1035. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1036. coroutine.resume(coroutine.create(function()
  1037. for i = 1, 5 do
  1038. Swait()
  1039. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1040. end
  1041. TRAIL:remove()
  1042. end))
  1043. end
  1044.  
  1045. Debris = game:GetService("Debris")
  1046.  
  1047. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1048. local DIRECTION = CF(StartPos,EndPos).lookVector
  1049. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1050. end
  1051.  
  1052. function turnto(position)
  1053. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1054. end
  1055.  
  1056. local PLAYMAINANIM = true
  1057. local HATWELD = nil
  1058. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1059. PLAYMAINANIM = false
  1060. if WhichPose == "Cast1" then
  1061. for i=0, Time, 0.1 / Animation_Speed do
  1062. Swait()
  1063. if Magic == true then
  1064. 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})
  1065. end
  1066. if Gyro ~= nil and Gyro ~= false then
  1067. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1068. end
  1069. 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)
  1070. 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)
  1071. 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)
  1072. 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)
  1073. 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)
  1074. 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)
  1075. end
  1076. elseif WhichPose == "Cast2" then
  1077. for i=0, Time, 0.1 / Animation_Speed do
  1078. Swait()
  1079. if Magic == true then
  1080. 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})
  1081. 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})
  1082. end
  1083. if Gyro ~= nil and Gyro ~= false then
  1084. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1085. end
  1086. 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)
  1087. 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)
  1088. 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)
  1089. 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)
  1090. 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)
  1091. 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)
  1092. end
  1093. elseif WhichPose == "RightArmUp" then
  1094. for i=0, Time, 0.1 / Animation_Speed do
  1095. Swait()
  1096. if Magic == true then
  1097. 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})
  1098. end
  1099. if Gyro ~= nil and Gyro ~= false then
  1100. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1101. end
  1102. 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)
  1103. 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)
  1104. 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)
  1105. 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)
  1106. 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)
  1107. 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)
  1108. end
  1109. elseif WhichPose == "Taunt" then
  1110. for i=0, Time, 0.1 / Animation_Speed do
  1111. Swait()
  1112. 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)
  1113. 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)
  1114. 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)
  1115. 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)
  1116. 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)
  1117. 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)
  1118. end
  1119. HATWELD.Part0 = RightArm
  1120. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1121. CreateSound(221057812,Torso,10,1,false)
  1122. for i=0, Time*2, 0.1 / Animation_Speed do
  1123. Swait()
  1124. 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)
  1125. 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)
  1126. 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)
  1127. 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)
  1128. 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)
  1129. 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)
  1130. end
  1131. for i=0, Time, 0.1 / Animation_Speed do
  1132. Swait()
  1133. 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)
  1134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1136. 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)
  1137. 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)
  1138. 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)
  1139. 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)
  1140. end
  1141. HATWELD.Part0 = Head
  1142. HATWELD.C0 = CF(0,0.35,0)
  1143. elseif WhichPose == "Prepare key" then
  1144. for i=0, Time, 0.1 / Animation_Speed do
  1145. Swait()
  1146. if Gyro ~= nil and Gyro ~= false then
  1147. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1148. end
  1149. 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)
  1150. 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)
  1151. 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)
  1152. 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)
  1153. 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)
  1154. 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)
  1155. end
  1156. elseif WhichPose == "Turn key" then
  1157. for i=0, Time, 0.1 / Animation_Speed do
  1158. Swait()
  1159. if Gyro ~= nil and Gyro ~= false then
  1160. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1161. end
  1162. 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)
  1163. 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)
  1164. 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)
  1165. 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)
  1166. 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)
  1167. 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)
  1168. end
  1169. end
  1170. PLAYMAINANIM = true
  1171. end
  1172. --//=================================\\
  1173. --|| WEAPON CREATION
  1174. --\\=================================//
  1175.  
  1176. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  1177. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1178. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  1179. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1180.  
  1181. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1182. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1183. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1184. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1185. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1186. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1187. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1188. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1189.  
  1190. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  1191. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1192. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  1193. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1194. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1195. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1197. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1198. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1199. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1200.  
  1201. RightArm.Transparency = 1
  1202. local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
  1203. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1204. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
  1205. MakeForm(Sphere,"Ball")
  1206. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1207. local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
  1208. MakeForm(LaserPart,"Ball")
  1209. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1210. local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
  1211. MakeForm(Bump,"Ball")
  1212. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1213. local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
  1214. MakeForm(BottomLaser,"Cyl")
  1215. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1216. local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1217. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1218. local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1219. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
  1220. local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1221. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
  1222. local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1223. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
  1224. local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1225. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
  1226. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
  1227. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
  1228. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
  1229. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
  1230. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1231. MakeForm(Part,"Cyl")
  1232. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1233. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1234. MakeForm(Part,"Cyl")
  1235. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1236. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
  1237. MakeForm(Sphere,"Ball")
  1238. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1239.  
  1240. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(1,1,1.2),false)
  1241. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false)
  1242. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  1243. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false)
  1244. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  1245. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.8,0.8,1.225),false)
  1246. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1247. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  1248. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1249.  
  1250. New = function(Object, Parent, Name, Data)
  1251. local Object = Instance.new(Object)
  1252. for Index, Value in pairs(Data or {}) do
  1253. Object[Index] = Value
  1254. end
  1255. Object.Parent = Parent
  1256. Object.Name = Name
  1257. return Object
  1258. end
  1259.  
  1260. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  1261. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  1262. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  1263. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  1264.  
  1265. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
  1266. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1267. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1268. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1269. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1270. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1271. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1272. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1273. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1274. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1275. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1276. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1277. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1278. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1279. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
  1280. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1281.  
  1282. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
  1283. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  1284. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1285. PRT.Color = C3(0,0,0)
  1286. local MSH = IT("BlockMesh",PRT)
  1287. MSH.Scale = VT(0.4,1,1)
  1288. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1289. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1290. PRT.Color = C3(0,0,0)
  1291. local MSH = IT("BlockMesh",PRT)
  1292. MSH.Scale = VT(0.4,1,1)
  1293. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1294. coroutine.resume(coroutine.create(function()
  1295. while true do
  1296. Swait()
  1297. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1298. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1299. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1300. if CLOCKLOOP <= -150 then
  1301. if VALUE1 == false then
  1302. CLOCKLOOP = 0
  1303. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1)})
  1304. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1305. ApplyClock(HITPOS,10,15,45,75,false)
  1306. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.25,0.11,0.25)*SIZE, Size2 = VT(10,1,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1307. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.25,0.11,0.25)*SIZE, Size2 = VT(10,2,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1308. if CLOCKTARGET ~= nil then
  1309. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1310. if CLOCKTARGET.Torso ~= nil then
  1311. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1312. end
  1313. if CLOCKTARGET.Health == 0 then
  1314. CLOCKTARGET = nil
  1315. end
  1316. end
  1317. end
  1318. end
  1319. end
  1320. end))
  1321.  
  1322. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  1323. Character["Body Colors"].TorsoColor = BrickColor.new("White")
  1324. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  1325. Character["Body Colors"].RightArmColor = BrickColor.new("White")
  1326. Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  1327. Character["Body Colors"].RightLegColor = BrickColor.new("White")
  1328.  
  1329. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "White", "Hood", VT(1,1,1),false)
  1330. PRT.Color = C3(0,0,0)
  1331. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1332. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1333. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "White", "Scarf", VT(1,1,1),false)
  1334. PRT.Color = C3(0,0,0)
  1335. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1336. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1337. for i = 1, 16 do
  1338. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  1339. FACE.Color = C3(0,0,0)
  1340. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1341. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1342. end
  1343. local EYE = CreatePart(3, Character, "Neon", 0, 0, "White", "Eyeball", VT(0.15,0.15,0.15),false)
  1344. MakeForm(EYE,"Ball")
  1345. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  1346. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "White", "Eyeball", VT(0.15,0.15,0.15),false)
  1347. MakeForm(EYE2,"Ball")
  1348. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  1349. local LASTPART = Head
  1350. for i = 1, 20 do
  1351. local MATH = (1-(i/25))
  1352. if LASTPART == Head then
  1353. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1354. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1355. LASTPART = Horn
  1356. Horn.Color = C3((i*3-3)/255,0,0)
  1357. else
  1358. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1359. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1360. LASTPART = Horn
  1361. Horn.Color = C3((i*3-3)/255,0,0)
  1362. end
  1363. end
  1364. local LASTPART = Head
  1365. for i = 1, 20 do
  1366. local MATH = (1-(i/25))
  1367. if LASTPART == Head then
  1368. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1369. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1370. LASTPART = Horn
  1371. Horn.Color = C3((i*3-3)/255,0,0)
  1372. else
  1373. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1374. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1375. LASTPART = Horn
  1376. Horn.Color = C3((i*3-3)/255,0,0)
  1377. end
  1378. end
  1379. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  1380. MakeForm(HAT1,"Cyl")
  1381. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1382. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  1383. BELT.Color = C3(15/255,15/255,15/255)
  1384. MakeForm(BELT,"Cyl")
  1385. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1386. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  1387. MakeForm(HAT2,"Cyl")
  1388. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1389. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  1390. BELT.Color = C3(15/255,15/255,15/255)
  1391. MakeForm(BELT,"Cyl")
  1392. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1393. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.25,0.25,0.1),false)
  1394. MakeForm(GEM,"Ball")
  1395. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1396. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.25,0.25,0.1),false)
  1397. MakeForm(GEM,"Ball")
  1398. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1399. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.1,0.25,0.25),false)
  1400. MakeForm(GEM,"Ball")
  1401. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1402. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.1,0.25,0.25),false)
  1403. MakeForm(GEM,"Ball")
  1404. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1405. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1406. BELT.Color = C3(15/255,15/255,15/255)
  1407. MakeForm(BELT,"Cyl")
  1408. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1409. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1410. BELT.Color = C3(15/255,15/255,15/255)
  1411. MakeForm(BELT,"Cyl")
  1412. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1413. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1414. BELT.Color = C3(15/255,15/255,15/255)
  1415. MakeForm(BELT,"Cyl")
  1416. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1417. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1418. BELT.Color = C3(15/255,15/255,15/255)
  1419. MakeForm(BELT,"Cyl")
  1420. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1421. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1422. MakeForm(BELT,"Ball")
  1423. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1424. local Particle = IT("ParticleEmitter",nil)
  1425. Particle.Enabled = false
  1426. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1427. Particle.LightEmission = 0.5
  1428. Particle.Rate = 150
  1429. Particle.ZOffset = 0.2
  1430. Particle.Rotation = NumberRange.new(-180, 180)
  1431. Particle.RotSpeed = NumberRange.new(-180, 180)
  1432. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1433. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1434.  
  1435. --ParticleEmitter({Speed = 500, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1436. function ParticleEmitter(Table)
  1437. local PRTCL = Particle:Clone()
  1438. local Speed = Table.Speed or 5
  1439. local Drag = Table.Drag or 0
  1440. local Size1 = Table.Size1 or 1
  1441. local Size2 = Table.Size2 or 5
  1442. local Lifetime1 = Table.Lifetime1 or 1
  1443. local Lifetime2 = Table.Lifetime2 or 1.5
  1444. local Parent = Table.Parent or Torso
  1445. local Emit = Table.Emit or 100
  1446. local Offset = Table.Offset or 360
  1447. local Acel = Table.Acel or VT(0,0,0)
  1448. local Enabled = Table.Enabled or false
  1449. PRTCL.Parent = Parent
  1450. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1451. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1452. PRTCL.Speed = NumberRange.new(Speed)
  1453. PRTCL.VelocitySpread = Offset
  1454. PRTCL.Drag = Drag
  1455. PRTCL.Acceleration = Acel
  1456. if Enabled == false then
  1457. PRTCL:Emit(Emit)
  1458. Debris:AddItem(PRTCL,Lifetime2)
  1459. else
  1460. PRTCL.Enabled = true
  1461. end
  1462. return PRTCL
  1463. end
  1464.  
  1465. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1466. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1467. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1468. MakeForm(Part,"Wedge")
  1469. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1470. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1471. MakeForm(Part,"Wedge")
  1472. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1473. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1474. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1475. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1476. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1477. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1478. MakeForm(Part,"Cyl")
  1479. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1480. for i = 1, 8 do
  1481. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1482. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1483. end
  1484. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1485. MakeForm(Part,"Cyl")
  1486. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1487. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1488. MakeForm(Part,"Ball")
  1489. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1490. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1491. MakeForm(Part,"Wedge")
  1492. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1493. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1494. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1495. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1496. MakeForm(Part,"Cyl")
  1497. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1498. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1499. MakeForm(Part,"Cyl")
  1500. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1501. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1502. MakeForm(Part,"Cyl")
  1503. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1504. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1505. MakeForm(Part,"Wedge")
  1506. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1507. local LASTPART = Handle
  1508. for i = 1, 10 do
  1509. if LASTPART == Handle then
  1510. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1511. LASTPART = Part
  1512. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1513. else
  1514. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1515. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1516. LASTPART = Part
  1517. end
  1518. end
  1519.  
  1520. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1521. MakeForm(Barrel,"Cyl")
  1522. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1523. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1524. MakeForm(Part,"Cyl")
  1525. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1526. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1527. MakeForm(Part,"Wedge")
  1528. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1529. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1530. MakeForm(Hole,"Cyl")
  1531. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1532. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1533. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1534. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1535. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1536. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1537. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1538. coroutine.resume(coroutine.create(function()
  1539. while wait() do
  1540. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1541. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1542. end
  1543. end))
  1544.  
  1545. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1546. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1547. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1548. MakeForm(Part,"Wedge")
  1549. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1550. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1551. MakeForm(Part,"Wedge")
  1552. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1553. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1554. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1555. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1556. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1557. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1558. MakeForm(Part,"Cyl")
  1559. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1560. for i = 1, 8 do
  1561. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1562. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1563. end
  1564. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1565. MakeForm(Part,"Cyl")
  1566. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1567. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1568. MakeForm(Part,"Ball")
  1569. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1570. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1571. MakeForm(Part,"Wedge")
  1572. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1573. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1574. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1575. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1576. MakeForm(Part,"Cyl")
  1577. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1578. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1579. MakeForm(Part,"Cyl")
  1580. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1581. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1582. MakeForm(Part,"Cyl")
  1583. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1584. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1585. MakeForm(Part,"Wedge")
  1586. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1587. local LASTPART = Handle
  1588. for i = 1, 10 do
  1589. if LASTPART == Handle then
  1590. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1591. LASTPART = Part
  1592. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1593. else
  1594. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1595. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1596. LASTPART = Part
  1597. end
  1598. end
  1599.  
  1600. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1601. MakeForm(Barrel,"Cyl")
  1602. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1603. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1604. MakeForm(Part,"Cyl")
  1605. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1606. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1607. MakeForm(Part,"Wedge")
  1608. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1609. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1610. MakeForm(Hole,"Cyl")
  1611. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1612. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1613. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1614. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1615. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1616. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1617. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1618. coroutine.resume(coroutine.create(function()
  1619. while wait() do
  1620. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1621. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1622. end
  1623. end))
  1624.  
  1625. ParticleEmitter({Speed = 200, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1626. --ParticleEmitter({Speed = 500, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1627.  
  1628. for _, c in pairs(Weapon:GetDescendants()) do
  1629. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1630. c.Material = "Glass"
  1631. c.Color = C3(0,0,0)
  1632. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1633. c.Color = C3(1,0,0)
  1634. c.Material = "Neon"
  1635. end
  1636. end
  1637.  
  1638. Weapon.Parent = Character
  1639. for _, c in pairs(Weapon:GetChildren()) do
  1640. if c.ClassName == "Part" then
  1641. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1642. end
  1643. end
  1644.  
  1645. local SKILLTEXTCOLOR = C3(1,0,0)
  1646. local SKILLFONT = "Antique"
  1647. local SKILLTEXTSIZE = 7
  1648.  
  1649. Humanoid.Died:connect(function()
  1650. ATTACK = true
  1651. end)
  1652.  
  1653. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1654. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1655. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1656. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1657. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1658. ]]
  1659. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 1")
  1660. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 2")
  1661. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 3")
  1662. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 4")
  1663. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 5")
  1664. ]]
  1665. function printbye(Name)
  1666. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1667. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1668. end
  1669.  
  1670. workspace.ChildAdded:connect(function(instance)
  1671. for BANISH = 1, #TOBANISH do
  1672. if TOBANISH[BANISH] ~= nil then
  1673. if instance.Name == TOBANISH[BANISH] then
  1674. coroutine.resume(coroutine.create(function()
  1675. printbye(instance.Name)
  1676. instance:ClearAllChildren()
  1677. Debris:AddItem(instance,0.0005)
  1678. end))
  1679. end
  1680. end
  1681. end
  1682. end)
  1683. --//=================================\\
  1684. --|| DAMAGING
  1685. --\\=================================//
  1686.  
  1687. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1688. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1689. defence.Name = ("HitBy"..Player.Name)
  1690. game:GetService("Debris"):AddItem(defence, 0.001)
  1691. Damage = Damage * DAMAGEMULTIPLIER
  1692. if Humanoid.Health ~= 0 then
  1693. local CritChance = MRANDOM(1,100)
  1694. if Damage > Humanoid.Health then
  1695. Damage = math.ceil(Humanoid.Health)
  1696. if Damage == 0 then
  1697. Damage = 0.1
  1698. end
  1699. end
  1700. Humanoid.Health = Humanoid.Health - Damage*100
  1701. end
  1702. end
  1703.  
  1704.  
  1705. function KillChildren(v)
  1706. v:BreakJoints()
  1707. for _, c in pairs(v:GetChildren()) do
  1708. if c:IsA("BasePart") then
  1709. c.Anchored = true
  1710. end
  1711. end
  1712. for _, c in pairs(v:GetChildren()) do
  1713. if c:IsA("BasePart") then
  1714. if c.Transparency < 1 then
  1715. if c:FindFirstChildOfClass("Decal") then
  1716. c:FindFirstChildOfClass("Decal"):remove()
  1717. end
  1718. particles(c)
  1719. c.PE.Enabled = true
  1720. c.Parent = Effects
  1721. c.CanCollide = false
  1722. c.Material = "Neon"
  1723. c.Color = C3(1,1,1)
  1724. c.Transparency = 1
  1725. local grav = Instance.new("BodyPosition",c)
  1726. grav.P = 20000
  1727. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1728. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1729. grav.Name = "GravityForce"
  1730. coroutine.resume(coroutine.create(function()
  1731. for i = 1, 20 do
  1732. Swait()
  1733. c.Transparency = c.Transparency + 1/20
  1734. end
  1735. c.PE.Enabled = false
  1736. Debris:AddItem(c,2)
  1737. end))
  1738. end
  1739. end
  1740. end
  1741. end
  1742.  
  1743. function killnearest(position, range, maxstrength)
  1744. for i,v in ipairs(workspace:GetChildren()) do
  1745. local body = v:GetChildren()
  1746. for part = 1, #body do
  1747. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1748. if(body[part].Position - position).Magnitude < range then
  1749. if v.ClassName == "Model" then
  1750. --v:BreakJoints()
  1751. end
  1752. local POS = position
  1753. coroutine.resume(coroutine.create(function()
  1754. body[part].Anchored = true
  1755. body[part].Parent = Effects
  1756. body[part].CanCollide = true
  1757. local SIZE = body[part].Size
  1758. body[part].Material = "Glass"
  1759. CreateSound("878000314", body[part], 1, MRANDOM(1, 1) / 1)
  1760. for i = 1, 75 do
  1761. Swait()
  1762.  
  1763. body[part].Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1764. end
  1765. coroutine.resume(coroutine.create(function()
  1766. while true do
  1767. Swait()
  1768.  
  1769. body[part].Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1770. end
  1771. end))
  1772. body[part].Anchored = true
  1773.  
  1774. end))
  1775. end
  1776. end
  1777. end
  1778. if v.ClassName == "Part" then
  1779. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1780. local POS = position
  1781. coroutine.resume(coroutine.create(function()
  1782. v.Anchored = true
  1783. v.Parent = Effects
  1784. v.CanCollide = true
  1785. local SIZE = v.Size
  1786. v.Material = "Glass"
  1787. CreateSound("878000314", v, 2, MRANDOM(1, 1) / 1)
  1788. for i = 1, 75 do
  1789. Swait()
  1790.  
  1791. v.Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1792. end
  1793. coroutine.resume(coroutine.create(function()
  1794. while true do
  1795. Swait()
  1796.  
  1797. v.Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1798. end
  1799. end))
  1800. v.Anchored = true
  1801.  
  1802. end))
  1803. end
  1804. end
  1805. end
  1806. end
  1807.  
  1808. function Kill(Char)
  1809. local NewCharacter = IT("Model",Effects)
  1810. NewCharacter.Name = "Ow im ded ;-;"
  1811. for _, c in pairs(Char:GetDescendants()) do
  1812. if c:IsA("BasePart") and c.Transparency == 0 then
  1813. if c.Parent == Char then
  1814. c:BreakJoints()
  1815. c.Material = "Glass"
  1816. c.Color = C3(1,1,1)
  1817. c.CanCollide = true
  1818. c.Transparency = 0.3
  1819. if c:FindFirstChildOfClass("SpecialMesh") then
  1820. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1821. end
  1822. if c.Name == "Head" then
  1823. c:ClearAllChildren()
  1824. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1825. end
  1826. if c.ClassName == "MeshPart" then
  1827. c.TextureID = ""
  1828. end
  1829. if c:FindFirstChildOfClass("BodyPosition") then
  1830. c:FindFirstChildOfClass("BodyPosition"):remove()
  1831. end
  1832. if c:FindFirstChildOfClass("ParticleEmitter") then
  1833. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1834. end
  1835. c.Parent = NewCharacter
  1836. c.Name = "DeadPart"
  1837. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1838. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1839. end
  1840. end
  1841. Char:remove()
  1842. Debris:AddItem(NewCharacter,5)
  1843. end
  1844. end
  1845.  
  1846. function Death(INSTAKILL,POSITION,RANGE)
  1847. local CHILDREN = workspace:GetDescendants()
  1848. for index, CHILD in pairs(CHILDREN) do
  1849. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1850. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1851. if HUM then
  1852. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1853. if TORSO then
  1854. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1855. if INSTAKILL == true then
  1856. CHILD:BreakJoints()
  1857. for _, c in pairs(CHILD:GetChildren()) do
  1858. if c:IsA("BasePart") then
  1859. c.Anchored = true
  1860. CHILD:BreakJoints()
  1861. local FIRES = {}
  1862. for _, e in pairs(CHILD:GetDescendants()) do
  1863. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  1864. e.Transparency = 1
  1865. e:ClearAllChildren()
  1866. local FIRE = script.HellFire:Clone()
  1867. FIRE.Parent = e
  1868. FIRE.Enabled = true
  1869. table.insert(FIRES,FIRE)
  1870. elseif e.ClassName == "Decal" then
  1871. e:remove()
  1872. end
  1873. end
  1874. for i = 1, 50 do
  1875. CHILD:BreakJoints()
  1876. wait()
  1877. end
  1878. for i = 1, #FIRES do
  1879. FIRES[i].Enabled = false
  1880. end
  1881. wait(1.1)
  1882. CHILD:remove()
  1883. end
  1884. end
  1885. end
  1886. end
  1887. end
  1888.  
  1889. end
  1890. end
  1891. end
  1892. end
  1893.  
  1894.  
  1895. function Banish(Foe)
  1896. if Foe then
  1897. coroutine.resume(coroutine.create(function()
  1898. --if game.Players:FindFirstChild(Foe.Name) then
  1899. table.insert(TOBANISH,Foe.Name)
  1900. printbye(Foe.Name)
  1901. --end
  1902. Foe.Archivable = true
  1903. local CLONE = Foe:Clone()
  1904. Foe:Destroy()
  1905. CLONE.Parent = Effects
  1906. CLONE:BreakJoints()
  1907. local MATERIALS = {"Glass","Neon"}
  1908. for _, c in pairs(CLONE:GetDescendants()) do
  1909. if c:IsA("BasePart") then
  1910. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1911. CreateSound(340722848, c, 10, 1, false)
  1912. end
  1913. c.Anchored = true
  1914. c.Transparency = c.Transparency + 0.2
  1915. c.Material = MATERIALS[MRANDOM(1,2)]
  1916. c.Color = C3(1,1,1)
  1917. if c.ClassName == "MeshPart" then
  1918. c.TextureID = ""
  1919. end
  1920. if c:FindFirstChildOfClass("SpecialMesh") then
  1921. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1922. end
  1923. if c:FindFirstChildOfClass("Decal") then
  1924. c:FindFirstChildOfClass("Decal"):remove()
  1925. end
  1926. c.Name = "Banished"
  1927. c.CanCollide = false
  1928. else
  1929. c:remove()
  1930. end
  1931. end
  1932. local A = false
  1933. for i = 1, 35 do
  1934. if A == false then
  1935. A = true
  1936. elseif A == true then
  1937. A = false
  1938. end
  1939. for _, c in pairs(CLONE:GetDescendants()) do
  1940. if c:IsA("BasePart") then
  1941. c.Anchored = true
  1942. c.Material = MATERIALS[MRANDOM(1,2)]
  1943. c.Transparency = c.Transparency + 0.8/35
  1944. if A == false then
  1945. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1946. elseif A == true then
  1947. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1948. end
  1949. end
  1950. end
  1951. Swait()
  1952. end
  1953. CLONE:remove()
  1954. end))
  1955. end
  1956. end
  1957.  
  1958. function ApplyClock(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1959. local CHILDREN = workspace:GetDescendants()
  1960. for index, CHILD in pairs(CHILDREN) do
  1961. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1962. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1963. if HUM then
  1964. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1965. if TORSO then
  1966. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1967. if INSTAKILL == true then
  1968. CHILD:BreakJoints()
  1969. else
  1970. local DMG = MRANDOM(MINDMG,MAXDMG)
  1971. ApplyDamage(HUM,DMG,TORSO)
  1972. end
  1973. if FLING > 0 then
  1974. for _, c in pairs(CHILD:GetChildren()) do
  1975. if c:IsA("BasePart") then
  1976. local bv = Instance.new("BodyVelocity")
  1977. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1978. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1979. bv.Parent = c
  1980. Debris:AddItem(bv,0.05)
  1981. end
  1982. end
  1983. end
  1984. end
  1985. end
  1986. end
  1987. end
  1988. end
  1989. end
  1990.  
  1991. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1992. local CHILDREN = workspace:GetDescendants()
  1993. for index, CHILD in pairs(CHILDREN) do
  1994. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1995. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1996. if HUM then
  1997. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1998. if TORSO then
  1999. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2000. if BRUTAL == true then
  2001. Kill(CHILD)
  2002. else
  2003. CHILD:BreakJoints()
  2004. end
  2005. end
  2006. end
  2007. end
  2008. end
  2009. end
  2010. end
  2011.  
  2012. function Shatter(Part)
  2013. if Part.Transparency == 0 then
  2014. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  2015. Debris:AddItem(SOUNDPART,5)
  2016. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  2017. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  2018. local SIZESET = SIZE/4
  2019. local XOffset = Part.Size.X*1.5/SIZESET
  2020. local YOffset = Part.Size.Y*1.5/SIZESET
  2021. local ZOffset = Part.Size.Z*1.5/SIZESET
  2022. for x = 1, math.ceil(XOffset) do
  2023. for y = 1, math.ceil(YOffset) do
  2024. for z = 1, math.ceil(ZOffset) do
  2025. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  2026. SHARD.CanCollide = true
  2027. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  2028. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  2029. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  2030. end
  2031. end
  2032. end
  2033. end
  2034. Part:remove()
  2035. end
  2036.  
  2037. function ApplyKill(POSITION,RANGE,BRUTAL)
  2038. local CHILDREN = workspace:GetDescendants()
  2039. for index, CHILD in pairs(CHILDREN) do
  2040. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2041. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2042. if HUM then
  2043. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2044. if TORSO then
  2045. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2046. if BRUTAL == true then
  2047. Banish(CHILD)
  2048. else
  2049. CHILD:BreakJoints()
  2050. end
  2051. end
  2052. end
  2053. end
  2054. end
  2055. end
  2056. end
  2057.  
  2058. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2059. local CHILDREN = workspace:GetDescendants()
  2060. for index, CHILD in pairs(CHILDREN) do
  2061. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2062. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2063. if HUM then
  2064. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2065. if TORSO then
  2066. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2067. if ISBANISH == true then
  2068. Banish(CHILD)
  2069. else
  2070. if ISBANISH == "Gravity" then
  2071. HUM.PlatformStand = true
  2072. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2073. local grav = Instance.new("BodyPosition",TORSO)
  2074. grav.D = 15
  2075. grav.P = 20000
  2076. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2077. grav.position = TORSO.Position
  2078. grav.Name = "V3BanishForce"..Player.Name
  2079. else
  2080. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2081. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2082. end
  2083. else
  2084. HUM.PlatformStand = false
  2085. end
  2086. end
  2087. elseif ISBANISH == "Gravity" then
  2088. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2089. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2090. HUM.PlatformStand = false
  2091. end
  2092. end
  2093. end
  2094. end
  2095. end
  2096. end
  2097. end
  2098.  
  2099. function killnearest(position,range,EFFECT,v)
  2100. for i,v in ipairs(workspace:GetChildren()) do
  2101. local body = v:GetChildren()
  2102. for part = 1, #body do
  2103. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2104. local SIZE = body[part].Size.Magnitude
  2105. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  2106. if v.ClassName == "Model" then
  2107. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  2108. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2109. v:BreakJoints()
  2110. for _, c in pairs(v:GetChildren()) do
  2111. if c:IsA("BasePart") then
  2112. c.Anchored = true
  2113. end
  2114. end
  2115. if EFFECT == "Glitch" then
  2116. coroutine.resume(coroutine.create(function()
  2117. local ORIGINPOS = body[part].CFrame
  2118. local SIZE = body[part].Size
  2119. for i = 1, 100 do
  2120. Swait()
  2121. local PART = body[part]
  2122. PART.Anchored = true
  2123. PART.Size = SIZE*MRANDOM(5,15)/10
  2124. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  2125. end
  2126. body[part]:remove()
  2127. end))
  2128. elseif EFFECT == "Shatter" then
  2129. for _, c in pairs(v:GetChildren()) do
  2130. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2131. Shatter(c)
  2132. end
  2133. end
  2134. end
  2135. end
  2136. end
  2137. end
  2138. end
  2139. end
  2140. end
  2141. end
  2142. end
  2143. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  2144. local svch = Character2
  2145. Character2:BreakJoints()
  2146. local hum = Character2:findFirstChild("Humanoid")
  2147. local q = Character2:GetChildren()
  2148. local CLONE = IT("Model", Effects)
  2149. for i = 1, #q do
  2150. if q[i].ClassName == "Accessory" and Headless == true then
  2151. q[i]:remove()
  2152. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  2153. q[i].Parent = CLONE
  2154. elseif q[i].ClassName ~= "Humanoid" then
  2155. q[i]:remove()
  2156. end
  2157. end
  2158. local chrclone = CLONE
  2159. local ch = chrclone:GetChildren()
  2160. local i
  2161. for i = 1, #ch do
  2162. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2163. ch[i]:remove()
  2164. end
  2165. end
  2166. local function Scan(ch)
  2167. local e
  2168. for e = 1, #ch do
  2169. Scan(ch[e]:GetChildren())
  2170. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2171. ch[e]:remove()
  2172. end
  2173. end
  2174. end
  2175. Character2:remove()
  2176. local NEWHUM = IT("Humanoid")
  2177. NEWHUM.Name = "Corpse"
  2178. NEWHUM.Health = 0
  2179. NEWHUM.MaxHealth = 0
  2180. NEWHUM.PlatformStand = true
  2181. NEWHUM.Parent = CLONE
  2182. NEWHUM.DisplayDistanceType = "None"
  2183. Scan(chrclone:GetChildren())
  2184. local ch = Character2:GetChildren()
  2185. local i
  2186. for i = 1, #ch do
  2187. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2188. ch[i]:remove()
  2189. end
  2190. end
  2191. local ch = Character2:GetChildren()
  2192. local i
  2193. for i = 1, #ch do
  2194. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2195. ch[i]:remove()
  2196. end
  2197. end
  2198. Character2 = chrclone
  2199. local Torso2 = Character2.Torso
  2200. local movevector = Vector3.new()
  2201. if Torso2 then
  2202. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  2203. local Head = Character2:FindFirstChild("Head")
  2204. if Head then
  2205. local Neck = Instance.new("Weld")
  2206. Neck.Name = "Neck"
  2207. Neck.Part0 = Torso2
  2208. Neck.Part1 = Head
  2209. Neck.C0 = CFrame.new(0, 1.5, 0)
  2210. Neck.C1 = CFrame.new()
  2211. Neck.Parent = Torso2
  2212. if Headless == true then
  2213. Head.Transparency = 1
  2214. Head:ClearAllChildren()
  2215. end
  2216. end
  2217. local Limb = Character2:FindFirstChild("Right Arm")
  2218. if Limb then
  2219. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2220. local Joint = Instance.new("Glue")
  2221. Joint.Name = "RightShoulder"
  2222. Joint.Part0 = Torso2
  2223. Joint.Part1 = Limb
  2224. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2225. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2226. Joint.Parent = Torso2
  2227. local B = Instance.new("Part")
  2228. B.TopSurface = 0
  2229. B.BottomSurface = 0
  2230. B.formFactor = "Symmetric"
  2231. B.Size = Vector3.new(1, 1, 1)
  2232. B.Transparency = 1
  2233. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2234. B.Parent = Character2
  2235. local W = Instance.new("Weld")
  2236. W.Part0 = Limb
  2237. W.Part1 = B
  2238. W.C0 = CFrame.new(0, -0.5, 0)
  2239. W.Parent = Limb
  2240. end
  2241. local Limb = Character2:FindFirstChild("Left Arm")
  2242. if Limb then
  2243. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2244. local Joint = Instance.new("Glue")
  2245. Joint.Name = "LeftShoulder"
  2246. Joint.Part0 = Torso2
  2247. Joint.Part1 = Limb
  2248. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2249. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2250. Joint.Parent = Torso2
  2251. local B = Instance.new("Part")
  2252. B.TopSurface = 0
  2253. B.BottomSurface = 0
  2254. B.formFactor = "Symmetric"
  2255. B.Size = Vector3.new(1, 1, 1)
  2256. B.Transparency = 1
  2257. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2258. B.Parent = Character2
  2259. local W = Instance.new("Weld")
  2260. W.Part0 = Limb
  2261. W.Part1 = B
  2262. W.C0 = CFrame.new(0, -0.5, 0)
  2263. W.Parent = Limb
  2264. end
  2265. local Limb = Character2:FindFirstChild("Right Leg")
  2266. if Limb then
  2267. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2268. local Joint = Instance.new("Glue")
  2269. Joint.Name = "RightHip"
  2270. Joint.Part0 = Torso2
  2271. Joint.Part1 = Limb
  2272. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2273. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2274. Joint.Parent = Torso2
  2275. local B = Instance.new("Part")
  2276. B.TopSurface = 0
  2277. B.BottomSurface = 0
  2278. B.formFactor = "Symmetric"
  2279. B.Size = Vector3.new(1, 1, 1)
  2280. B.Transparency = 1
  2281. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2282. B.Parent = Character2
  2283. local W = Instance.new("Weld")
  2284. W.Part0 = Limb
  2285. W.Part1 = B
  2286. W.C0 = CFrame.new(0, -0.5, 0)
  2287. W.Parent = Limb
  2288. end
  2289. local Limb = Character2:FindFirstChild("Left Leg")
  2290. if Limb then
  2291. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2292. local Joint = Instance.new("Glue")
  2293. Joint.Name = "LeftHip"
  2294. Joint.Part0 = Torso2
  2295. Joint.Part1 = Limb
  2296. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2297. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2298. Joint.Parent = Torso2
  2299. local B = Instance.new("Part")
  2300. B.TopSurface = 0
  2301. B.BottomSurface = 0
  2302. B.formFactor = "Symmetric"
  2303. B.Size = Vector3.new(1, 1, 1)
  2304. B.Transparency = 1
  2305. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2306. B.Parent = Character2
  2307. local W = Instance.new("Weld")
  2308. W.Part0 = Limb
  2309. W.Part1 = B
  2310. W.C0 = CFrame.new(0, -0.5, 0)
  2311. W.Parent = Limb
  2312. end
  2313. local Bar = Instance.new("Part")
  2314. Bar.TopSurface = 0
  2315. Bar.BottomSurface = 0
  2316. Bar.formFactor = "Symmetric"
  2317. Bar.Size = Vector3.new(1, 1, 1)
  2318. Bar.Transparency = 1
  2319. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2320. Bar.Parent = Character2
  2321. local Weld = Instance.new("Weld")
  2322. Weld.Part0 = Torso2
  2323. Weld.Part1 = Bar
  2324. Weld.C0 = CFrame.new(0, 0.5, 0)
  2325. Weld.Parent = Torso2
  2326. end
  2327. Character2.Parent = Weapon
  2328. if movevector ~= Vector3.new() then
  2329. for i = 1, 10 do
  2330. Torso2.Velocity = movevector * Velocity
  2331. end
  2332. end
  2333. Character2.Name = "Corpse"
  2334. return Character2, Torso2
  2335. end
  2336. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  2337. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  2338. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  2339. if HITFLOOR.Name == "BloodPuddle" then
  2340. local DIST = (Position - HITFLOOR.Position).Magnitude
  2341. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  2342. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  2343. end
  2344. elseif HITFLOOR.Anchored == true then
  2345. do
  2346. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
  2347. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  2348. MakeForm(BLOOD, "Cyl")
  2349. coroutine.resume(coroutine.create(function()
  2350. Swait(75)
  2351. while true do
  2352. Swait()
  2353. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  2354. if BLOOD.Size.Z < 0.051 then
  2355. BLOOD:remove()
  2356. break
  2357. end
  2358. end
  2359. end))
  2360. end
  2361. end
  2362. end
  2363. end
  2364. function SprayBlood(POSITION, DIRECTION, BloodSize)
  2365. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
  2366. BLOOD.CFrame = CF(POSITION)
  2367. MakeForm(BLOOD, "Ball")
  2368. local bv = Instance.new("BodyVelocity", BLOOD)
  2369. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2370. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  2371. bv.Name = "MOVE"
  2372. Debris:AddItem(bv, 0.05)
  2373. coroutine.resume(coroutine.create(function()
  2374. local HASTOUCHEDGROUND = false
  2375. local HIT = BLOOD.Touched:Connect(function(hit)
  2376. if hit.Anchored == true then
  2377. HASTOUCHEDGROUND = true
  2378. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  2379. end
  2380. end)
  2381. wait(5)
  2382. if HASTOUCHEDGROUND == false then
  2383. BLOOD:remove()
  2384. end
  2385. end))
  2386. end
  2387. function ApplyDamage(Humanoid, Damage, TorsoPart)
  2388. local defence = Instance.new("BoolValue", Humanoid.Parent)
  2389. defence.Name = "HitBy" .. Player.Name
  2390. game:GetService("Debris"):AddItem(defence, 0.001)
  2391. Damage = Damage * DAMAGEMULTIPLIER
  2392. if Humanoid.Health ~= 0 then
  2393. local CritChance = MRANDOM(1, 100)
  2394. if Damage > Humanoid.Health then
  2395. Damage = math.ceil(Humanoid.Health)
  2396. if Damage == 0 then
  2397. Damage = 0.1
  2398. end
  2399. end
  2400. Humanoid.Health = Humanoid.Health - Damage
  2401. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2402. end
  2403. end
  2404. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  2405. local CHILDREN = workspace:GetDescendants()
  2406. for index, CHILD in pairs(CHILDREN) do
  2407. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2408. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2409. if HUM then
  2410. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2411. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2412. if INSTAKILL == true then
  2413. Petrify(CHILD)
  2414. else
  2415. local DMG = MRANDOM(MINDMG, MAXDMG)
  2416. ApplyDamage(HUM, DMG, TORSO)
  2417. end
  2418. if FLING > 0 then
  2419. for _, c in pairs(CHILD:GetChildren()) do
  2420. if c:IsA("BasePart") then
  2421. local bv = Instance.new("BodyVelocity")
  2422. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2423. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  2424. bv.Parent = c
  2425. Debris:AddItem(bv, 0.05)
  2426. end
  2427. end
  2428. end
  2429. end
  2430. end
  2431. end
  2432. end
  2433. end
  2434. function Petrify(Foe)
  2435. local STONEMODEL = IT("Model", Effects)
  2436. local CHILDREN = Foe:GetDescendants()
  2437. for index, CHILD in pairs(CHILDREN) do
  2438. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  2439. CHILD.Parent = STONEMODEL
  2440. CHILD.Material = "Slate"
  2441. CHILD.Color = C3(0.5, 0.5, 0.5)
  2442. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  2443. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  2444. mesh.TextureId = ""
  2445. end
  2446. if CHILD:FindFirstChildOfClass("Decal") then
  2447. local mesh = CHILD:FindFirstChildOfClass("Decal")
  2448. mesh:remove()
  2449. end
  2450. if CHILD.ClassName == "MeshPart" then
  2451. CHILD.TextureID = ""
  2452. end
  2453. if CHILD.ClassName == "UnionOperation" then
  2454. CHILD.UsePartColor = true
  2455. end
  2456. CHILD.CanCollide = true
  2457. end
  2458. end
  2459. Debris:AddItem(STONEMODEL, 5)
  2460. end
  2461. --//=================================\\
  2462. --|| ATTACK FUNCTIONS AND STUFF
  2463. --\\=================================//
  2464.  
  2465. Circle = nil
  2466. CircleParts = {}
  2467. Equipped = false
  2468.  
  2469. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  2470. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  2471. end
  2472. Equipped = true
  2473. Circle = Instance.new("Model")
  2474. Circle.Name = "Circle"
  2475. Angle = 0
  2476. for i = 1, 1 do
  2477. local CirclePart = Instance.new("Part")
  2478. CirclePart.Name = "CirclePart"
  2479. CirclePart.Transparency = 1
  2480. CirclePart.BrickColor = BrickColor.new("Really black")
  2481. CirclePart.Material = Enum.Material.Plastic
  2482. CirclePart.Shape = Enum.PartType.Block
  2483. CirclePart.FormFactor = Enum.FormFactor.Custom
  2484. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  2485. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  2486. CirclePart.Anchored = true
  2487. CirclePart.CanCollide = false
  2488. CirclePart.Locked = true
  2489. CirclePart.Size = Vector3.new(10, 0.2, 10)
  2490. local Aura = Instance.new('ParticleEmitter')
  2491. Aura.Name = "Aura"
  2492. Aura.Texture = "rbxassetid://268043891"
  2493. Aura.Parent = CirclePart
  2494. Aura.LightEmission = 0
  2495. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  2496. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
  2497. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  2498. Aura.LockedToPart = false
  2499. Aura.Lifetime = NumberRange.new(1)
  2500. Aura.Rate = 50
  2501. Aura.Speed = NumberRange.new(2.5)
  2502. Aura.SpreadAngle = Vector2.new(80,80)
  2503. local BlockMesh = Instance.new("BlockMesh")
  2504. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  2505. BlockMesh.Parent = CirclePart
  2506. CirclePart.Parent = Circle
  2507. local Star = Instance.new("Decal", CirclePart)
  2508. Star.Texture = "http://www.roblox.com/asset/?id=160508788"
  2509. Star.Face = "Top"
  2510. local Light = Instance.new("PointLight", CirclePart)
  2511. Light.Color = Color3.new(.20,0,0)
  2512. Light.Brightness = 100
  2513. Light.Range = 15
  2514. table.insert(CircleParts, CirclePart)
  2515. end
  2516. Spawn(function()
  2517. while Equipped and Humanoid.Parent and Torso.Parent do
  2518. if Angle == 360 then
  2519. Angle = 0
  2520. end
  2521. Angle = Angle + 0.05
  2522. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  2523. if Hit then
  2524. if not Circle.Parent then
  2525. Circle.Parent = Character
  2526. end
  2527. for i, v in pairs(CircleParts) do
  2528. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  2529. end
  2530. else
  2531. Circle.Parent = nil
  2532. end
  2533. wait()
  2534. end
  2535. end)
  2536.  
  2537. function Shot()
  2538. ATTACK = true
  2539. Rooted = false
  2540. for i=0, 0.4, 0.1 / Animation_Speed do
  2541. Swait()
  2542. turnto(Mouse.Hit.p)
  2543. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2544. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2547. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2548. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2549. end
  2550. repeat
  2551. for i=0, 0.2, 0.1 / Animation_Speed do
  2552. Swait()
  2553. turnto(Mouse.Hit.p)
  2554. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2558. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2560. end
  2561. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2562. SpawnTrail(Hole.Position,POS)
  2563. if HIT ~= nil then
  2564. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2565. BAN (HIT.Parent)
  2566. end
  2567. end
  2568. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,5), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2569. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2570. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * 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 = MRANDOM(8,11)/10, SoundVolume = 8})
  2571. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,503), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * 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 = MRANDOM(8,11)/10, SoundVolume = 8})
  2572. for i=0, 0.3, 0.1 / Animation_Speed do
  2573. Swait()
  2574. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2575. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2578. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2579. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2580. end
  2581. until KEYHOLD == false
  2582. ATTACK = false
  2583. Rooted = false
  2584. end
  2585.  
  2586. function BAN(CHARACTER)
  2587. local BANFOLDER = IT("Folder",Effects)
  2588. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  2589. naeeym2.AlwaysOnTop = false
  2590. naeeym2.Size = UDim2.new(5,35,2,35)
  2591. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2592. naeeym2.Name = "AAAA"
  2593. local tecks2 = Instance.new("TextLabel",naeeym2)
  2594. tecks2.BackgroundTransparency = 1
  2595. tecks2.TextScaled = true
  2596. tecks2.BorderSizePixel = 0
  2597. tecks2.Text = "Get rekt"
  2598. tecks2.Font = "Cartoon"
  2599. tecks2.TextSize = 30
  2600. tecks2.TextStrokeTransparency = 1
  2601. tecks2.TextColor3 = Color3.new(242, 243, 243)
  2602. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2603. tecks2.Size = UDim2.new(1,0,0.5,0)
  2604. tecks2.Parent = naeeym2
  2605. for i,v in ipairs(CHARACTER:GetChildren()) do
  2606. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2607. if v.Name ~= "HumanoidRootPart" then
  2608. local BOD = v:Clone()
  2609. BOD.CanCollide = false
  2610. BOD.Anchored = true
  2611. BOD.CFrame = v.CFrame
  2612. BOD.Parent = BANFOLDER
  2613. BOD.Material = "Neon"
  2614. BOD.Color = C3(242, 243, 243)
  2615. if BOD:FindFirstChildOfClass("Decal") then
  2616. BOD:FindFirstChildOfClass("Decal"):remove()
  2617. end
  2618. if BOD.Name == "Head" then
  2619. naeeym2.Adornee = BOD
  2620. end
  2621. if BOD.ClassName == "MeshPart" then
  2622. BOD.TextureID = ""
  2623. end
  2624. end
  2625. end
  2626. end
  2627. CHARACTER:remove()
  2628. coroutine.resume(coroutine.create(function()
  2629. for i = 1, 50 do
  2630. Swait()
  2631. for i,v in ipairs(BANFOLDER:GetChildren()) do
  2632. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2633. v.Transparency = 1
  2634. end
  2635. naeeym2.Enabled = false
  2636. end
  2637. Swait()
  2638. for i,v in ipairs(BANFOLDER:GetChildren()) do
  2639. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2640. v.Transparency = 0
  2641. end
  2642. naeeym2.Enabled = true
  2643. end
  2644. end
  2645. BANFOLDER:remove()
  2646. end))
  2647. end
  2648.  
  2649. function AttackTemplate()
  2650. ATTACK = true
  2651. Rooted = false
  2652. for i=0, 1, 0.1 / Animation_Speed do
  2653. Swait()
  2654. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2655. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2656. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2657. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2658. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2659. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2660. end
  2661. ATTACK = false
  2662. Rooted = false
  2663. end
  2664.  
  2665. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2666. if FLOOR ~= nil then
  2667. coroutine.resume(coroutine.create(function()
  2668. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2669. PART.CFrame = CF(POSITION)
  2670. for i = 1, 45 do
  2671. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2672. RingPiece.Material = FLOOR.Material
  2673. RingPiece.Color = FLOOR.Color
  2674. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2675. Debris:AddItem(RingPiece,SWAIT/100)
  2676. end
  2677. PART:remove()
  2678. end))
  2679. end
  2680. end
  2681.  
  2682. function SpawnSmite(POS)
  2683. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2684. local EMITPOS = HITPOS
  2685. if HITFLOOR ~= nil then
  2686. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2687. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2688. EMITPOS = HITPOS
  2689. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2690. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2691. EMITPOS = HITPOS
  2692. end
  2693. end
  2694. if HITFLOOR ~= nil then
  2695. ApplyAoE(EMITPOS,10)
  2696. 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 = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2697. 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 = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2698. 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 = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2699. for i = 1, 5 do
  2700. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2701. 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 = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2702. end
  2703. end
  2704. end
  2705.  
  2706. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2707. coroutine.resume(coroutine.create(function()
  2708. local METEOR = IT("Model",Effects)
  2709. METEOR.Name = "Meteorite"
  2710. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2711. METEOR.PrimaryPart = CENTER
  2712. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2713. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2714. for i = 1, 15 do
  2715. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  2716. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2717. end
  2718. if ISDEBREE ~= true then
  2719. ,TYPE)
  2720. if TYPE == "Cyl" then
  2721. local MSH = IT("CylinderMesh",PART)
  2722. elseif TYPE == "Ball" then
  2723. local MSH = IT("SpecialMesh",PART)
  2724. MSH.MeshType = "Sphere"
  2725. elseif TYPE == "Wedge" then
  2726. local MSH = IT("SpecialMesh",PART)
  2727. MSH.MeshType = "Wedge"
  2728. end
  2729. end
  2730.  
  2731. Debris = game:GetService("Debris")
  2732.  
  2733. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2734. local DIRECTION = CF(StartPos,EndPos).lookVector
  2735. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2736. end
  2737.  
  2738. function turnto(position)
  2739. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2740. end
  2741. function TimesUp()
  2742. CLOCKTARGET = nil
  2743. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2744. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2745. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2746. if TORSO then
  2747. ATTACK = true
  2748. Rooted = false
  2749. coroutine.resume(coroutine.create(function()
  2750. repeat
  2751. Swait()
  2752. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2753. 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)
  2754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2755. 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)
  2756. 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)
  2757. 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)
  2758. until ATTACK == false
  2759. end))
  2760. if Effects:FindFirstChild("NeonDoll") then
  2761. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  2762. end
  2763. wait(0.5)
  2764. local FAKECHARACTER = IT("Model",Effects)
  2765. FAKECHARACTER.Name = "NeonDoll"
  2766. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
  2767. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  2768. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  2769. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  2770. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  2771. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  2772. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  2773. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  2774. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  2775. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  2776. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
  2777. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2778. CreateSound(201858045, TORS, 5, 0.4, false)
  2779. for i = 1, 50 do
  2780. Swait()
  2781. CLOCKSPEED = 2.5
  2782. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2783. if c.ClassName == "Part" then
  2784. c.Transparency = c.Transparency - 0.5/150
  2785. end
  2786. end
  2787. end
  2788. CLOCKTARGET = HUM
  2789. coroutine.resume(coroutine.create(function()
  2790. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  2791. for i = 1, 25 do
  2792. Swait()
  2793. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2794. if c.ClassName == "Part" then
  2795. c.Transparency = c.Transparency + 0.5/25
  2796. end
  2797. end
  2798. end
  2799. CLOCKSPEED = 400
  2800. FAKECHARACTER:remove()
  2801. end))
  2802. wait(0.5)
  2803. ATTACK = false
  2804. Rooted = false
  2805. end
  2806. end
  2807. end
  2808.  
  2809. function ChainPunch()
  2810. ATTACK = true
  2811. Rooted = false
  2812. local GYRO = IT("BodyGyro",RootPart)
  2813. GYRO.D = 25
  2814. GYRO.P = 2000
  2815. GYRO.MaxTorque = VT(0,40000,0)
  2816. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2817. repeat
  2818. Swait()
  2819. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2823. 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)
  2824. 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)
  2825. 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)
  2826. until HOLD == true
  2827. local POS = Mouse.Hit.p
  2828. local CHAINS = false
  2829. local CHAINLINKS = {}
  2830. local A = IT("Attachment",RightArm)
  2831. A.Position = VT(1,-1,0)*SIZE
  2832. A.Orientation = VT(-90, -89.982, 0)
  2833. local B = IT("Attachment",RightArm)
  2834. B.Position = VT(-1,-1,0)*SIZE
  2835. B.Orientation = VT(-90, 89.988, 0)
  2836. local C = IT("Attachment",RightArm)
  2837. C.Position = VT(0.5,-1.3,0)*SIZE
  2838. C.Orientation = VT(-90, -89.982, 0)
  2839. local D = IT("Attachment",RightArm)
  2840. D.Position = VT(-0.5,-1.3,0)*SIZE
  2841. D.Orientation = VT(-90, 89.988, 0)
  2842. local LIGHT = IT("Attachment",RightArm)
  2843. LIGHT.Position = VT(0,-1,0)*SIZE
  2844. local LIGHT2 = IT("PointLight",LIGHT)
  2845. LIGHT2.Range = 7
  2846. LIGHT2.Brightness = 5
  2847. LIGHT2.Color = SKILLTEXTCOLOR
  2848. chatfunc("Falcon...")
  2849. for i = 1, 2 do
  2850. local TWIST = -2
  2851. local START = A
  2852. local END = B
  2853. if i == 1 then
  2854. START = B
  2855. END = A
  2856. end
  2857. local ChainLink = IT("Beam",Torso)
  2858. ChainLink.Texture = "rbxassetid://73042633"
  2859. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2860. ChainLink.TextureSpeed = 1
  2861. ChainLink.Width0 = 1
  2862. ChainLink.Width1 = 1
  2863. ChainLink.TextureLength = 2.5
  2864. ChainLink.Attachment0 = START
  2865. ChainLink.Attachment1 = END
  2866. ChainLink.CurveSize0 = TWIST
  2867. ChainLink.CurveSize1 = TWIST
  2868. --ChainLink.FaceCamera = true
  2869. ChainLink.Segments = 45
  2870. ChainLink.Transparency = NumberSequence.new(1)
  2871. table.insert(CHAINLINKS,ChainLink)
  2872. end
  2873. for i = 1, 2 do
  2874. local TWIST = -1
  2875. local START = C
  2876. local END = D
  2877. if i == 1 then
  2878. START = D
  2879. END = C
  2880. end
  2881. local ChainLink = IT("Beam",Torso)
  2882. ChainLink.Texture = "rbxassetid://73042633"
  2883. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2884. ChainLink.TextureSpeed = 1
  2885. ChainLink.Width0 = 1
  2886. ChainLink.Width1 = 1
  2887. ChainLink.TextureLength = 5
  2888. ChainLink.Attachment0 = START
  2889. ChainLink.Attachment1 = END
  2890. ChainLink.CurveSize0 = TWIST
  2891. ChainLink.CurveSize1 = TWIST
  2892. --ChainLink.FaceCamera = true
  2893. ChainLink.Segments = 25
  2894. ChainLink.LightEmission = 0.5
  2895. ChainLink.Transparency = NumberSequence.new(1)
  2896. table.insert(CHAINLINKS,ChainLink)
  2897. end
  2898. coroutine.resume(coroutine.create(function()
  2899. repeat
  2900. Swait()
  2901. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2902. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2903. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2904. 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)
  2905. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2906. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2907. until CHAINS == true
  2908. repeat
  2909. Swait()
  2910. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2911. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2912. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2913. 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)
  2914. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2915. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2916. until ATTACK == false
  2917. for e = 1, 15 do
  2918. Swait()
  2919. chatfunc("PUNCH!!!")
  2920. for i = 1, #CHAINLINKS do
  2921. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2922. end
  2923. end
  2924. A:remove()
  2925. B:remove()
  2926. C:remove()
  2927. D:remove()
  2928. end))
  2929. CreateSound(233856115, RightArm, 5, 1.2, false)
  2930. for e = 1, 15 do
  2931. Swait()
  2932. for i = 1, #CHAINLINKS do
  2933. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2934. end
  2935. end
  2936. CHAINS = true
  2937. Rooted = true
  2938. wait(0.25)
  2939. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
  2940. FIST.Color = C3(1, 215/255, 1)
  2941. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2942. local LIGHT3 = IT("PointLight",FIST)
  2943. LIGHT3.Range = 7
  2944. LIGHT3.Brightness = 5
  2945. LIGHT3.Color = SKILLTEXTCOLOR
  2946. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  2947. local FISTA = IT("Attachment",FIST)
  2948. FISTA.Position = VT(0.062, 0.977, 0)
  2949. local ChainLink = IT("Beam",Torso)
  2950. ChainLink.Texture = "rbxassetid://73042633"
  2951. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2952. ChainLink.TextureSpeed = 2
  2953. ChainLink.Width0 = 3
  2954. ChainLink.Width1 = 3
  2955. ChainLink.TextureLength = 12
  2956. ChainLink.Attachment0 = LIGHT
  2957. ChainLink.Attachment1 = FISTA
  2958. ChainLink.FaceCamera = true
  2959. ChainLink.Segments = 45
  2960. ChainLink.LightEmission = 0.5
  2961. ChainLink.Transparency = NumberSequence.new(0.25)
  2962. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2963. for i = 1, 85 do
  2964. Swait()
  2965. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2966. ChainLink.TextureLength = 12+(i*2)
  2967. ApplyAoE(FIST.Position,10,15,25,100,true)
  2968. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2969. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2970. if HITFLOOR ~= nil then
  2971. HITFLOOR:BreakJoints()
  2972. coroutine.resume(coroutine.create(function()
  2973. for i = 1, 15 do
  2974. Swait()
  2975. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2976. ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
  2977. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2978. end
  2979. end))
  2980. break
  2981. end
  2982. end
  2983. coroutine.resume(coroutine.create(function()
  2984. for i = 1, 50 do
  2985. Swait()
  2986. FIST.Transparency = FIST.Transparency + 0.5/50
  2987. LIGHT3.Range = LIGHT3.Range - 7/50
  2988. end
  2989. FIST:remove()
  2990. end))
  2991. LIGHT:remove()
  2992. GYRO:remove()
  2993. ATTACK = false
  2994. Rooted = false
  2995. end
  2996.  
  2997. function ApplyDamage(Humanoid,Damage,TorsoPart)
  2998. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2999. defence.Name = ("HitBy"..Player.Name)
  3000. game:GetService("Debris"):AddItem(defence, 0.001)
  3001. Damage = Damage * DAMAGEMULTIPLIER
  3002. if Humanoid.Health ~= 0 then
  3003. local CritChance = MRANDOM(1,100)
  3004. if Damage > Humanoid.Health then
  3005. Damage = math.ceil(Humanoid.Health)
  3006. if Damage == 0 then
  3007. Damage = 0.1
  3008. end
  3009. end
  3010. Humanoid.Health = Humanoid.Health - Damage
  3011. end
  3012. end
  3013.  
  3014. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3015. local CHILDREN = workspace:GetDescendants()
  3016. for index, CHILD in pairs(CHILDREN) do
  3017. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3018. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3019. if HUM then
  3020. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3021. if TORSO then
  3022. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3023. if INSTAKILL == false then
  3024. CHILD:BreakJoints()
  3025. else
  3026. local DMG = MRANDOM(MINDMG,MAXDMG)
  3027. ApplyDamage(HUM,DMG,TORSO)
  3028. end
  3029. if FLING > 0 then
  3030. for _, c in pairs(CHILD:GetChildren()) do
  3031. if c:IsA("BasePart") then
  3032. local bv = Instance.new("BodyVelocity")
  3033. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3034. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3035. bv.Parent = c
  3036. Debris:AddItem(bv,0.05)
  3037. end
  3038. end
  3039. end
  3040. end
  3041. end
  3042. end
  3043. end
  3044. end
  3045. end
  3046. function Bullet()
  3047. ATTACK = true
  3048. Rooted = false
  3049. for i=1, 2, 3 / Animation_Speed do
  3050. Swait()
  3051. turnto(Mouse.Hit.p)
  3052. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3053. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3054. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3055. end
  3056. repeat
  3057. for i=1, 2, 3 / Animation_Speed do
  3058. Swait()
  3059. turnto(Mouse.Hit.p)
  3060. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3061. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3062. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3063. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3064. end
  3065. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3066. SpawnTrail(Hole.Position,POS)
  3067. if HIT ~= nil then
  3068. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3069. Kill(HIT.Parent)
  3070. end
  3071. end
  3072. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(2,3,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(3,0,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3073. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3074. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3075. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3076. for i=1, 2, 3 / Animation_Speed do
  3077. Swait()
  3078. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3079. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3080. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3081. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3082. end
  3083. until KEYHOLD == false
  3084. ATTACK = false
  3085. Rooted = false
  3086. end
  3087.  
  3088. function Execute()
  3089. ATTACK = true
  3090. Rooted = false
  3091. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  3092. Part.Color = C3(0,0,0)
  3093. MakeForm(Part,"Wedge")
  3094. Part.CanCollide = true
  3095. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  3096. for i=0, 1, 0.1 / Animation_Speed do
  3097. Swait()
  3098. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3099. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  3100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3101. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3102. 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)
  3103. 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)
  3104. end
  3105. Trail.Enabled = true
  3106. CreateSound(541909867, Barrel, 7, 1, false)
  3107. local TOCH = Part.Touched:Connect(function(hit)
  3108. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  3109. Kill(hit.Parent)
  3110. end
  3111. end)
  3112. for i=0, 0.35, 0.1 / Animation_Speed do
  3113. Swait()
  3114. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3115. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3116. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3117. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3118. 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)
  3119. 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)
  3120. end
  3121. TOCH:disconnect()
  3122. Trail.Enabled = false
  3123. for i=0, 0.35, 0.1 / Animation_Speed do
  3124. Swait()
  3125. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  3126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  3127. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3128. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3129. 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)
  3130. 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)
  3131. end
  3132. Part:remove()
  3133. ATTACK = false
  3134. Rooted = false
  3135. end
  3136.  
  3137. function Lift()
  3138. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3139. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3140. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3141. if TORSO and HUM.Health > 0 then
  3142. ATTACK = true
  3143. Rooted = false
  3144. local GYRO = IT("BodyGyro",RootPart)
  3145. GYRO.D = 275
  3146. GYRO.P = 20000
  3147. GYRO.MaxTorque = VT(0,40000,0)
  3148. for i=0, 0.8, 0.1 / Animation_Speed do
  3149. Swait()
  3150. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3151. 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)
  3152. 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)
  3153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3155. 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)
  3156. 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)
  3157. end
  3158. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  3159. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  3160. local grav = Instance.new("BodyPosition",TORSO)
  3161. grav.D = 1500
  3162. grav.P = 20000
  3163. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3164. grav.position = TORSO.Position+VT(0,15,0)
  3165. Debris:AddItem(grav,10)
  3166. Debris:AddItem(MAGIC,10)
  3167. CreateSound(429459101, Torso, 7, 1, false)
  3168. CreateSound(429459101, TORSO, 7, 1, false)
  3169. for i=0, 1, 0.1 / Animation_Speed do
  3170. Swait()
  3171. 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)
  3172. 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)
  3173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3175. 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)
  3176. 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)
  3177. end
  3178. GYRO:remove()
  3179. ATTACK = false
  3180. Rooted = false
  3181. end
  3182. end
  3183. end
  3184.  
  3185. function Banisher_Bullet()
  3186. ATTACK = true
  3187. Rooted = false
  3188. for i=0, 0.4, 0.1 / Animation_Speed do
  3189. Swait()
  3190. turnto(Mouse.Hit.p)
  3191. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3192. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3194. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3195. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3196. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3197. end
  3198. repeat
  3199. for i=0, 0.2, 0.1 / Animation_Speed do
  3200. Swait()
  3201. turnto(Mouse.Hit.p)
  3202. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3203. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3204. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3205. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3206. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3207. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3208. end
  3209. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3210. SpawnTrail(Hole.Position,POS)
  3211. if HIT ~= nil then
  3212. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3213. Banish(HIT.Parent)
  3214. end
  3215. end
  3216. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3217. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3218. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3219. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3220. for i=0, 0.3, 0.1 / Animation_Speed do
  3221. Swait()
  3222. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3226. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3227. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3228. end
  3229. until KEYHOLD == false
  3230. ATTACK = false
  3231. Rooted = false
  3232. end
  3233.  
  3234. function AttackTemplate()
  3235. ATTACK = true
  3236. Rooted = false
  3237. for i=0, 1, 0.1 / Animation_Speed do
  3238. Swait()
  3239. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3240. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3241. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3242. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3243. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3244. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3245. end
  3246. ATTACK = false
  3247. Rooted = false
  3248. end
  3249.  
  3250. function CyberSmash()
  3251. ATTACK = true
  3252. Rooted = false
  3253. local GYRO = IT("BodyGyro",RootPart)
  3254. GYRO.D = 100
  3255. GYRO.P = 2000
  3256. GYRO.MaxTorque = VT(0,4000000,0)
  3257. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3258. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "White", "Block", VT(25,25,25))
  3259. SMASH.CanCollide = true
  3260. SMASH.Color = C3(0,0,0)
  3261. local EF = Instance.new("SelectionBox",SMASH)
  3262. EF.Adornee = SMASH
  3263. EF.Color = BrickColor.new("White")
  3264. EF.LineThickness = 0.3
  3265. EF.Transparency = 1
  3266. coroutine.resume(coroutine.create(function()
  3267. for i = 1, 20 do
  3268. Swait()
  3269. SMASH.Transparency = SMASH.Transparency - 0.05
  3270. EF.Transparency = SMASH.Transparency
  3271. end
  3272. end))
  3273. repeat
  3274. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  3275. Swait()
  3276. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  3277. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3278. 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)
  3279. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3280. 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)
  3281. 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)
  3282. 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)
  3283. until HOLD == true and SMASH.Transparency < 0.99
  3284. for i = 1, 25 do
  3285. Swait()
  3286. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  3287. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3288. 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)
  3289. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3290. 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)
  3291. 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)
  3292. 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)
  3293. end
  3294. local TOCH = SMASH.Touched:Connect(function(hit)
  3295. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  3296. Shatter(hit)
  3297. end
  3298. end)
  3299. local n0 = nil
  3300. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  3301. if HITFLOOR ~= nil then
  3302. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  3303. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3304. if HITFLOOR.Parent.ClassName == "Model" then
  3305. HITFLOOR.Parent:BreakJoints()
  3306. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  3307. HITFLOOR.Parent.Parent:BreakJoints()
  3308. end
  3309. end
  3310. local POS = HITPOS
  3311. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  3312. end
  3313. end
  3314. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  3315. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  3316. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  3317. for i = 1, 25 do
  3318. Swait()
  3319. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3320. 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)
  3321. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3322. 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)
  3323. 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)
  3324. 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)
  3325. end
  3326. coroutine.resume(coroutine.create(function()
  3327. wait(0.2)
  3328. TOCH:disconnect()
  3329. wait(1.8)
  3330. for i = 1, 100 do
  3331. Swait()
  3332. SMASH.Transparency = i/100
  3333. end
  3334. for i = 1, 10 do
  3335. Swait()
  3336. EF.Transparency = EF.Transparency + 0.1
  3337. end
  3338. SMASH:remove()
  3339. end))
  3340. GYRO:remove()
  3341. ATTACK = false
  3342. Rooted = false
  3343. end
  3344.  
  3345. function Teleport()
  3346. ATTACK = true
  3347. Rooted = false
  3348. for i=0, 0.5, 0.1 / Animation_Speed do
  3349. Swait()
  3350. 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)
  3351. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3352. end
  3353. for e = 1, #BODY do
  3354. if BODY[e] ~= nil then
  3355. local STUFF = BODY[e]
  3356. local PART = STUFF[1]
  3357. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  3358. local PRT = PART:Clone()
  3359. PRT.Anchored = true
  3360. PRT.CanCollide = false
  3361. PRT.Material = "Neon"
  3362. PRT.Color = C3(1,1,1)
  3363. PRT.Name = "WarpEffect"
  3364. PRT.Parent = Effects
  3365. PRT.CFrame = PART.CFrame
  3366. PRT:BreakJoints()
  3367. if PRT:FindFirstChildOfClass("Sound") then
  3368. PRT:FindFirstChildOfClass("Sound"):remove()
  3369. end
  3370. if PRT:FindFirstChildOfClass("Decal") then
  3371. PRT:FindFirstChildOfClass("Decal"):remove()
  3372. end
  3373. coroutine.resume(coroutine.create(function()
  3374. for i = 1, 100 do
  3375. Swait()
  3376. PRT.Transparency = PRT.Transparency + 1/100
  3377. end
  3378. PRT:remove()
  3379. end))
  3380. end
  3381. end
  3382. end
  3383. CreateSound(217767125, Torso, 10, 1)
  3384. local POS = RootPart.Orientation
  3385. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3386. RootPart.Orientation = POS
  3387. RootJoint.Parent = RootPart
  3388. for i=0, 0.5, 0.1 / Animation_Speed do
  3389. Swait()
  3390. 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)
  3391. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3392. end
  3393. for i=0, 0.1, 0.1 / Animation_Speed do
  3394. Swait()
  3395. 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, 0.75 / Animation_Speed)
  3396. end
  3397. ATTACK = false
  3398. Rooted = false
  3399. end
  3400.  
  3401.  
  3402. local LAUGHS = {834001699,834001752,834001797,834001828}
  3403. function Morning_Star()
  3404. ATTACK = true
  3405. Rooted = true
  3406. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  3407. for i=0, 1, 0.1 / Animation_Speed do
  3408. Swait()
  3409. 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)
  3410. 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)
  3411. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3412. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3413. 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)
  3414. 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)
  3415. end
  3416. coroutine.resume(coroutine.create(function()
  3417. local POS = Mouse.Hit.p
  3418. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0))
  3419. MakeForm(RAY,"Cyl")
  3420. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  3421. MakeForm(SPHERE,"Ball")
  3422. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  3423. MakeForm(SHIELD,"Ball")
  3424. SHIELD.CFrame = CF(POS)
  3425. RAY.CFrame = CF(POS)
  3426. SPHERE.CFrame = CF(POS)
  3427. CreateSound(144699494, SPHERE, 10, 0.8, false)
  3428. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  3429. for i = 1, 200 do
  3430. Swait()
  3431. 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(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3432. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  3433. SPHERE.Size = SPHERE.Size + VT(20,20,20)
  3434. SHIELD.Size = SPHERE.Size + VT(30,30,30)
  3435. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  3436. end
  3437. for i = 1, 45 do
  3438. Swait()
  3439. RAY.Transparency = RAY.Transparency + 1/45
  3440. SPHERE.Transparency = RAY.Transparency
  3441. SHIELD.Transparency = SPHERE.Transparency + 1/45
  3442. end
  3443. RAY:remove()
  3444. SHIELD:remove()
  3445. SPHERE:remove()
  3446. end))
  3447. for i=0, 1, 0.1 / Animation_Speed do
  3448. Swait()
  3449. 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)
  3450. 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)
  3451. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3452. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3453. 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)
  3454. 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)
  3455. end
  3456. ATTACK = false
  3457. Rooted = false
  3458. end
  3459.  
  3460. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  3461. if DoesCourontine == false then
  3462. local Direction = CF(Part.Position,ToLocation)
  3463. local Distance = (Part.Position - ToLocation).magnitude
  3464. for i = 1, AmountOfTime do
  3465. Swait()
  3466. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  3467. Direction = Part.CFrame
  3468. end
  3469. elseif DoesCourontine == true then
  3470. coroutine.resume(coroutine.create(function()
  3471. local Direction = CF(Part.Position,ToLocation)
  3472. local Distance = (Part.Position - ToLocation).magnitude
  3473. for i = 1, AmountOfTime do
  3474. Swait()
  3475. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  3476. Direction = Part.CFrame
  3477. end
  3478. end))
  3479. end
  3480. end
  3481.  
  3482. function impale(chain,hit)
  3483. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  3484. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  3485. if humanoid.Health ~= 0 then
  3486. hit.Parent:BreakJoints()
  3487. getbloody(hit,15)
  3488. local prtcl = asd:Clone()
  3489. prtcl.Parent = chain
  3490. prtcl.Enabled = true
  3491. prtcl.Speed = NumberRange.new(0)
  3492. prtcl.Size = NumberSequence.new(0.2)
  3493. end
  3494. end
  3495. end
  3496.  
  3497. function CreateMagicCircle()
  3498. local sinkhole = IT("Part")
  3499. sinkhole.Size = VT(0,0,0)
  3500. sinkhole.Parent = Effects
  3501. sinkhole.Material = "Neon"
  3502. sinkhole.Color = C3(0,0,0)
  3503. sinkhole.Anchored = true
  3504. sinkhole.CanCollide = false
  3505. sinkhole.Transparency = 1
  3506. local decal = IT("Decal",sinkhole)
  3507. decal.Face = "Top"
  3508. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  3509. local decal2 = IT("Decal",sinkhole)
  3510. decal2.Face = "Bottom"
  3511. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  3512. return sinkhole
  3513. end
  3514.  
  3515. function Deathbound()
  3516. ATTACK = true
  3517. Rooted = true
  3518. for i=0, 1, 0.1 / Animation_Speed do
  3519. Swait()
  3520. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3521. 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)
  3522. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3523. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3524. 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)
  3525. 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)
  3526. end
  3527. local DONE = false
  3528. local GATE = nil
  3529. local GATESPIN = true
  3530. coroutine.resume(coroutine.create(function()
  3531. repeat
  3532. Swait()
  3533. if GATE ~= nil then
  3534. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  3535. end
  3536. until GATESPIN == false
  3537. end))
  3538. coroutine.resume(coroutine.create(function()
  3539. repeat
  3540. Swait()
  3541. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3542. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3543. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3544. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3545. 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)
  3546. 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)
  3547. until DONE == true
  3548. Swait(50)
  3549. for i = 1, 35 do
  3550. Swait(4)
  3551. local FIRED = false
  3552. local CHILDREN = workspace:GetDescendants()
  3553. for index, CHILD in pairs(CHILDREN) do
  3554. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3555. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3556. if HUM then
  3557. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3558. if TORSO then
  3559. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/50 + TORSO.Size.Magnitude/25 then
  3560. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3561. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  3562. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(10,15,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  3563. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(20,2.5,20), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3564. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  3565. Kill(CHILD)
  3566. FIRED = true
  3567. break
  3568. end
  3569. end
  3570. end
  3571. end
  3572. end
  3573. if FIRED == false then
  3574. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  3575. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(10,15,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  3576. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(20,2.5,20), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3577. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  3578. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  3579. if HITBOD ~= nil then
  3580. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  3581. killnearest(HITBOD.Parent)
  3582. end
  3583. end
  3584. end
  3585. end
  3586. for i = 1, 45 do
  3587. Swait()
  3588. GATE.Size = GATE.Size - VT(3,0,3)
  3589. end
  3590. GATESPIN = false
  3591. GATE:remove()
  3592. end))
  3593. Swait(15)
  3594. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3595. GATE = CreatePart(3, Effects, "Neon", 0, 1, "White", "Gate", VT(0,0,0))
  3596. local DECAL = IT("Decal",GATE)
  3597. DECAL.Texture = "http://www.roblox.com/asset/?id=20797265"
  3598. DECAL.Face = "Top"
  3599. GATE.CFrame = CF(HITPOS)
  3600. CreateSound(160772554, GATE, 7, 1.3, false)
  3601. for i = 1, 45 do
  3602. Swait()
  3603. GATE.Size = GATE.Size + VT(3,0,3)
  3604. end
  3605. CreateSound(145080998, Hole, 7, 1, false)
  3606. CreateSound(145080998, Hole, 7, 1, false)
  3607. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3,30,3), Size2 = VT(2,20,02), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3608. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3,0,3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3609. ATTACK = false
  3610. Rooted = false
  3611. DONE = true
  3612. end
  3613.  
  3614. function HI()
  3615. ATTACK = true
  3616. Rooted = false
  3617. local LOOP = 0
  3618. for i=0, 0.1, 0.1 / Animation_Speed do
  3619. Swait()
  3620. 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(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3621. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3624. end
  3625. for i=0, 3, 0.1 / Animation_Speed do
  3626. Swait()
  3627. LOOP = LOOP + 1
  3628. 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)
  3629. 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)
  3630. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3631. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3632. end
  3633. for i=0, 0.1, 0.1 / Animation_Speed do
  3634. Swait()
  3635. 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(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3636. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3637. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3638. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3639. end
  3640. ATTACK = false
  3641. Rooted = false
  3642. end
  3643.  
  3644. function Morning_Star()
  3645. ATTACK = true
  3646. Rooted = true
  3647. for i=0, 1, 0.1 / Animation_Speed do
  3648. Swait()
  3649. 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)
  3650. 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)
  3651. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3652. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3653. 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)
  3654. 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)
  3655. end
  3656. coroutine.resume(coroutine.create(function()
  3657. local POS = Mouse.Hit.p
  3658. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0))
  3659. MakeForm(RAY,"Cyl")
  3660. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  3661. MakeForm(SPHERE,"Ball")
  3662. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  3663. MakeForm(SHIELD,"Ball")
  3664. SHIELD.CFrame = CF(POS)
  3665. RAY.CFrame = CF(POS)
  3666. SPHERE.CFrame = CF(POS)
  3667. CreateSound(440145570, SPHERE, 10, 0.8, false)
  3668. CreateSound(415700134, SPHERE, 10, 0.8, false)
  3669. for i = 1, 200 do
  3670. Swait()
  3671. 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3672. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  3673. SPHERE.Size = SPHERE.Size + VT(4,4,4)
  3674. SHIELD.Size = SPHERE.Size + VT(6,6,6)
  3675. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  3676. end
  3677. for i = 1, 45 do
  3678. Swait()
  3679. RAY.Transparency = RAY.Transparency + 1/45
  3680. SPHERE.Transparency = RAY.Transparency
  3681. SHIELD.Transparency = SPHERE.Transparency + 1/45
  3682. end
  3683. RAY:remove()
  3684. SHIELD:remove()
  3685. SPHERE:remove()
  3686. end))
  3687. for i=0, 1, 0.1 / Animation_Speed do
  3688. Swait()
  3689. 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)
  3690. 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)
  3691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3693. 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)
  3694. 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)
  3695. end
  3696. ATTACK = false
  3697. Rooted = false
  3698. end
  3699.  
  3700. function WACKYEFFECT(Table)
  3701. local TYPE = (Table.EffectType or "Sphere")
  3702. local SIZE = (Table.Size or VT(1,1,1))
  3703. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3704. local TRANSPARENCY = (Table.Transparency or 0)
  3705. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3706. local CFRAME = (Table.CFrame or Torso.CFrame)
  3707. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3708. local ROTATION1 = (Table.RotationX or 0)
  3709. local ROTATION2 = (Table.RotationY or 0)
  3710. local ROTATION3 = (Table.RotationZ or 0)
  3711. local MATERIAL = (Table.Material or "Neon")
  3712. local COLOR = (Table.Color or C3(1,1,1))
  3713. local TIME = (Table.Time or 45)
  3714. local SOUNDID = (Table.SoundID or nil)
  3715. local SOUNDPITCH = (Table.SoundPitch or nil)
  3716. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3717. coroutine.resume(coroutine.create(function()
  3718. local PLAYSSOUND = false
  3719. local SOUND = nil
  3720. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3721. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3722. PLAYSSOUND = true
  3723. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3724. end
  3725. EFFECT.Color = COLOR
  3726. local MSH = nil
  3727. if TYPE == "Sphere" then
  3728. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3729. elseif TYPE == "Block" then
  3730. MSH = IT("BlockMesh",EFFECT)
  3731. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3732. elseif TYPE == "Wave" then
  3733. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3734. elseif TYPE == "Ring" then
  3735. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3736. elseif TYPE == "Slash" then
  3737. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3738. elseif TYPE == "Round Slash" then
  3739. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3740. elseif TYPE == "Swirl" then
  3741. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3742. elseif TYPE == "Skull" then
  3743. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3744. elseif TYPE == "Crystal" then
  3745. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3746. end
  3747. if MSH ~= nil then
  3748. local MOVESPEED = nil
  3749. if MOVEDIRECTION ~= nil then
  3750. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3751. end
  3752. local GROWTH = SIZE - ENDSIZE
  3753. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3754. if TYPE == "Block" then
  3755. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3756. else
  3757. EFFECT.CFrame = CFRAME
  3758. end
  3759. for LOOP = 1, TIME+1 do
  3760. Swait()
  3761. MSH.Scale = MSH.Scale - GROWTH/TIME
  3762. if TYPE == "Wave" then
  3763. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3764. end
  3765. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3766. if TYPE == "Block" then
  3767. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3768. else
  3769. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3770. end
  3771. if MOVEDIRECTION ~= nil then
  3772. local ORI = EFFECT.Orientation
  3773. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3774. EFFECT.Orientation = ORI
  3775. end
  3776. end
  3777. if PLAYSSOUND == false then
  3778. EFFECT:remove()
  3779. else
  3780. SOUND.Stopped:Connect(function()
  3781. EFFECT:remove()
  3782. end)
  3783. end
  3784. else
  3785. if PLAYSSOUND == false then
  3786. EFFECT:remove()
  3787. else
  3788. repeat Swait() until SOUND.Playing == false
  3789. EFFECT:remove()
  3790. end
  3791. end
  3792. end))
  3793. end
  3794.  
  3795. function ApplyAoE(POSITION,RANGE,BRUTAL)
  3796. local CHILDREN = workspace:GetDescendants()
  3797. for index, CHILD in pairs(CHILDREN) do
  3798. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3799. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3800. if HUM then
  3801. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3802. if TORSO then
  3803. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3804. if BRUTAL == true then
  3805. Kill(CHILD)
  3806. else
  3807. CHILD:BreakJoints()
  3808. end
  3809. end
  3810. end
  3811. end
  3812. end
  3813. end
  3814. end
  3815.  
  3816. local asd = Instance.new("ParticleEmitter")
  3817. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  3818. asd.LightEmission = .1
  3819. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  3820. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  3821. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3822. asd.Transparency = bbb
  3823. asd.Size = aaa
  3824. asd.ZOffset = .9
  3825. asd.Acceleration = Vector3.new(0, -15, 0)
  3826. asd.LockedToPart = false
  3827. asd.EmissionDirection = "Back"
  3828. asd.Lifetime = NumberRange.new(1, 2)
  3829. asd.Rotation = NumberRange.new(-100, 100)
  3830. asd.RotSpeed = NumberRange.new(-100, 100)
  3831. asd.Speed = NumberRange.new(10)
  3832. asd.Enabled = false
  3833. asd.VelocitySpread = 999
  3834.  
  3835. function getbloody(victim,amount)
  3836. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  3837. PART.CFrame = victim.CFrame
  3838. local HITPLAYERSOUNDS = {"356551938","264486467"}
  3839. Debris:AddItem(PART,5)
  3840. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3841. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3842. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3843. local prtcl = asd:Clone()
  3844. prtcl.Parent = PART
  3845. prtcl:Emit(amount*10)
  3846. end
  3847.  
  3848. function Kill(Char)
  3849. local NewCharacter = IT("Model",Effects)
  3850. NewCharacter.Name = "Ow im ded ;-;"
  3851. for _, c in pairs(Char:GetDescendants()) do
  3852. if c:IsA("BasePart") and c.Transparency == 0 then
  3853. if c.Parent == Char then
  3854. getbloody(c,5)
  3855. end
  3856. c:BreakJoints()
  3857. c.Material = "Glass"
  3858. c.Color = C3(0.5,0,0)
  3859. c.CanCollide = true
  3860. c.Transparency = 0.3
  3861. if c:FindFirstChildOfClass("SpecialMesh") then
  3862. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3863. end
  3864. if c.Name == "Head" then
  3865. c:ClearAllChildren()
  3866. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3867. end
  3868. if c.ClassName == "MeshPart" then
  3869. c.TextureID = ""
  3870. end
  3871. if c:FindFirstChildOfClass("BodyPosition") then
  3872. c:FindFirstChildOfClass("BodyPosition"):remove()
  3873. end
  3874. if c:FindFirstChildOfClass("ParticleEmitter") then
  3875. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3876. end
  3877. c.Parent = NewCharacter
  3878. c.Name = "DeadPart"
  3879. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3880. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3881. end
  3882. end
  3883. Char:remove()
  3884. Debris:AddItem(NewCharacter,5)
  3885. end
  3886.  
  3887. function Prison_Key()
  3888. if Mouse.Target ~= nil then
  3889. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3890. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3891. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3892. local GYRO = IT("BodyGyro",RootPart)
  3893. GYRO.D = 750
  3894. GYRO.P = 20000
  3895. GYRO.MaxTorque = VT(0,40000000,0)
  3896. local grav = Instance.new("BodyPosition",TORSO)
  3897. grav.D = 15
  3898. grav.P = 20000
  3899. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3900. grav.position = TORSO.Position
  3901. local GYRO2 = IT("BodyGyro",TORSO)
  3902. GYRO2.D = 750
  3903. GYRO2.P = 20000
  3904. GYRO2.MaxTorque = VT(0,40000000,0)
  3905. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3906. grav.Name = "Jail"
  3907. local LOCKPARTS = {}
  3908. ATTACK = true
  3909. Rooted = false
  3910. local LOCK = IT("Model",Effects)
  3911. LOCK.Name = "Lock"
  3912. local LOCK2 = IT("Model",LOCK)
  3913. LOCK2.Name = "Metal"
  3914. --CREATE LOCK--
  3915. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  3916. LOCK.PrimaryPart = BASE
  3917. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  3918. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  3919. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  3920. MakeForm(PRT,"Cyl")
  3921. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  3922. PRT.Color = C3(0,0,0)
  3923. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  3924. MakeForm(PRT,"Cyl")
  3925. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Hole", VT(0.5, 1, 1))
  3926. PRT.Color = C3(0,0,0)
  3927. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  3928. for i = 1, 45 do
  3929. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3930. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  3931. end
  3932. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3933. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  3934. LOCK2.PrimaryPart = PRT
  3935. ---------------
  3936. local CHILDREN = LOCK:GetDescendants()
  3937. for index, CHILD in pairs(CHILDREN) do
  3938. if CHILD:IsA("BasePart") then
  3939. CHILD.Transparency = 1
  3940. end
  3941. end
  3942. for i = 1, 75 do
  3943. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  3944. Swait()
  3945. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3946. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3947. local CHILDREN = LOCK:GetDescendants()
  3948. for index, CHILD in pairs(CHILDREN) do
  3949. if CHILD:IsA("BasePart") then
  3950. CHILD.Transparency = CHILD.Transparency - 1/75
  3951. end
  3952. end
  3953. end
  3954. HUM.DisplayDistanceType = "None"
  3955. local KEY = IT("Model",Effects)
  3956. KEY.Name = "Key"
  3957. --CREATE KEY--
  3958. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Reallt black", "KeyBase", VT(0.1, 1, 0.1),false)
  3959. KEY.PrimaryPart = KBASE
  3960. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  3961. local WLD = weldBetween(RightArm,KBASE)
  3962. for i = 1, 45 do
  3963. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really black", "Key", VT(0.1, 0.1, 0.1),false)
  3964. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  3965. weldBetween(KBASE,PRT)
  3966. end
  3967. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "White", "Key", VT(0.3, 0.1, 0.1),false)
  3968. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  3969. weldBetween(KBASE,PRT)
  3970. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "White", "Key", VT(0.3, 0.1, 0.1),false)
  3971. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  3972. weldBetween(KBASE,PRT)
  3973. --------------
  3974. Rooted = true
  3975. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  3976. coroutine.resume(coroutine.create(function()
  3977. for i = 1, 10 do
  3978. Swait()
  3979. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3980. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3981. end
  3982. CreateSound(1149318312,BASE,5,1,false)
  3983. CreateSound(160772554,BASE,3,1,false)
  3984. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  3985. for i = 1, 4 do
  3986. 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})
  3987. end
  3988. 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})
  3989. wait(1)
  3990. TORSO.Parent.Parent = LOCK
  3991. for i = 1, 75 do
  3992. Swait()
  3993. local CHILDREN = KEY:GetDescendants()
  3994. for index, CHILD in pairs(CHILDREN) do
  3995. if CHILD:IsA("BasePart") then
  3996. CHILD.Transparency = i/25
  3997. end
  3998. end
  3999. local CHILDREN = LOCK:GetDescendants()
  4000. for index, CHILD in pairs(CHILDREN) do
  4001. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  4002. CHILD.Transparency = CHILD.Transparency + 1/75
  4003. elseif CHILD.ClassName == "Decal" then
  4004. CHILD.Transparency = CHILD.Transparency + 1/75
  4005. end
  4006. end
  4007. end
  4008. TORSO.Parent:ClearAllChildren()
  4009. KEY:remove()
  4010. LOCK:remove()
  4011. end))
  4012. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  4013. GYRO:remove()
  4014. ATTACK = false
  4015. Rooted = false
  4016. end
  4017. end
  4018. end
  4019.  
  4020. function Jupiter()
  4021. ATTACK = true
  4022. Rooted = true
  4023. local POSITION = IT("BodyPosition",RootPart)
  4024. POSITION.Position = RootPart.Position+VT(0,0.2,0)
  4025. POSITION.D = 450
  4026. POSITION.P = 40000
  4027. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4028. coroutine.resume(coroutine.create(function()
  4029. repeat
  4030. Swait()
  4031. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  4032. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  4033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4034. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4035. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4036. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
  4037. until ATTACK == false
  4038. end))
  4039. wait(0.5)
  4040. repeat wait() until KEYHOLD == false
  4041. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,4,35), Transparency = 0.3, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Shamrock".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10})
  4042. POSITION:remove()
  4043. RootPart.Velocity = VT(0,150,0)
  4044. ATTACK = false
  4045. Rooted = false
  4046. end
  4047.  
  4048. function chatfunc(text)
  4049. local chat = coroutine.wrap(function()
  4050. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  4051. Character:FindFirstChild("TalkingBillBoard"):destroy()
  4052. end
  4053. local Bill = Instance.new("BillboardGui",Character)
  4054. Bill.Size = UDim2.new(0,100,0,40)
  4055. Bill.StudsOffset = Vector3.new(0,3,0)
  4056. Bill.Adornee = Character.Head
  4057. Bill.Name = "TalkingBillBoard"
  4058. local Hehe = Instance.new("TextLabel",Bill)
  4059. Hehe.BackgroundTransparency = 1
  4060. Hehe.BorderSizePixel = 0
  4061. Hehe.Text = ""
  4062. Hehe.Font = "Antique"
  4063. Hehe.TextSize = 40
  4064. Hehe.TextStrokeTransparency = 0
  4065. Hehe.Size = UDim2.new(1,0,0.5,0)
  4066. coroutine.resume(coroutine.create(function()
  4067. while Hehe ~= nil do
  4068. Swait()
  4069. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  4070. Hehe.Rotation = math.random(-5,5)
  4071. Hehe.TextColor3 = Color3.new(61,21,133)
  4072. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  4073. end
  4074. end))
  4075. for i = 1,string.len(text),1 do
  4076. Swait()
  4077. Hehe.Text = string.sub(text,1,i)
  4078. end
  4079. Swait(90)--Re[math.random(1, 93)]
  4080. for i = 0, 1, .025 do
  4081. Swait()
  4082. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  4083. Hehe.TextStrokeTransparency = i
  4084. Hehe.TextTransparency = i
  4085. end
  4086. Bill:Destroy()
  4087. end)
  4088. chat()
  4089. end
  4090.  
  4091. function onChatted(msg)
  4092. chatfunc(msg)
  4093. end
  4094.  
  4095. local SIZE = 1
  4096.  
  4097. function WarpMeteor()
  4098. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  4099. if DIST > 180 then
  4100. DIST = 180
  4101. end
  4102. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  4103. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  4104. if HITFLOOR then
  4105. local POS = HITPOS
  4106. ATTACK = true
  4107. Rooted = true
  4108. local WARPED = false
  4109. local SMASHED = false
  4110. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  4111. coroutine.resume(coroutine.create(function()
  4112. repeat
  4113. Swait()
  4114. 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)
  4115. 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)
  4116. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4117. 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)
  4118. 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)
  4119. 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)
  4120. until WARPED == true
  4121. repeat
  4122. Swait()
  4123. 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)
  4124. 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)
  4125. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4126. 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)
  4127. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*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)
  4128. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*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)
  4129. until SMASHED == true
  4130. repeat
  4131. Swait()
  4132. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  4133. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  4134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4135. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4136. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  4137. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  4138. until ATTACK == false
  4139. end))
  4140. VALUE1 = true
  4141. CreateSound(233856115, Torso, 5, 1.6, false)
  4142. chatfunc("This hurt more than you think")
  4143. for i = 1, 25 do
  4144. Swait()
  4145. for _, c in pairs(Character:GetChildren()) do
  4146. if c.ClassName == "Part" then
  4147. c.Transparency = c.Transparency + 1/25
  4148. end
  4149. end
  4150. for _, c in pairs(Weapon:GetChildren()) do
  4151. if c.ClassName == "Part" then
  4152. c.Transparency = c.Transparency + 1/25
  4153. end
  4154. end
  4155. end
  4156. UNANCHOR = false
  4157. RootPart.Anchored = true
  4158. RootPart.Velocity = VT(0,0,0)
  4159. local ROOTPOS = RootPart.Position
  4160. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  4161. WARPED = true
  4162. for i = 1, 25 do
  4163. Swait()
  4164. for _, c in pairs(Character:GetChildren()) do
  4165. if c.ClassName == "Part" then
  4166. c.Transparency = c.Transparency - 1/25
  4167. end
  4168. end
  4169. for _, c in pairs(Weapon:GetChildren()) do
  4170. if c.ClassName == "Part" then
  4171. c.Transparency = c.Transparency - 1/25
  4172. end
  4173. end
  4174. end
  4175. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Part", VT(0,0,0))
  4176. SHELL.CFrame = RootPart.CFrame
  4177. MakeForm(SHELL,"Ball")
  4178. CreateSound(402981977, SHELL, 5, 1.6, false)
  4179. for i = 1, 10 do
  4180. Swait()
  4181. SHELL.Transparency = SHELL.Transparency - 1/10
  4182. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  4183. end
  4184. for i = 1, math.ceil(75/2) do
  4185. Swait()
  4186. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  4187. SHELL.CFrame = CF(RootPart.Position)
  4188. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  4189. end
  4190. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  4191. SHELL.CFrame = CF(RootPart.Position)
  4192. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  4193. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  4194. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  4195. for i = 1, 5 do
  4196. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.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(61/255, 21/255, 133/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  4197. end
  4198. SHELL:remove()
  4199. ApplyAoE(RootPart.Position,75,35,75,175,false)
  4200. SMASHED = true
  4201. wait(1)
  4202. VALUE1 = false
  4203. UNANCHOR = true
  4204. ATTACK = false
  4205. Rooted = false
  4206. end
  4207. end
  4208.  
  4209. function PandorasBox()
  4210. 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)
  4211. if HITFLOOR ~= nil then
  4212. ATTACK = false
  4213. Rooted = false
  4214. local RINGSPIN = true
  4215. local CONSTRUCTING = true
  4216. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  4217. RING.Color = C3(0,0,0)
  4218. MakeForm(RING,"Cyl")
  4219. RING.CFrame = CF(HITPOS)
  4220. CreateSound(402981977, RING, 5, 1.2, false)
  4221. coroutine.resume(coroutine.create(function()
  4222. repeat
  4223. Swait()
  4224. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4225. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4226. 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)
  4227. 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)
  4228. 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)
  4229. 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)
  4230. 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)
  4231. until CONSTRUCTING == false
  4232. repeat
  4233. Swait()
  4234. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4235. until RINGSPIN == false
  4236. for i = 1, 25 do
  4237. Swait()
  4238. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4239. RING.Size = RING.Size - VT(0.15,0,0.15)
  4240. --DECAL.Transparency = DECAL.Transparency + 1/25
  4241. RING.Transparency = RING.Transparency + 1/25
  4242. end
  4243. RING:remove()
  4244. end))
  4245. for i = 1, 15 do
  4246. Swait()
  4247. RING.Size = RING.Size + VT(0.75,0,0.75)
  4248. RING.Transparency = RING.Transparency - 1/15
  4249. end
  4250. chatfunc("let's see your prize...")
  4251. local BOXSPIN = true
  4252. local PANDORASBOX = IT("Model",Effects)
  4253. PANDORASBOX.Name = "Pandora's Box"
  4254. local BOX = IT("Model",PANDORASBOX)
  4255. BOX.Name = "Body"
  4256. local LID = IT("Model",PANDORASBOX)
  4257. LID.Name = "Lid"
  4258. --BUILDING THE BOX--
  4259. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  4260. BASE.Color = C3(0,0,0)
  4261. PANDORASBOX.PrimaryPart = BASE
  4262. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  4263. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4264. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  4265. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4266. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  4267. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4268. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  4269. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4270. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  4271. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4272. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  4273. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4274. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  4275. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4276. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  4277. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4278. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  4279. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4280. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  4281. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4282. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  4283. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4284. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  4285. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4286. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  4287. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  4288. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  4289. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  4290. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  4291. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  4292. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  4293. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  4294. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  4295. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  4296. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  4297. -------------
  4298. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  4299. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  4300. LID.PrimaryPart = LIDPART
  4301. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4302. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  4303. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4304. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  4305. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4306. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  4307. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4308. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  4309. local DECAL = IT("Decal",LIDPART)
  4310. DECAL.Face = "Top"
  4311. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  4312. DECAL.Color3 = C3(0,0,0)
  4313. --BUILDING THE BOX--
  4314. coroutine.resume(coroutine.create(function()
  4315. repeat
  4316. Swait()
  4317. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  4318. until BOXSPIN == false
  4319. end))
  4320. for i = 1, 25 do
  4321. Swait()
  4322. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  4323. end
  4324. wait(0.5)
  4325. BOXSPIN = false
  4326. CONSTRUCTING = false
  4327. coroutine.resume(coroutine.create(function()
  4328. 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})
  4329. --[[for i = 1, 45 do
  4330. Swait()
  4331. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  4332. end-
  4333. LID:remove()]]--
  4334. for _, c in pairs(LID:GetChildren()) do
  4335. if c.ClassName == "Part" then
  4336. c.Anchored = false
  4337. c.CanCollide = true
  4338. if c ~= LIDPART then
  4339. weldBetween(LIDPART,c)
  4340. end
  4341. end
  4342. end
  4343. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  4344. Debris:AddItem(LID,15)
  4345. wait(0.5)
  4346. local RANDOMEFFECT = MRANDOM(1,4)
  4347. if RANDOMEFFECT == 1 then
  4348. for i = 1, 45 do
  4349. wait((2-(i/15))/15)
  4350. 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})
  4351. end
  4352. wait(1)
  4353. 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})
  4354. 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})
  4355. 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})
  4356. for i = 1, 5 do
  4357. 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})
  4358. end
  4359. ApplyAoE(BASE.Position,50,1,200,375,true)
  4360. ApplyAoE(BASE.Position,250,35,75,175,true)
  4361. elseif RANDOMEFFECT == 2 then
  4362. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  4363. FIELD.CFrame = BASE.CFrame
  4364. MakeForm(FIELD,"Ball")
  4365. for i = 1, 50 do
  4366. Swait()
  4367. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  4368. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  4369. end
  4370. wait(0.2)
  4371. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  4372. coroutine.resume(coroutine.create(function()
  4373. for i = 1, 75 do
  4374. Swait()
  4375. LOOP.Volume = LOOP.Volume + 10/75
  4376. LOOP.Parent = FIELD
  4377. local CHILDREN = workspace:GetDescendants()
  4378. for index, CHILD in pairs(CHILDREN) do
  4379. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4380. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4381. if HUM then
  4382. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4383. if TORSO then
  4384. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  4385. HUM.Health = HUM.Health - 1.5
  4386. TORSO.Velocity = VT(0,5,0)
  4387. HUM.PlatformStand = true
  4388. if TORSO.RotVelocity.Magnitude < 15 then
  4389. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  4390. end
  4391. end
  4392. end
  4393. end
  4394. end
  4395. end
  4396. FIELD.Size = FIELD.Size + VT(9,9,9)
  4397. FIELD.Transparency = FIELD.Transparency + 0.8/75
  4398. end
  4399. for i = 1, 500 do
  4400. Swait()
  4401. LOOP.Parent = FIELD
  4402. local CHILDREN = workspace:GetDescendants()
  4403. for index, CHILD in pairs(CHILDREN) do
  4404. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4405. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4406. if HUM then
  4407. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4408. if TORSO then
  4409. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  4410. TORSO.Velocity = VT(0,5,0)
  4411. HUM.Health = HUM.Health - 1.5
  4412. HUM.PlatformStand = true
  4413. if TORSO.RotVelocity.Magnitude < 15 then
  4414. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  4415. end
  4416. end
  4417. end
  4418. end
  4419. end
  4420. end
  4421. end
  4422. for i = 1, 25 do
  4423. Swait()
  4424. LOOP.Volume = LOOP.Volume + 10/25
  4425. LOOP.Parent = FIELD
  4426. local CHILDREN = workspace:GetDescendants()
  4427. for index, CHILD in pairs(CHILDREN) do
  4428. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4429. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4430. if HUM then
  4431. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4432. if TORSO then
  4433. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  4434. TORSO.Velocity = VT(0,5,0)
  4435. HUM.Health = HUM.Health - 1.5
  4436. HUM.PlatformStand = false
  4437. if TORSO.RotVelocity.Magnitude < 15 then
  4438. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  4439. end
  4440. end
  4441. end
  4442. end
  4443. end
  4444. end
  4445. FIELD.Size = FIELD.Size - VT(3,3,3)
  4446. FIELD.Transparency = FIELD.Transparency + 0.2/25
  4447. end
  4448. FIELD:remove()
  4449. end))
  4450. elseif RANDOMEFFECT == 3 then
  4451. for i = 1, 10 do
  4452. wait(0.15)
  4453. 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})
  4454. coroutine.resume(coroutine.create(function()
  4455. local MINION = CLONE:Clone()
  4456. MINION.Parent = Effects
  4457. MINION.Name = "Shadow"
  4458. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  4459. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  4460. for _, c in pairs(MINION:GetChildren()) do
  4461. if c.ClassName == "Part" then
  4462. c.Material = "Neon"
  4463. c.Color = C3(0,0,0)
  4464. c.Transparency = 0.25
  4465. if c.Name == "Head" then
  4466. c:ClearAllChildren()
  4467. local MSH = IT("BlockMesh",c)
  4468. MSH.Scale = VT(0.5,1,1)
  4469. end
  4470. end
  4471. end
  4472. local TORSO = MINION.Torso
  4473. local HUMAN = MINION.Humanoid
  4474. HUMAN.WalkSpeed = 20
  4475. HUMAN.MaxHealth = math.huge
  4476. HUMAN.Health = math.huge
  4477. HUMAN.DisplayDistanceType = "None"
  4478. HUMAN.Died:connect(function()
  4479. MINION:remove()
  4480. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  4481. end)
  4482. wait(1)
  4483. local findNearestTorso = function(POS)
  4484. local list = game.Workspace:GetDescendants()
  4485. local torso = nil
  4486. local dist = 500
  4487. local temp = nil
  4488. local human = nil
  4489. local temp2 = nil
  4490. for x = 1, #list do
  4491. temp2 = list[x]
  4492. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  4493. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  4494. human = temp2:findFirstChildOfClass("Humanoid")
  4495. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  4496. if (temp.Position - POS).magnitude < dist then
  4497. torso = temp
  4498. dist = (temp.Position - POS).magnitude
  4499. end
  4500. end
  4501. end
  4502. end
  4503. return torso, dist
  4504. end
  4505. for i = 1, 40 do
  4506. if HUMAN.Health == 0 then
  4507. break
  4508. end
  4509. wait(0.3)
  4510. local target,dist= findNearestTorso(TORSO.Position)
  4511. if target then
  4512. HUMAN:MoveTo(target.Position)
  4513. if dist < 25 then
  4514. CreateSound(348663022, TORSO, 10, 1, true)
  4515. wait(2)
  4516. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  4517. --ANIM:Play()
  4518. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  4519. ApplyAoE(TORSO.Position,10,0,0,85,true)
  4520. 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})
  4521. for i = 1, 5 do
  4522. 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})
  4523. end
  4524. break
  4525. end
  4526. end
  4527. end
  4528. MINION:remove()
  4529. end))
  4530. end
  4531. elseif RANDOMEFFECT == 4 then
  4532. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  4533. FIELD.Color = C3(0,0,0)
  4534. FIELD.CFrame = BASE.CFrame
  4535. MakeForm(FIELD,"Ball")
  4536. FIELD.CanCollide = true
  4537. for i = 1, 50 do
  4538. Swait()
  4539. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  4540. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  4541. end
  4542. wait(0.2)
  4543. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  4544. coroutine.resume(coroutine.create(function()
  4545. local E = 0
  4546. for i = 1, 75 do
  4547. E = E + 1
  4548. Swait()
  4549. if E >= 35 then
  4550. E = 0
  4551. 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})
  4552. end
  4553. LOOP.Volume = LOOP.Volume + 10/75
  4554. LOOP.Parent = FIELD
  4555. local CHILDREN = workspace:GetDescendants()
  4556. for index, CHILD in pairs(CHILDREN) do
  4557. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4558. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4559. if HUM then
  4560. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4561. if TORSO then
  4562. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  4563. for _, c in pairs(CHILD:GetChildren()) do
  4564. if c:IsA("BasePart") then
  4565. local bv = Instance.new("BodyVelocity")
  4566. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4567. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  4568. bv.Parent = c
  4569. Debris:AddItem(bv,0.05)
  4570. end
  4571. end
  4572. HUM.Health = HUM.Health - 0.3
  4573. end
  4574. end
  4575. end
  4576. end
  4577. end
  4578. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  4579. end
  4580. for i = 1, 180 do
  4581. E = E + 1
  4582. Swait()
  4583. if E >= 35 then
  4584. E = 0
  4585. 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})
  4586. end
  4587. LOOP.Parent = FIELD
  4588. local CHILDREN = workspace:GetDescendants()
  4589. for index, CHILD in pairs(CHILDREN) do
  4590. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4591. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4592. if HUM then
  4593. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4594. if TORSO then
  4595. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  4596. for _, c in pairs(CHILD:GetChildren()) do
  4597. if c:IsA("BasePart") then
  4598. local bv = Instance.new("BodyVelocity")
  4599. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4600. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  4601. bv.Parent = c
  4602. Debris:AddItem(bv,0.05)
  4603. end
  4604. end
  4605. HUM.Health = HUM.Health - 0.3
  4606. end
  4607. end
  4608. end
  4609. end
  4610. end
  4611. end
  4612. ApplyAoE(FIELD.Position,40,15,20,375,true)
  4613. 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})
  4614. for i = 1, 5 do
  4615. 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})
  4616. end
  4617. FIELD:remove()
  4618. end))
  4619. elseif RANDOMEFFECT == 5 then
  4620. end
  4621. wait(0.5)
  4622. for i = 1, 25 do
  4623. Swait()
  4624. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  4625. end
  4626. PANDORASBOX:remove()
  4627. RINGSPIN = false
  4628. end))
  4629. ATTACK = false
  4630. Rooted = false
  4631. end
  4632. end
  4633.  
  4634. function TimeStop ()
  4635. 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)
  4636. CHOICE = 6
  4637. CreateSound(1193182658, Character, 5, 1, false)
  4638. chatfunc ("Za warudo...")
  4639. back = CreateSound(1841228386, Character, 9999, 1, false)
  4640. local killsky = Instance.new('Sky', game:GetService'Lighting')
  4641. killsky.SkyboxBk = "rbxassetid://1013852"
  4642. killsky.SkyboxDn = "rbxassetid://1013853"
  4643. killsky.SkyboxFt = "rbxassetid://1013850"
  4644. killsky.SkyboxLf = "rbxassetid://1013851"
  4645. killsky.SkyboxRt = "rbxassetid://1013849"
  4646. killsky.SkyboxUp = "rbxassetid://1013854"
  4647. killsky.StarCount = 0
  4648. killsky.SunAngularSize = 0
  4649. killsky.MoonAngularSize = 0
  4650. killsky.MoonTextureId = ""
  4651. killsky.CelestialBodiesShown = false
  4652. game.Lighting.FogColor = Color3.new(1,1,0)
  4653. game.Lighting.FogEnd = 1400
  4654. if HITFLOOR ~= nil then
  4655. ATTACK = false
  4656. Rooted = false
  4657. local RINGSPIN = true
  4658. local CONSTRUCTING = true
  4659. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  4660. RING.Color = C3(0,0,0)
  4661. MakeForm(RING,"Cyl")
  4662. RING.CFrame = CF(HITPOS)
  4663. coroutine.resume(coroutine.create(function()
  4664. repeat
  4665. Swait()
  4666. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4667. until CONSTRUCTING == false
  4668. repeat
  4669. Swait()
  4670. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4671. until RINGSPIN == false
  4672. for i = 1, 25 do
  4673. Swait()
  4674. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4675. RING.Size = RING.Size - VT(0.15,0,0.15)
  4676. --DECAL.Transparency = DECAL.Transparency + 1/25
  4677. RING.Transparency = RING.Transparency + 1/25
  4678. end
  4679. RING:remove()
  4680. end))
  4681. for i = 1, 15 do
  4682. Swait()
  4683. RING.Size = RING.Size + VT(0,0,0)
  4684. RING.Transparency = RING.Transparency - 1/15
  4685. end
  4686. end
  4687. local RANDOMEFFECT = MRANDOM(1)
  4688. local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  4689. BASE.Color = C3(0,0,0)
  4690. BASE.Transparency = 1
  4691. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  4692. if RANDOMEFFECT == 1 then
  4693. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  4694. FIELD.CFrame = BASE.CFrame
  4695. MakeForm(FIELD,"Ball")
  4696. for i = 1, 50 do
  4697. Swait()
  4698. FIELD.Size = VT(0,0,0)
  4699. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  4700. end
  4701. end
  4702. wait(0.2)
  4703. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  4704. FIELD.CFrame = BASE.CFrame
  4705. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  4706. coroutine.resume(coroutine.create(function()
  4707. for i = 1, 75 do
  4708. Swait()
  4709. LOOP.Volume = LOOP.Volume + 10/75
  4710. LOOP.Parent = FIELD
  4711. local CHILDREN = workspace:GetDescendants()
  4712. for index, CHILD in pairs(CHILDREN) do
  4713. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4714. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4715. if HUM then
  4716. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4717. if TORSO then
  4718. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  4719. HUM.Health = HUM.Health - 0
  4720. TORSO.Velocity = VT(0,5,0)
  4721. HUM.PlatformStand = true
  4722. if TORSO.RotVelocity.Magnitude < 15 then
  4723. TORSO.Anchored = true
  4724. end
  4725. end
  4726. end
  4727. end
  4728. end
  4729. end
  4730. FIELD.Size = FIELD.Size + VT(90,90,90)
  4731. FIELD.Transparency = FIELD.Transparency + 0.8/75
  4732. end
  4733. for i = 1, 500 do
  4734. Swait()
  4735. LOOP.Parent = FIELD
  4736. local CHILDREN = workspace:GetDescendants()
  4737. for index, CHILD in pairs(CHILDREN) do
  4738. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4739. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4740. if HUM then
  4741. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4742. if TORSO then
  4743. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  4744. TORSO.Velocity = VT(0,5,0)
  4745. HUM.Health = HUM.Health - 0
  4746. HUM.PlatformStand = true
  4747. if TORSO.RotVelocity.Magnitude < 15 then
  4748. TORSO.Anchored = true
  4749. end
  4750. end
  4751. end
  4752. end
  4753. end
  4754. end
  4755. end
  4756. wait (20)
  4757. back:Remove()
  4758. CreateSound(1538466750, Character, 99999, 1, false)
  4759. chatfunc ("the time rusume")
  4760. killsky:Remove()
  4761. game.Lighting.FogEnd = 90000000
  4762. wait (5)
  4763. CHOICE = MRANDOM (1,5)
  4764. for i = 1, 25 do
  4765. Swait()
  4766. LOOP.Volume = LOOP.Volume + 10/25
  4767. LOOP.Parent = FIELD
  4768. local CHILDREN = workspace:GetDescendants()
  4769. for index, CHILD in pairs(CHILDREN) do
  4770. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4771. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4772. if HUM then
  4773. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4774. if TORSO then
  4775. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  4776. TORSO.Velocity = VT(0,5,0)
  4777. HUM.Health = HUM.Health - 0
  4778. HUM.PlatformStand = false
  4779. if TORSO.RotVelocity.Magnitude < 15 then
  4780. TORSO.Anchored = false
  4781. end
  4782. end
  4783. end
  4784. end
  4785. end
  4786. FIELD.Size = FIELD.Size - VT(3,3,3)
  4787. FIELD.Transparency = FIELD.Transparency + 0.2/25
  4788. end
  4789. end
  4790. end))
  4791. FIELD:Remove()
  4792. ATTACK = false
  4793. Rooted = false
  4794. end
  4795. function RivalingOverthrower2()
  4796. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4797. local HITBODY = Mouse.Target.Parent
  4798. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  4799. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4800. if TORS ~= nil and HUMAN ~= nil then
  4801. ATTACK = true
  4802. Rooted = false
  4803. VanishPlayer()
  4804. TORS.Anchored = true
  4805. RootPart.CFrame = TORS.CFrame*CF(0,5,0)
  4806. CreateSound("260411131", RootPart, 3, 1)
  4807. for i = 1, 75 do
  4808. Swait()
  4809. CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4810. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
  4811. local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4812. MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,POWERLEVEL*5))
  4813. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,POWERLEVEL*5))
  4814. TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4815. end
  4816. RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45))
  4817. Reappear()
  4818. CreateSound("1368583274", RightArm, 10, 1)
  4819. local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0))
  4820. MakeForm(ORB,"Ball")
  4821. ORB.Color = C3(0,0,0)
  4822. ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
  4823. for i=0, 4, 0.1 / Animation_Speed do
  4824. Swait()
  4825. ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4826. ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
  4827. CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0))
  4828. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4829. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  4830. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4831. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4832. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4833. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4834. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4835. end
  4836. for i = 1, 5 do
  4837. Swait()
  4838. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4839. ORB.Size = ORB.Size * 0.8
  4840. end
  4841. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,25,0))
  4842. MakeForm(BEAM,"Ball")
  4843. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,1000,0))
  4844. MakeForm(BEAM2,"Cyl")
  4845. BEAM.CFrame = ORB.CFrame * CF(0,0,10)
  4846. ORB.Color = BRICKC("Really red").Color
  4847. for i = 1, 5 do
  4848. Swait()
  4849. CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0))
  4850. BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  4851. BEAM.Size = BEAM.Size + VT(2,0,2)
  4852. BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  4853. BEAM2.Size = BEAM2.Size + VT(2,0,2)
  4854. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4855. ORB.Size = ORB.Size * 1.3
  4856. end
  4857. CreateSound("1368605755", Effects, 10, 1)
  4858. HITBODY:BreakJoints()
  4859. TORS.Anchored = false
  4860. local POS = TORS.Position
  4861. for i = 1, 25 do
  4862. CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4863. CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4864. end
  4865. for i=0, 2, 0.1 / Animation_Speed do
  4866. Swait()
  4867. killnearest(POS,15,700)
  4868. CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0))
  4869. BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  4870. BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  4871. ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4872. RootPart.CFrame = CF(RootPart.Position,POS)
  4873. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  4874. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4875. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4876. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4877. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4878. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4879. end
  4880. for i = 1, 5 do
  4881. Swait()
  4882. BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  4883. BEAM.Size = BEAM.Size - VT(2,0,2)
  4884. BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  4885. BEAM2.Size = BEAM2.Size - VT(2,0,2)
  4886. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4887. ORB.Size = ORB.Size * 0.8
  4888. end
  4889. turnto(POS)
  4890. ORB:remove()
  4891. BEAM:remove()
  4892. BEAM2:remove()
  4893. ATTACK = false
  4894. Rooted = false
  4895. end
  4896. end
  4897. end
  4898. function killnearest(position,range,maxstrength)
  4899. for i,v in ipairs(workspace:GetChildren()) do
  4900. if v.ClassName == "Model" then
  4901. local body = v:GetChildren()
  4902. for part = 1, #body do
  4903. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4904. if(body[part].Position - position).Magnitude < range then
  4905. if v.ClassName == "Model" then
  4906. v:BreakJoints()
  4907. end
  4908. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  4909. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4910. end
  4911. end
  4912. end
  4913. end
  4914. end
  4915. end
  4916. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  4917. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  4918. local mesh = IT("SpecialMesh",wave)
  4919. mesh.MeshType = "FileMesh"
  4920. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4921. mesh.Scale = SIZE
  4922. mesh.Offset = VT(0,0,-SIZE.X/8)
  4923. wave.CFrame = CFRAME
  4924. coroutine.resume(coroutine.create(function(PART)
  4925. for i = 1, WAIT do
  4926. Swait()
  4927. mesh.Scale = mesh.Scale + GROW
  4928. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  4929. if DOESROT == true then
  4930. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  4931. end
  4932. wave.Transparency = wave.Transparency + (0.5/WAIT)
  4933. if wave.Transparency > 0.99 then
  4934. wave:remove()
  4935. end
  4936. end
  4937. end))
  4938. end
  4939.  
  4940. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  4941. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  4942. local mesh = IT("SpecialMesh",wave)
  4943. mesh.MeshType = "FileMesh"
  4944. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4945. mesh.Scale = SIZE
  4946. mesh.Offset = VT(0,0,0)
  4947. wave.CFrame = CFRAME
  4948. coroutine.resume(coroutine.create(function(PART)
  4949. for i = 1, WAIT do
  4950. Swait()
  4951. mesh.Scale = mesh.Scale + GROW
  4952. if DOESROT == true then
  4953. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  4954. end
  4955. wave.Transparency = wave.Transparency + (0.5/WAIT)
  4956. if wave.Transparency > 0.99 then
  4957. wave:remove()
  4958. end
  4959. end
  4960. end))
  4961. end
  4962.  
  4963. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  4964. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  4965. local mesh = IT("SpecialMesh",wave)
  4966. mesh.MeshType = "Sphere"
  4967. mesh.Scale = SIZE
  4968. mesh.Offset = VT(0,0,0)
  4969. wave.CFrame = CFRAME
  4970. coroutine.resume(coroutine.create(function(PART)
  4971. for i = 1, WAIT do
  4972. Swait()
  4973. mesh.Scale = mesh.Scale + GROW
  4974. wave.Transparency = wave.Transparency + (1/WAIT)
  4975. if wave.Transparency > 0.99 then
  4976. wave:remove()
  4977. end
  4978. end
  4979. end))
  4980. end
  4981.  
  4982. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  4983. if FLOOR ~= nil then
  4984. coroutine.resume(coroutine.create(function()
  4985. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0))
  4986. PART.CFrame = CF(POSITION)
  4987. for i = 1, 45 do
  4988. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE)
  4989. RingPiece.Material = FLOOR.Material
  4990. RingPiece.Color = FLOOR.Color
  4991. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  4992. Debris:AddItem(RingPiece,SWAIT)
  4993. end
  4994. PART:remove()
  4995. end))
  4996. end
  4997. end
  4998.  
  4999. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  5000. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5001. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  5002. wave.CFrame = CFRAME
  5003. coroutine.resume(coroutine.create(function(PART)
  5004. for i = 1, WAIT do
  5005. Swait()
  5006. mesh.Scale = mesh.Scale * GROW
  5007. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5008. if wave.Transparency > 0.99 then
  5009. wave:remove()
  5010. end
  5011. end
  5012. end))
  5013. end
  5014.  
  5015. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  5016. if FLOOR ~= nil then
  5017. for i = 1, AMOUNT do
  5018. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Debree", BLOCKSIZE, false)
  5019. DEBREE.Material = FLOOR.Material
  5020. DEBREE.Color = FLOOR.Color
  5021. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  5022. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  5023. coroutine.resume(coroutine.create(function()
  5024. Swait(15)
  5025. DEBREE.Parent = workspace
  5026. DEBREE.CanCollide = true
  5027. Debris:AddItem(DEBREE,SWAIT)
  5028. end))
  5029. end
  5030. end
  5031. end
  5032.  
  5033. function MakeForm(PART,TYPE)
  5034. if TYPE == "Cyl" then
  5035. local MSH = IT("CylinderMesh",PART)
  5036. elseif TYPE == "Ball" then
  5037. local MSH = IT("SpecialMesh",PART)
  5038. MSH.MeshType = "Sphere"
  5039. elseif TYPE == "Wedge" then
  5040. local MSH = IT("SpecialMesh",PART)
  5041. MSH.MeshType = "Wedge"
  5042. end
  5043. end
  5044.  
  5045. function CheckTableForString(Table, String)
  5046. for i, v in pairs(Table) do
  5047. if string.find(string.lower(String), string.lower(v)) then
  5048. return true
  5049. end
  5050. end
  5051. return false
  5052. end
  5053.  
  5054. function CheckIntangible(Hit)
  5055. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  5056. if Hit and Hit.Parent then
  5057. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  5058. return true
  5059. end
  5060. end
  5061. return false
  5062. end
  5063.  
  5064. Debris = game:GetService("Debris")
  5065.  
  5066. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  5067. local Direction = CFrame.new(StartPos, Vec).lookVector
  5068. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  5069. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  5070. if RayHit and CheckIntangible(RayHit) then
  5071. if DelayIfHit then
  5072. wait()
  5073. end
  5074. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  5075. end
  5076. return RayHit, RayPos, RayNormal
  5077. end
  5078.  
  5079. function turnto(position)
  5080. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  5081. end
  5082. function Boost()
  5083. ATTACK = true
  5084. Rooted = true
  5085. CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10)
  5086. for i = 1, 50 do
  5087. Swait()
  5088. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really red",VT(i/5,i/5,0))
  5089. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT(i/5,i/5,0))
  5090. CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0))
  5091. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5092. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5093. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  5094. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  5095. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5096. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5097. end
  5098. POWERLEVEL = POWERLEVEL + 1
  5099. ATTACK = false
  5100. Rooted = false
  5101. end
  5102. function Perfect_Command()
  5103. ATTACK = true
  5104. Rooted = true
  5105. chatfunc("Weaklings...")
  5106. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  5107. CreateSound("1368605755", Effects, 10, 1)
  5108. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  5109. ApplyAoE(Torso.Position, 9999, 0, 0, 0, true)
  5110. ATTACK = false
  5111. Rooted = false
  5112. end
  5113.  
  5114. function killnearest2(position,range,maxstrength)
  5115. for i,v in ipairs(workspace:GetChildren()) do
  5116. if v.ClassName == "Model" then
  5117. local body = v:GetChildren()
  5118. for part = 1, #body do
  5119. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5120. if(body[part].Position - position).Magnitude < range then
  5121. if v.ClassName == "Model" then
  5122. v:BreakJoints()
  5123. end
  5124. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5125. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  5126. end
  5127. end
  5128. end
  5129. end
  5130. end
  5131. end
  5132.  
  5133. function killnearest(position,range,maxstrength,direction)
  5134. for i,v in ipairs(workspace:GetChildren()) do
  5135. local body = v:GetChildren()
  5136. for part = 1, #body do
  5137. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5138. if(body[part].Position - position).Magnitude < range then
  5139. if v.ClassName == "Model" then
  5140. --v:BreakJoints()
  5141. end
  5142. local POS = position
  5143. coroutine.resume(coroutine.create(function()
  5144. body[part].Anchored = true
  5145. body[part].Parent = Effects
  5146. body[part].CanCollide = true
  5147. local SIZE = body[part].Size
  5148. body[part].Material = "Neon"
  5149. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  5150. for i = 1, 75 do
  5151. Swait()
  5152. body[part].Color = Color3.fromRGB(cR,cG,cB)
  5153. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5154. end
  5155. coroutine.resume(coroutine.create(function()
  5156. while true do
  5157. Swait()
  5158. body[part].Color = Color3.fromRGB(cR,cG,cB)
  5159. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5160. end
  5161. end))
  5162. body[part].Anchored = false
  5163. body[part].Velocity = direction.lookVector*maxstrength
  5164. end))
  5165. end
  5166. end
  5167. end
  5168. if v.ClassName == "Part" then
  5169. if v.Anchored == false and (v.Position - position).Magnitude < range then
  5170. local POS = position
  5171. coroutine.resume(coroutine.create(function()
  5172. v.Anchored = true
  5173. v.Parent = Effects
  5174. local SIZE = v.Size
  5175. v.Material = "Neon"
  5176. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  5177. for i = 1, 75 do
  5178. Swait()
  5179. v.Color = Color3.fromRGB(cR,cG,cB)
  5180. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5181. end
  5182. coroutine.resume(coroutine.create(function()
  5183. while true do
  5184. Swait()
  5185. v.Color = Color3.fromRGB(cR,cG,cB)
  5186. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5187. end
  5188. end))
  5189. v.Anchored = false
  5190. v.Velocity = direction.lookVector*maxstrength
  5191. end))
  5192. end
  5193. end
  5194. end
  5195. end
  5196. function WACKYEFFECT(Table)
  5197. local TYPE = Table.EffectType or "Sphere"
  5198. local SIZE = Table.Size or VT(1, 1, 1)
  5199. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  5200. local TRANSPARENCY = Table.Transparency or 0
  5201. local ENDTRANSPARENCY = Table.Transparency2 or 1
  5202. local CFRAME = Table.CFrame or Torso.CFrame
  5203. local MOVEDIRECTION = Table.MoveToPos or nil
  5204. local ROTATION1 = Table.RotationX or 0
  5205. local ROTATION2 = Table.RotationY or 0
  5206. local ROTATION3 = Table.RotationZ or 0
  5207. local MATERIAL = Table.Material or "Neon"
  5208. local COLOR = Table.Color or C3(1, 1, 1)
  5209. local TIME = Table.Time or 45
  5210. local SOUNDID = Table.SoundID or nil
  5211. local SOUNDPITCH = Table.SoundPitch or nil
  5212. local SOUNDVOLUME = Table.SoundVolume or nil
  5213. coroutine.resume(coroutine.create(function()
  5214. local PLAYSSOUND = false
  5215. local SOUND
  5216. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  5217. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  5218. PLAYSSOUND = true
  5219. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  5220. end
  5221. EFFECT.Color = COLOR
  5222. local MSH
  5223. if TYPE == "Sphere" then
  5224. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  5225. elseif TYPE == "Block" then
  5226. MSH = IT("BlockMesh", EFFECT)
  5227. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  5228. elseif TYPE == "Wave" then
  5229. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  5230. elseif TYPE == "Ring" then
  5231. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  5232. elseif TYPE == "Slash" then
  5233. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  5234. elseif TYPE == "Round Slash" then
  5235. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  5236. elseif TYPE == "Swirl" then
  5237. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  5238. elseif TYPE == "Skull" then
  5239. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  5240. elseif TYPE == "Crystal" then
  5241. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  5242. end
  5243. if MSH ~= nil then
  5244. local MOVESPEED
  5245. if MOVEDIRECTION ~= nil then
  5246. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  5247. end
  5248. local GROWTH = SIZE - ENDSIZE
  5249. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  5250. if TYPE == "Block" then
  5251. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  5252. else
  5253. EFFECT.CFrame = CFRAME
  5254. end
  5255. for LOOP = 1, TIME do
  5256. Swait()
  5257. MSH.Scale = MSH.Scale - GROWTH / TIME
  5258. if TYPE == "Wave" then
  5259. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  5260. end
  5261. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  5262. if TYPE == "Block" then
  5263. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  5264. else
  5265. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  5266. end
  5267. if MOVEDIRECTION ~= nil then
  5268. local ORI = EFFECT.Orientation
  5269. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  5270. EFFECT.Orientation = ORI
  5271. end
  5272. end
  5273. if PLAYSSOUND == false then
  5274. EFFECT:remove()
  5275. else
  5276. repeat
  5277. Swait()
  5278. until SOUND.Playing == false
  5279. EFFECT:remove()
  5280. end
  5281. elseif PLAYSSOUND == false then
  5282. EFFECT:remove()
  5283. else
  5284. repeat
  5285. Swait()
  5286. until SOUND.Playing == false
  5287. EFFECT:remove()
  5288. end
  5289. end))
  5290. end
  5291. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  5292. if FLOOR ~= nil then
  5293. coroutine.resume(coroutine.create(function()
  5294. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  5295. PART.CFrame = CF(POSITION)
  5296. for i = 1, 45 do
  5297. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  5298. RingPiece.Material = FLOOR.Material
  5299. RingPiece.Color = FLOOR.Color
  5300. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  5301. Debris:AddItem(RingPiece, SWAIT)
  5302. end
  5303. PART:remove()
  5304. end))
  5305. end
  5306. end
  5307. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  5308. if FLOOR ~= nil then
  5309. for i = 1, AMOUNT do
  5310. do
  5311. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  5312. DEBREE.Material = FLOOR.Material
  5313. DEBREE.Color = FLOOR.Color
  5314. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  5315. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  5316. coroutine.resume(coroutine.create(function()
  5317. Swait(15)
  5318. DEBREE.Parent = workspace
  5319. DEBREE.CanCollide = true
  5320. Debris:AddItem(DEBREE, SWAIT)
  5321. end))
  5322. end
  5323. end
  5324. end
  5325. end
  5326.  
  5327. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  5328. for _, c in pairs(PARENT:GetChildren()) do
  5329. if c.ClassName == "Model" then
  5330. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  5331. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  5332. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  5333. if DIST > (TORSO.Position - FROM).Magnitude then
  5334. table.insert(TABLE, c)
  5335. end
  5336. AddChildrenToTable(FROM, c, DIST, TABLE)
  5337. elseif c.ClassName == "Folder" then
  5338. AddChildrenToTable(FROM, c, DIST, TABLE)
  5339. end
  5340. end
  5341. end
  5342. end
  5343.  
  5344. function MakeForm(PART, TYPE)
  5345. if TYPE == "Cyl" then
  5346. local MSH = IT("CylinderMesh", PART)
  5347. elseif TYPE == "Ball" then
  5348. local MSH = IT("SpecialMesh", PART)
  5349. MSH.MeshType = "Sphere"
  5350. elseif TYPE == "Wedge" then
  5351. local MSH = IT("SpecialMesh", PART)
  5352. MSH.MeshType = "Wedge"
  5353. end
  5354. end
  5355.  
  5356. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  5357. if DoesCourontine == false then
  5358. local Direction = CF(Part.Position, ToLocation)
  5359. local Distance = (Part.Position - ToLocation).magnitude
  5360. for i = 1, AmountOfTime do
  5361. Swait()
  5362. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  5363. Direction = Part.CFrame
  5364. end
  5365. Part:remove()
  5366. elseif DoesCourontine == true then
  5367. coroutine.resume(coroutine.create(function()
  5368. local Direction = CF(Part.Position, ToLocation)
  5369. local Distance = (Part.Position - ToLocation).magnitude
  5370. for i = 1, AmountOfTime do
  5371. Swait()
  5372. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  5373. Direction = Part.CFrame
  5374. end
  5375. Part:remove()
  5376. end))
  5377. end
  5378. end
  5379.  
  5380. function CheckTableForString(Table, String)
  5381. for i, v in pairs(Table) do
  5382. if string.find(string.lower(String), string.lower(v)) then
  5383. return true
  5384. end
  5385. end
  5386. return false
  5387. end
  5388. function CheckIntangible(Hit)
  5389. local ProjectileNames = {
  5390. "Water",
  5391. "Arrow",
  5392. "Projectile",
  5393. "Effect",
  5394. "Rail",
  5395. "Lightning",
  5396. "Bullet"
  5397. }
  5398. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  5399. return true
  5400. end
  5401. return false
  5402. end
  5403. Debris = game:GetService("Debris")
  5404. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  5405. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  5406. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  5407. if RayHit and CheckIntangible(RayHit) then
  5408. if DelayIfHit then
  5409. wait()
  5410. end
  5411. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  5412. end
  5413. return RayHit, RayPos, RayNormal
  5414. end
  5415.  
  5416. NewInstance = function(instance,parent,properties)
  5417. local inst = Instance.new(instance,parent)
  5418. if(properties)then
  5419. for i,v in next, properties do
  5420. pcall(function() inst[i] = v end)
  5421. end
  5422. end
  5423. return inst;
  5424. end
  5425.  
  5426. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  5427. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5428. local mesh = IT("SpecialMesh",wave)
  5429. mesh.MeshType = "Sphere"
  5430. mesh.Scale = SIZE
  5431. mesh.Offset = VT(0,0,0)
  5432. wave.CFrame = CFRAME
  5433. coroutine.resume(coroutine.create(function(PART)
  5434. for i = 1, WAIT do
  5435. Swait()
  5436. mesh.Scale = mesh.Scale + GROW
  5437. wave.Transparency = wave.Transparency + (1/WAIT)
  5438. if wave.Transparency > 0.99 then
  5439. wave:remove()
  5440. end
  5441. end
  5442. end))
  5443. end
  5444.  
  5445. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  5446. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5447. local mesh = IT("SpecialMesh",wave)
  5448. mesh.MeshType = "FileMesh"
  5449. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5450. mesh.Scale = SIZE
  5451. mesh.Offset = VT(0,0,0)
  5452. wave.CFrame = CFRAME
  5453. coroutine.resume(coroutine.create(function(PART)
  5454. for i = 1, WAIT do
  5455. Swait()
  5456. mesh.Scale = mesh.Scale + GROW
  5457. if DOESROT == true then
  5458. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5459. end
  5460. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5461. if wave.Transparency > 0.99 then
  5462. wave:remove()
  5463. end
  5464. end
  5465. end))
  5466. end
  5467.  
  5468. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  5469. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5470. local mesh = IT("SpecialMesh",wave)
  5471. mesh.MeshType = "FileMesh"
  5472. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5473. mesh.Scale = SIZE
  5474. mesh.Offset = VT(0,0,0)
  5475. wave.CFrame = CFRAME
  5476. coroutine.resume(coroutine.create(function(PART)
  5477. for i = 1, WAIT do
  5478. Swait()
  5479. mesh.Scale = mesh.Scale + GROW
  5480. if DOESROT == true then
  5481. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5482. end
  5483. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5484. if wave.Transparency > 0.99 then
  5485. wave:remove()
  5486. end
  5487. end
  5488. end))
  5489. end
  5490.  
  5491. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  5492. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5493. local mesh = IT("SpecialMesh",wave)
  5494. mesh.MeshType = "Sphere"
  5495. mesh.Scale = SIZE
  5496. mesh.Offset = VT(0,0,0)
  5497. wave.CFrame = CFRAME
  5498. coroutine.resume(coroutine.create(function(PART)
  5499. for i = 1, WAIT do
  5500. Swait()
  5501. mesh.Scale = mesh.Scale + GROW
  5502. wave.Transparency = wave.Transparency + (1/WAIT)
  5503. if wave.Transparency > 0.99 then
  5504. wave:remove()
  5505. end
  5506. end
  5507. end))
  5508. end
  5509.  
  5510. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  5511. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Effect", VT(0,0,0))
  5512. local mesh = IT("SpecialMesh",wave)
  5513. mesh.MeshType = "FileMesh"
  5514. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5515. mesh.Scale = SIZE
  5516. mesh.Offset = VT(0,0,-SIZE.X/8)
  5517. wave.CFrame = CFRAME
  5518. coroutine.resume(coroutine.create(function(PART)
  5519. for i = 1, WAIT do
  5520. Swait()
  5521. mesh.Scale = mesh.Scale + GROW
  5522. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  5523. if DOESROT == true then
  5524. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5525. end
  5526. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5527. if wave.Transparency > 0.99 then
  5528. wave:remove()
  5529. end
  5530. end
  5531. end))
  5532. end
  5533.  
  5534. function CreateWave2(inair,size,doesrotate,rotatedirection,waitt,part,offset)
  5535. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright orange", "Effect", VT(0,0,0))
  5536. local mesh = IT("SpecialMesh",wave)
  5537. mesh.MeshType = "FileMesh"
  5538. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5539. mesh.Scale = VT(size,size,size)
  5540. mesh.Offset = VT(0,0,-size/8)
  5541. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  5542. coroutine.resume(coroutine.create(function(PART)
  5543. for i = 1, waitt do
  5544. Swait()
  5545. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  5546. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  5547. if doesrotate == true then
  5548. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  5549. end
  5550. wave.Transparency = wave.Transparency + (0.5/waitt)
  5551. if wave.Transparency > 0.99 then
  5552. wave:remove()
  5553. end
  5554. end
  5555. end))
  5556. end
  5557.  
  5558. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  5559. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Effect", VT(0,0,0))
  5560. local mesh = IT("SpecialMesh",wave)
  5561. mesh.MeshType = "FileMesh"
  5562. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  5563. mesh.Scale = SIZE
  5564. wave.CFrame = CFRAME
  5565. coroutine.resume(coroutine.create(function(PART)
  5566. for i = 1, WAIT do
  5567. Swait()
  5568. mesh.Scale = mesh.Scale + GROW
  5569. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  5570. if DOESROT == true then
  5571. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5572. end
  5573. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5574. if wave.Transparency > 0.99 then
  5575. wave:remove()
  5576. end
  5577. end
  5578. end))
  5579. end
  5580.  
  5581. function Imperfect_Command()
  5582. ATTACK = true
  5583. Rooted = true
  5584. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5585. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  5586. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  5587. if TORSO then
  5588. local GYRO = IT("BodyGyro", RootPart)
  5589. GYRO.D = 750
  5590. GYRO.P = 2000
  5591. GYRO.MaxTorque = VT(0, 40000, 0)
  5592. CreateSound("907330103", Torso, 10, 1)
  5593. for i = 0, 1.6, 0.1 / Animation_Speed do
  5594. Swait()
  5595. WACKYEFFECT({
  5596. Time = 5,
  5597. EffectType = "Round Slash",
  5598. Size = VT(0, 0, 0),
  5599. Size2 = VT(0.01, 0, 0.01),
  5600. Transparency = 0.5,
  5601. Transparency2 = 1,
  5602. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5603. MoveToPos = nil,
  5604. RotationX = MRANDOM(-50, 50) / 10,
  5605. RotationY = MRANDOM(-50, 50) / 10,
  5606. RotationZ = MRANDOM(-50, 50) / 10,
  5607. Material = "Neon",
  5608. Color = C3(1, 0, 0),
  5609. SoundID = nil,
  5610. SoundPitch = nil,
  5611. SoundVolume = nil
  5612. })
  5613. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  5614. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  5615. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  5616. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  5617. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5618. if ANIM == "Idle" then
  5619. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5620. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5621. elseif ANIM == "Walk" then
  5622. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5623. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5624. elseif ANIM == "Jump" or ANIM == "Fall" then
  5625. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  5626. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  5627. end
  5628. end
  5629. GYRO:remove()
  5630. for i = 1, 15 do
  5631. WACKYEFFECT({
  5632. Time = MRANDOM(15, 85),
  5633. EffectType = "Round Slash",
  5634. Size = VT(0, 0, 0),
  5635. Size2 = VT(0.3, 0, 0.3),
  5636. Transparency = 0.5,
  5637. Transparency2 = 1,
  5638. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5639. MoveToPos = nil,
  5640. RotationX = MRANDOM(-50, 50) / 10,
  5641. RotationY = MRANDOM(-50, 50) / 10,
  5642. RotationZ = MRANDOM(-50, 50) / 10,
  5643. Material = "Neon",
  5644. Color = C3(1, 0, 0),
  5645. SoundID = nil,
  5646. SoundPitch = nil,
  5647. SoundVolume = nil
  5648. })
  5649. end
  5650. local bv = Instance.new("BodyVelocity")
  5651. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  5652. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  5653. bv.Parent = TORSO
  5654. Debris:AddItem(bv, 0.05)
  5655. CreateSound("1222405264", TORSO, 10, 1)
  5656. Petrify(HUM.Parent)
  5657. for i = 0, 0.5, 0.1 / Animation_Speed do
  5658. Swait()
  5659. WACKYEFFECT({
  5660. Time = 5,
  5661. EffectType = "Round Slash",
  5662. Size = VT(0, 0, 0),
  5663. Size2 = VT(0.01, 0, 0.01),
  5664. Transparency = 0.5,
  5665. Transparency2 = 1,
  5666. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5667. MoveToPos = nil,
  5668. RotationX = MRANDOM(-50, 50) / 10,
  5669. RotationY = MRANDOM(-50, 50) / 10,
  5670. RotationZ = MRANDOM(-50, 50) / 10,
  5671. Material = "Neon",
  5672. Color = C3(1, 0, 0),
  5673. SoundID = nil,
  5674. SoundPitch = nil,
  5675. SoundVolume = nil
  5676. })
  5677. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  5678. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  5679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  5680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5681. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5682. if ANIM == "Idle" then
  5683. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5685. elseif ANIM == "Walk" then
  5686. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5687. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5688. elseif ANIM == "Jump" or ANIM == "Fall" then
  5689. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  5690. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  5691. end
  5692. end
  5693. end
  5694. end
  5695. ATTACK = false
  5696. Rooted = false
  5697. end
  5698.  
  5699. function Rainbow()
  5700. 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)
  5701. CHOICE = 6
  5702.  
  5703. chatfunc("RainBow made me fly.")
  5704. for i = 0, 12, .1 do
  5705. swait(0.35)
  5706. end
  5707.  
  5708. chatfunc("Its time to p e r i s h.")
  5709. for i = 0, 16, .1 do
  5710. end
  5711. swait(0.15)
  5712. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1000,1000,1000))
  5713. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(75,75,75))
  5714. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
  5715. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
  5716. CreateSound("1368605755", Effects, 10, 1)
  5717. CreateSound("265201042", Effects, 10, 0.5)
  5718.  
  5719. back = CreateSound(1192655599, Character, 9999, 1, true)
  5720. DemonForm = true
  5721. local sillsky = Instance.new('Sky', game:GetService'Lighting')
  5722. sillsky.SkyboxBk = "rbxassetid://157712259"
  5723. sillsky.SkyboxDn = "rbxassetid://157712247"
  5724. sillsky.SkyboxFt = "rbxassetid://157712266"
  5725. sillsky.SkyboxLf = "rbxassetid://157712240"
  5726. sillsky.SkyboxRt = "rbxassetid://157712254"
  5727. sillsky.SkyboxUp = "rbxassetid://157712276"
  5728. sillsky.StarCount = 0
  5729. sillsky.SunAngularSize = 0
  5730. sillsky.MoonAngularSize = 0
  5731. sillsky.MoonTextureId = ""
  5732. sillsky.CelestialBodiesShown = false
  5733. game.Lighting.FogColor = Color3.new(1,0,0)
  5734. game.Lighting.FogEnd = 1400
  5735. end
  5736.  
  5737. function Needle()
  5738. ATTACK = true
  5739. Rooted = true
  5740. local GYRO = IT("BodyGyro",RootPart)
  5741. GYRO.D = 2
  5742. GYRO.P = 2000
  5743. GYRO.MaxTorque = VT(0,4000000,0)
  5744. local NEEDGYRO = true
  5745. coroutine.resume(coroutine.create(function()
  5746. repeat
  5747. Swait()
  5748. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5749. until NEEDGYRO == false
  5750. GYRO:Remove()
  5751. end))
  5752. for i=0, 0.3, 0.1 / Animation_Speed do
  5753. Swait()
  5754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  5755. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  5756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5757. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5758. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5759. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5760. end
  5761. for i=0, 1, 0.1 / Animation_Speed do
  5762. Swait()
  5763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  5764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  5765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5767. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5769. end
  5770. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  5771. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 2})
  5772. NEEDGYRO = false
  5773. if HIT then
  5774. local NEEDLE = IT("Model",Effects)
  5775. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  5776. MakeForm(BASE,"Cyl")
  5777. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  5778. weldBetween(BASE,HIT)
  5779. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  5780. MakeForm(FLUID,"Cyl")
  5781. FLUID.CFrame = BASE.CFrame
  5782. weldBetween(BASE,FLUID)
  5783. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  5784. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  5785. weldBetween(BASE,PART)
  5786. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  5787. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  5788. weldBetween(BASE,PART)
  5789. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  5790. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  5791. weldBetween(BASE,PART)
  5792. Debris:AddItem(NEEDLE,7)
  5793. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  5794. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  5795. coroutine.resume(coroutine.create(function()
  5796. for i = 1, 500 do
  5797. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  5798. if HUMAN.Health == 0 then
  5799. break
  5800. end
  5801. Swait(2)
  5802. end
  5803. if HUMAN.Health == 0 then
  5804. local CHILD = HUMAN.Parent
  5805. if CHILD:FindFirstChild("Torso") then
  5806. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  5807. Ragdoll(CHILD,Torso,true)
  5808. elseif CHILD:FindFirstChild("UpperTorso") then
  5809. R15Ragdoll(CHILD,true)
  5810. end
  5811. end
  5812. end))
  5813. end
  5814. end
  5815. for i=0, 1, 0.1 / Animation_Speed do
  5816. Swait()
  5817. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  5818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  5819. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5821. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5822. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5823. end
  5824. ATTACK = false
  5825. Rooted = false
  5826. end
  5827. function R15Ragdoll(character,KeepArms)
  5828. character:BreakJoints()
  5829. coroutine.resume(coroutine.create(function()
  5830. recurse(character, function(_,v)
  5831. if v:IsA("Attachment") then
  5832. v.Axis = Vector3.new(0, 1, 0)
  5833. v.SecondaryAxis = Vector3.new(0, 0, 1)
  5834. v.Rotation = Vector3.new(0, 0, 0)
  5835. end
  5836. end)
  5837. for _,child in next,character:GetChildren() do
  5838. if child:IsA("Accoutrement") then
  5839. for _,part in next,child:GetChildren() do
  5840. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  5841. local attachment1 = part:FindFirstChildOfClass("Attachment")
  5842. local attachment0 = getAttachment0(character,attachment1.Name)
  5843. if attachment0 and attachment1 then
  5844. local constraint = Instance.new("HingeConstraint")
  5845. constraint.Attachment0 = attachment0
  5846. constraint.Attachment1 = attachment1
  5847. constraint.LimitsEnabled = true
  5848. constraint.UpperAngle = 0
  5849. constraint.LowerAngle = 0
  5850. constraint.Parent = character
  5851. end
  5852. ArtificialHitbox(part)
  5853. elseif part.Name == "HumanoidRootPart" then
  5854. part:remove()
  5855. end
  5856. end
  5857. end
  5858. end
  5859.  
  5860. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  5861. {"LimitsEnabled",true};
  5862. {"UpperAngle",5};
  5863. })
  5864. if character:FindFirstChild("Head") then
  5865. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  5866. {"LimitsEnabled",true};
  5867. {"UpperAngle",15};
  5868. })
  5869. end
  5870.  
  5871. local handProperties = {
  5872. {"LimitsEnabled", true};
  5873. {"UpperAngle",0};
  5874. {"LowerAngle",0};
  5875. }
  5876. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  5877. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  5878.  
  5879. local shinProperties = {
  5880. {"LimitsEnabled", true};
  5881. {"UpperAngle", 0};
  5882. {"LowerAngle", -75};
  5883. }
  5884. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  5885. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  5886.  
  5887. local footProperties = {
  5888. {"LimitsEnabled", true};
  5889. {"UpperAngle", 15};
  5890. {"LowerAngle", -45};
  5891. }
  5892. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  5893. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  5894. if KeepArms == true then
  5895. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  5896. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  5897. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  5898. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  5899. end
  5900. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  5901. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  5902. Debris:AddItem(character,5)
  5903. end))
  5904. end
  5905. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  5906. attachmentName = attachmentName.."RigAttachment"
  5907. local constraint = Instance.new(className.."Constraint")
  5908. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  5909. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  5910. constraint.Name = "RagdollConstraint"..part1.Name
  5911.  
  5912. for _,propertyData in next,properties or {} do
  5913. constraint[propertyData[1]] = propertyData[2]
  5914. end
  5915.  
  5916. constraint.Parent = character
  5917. end
  5918. function ArtificialHitbox(Part)
  5919. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  5920. HITBOX.CanCollide = true
  5921. HITBOX.CFrame = Part.CFrame
  5922. weldBetween(Part,HITBOX)
  5923. end
  5924. function getAttachment0(character, attachmentName)
  5925. for _,child in next,character:GetChildren() do
  5926. local attachment = child:FindFirstChild(attachmentName)
  5927. if attachment then
  5928. return attachment
  5929. end
  5930. end
  5931. end
  5932. function Mercy()
  5933. ATTACK = true
  5934. Rooted = true
  5935. local SPOTS = {}
  5936. for i = 1, 15 do
  5937. Swait()
  5938. 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(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5939. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  5940. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  5941. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5942. end
  5943. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  5944. for i=0, 0.5, 0.1 / Animation_Speed do
  5945. Swait()
  5946. 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(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5950. end
  5951. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  5952. table.insert(SPOTS,HITPOS)
  5953. CreateSound(145080998, Hole, 2, 1, false)
  5954. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Hole.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  5955. coroutine.resume(coroutine.create(function()
  5956. local POS = Mouse.Hit.p
  5957. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  5958. MakeForm(RAY,"Cyl")
  5959. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  5960. MakeForm(SPHERE,"Ball")
  5961. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  5962. MakeForm(SHIELD,"Ball")
  5963. SHIELD.CFrame = CF(POS)
  5964. RAY.CFrame = CF(POS)
  5965. SPHERE.CFrame = CF(POS)
  5966. CreateSound(440145570, SPHERE, 10, 0.8, false)
  5967. CreateSound(415700134, SPHERE, 10, 0.8, false)
  5968. for i = 1, 200 do
  5969. Swait()
  5970. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5971. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5972. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*2,5+(i),SPHERE.Size.X*2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5973. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  5974. SPHERE.Size = SPHERE.Size + VT(3,3,3)
  5975. SHIELD.Size = SPHERE.Size + VT(4,4,4)
  5976. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  5977. end
  5978. for i = 1, 45 do
  5979. Swait()
  5980. RAY.Transparency = RAY.Transparency + 1/45
  5981. SPHERE.Transparency = RAY.Transparency
  5982. SHIELD.Transparency = SPHERE.Transparency + 1/45
  5983. end
  5984. RAY:remove()
  5985. SHIELD:remove()
  5986. SPHERE:remove()
  5987. end))
  5988. ATTACK = false
  5989. Rooted = false
  5990. end
  5991. --//=================================\\
  5992. --|| ASSIGN THINGS TO KEYS
  5993. --\\=================================//
  5994.  
  5995. function MouseDown(Mouse)
  5996. HOLD = true
  5997. if ATTACK == false then
  5998. end
  5999. end
  6000.  
  6001. function MouseUp(Mouse)
  6002. HOLD = false
  6003. end
  6004.  
  6005. function KeyDown(Key)
  6006. KEYHOLD = true
  6007. if Key == "z" and ATTACK == false then
  6008. Shot()
  6009. end
  6010.  
  6011. if Key == "y" and ATTACK == false then
  6012. Rainbow()
  6013. end
  6014.  
  6015. if Key == "v" and ATTACK == false then
  6016. Execute()
  6017. end
  6018.  
  6019. if Key == "l" and ATTACK == false then
  6020. Imperfect_Command()
  6021. end
  6022.  
  6023. if Key == "k" and ATTACK == false then
  6024. Perfect_Command()
  6025. end
  6026.  
  6027. if Key == "c" and ATTACK == false then
  6028. Bullet()
  6029. end
  6030.  
  6031. if Key == "n" and ATTACK == false then
  6032.  
  6033. end
  6034.  
  6035. if Key == "u" and ATTACK == false then
  6036. Needle()
  6037. end
  6038.  
  6039. if Key == "r" and ATTACK == false then
  6040. CyberSmash()
  6041. end
  6042.  
  6043.  
  6044. if Key == "x" and ATTACK == false then
  6045. Deathbound()
  6046. end
  6047.  
  6048. if Key == "g" and ATTACK == false then
  6049. Jupiter()
  6050. wait(1)
  6051. WarpMeteor()
  6052. end
  6053.  
  6054. if Key == "b" and ATTACK == false then
  6055. Lift()
  6056. end
  6057.  
  6058. if Key == "]" and ATTACK == false then
  6059. if POWERLEVEL < 5 then
  6060. Boost()
  6061. end
  6062. end
  6063.  
  6064. if Key == "h" and ATTACK == false then
  6065. Mercy()
  6066. end
  6067.  
  6068. if Key == "j" and ATTACK == false then
  6069. TimeStop ()
  6070. end
  6071.  
  6072. if Key == "t" and ATTACK == false then
  6073. HI()
  6074. end
  6075.  
  6076. if Key == "e" and ATTACK == false then
  6077. Morning_Star()
  6078. end
  6079.  
  6080. if Key == "f" and ATTACK == false then
  6081. Prison_Key()
  6082. end
  6083.  
  6084. if Key == "q" and ATTACK == false then
  6085. MagicMissiles()
  6086. end
  6087.  
  6088. if Key == "p" and ATTACK == false then
  6089.  
  6090. end
  6091. end
  6092. function KeyUp(Key)
  6093. KEYHOLD = false
  6094. end
  6095.  
  6096. Mouse.Button1Down:connect(function(NEWKEY)
  6097. MouseDown(NEWKEY)
  6098. end)
  6099. Mouse.Button1Up:connect(function(NEWKEY)
  6100. MouseUp(NEWKEY)
  6101. end)
  6102. Mouse.KeyDown:connect(function(NEWKEY)
  6103. KeyDown(NEWKEY)
  6104. end)
  6105. Mouse.KeyUp:connect(function(NEWKEY)
  6106. KeyUp(NEWKEY)
  6107. end)
  6108.  
  6109. --//=================================\\
  6110. --\\=================================//
  6111.  
  6112.  
  6113. function unanchor()
  6114. if UNANCHOR == true then
  6115. g = Character:GetChildren()
  6116. for i = 1, #g do
  6117. if g[i].ClassName == "Part" then
  6118. g[i].Anchored = false
  6119. end
  6120. end
  6121. end
  6122. end
  6123.  
  6124.  
  6125.  
  6126. --//=================================\\
  6127. --|| WRAP THE WHOLE SCRIPT UP
  6128. --\\=================================//
  6129.  
  6130. Humanoid.Changed:connect(function(Jump)
  6131. if Jump == "Jump" and (Disable_Jump == true) then
  6132. Humanoid.Jump = false
  6133. end
  6134. end)
  6135.  
  6136. local CONNECT = nil
  6137.  
  6138. while true do
  6139. Swait()
  6140. ANIMATE.Parent = nil
  6141. if Character:FindFirstChildOfClass("Humanoid") == nil then
  6142. Humanoid = IT("Humanoid",Character)
  6143. end
  6144. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  6145. v:Stop();
  6146. end
  6147. SINE = SINE + CHANGE
  6148. Humanoid.HipHeight = 1.5
  6149. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  6150. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  6151. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  6152. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  6153. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  6154. elseif TORSOVELOCITY > 1 then
  6155. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  6156. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6157. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6158. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6159. 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)
  6160. 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)
  6161. end
  6162. if TORSOVERTICALVELOCITY > 1 then
  6163. ANIM = "Jump"
  6164. if ATTACK == false then
  6165. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6168. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6169. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  6170. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  6171. end
  6172. elseif TORSOVERTICALVELOCITY < -1 then
  6173. ANIM = "Fall"
  6174. if ATTACK == false then
  6175. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6176. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6177. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6178. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6179. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  6180. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  6181. end
  6182. elseif TORSOVELOCITY < 1 then
  6183. ANIM = "Idle"
  6184. if ATTACK == false then
  6185. 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(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6186. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6187. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6188. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6189. 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)
  6190. 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)
  6191. end
  6192. elseif TORSOVELOCITY > 1 then
  6193. ANIM = "Walk"
  6194. if ATTACK == false then
  6195. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  6196. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6197. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6198. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6199. 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)
  6200. 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)
  6201. end
  6202. end
  6203. unanchor()
  6204. Humanoid.MaxHealth = "inf"
  6205. Humanoid.Health = "inf"
  6206. if Rooted == false then
  6207. Disable_Jump = false
  6208. Humanoid.WalkSpeed = Speed
  6209. elseif Rooted == true then
  6210. Disable_Jump = true
  6211. Humanoid.WalkSpeed = 0
  6212. end
  6213. sick.Parent = Torso
  6214. sick:resume()
  6215. sick.Volume = 5
  6216. sick.Pitch = 1
  6217. sick.SoundId = "rbxassetid://722553316"
  6218. sick.Name = "Darkness"
  6219. end
  6220.  
  6221. --//=================================\\
  6222. --\\=================================//
  6223.  
  6224.  
  6225.  
  6226.  
  6227.  
  6228. --//====================================================\\--
  6229. --|| END OF SCRIPT
  6230. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement