Advertisement
Prozanity

Untitled

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