Advertisement
wanTH092

Dreaming Deku

Jul 20th, 2018
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 158.09 KB | None | 0 0
  1. script.Name = "De-ku Dream"
  2. --//====================================================\\--
  3. --|| EDITED BY wanTH092 CREATED BY Shackluster
  4. --\\====================================================//--
  5.  
  6.  
  7. script:ClearAllChildren()
  8. wait(0.2)
  9.  
  10. Player = game:GetService("Players").LocalPlayer
  11. PlayerGui = Player.PlayerGui
  12. Cam = workspace.CurrentCamera
  13. Backpack = Player.Backpack
  14. Character = Player.Character
  15. Humanoid = Character.Humanoid
  16. Mouse = Player:GetMouse()
  17. RootPart = Character["HumanoidRootPart"]
  18. Torso = Character["Torso"]
  19. Head = Character["Head"]
  20. RightArm = Character["Right Arm"]
  21. LeftArm = Character["Left Arm"]
  22. RightLeg = Character["Right Leg"]
  23. LeftLeg = Character["Left Leg"]
  24. RootJoint = RootPart["RootJoint"]
  25. Neck = Torso["Neck"]
  26. RightShoulder = Torso["Right Shoulder"]
  27. LeftShoulder = Torso["Left Shoulder"]
  28. RightHip = Torso["Right Hip"]
  29. LeftHip = Torso["Left Hip"]
  30. local TIME = 0
  31. local sick = Instance.new("Sound",Torso)
  32.  
  33. IT = Instance.new
  34. CF = CFrame.new
  35. VT = Vector3.new
  36. RAD = math.rad
  37. C3 = Color3.new
  38. UD2 = UDim2.new
  39. BRICKC = BrickColor.new
  40. ANGLES = CFrame.Angles
  41. EULER = CFrame.fromEulerAnglesXYZ
  42. COS = math.cos
  43. ACOS = math.acos
  44. SIN = math.sin
  45. ASIN = math.asin
  46. ABS = math.abs
  47. MRANDOM = math.random
  48. FLOOR = math.floor
  49. local RWINGS = {}
  50. local LWINGS = {}
  51. local GunPoint
  52. Player_Size = 1
  53.  
  54. -- Thingy To Make Song Work
  55.  
  56. p = game.Players.LocalPlayer
  57. char = p.Character
  58.  
  59. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  60. local s = Instance.new("Sound",char)
  61. s.Name = "BGMusic"
  62. s.SoundId = "rbxassetid://450783524"
  63. s.Pitch = 1
  64. s.Volume = 2
  65. s.Looped = true
  66. s.archivable = false
  67. s.Parent = char.Head
  68. wait(0.1)
  69. s:play()
  70.  
  71. -- Go below
  72. -- oh well
  73.  
  74. --//=================================\\
  75. --|| USEFUL VALUES
  76. --\\=================================//
  77.  
  78. Animation_Speed = 1.5
  79. local FORCERESET = true
  80. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  81. local Speed = 25
  82. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  83. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  84. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  85. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  86. local DAMAGEMULTIPLIER = 1
  87. local ANIM = "Idle"
  88. local ATTACK = false
  89. local EQUIPPED = false
  90. local HOLD = false
  91. local COMBO = 1
  92. local Rooted = false
  93. local SINE = 0
  94. local KEYHOLD = false
  95. local CHANGE = 2 / Animation_Speed
  96. local WALKINGANIM = false
  97. local VALUE1 = false
  98. local VALUE2 = false
  99. local ROBLOXIDLEANIMATION = IT("Animation")
  100. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  101. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  102. --ROBLOXIDLEANIMATION.Parent = Humanoid
  103. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  104. WEAPONGUI.Name = "BanishV3Gui"
  105. local Weapon = IT("Model")
  106. Weapon.Name = "Adds"
  107. local Effects = IT("Folder", Weapon)
  108. Effects.Name = "Effects"
  109. local ANIMATOR = Humanoid.Animator
  110. local ANIMATE = Character:FindFirstChild("Animate")
  111. local UNANCHOR = true
  112. local TOBANISH = {}
  113. script.Parent = PlayerGui
  114.  
  115. function StatLabel(CFRAME, TEXT, COLOR)
  116. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  117. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  118. local BODYGYRO = IT("BodyGyro", STATPART)
  119. game:GetService("Debris"):AddItem(STATPART ,5)
  120. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  121. BILLBOARDGUI.Adornee = STATPART
  122. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  123. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  124. BILLBOARDGUI.AlwaysOnTop = false
  125. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  126. TEXTLABEL.BackgroundTransparency = 1
  127. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  128. TEXTLABEL.Text = TEXT
  129. TEXTLABEL.Font = SKILLFONT
  130. TEXTLABEL.FontSize="Size42"
  131. TEXTLABEL.TextColor3 = BRICKC(25,0,0)
  132. TEXTLABEL.TextStrokeTransparency = 0
  133. TEXTLABEL.TextScaled = true
  134. TEXTLABEL.TextWrapped = true
  135. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  136. for i = 1, 50 do
  137. Swait()
  138. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  139. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  140. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  141. end
  142. THEPART.Parent = nil
  143. end),STATPART, TEXTLABEL)
  144. end
  145.  
  146. --//=================================\\
  147. --\\=================================//
  148.  
  149.  
  150. --//=================================\\
  151. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  152. --\\=================================//
  153.  
  154. ArtificialHB = Instance.new("BindableEvent", script)
  155. ArtificialHB.Name = "ArtificialHB"
  156.  
  157. script:WaitForChild("ArtificialHB")
  158.  
  159. frame = Frame_Speed
  160. tf = 0
  161. allowframeloss = false
  162. tossremainder = false
  163. lastframe = tick()
  164. script.ArtificialHB:Fire()
  165.  
  166. game:GetService("RunService").Heartbeat:connect(function(s, p)
  167. tf = tf + s
  168. if tf >= frame then
  169. if allowframeloss then
  170. script.ArtificialHB:Fire()
  171. lastframe = tick()
  172. else
  173. for i = 1, math.floor(tf / frame) do
  174. script.ArtificialHB:Fire()
  175. end
  176. lastframe = tick()
  177. end
  178. if tossremainder then
  179. tf = 0
  180. else
  181. tf = tf - frame * math.floor(tf / frame)
  182. end
  183. end
  184. end)
  185.  
  186. --//=================================\\
  187. --\\=================================//
  188.  
  189. --//=================================\\
  190. --|| SOME TAG EDIT
  191. --\\=================================//
  192.  
  193. m = game.Players.LocalPlayer
  194. char = m.Character
  195. local txt = Instance.new("BillboardGui", char)
  196. txt.Adornee = char.Head
  197. txt.Name = "_status"
  198. txt.Size = UDim2.new(2, 0, 1.2, 0)
  199. txt.StudsOffset = Vector3.new(-9, 8, 0)
  200. local text = Instance.new("TextLabel", txt)
  201. text.Size = UDim2.new(10, 0, 7, 0)
  202. text.FontSize = "Size24"
  203. text.TextScaled = true
  204. text.TextTransparency = 0
  205. text.BackgroundTransparency = 1
  206. text.TextTransparency = 0
  207. text.TextStrokeTransparency = 0
  208. text.Font = "Bodoni"
  209. text.TextStrokeColor3 = Color3.new(0/255, 255/255, 125/255)
  210. v = Instance.new("Part")
  211. v.Name = "ColorBrick"
  212. v.Parent = m.Character
  213. v.FormFactor = "Symmetric"
  214. v.Anchored = true
  215. v.CanCollide = false
  216. v.BottomSurface = "Smooth"
  217. v.TopSurface = "Smooth"
  218. v.Size = Vector3.new(10, 5, 3)
  219. v.Transparency = 1
  220. v.CFrame = char.Torso.CFrame
  221. v.BrickColor = BrickColor.new("Really black")
  222. v.Transparency = 1
  223. v.Shape = "Block"
  224. spawn(function()
  225. local TweenService = game:GetService("TweenService")
  226. local Colours = {Color3.fromRGB(0,255,255),Color3.fromRGB(0,255,200),Color3.fromRGB(0,100,165),Color3.fromRGB(0,255,135),Color3.fromRGB(0,255,110),Color3.fromRGB(0,255,95),Color3.fromRGB(0,255,80),Color3.fromRGB(0,255,45)}
  227. local Int = 0
  228. while wait(0.5) do
  229. if Int == #Colours then Int = 0 end
  230. Int = Int+1
  231. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  232. end
  233. end)
  234. text.Text = "Dreaming De-ku"
  235.  
  236. --//=================================\\
  237. --\\=================================//
  238.  
  239. --//=================================\\
  240. --|| SOME FUNCTIONS
  241. --\\=================================//
  242.  
  243. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  244. PLAYMAINANIM = false
  245. if WhichPose == "Cast1" then
  246. for i=0, Time, 0.1 / Animation_Speed do
  247. Swait()
  248. if Magic == true then
  249. 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})
  250. end
  251. if Gyro ~= nil and Gyro ~= false then
  252. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  253. end
  254. 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)
  255. 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)
  256. 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)
  257. 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)
  258. 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)
  259. 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)
  260. end
  261. elseif WhichPose == "Cast2" then
  262. for i=0, Time, 0.1 / Animation_Speed do
  263. Swait()
  264. if Magic == true then
  265. 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})
  266. 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})
  267. end
  268. if Gyro ~= nil and Gyro ~= false then
  269. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  270. end
  271. 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)
  272. 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)
  273. 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)
  274. 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)
  275. 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)
  276. 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)
  277. end
  278. elseif WhichPose == "RightArmUp" then
  279. for i=0, Time, 0.1 / Animation_Speed do
  280. Swait()
  281. if Magic == true then
  282. 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})
  283. end
  284. if Gyro ~= nil and Gyro ~= false then
  285. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  286. end
  287. 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)
  288. 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)
  289. 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)
  290. 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)
  291. 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)
  292. 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)
  293. end
  294. elseif WhichPose == "Taunt" then
  295. for i=0, Time, 0.1 / Animation_Speed do
  296. Swait()
  297. 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)
  298. 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)
  299. 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)
  300. 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)
  301. 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)
  302. 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)
  303. end
  304. HATWELD.Part0 = RightArm
  305. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  306. CreateSound(221057812,Torso,10,1,false)
  307. for i=0, Time*2, 0.1 / Animation_Speed do
  308. Swait()
  309. 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)
  310. 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)
  311. 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)
  312. 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)
  313. 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)
  314. 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)
  315. end
  316. for i=0, Time, 0.1 / Animation_Speed do
  317. Swait()
  318. 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)
  319. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  320. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  321. 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)
  322. 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)
  323. 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)
  324. 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)
  325. end
  326. HATWELD.Part0 = Head
  327. HATWELD.C0 = CF(0,0.35,0)
  328. elseif WhichPose == "Prepare key" then
  329. for i=0, Time, 0.1 / Animation_Speed do
  330. Swait()
  331. if Gyro ~= nil and Gyro ~= false then
  332. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  333. end
  334. 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)
  335. 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)
  336. 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)
  337. 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)
  338. 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)
  339. 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)
  340. end
  341. elseif WhichPose == "Turn key" then
  342. for i=0, Time, 0.1 / Animation_Speed do
  343. Swait()
  344. if Gyro ~= nil and Gyro ~= false then
  345. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  346. end
  347. 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)
  348. 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)
  349. 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)
  350. 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)
  351. 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)
  352. 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)
  353. end
  354. end
  355. PLAYMAINANIM = true
  356. end
  357.  
  358. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  359. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  360. end
  361.  
  362. function PositiveAngle(NUMBER)
  363. if NUMBER >= 0 then
  364. NUMBER = 0
  365. end
  366. return NUMBER
  367. end
  368.  
  369. function NegativeAngle(NUMBER)
  370. if NUMBER <= 0 then
  371. NUMBER = 0
  372. end
  373. return NUMBER
  374. end
  375.  
  376. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  377. if FLOOR ~= nil then
  378. for i = 1, AMOUNT do
  379. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
  380. DEBREE.Material = FLOOR.Material
  381. DEBREE.Color = FLOOR.Color
  382. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  383. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  384. coroutine.resume(coroutine.create(function()
  385. Swait(15)
  386. DEBREE.Parent = workspace
  387. DEBREE.CanCollide = true
  388. Debris:AddItem(DEBREE,SWAIT)
  389. end))
  390. end
  391. end
  392. end
  393.  
  394. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  395. if FLOOR ~= nil then
  396. coroutine.resume(coroutine.create(function()
  397. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  398. PART.CFrame = CF(POSITION)
  399. for i = 1, 45 do
  400. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
  401. RingPiece.Material = FLOOR.Material
  402. RingPiece.Color = FLOOR.Color
  403. 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)))
  404. Debris:AddItem(RingPiece,SWAIT)
  405. end
  406. PART:remove()
  407. end))
  408. end
  409. end
  410.  
  411. local DECAL = IT("Decal")
  412. function MakeRing()
  413. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Deep orange"), "MagicRing", VT(0, 0, 0), true)
  414. local MSH = IT("BlockMesh", RING)
  415. local TOP = DECAL:Clone()
  416. local BOTTOM = DECAL:Clone()
  417. TOP.Parent = RING
  418. BOTTOM.Parent = RING
  419. TOP.Face = "Top"
  420. BOTTOM.Face = "Bottom"
  421. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  422. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  423. local function REMOVE()
  424. coroutine.resume(coroutine.create(function()
  425. local SIZE = MSH.Scale.X
  426. for i = 1, 35 do
  427. Swait()
  428. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  429. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  430. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  431. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  432. end
  433. RING:remove()
  434. end))
  435. end
  436. return RING, MSH, REMOVE
  437. end
  438.  
  439. function killnearest(position, range, maxstrength)
  440. for i, v in ipairs(workspace:GetChildren()) do
  441. do
  442. local body = v:GetChildren()
  443. for part = 1, #body do
  444. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  445. if v.ClassName == "Model" then
  446. v:BreakJoints()
  447. end
  448. local bv = Instance.new("BodyVelocity")
  449. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  450. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  451. bv.Parent = body[part]
  452. Debris:AddItem(bv, 0.2)
  453. body[part].Parent = Effects
  454. body[part].Material = "Neon"
  455. body[part].Color = C3(0, 0, 0)
  456. body[part].CanCollide = true
  457. coroutine.resume(coroutine.create(function()
  458. wait(5)
  459. if body[part].Parent == Effects then
  460. body[part]:remove()
  461. end
  462. end))
  463. end
  464. end
  465. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  466. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  467. end
  468. end
  469. end
  470. end
  471.  
  472. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  473. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0, 0, 0))
  474. wave.Color = COLOR
  475. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0))
  476. wave.CFrame = CFRAME
  477. coroutine.resume(coroutine.create(function(PART)
  478. for i = 1, WAIT do
  479. Swait()
  480. mesh.Scale = mesh.Scale + GROW
  481. if DOESROT == true then
  482. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  483. end
  484. wave.Transparency = wave.Transparency + 0.5 / WAIT
  485. if wave.Transparency > 0.99 then
  486. wave:remove()
  487. end
  488. end
  489. end))
  490. end
  491.  
  492. function MakeForm(PART, TYPE)
  493. if TYPE == "Cyl" then
  494. local MSH = IT("CylinderMesh", PART)
  495. elseif TYPE == "Ball" then
  496. local MSH = IT("SpecialMesh", PART)
  497. MSH.MeshType = "Sphere"
  498. elseif TYPE == "Wedge" then
  499. local MSH = IT("SpecialMesh", PART)
  500. MSH.MeshType = "Wedge"
  501. end
  502. end
  503.  
  504. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  505. local NEWPART = IT("Part")
  506. NEWPART.formFactor = FORMFACTOR
  507. NEWPART.Reflectance = REFLECTANCE
  508. NEWPART.Transparency = TRANSPARENCY
  509. NEWPART.CanCollide = false
  510. NEWPART.Locked = true
  511. NEWPART.Anchored = true
  512. if ANCHOR == false then
  513. NEWPART.Anchored = false
  514. end
  515. NEWPART.Name = NAME
  516. NEWPART.Size = SIZE
  517. NEWPART.Position = Torso.Position
  518. NEWPART.Material = MATERIAL
  519. NEWPART:BreakJoints()
  520. NEWPART.Parent = PARENT
  521. return NEWPART
  522. end
  523.  
  524. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  525. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Deep orange"), "Effect", VT(0, 0, 0))
  526. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  527. wave.CFrame = CFRAME
  528. coroutine.resume(coroutine.create(function(PART)
  529. for i = 1, WAIT do
  530. Swait()
  531. mesh.Scale = mesh.Scale + GROW
  532. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  533. if DOESROT == true then
  534. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  535. end
  536. wave.Transparency = wave.Transparency + 0.5 / WAIT
  537. if wave.Transparency > 0.99 then
  538. wave:remove()
  539. end
  540. end
  541. end))
  542. end
  543.  
  544. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  545. for _, c in pairs(PARENT:GetChildren()) do
  546. if c.ClassName == "Model" then
  547. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  548. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  549. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  550. if DIST > (TORSO.Position - FROM).Magnitude then
  551. table.insert(TABLE, c)
  552. end
  553. AddChildrenToTable(FROM, c, DIST, TABLE)
  554. elseif c.ClassName == "Folder" then
  555. AddChildrenToTable(FROM, c, DIST, TABLE)
  556. end
  557. end
  558. end
  559. end
  560.  
  561. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  562. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Electric blue"), "Effect", VT(1, 1, 1), true)
  563. local mesh
  564. if KIND == "Base" then
  565. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  566. elseif KIND == "Thin" then
  567. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  568. elseif KIND == "Round" then
  569. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  570. end
  571. wave.CFrame = CFRAME
  572. coroutine.resume(coroutine.create(function(PART)
  573. for i = 1, WAIT do
  574. Swait()
  575. mesh.Scale = mesh.Scale + GROW / 10
  576. wave.Transparency = wave.Transparency + 0.5 / WAIT
  577. if wave.Transparency > 0.99 then
  578. wave:remove()
  579. end
  580. end
  581. end))
  582. end
  583.  
  584. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  585. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Bright yellow"), "Effect", VT(1, 1, 1), true)
  586. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  587. wave.CFrame = CFRAME
  588. coroutine.resume(coroutine.create(function(PART)
  589. for i = 1, WAIT do
  590. Swait()
  591. mesh.Scale = mesh.Scale + GROW
  592. wave.Transparency = wave.Transparency + 1 / WAIT
  593. if wave.Transparency > 0.99 then
  594. wave:remove()
  595. end
  596. end
  597. end))
  598. end
  599.  
  600. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  601. local TORSO = Torso
  602. local HUM = Humanoid
  603. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  604. coroutine.wrap(function()
  605. VT = Vector3.new
  606. MRANDOM = math.random
  607. local A = TIME
  608. local B = INTENSITY
  609. local C = true
  610. local HUMANOID = Humanoid
  611. local TIMER = A or 35
  612. local SHAKE = B or 5
  613. local FADE = C or true
  614. if HUMANOID then
  615. local FADER = SHAKE / TIMER
  616. for i = 1, TIMER do
  617. wait()
  618. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  619. end
  620. HUMANOID.CameraOffset = VT(0, 0, 0)
  621. end
  622.  
  623. end)()
  624. end
  625. end
  626.  
  627. function Effect(data)
  628. local FX = data.Effect or 'ResizeAndFade'
  629. local Parent = data.Parent or Effects
  630. local Color = data.Color or C3.N(0,0,0)
  631. local Size = data.Size or V3.N(1,1,1)
  632. local MoveDir = data.MoveDirection or nil
  633. local MeshData = data.Mesh or nil
  634. local SndData = data.Sound or nil
  635. local Frames = data.Frames or 45
  636. local Manual = data.Manual or nil
  637. local Material = data.Material or nil
  638. local CFra = data.CFrame or Torso.CFrame
  639. local Settings = data.FXSettings or {}
  640. local Snd,Prt,Msh;
  641. local Shape = data.Shape or Enum.PartType.Block
  642. coroutine.resume(coroutine.create(function()
  643. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  644. Prt = Manual
  645. else
  646. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  647. Prt.Shape = Shape
  648. end
  649. if(typeof(MeshData) == 'table')then
  650. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  651. elseif(typeof(MeshData) == 'Instance')then
  652. Msh = MeshData:Clone()
  653. Msh.Parent = Prt
  654. elseif(Shape == Enum.PartType.Block)then
  655. Msh = Mesh(Prt,Enum.MeshType.Brick)
  656. end
  657. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  658. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  659. end
  660. if(Snd)then
  661. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  662. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  663. end
  664. local MoveSpeed = nil;
  665. if(MoveDir)then
  666. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  667. end
  668. local Inc = M.RNG()-M.RNG()
  669. local Thingie = 0
  670. local Thingie2 = M.RNG(50,100)/100
  671. if(FX ~= 'Arc')then
  672. for i = 1, Frames do
  673. if(swait and typeof(swait) == 'function')then
  674. swait()
  675. else
  676. wait()
  677. end
  678. if(FX == 'ResizeAndFade')then
  679. if(not Settings.EndSize)then
  680. Settings.EndSize = V3.N(0,0,0)
  681. end
  682. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  683. if(Settings.EndIsIncrement)then
  684. Prt.Size = Prt.Size + Settings.EndSize
  685. else
  686. Prt.Size = Prt.Size - grow/Frames
  687. end
  688. Prt.Transparency = (i/Frames)
  689. elseif(FX == 'Fade')then
  690. Prt.Transparency = (i/Frames)
  691. end
  692.  
  693. if(Settings.RandomizeCFrame)then
  694. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  695. end
  696. if(MoveDir and MoveSpeed)then
  697. local Orientation = Prt.Orientation
  698. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  699. Prt.Orientation = Orientation
  700. end
  701. end
  702. Prt:destroy()
  703. else
  704. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  705. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  706. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  707. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  708. assert(start ~= nil,"You need to specify a start point!")
  709. assert(endP ~= nil,"You need to specify an end point!")
  710. for i = 0, 1, Settings.Speed or 0.01 do
  711. if(swait and typeof(swait) == 'function')then
  712. swait()
  713. else
  714. wait()
  715. end
  716. if(Settings.Home)then
  717. endP = Settings.Home.CFrame
  718. end
  719. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  720. end
  721. if(Settings.RemoveOnGoal)then
  722. Prt:destroy()
  723. end
  724. end
  725. end))
  726. return Prt,Msh,Snd
  727. end
  728.  
  729. function RightWing()
  730. for i = 1, 2 do
  731. local PART
  732. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  733. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  734. table.insert(RWINGS, WingWeld)
  735. PART = Wing
  736. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  737. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  738. PART = Wing
  739. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  740. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  741. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  742. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  743. PART = Wing
  744. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  745. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  746. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  747. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  748. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  749. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  750. PART = Wing
  751. table.insert(RWINGS, WingWeld)
  752. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  753. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  754. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  755. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  756. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  757. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  758. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  759. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  760. PART = Wing
  761. table.insert(RWINGS, WingWeld)
  762. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  763. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  764. PART = Wing
  765. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  766. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  767. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  768. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  769. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  770. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  771. PART = Wing
  772. table.insert(RWINGS, WingWeld)
  773. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  774. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  775. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  776. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  777. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  778. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  779. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  780. table.insert(EYES, Wing1)
  781. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  782. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  783. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  784. PART = Wing
  785. table.insert(RWINGS, WingWeld)
  786. end
  787. BODY = {}
  788. for _, c in pairs(Character:GetDescendants()) do
  789. if c:IsA("BasePart") then
  790. table.insert(BODY, {
  791. c,
  792. c.Parent,
  793. c.Material,
  794. c.Color
  795. })
  796. elseif c:IsA("JointInstance") then
  797. table.insert(BODY, {
  798. c,
  799. c.Parent,
  800. nil,
  801. nil
  802. })
  803. end
  804. end
  805. end
  806. function LeftWing()
  807. for i = 1, 2 do
  808. local PART
  809. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  810. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  811. table.insert(LWINGS, WingWeld)
  812. PART = Wing
  813. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  814. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  815. PART = Wing
  816. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  817. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  818. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  819. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  820. PART = Wing
  821. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  822. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  823. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  824. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  825. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  826. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  827. PART = Wing
  828. table.insert(LWINGS, WingWeld)
  829. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  830. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  831. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  832. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  833. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  834. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  835. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  836. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  837. PART = Wing
  838. table.insert(LWINGS, WingWeld)
  839. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  840. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  841. PART = Wing
  842. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  843. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  844. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  845. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  846. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  847. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  848. PART = Wing
  849. table.insert(LWINGS, WingWeld)
  850. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  851. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  852. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  853. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  854. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  855. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  856. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  857. table.insert(EYES, Wing1)
  858. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  859. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  860. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  861. PART = Wing
  862. table.insert(LWINGS, WingWeld)
  863. end
  864. BODY = {}
  865. for _, c in pairs(Character:GetDescendants()) do
  866. if c:IsA("BasePart") then
  867. table.insert(BODY, {
  868. c,
  869. c.Parent,
  870. c.Material,
  871. c.Color
  872. })
  873. elseif c:IsA("JointInstance") then
  874. table.insert(BODY, {
  875. c,
  876. c.Parent,
  877. nil,
  878. nil
  879. })
  880. end
  881. end
  882. end
  883.  
  884. function Swait(NUMBER)
  885. if NUMBER == 0 or NUMBER == nil then
  886. ArtificialHB.Event:wait()
  887. else
  888. for i = 1, NUMBER do
  889. ArtificialHB.Event:wait()
  890. end
  891. end
  892. end
  893.  
  894. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  895. local NEWMESH = IT(MESH)
  896. if MESH == "SpecialMesh" then
  897. NEWMESH.MeshType = MESHTYPE
  898. if MESHID ~= "nil" and MESHID ~= "" then
  899. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  900. end
  901. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  902. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  903. end
  904. end
  905. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  906. NEWMESH.Scale = SCALE
  907. NEWMESH.Parent = PARENT
  908. return NEWMESH
  909. end
  910.  
  911. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  912. local NEWPART = IT("Part")
  913. NEWPART.formFactor = FORMFACTOR
  914. NEWPART.Reflectance = REFLECTANCE
  915. NEWPART.Transparency = TRANSPARENCY
  916. NEWPART.CanCollide = false
  917. NEWPART.Locked = true
  918. NEWPART.Anchored = true
  919. if ANCHOR == false then
  920. NEWPART.Anchored = false
  921. end
  922. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  923. NEWPART.Name = NAME
  924. NEWPART.Size = SIZE
  925. NEWPART.Position = Torso.Position
  926. NEWPART.Material = MATERIAL
  927. NEWPART:BreakJoints()
  928. NEWPART.Parent = PARENT
  929. return NEWPART
  930. end
  931.  
  932. local function weldBetween(a, b)
  933. local weldd = Instance.new("ManualWeld")
  934. weldd.Part0 = a
  935. weldd.Part1 = b
  936. weldd.C0 = CFrame.new()
  937. weldd.C1 = b.CFrame:inverse() * a.CFrame
  938. weldd.Parent = a
  939. return weldd
  940. end
  941.  
  942.  
  943. function QuaternionFromCFrame(cf)
  944. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  945. local trace = m00 + m11 + m22
  946. if trace > 0 then
  947. local s = math.sqrt(1 + trace)
  948. local recip = 0.5 / s
  949. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  950. else
  951. local i = 0
  952. if m11 > m00 then
  953. i = 1
  954. end
  955. if m22 > (i == 0 and m00 or m11) then
  956. i = 2
  957. end
  958. if i == 0 then
  959. local s = math.sqrt(m00 - m11 - m22 + 1)
  960. local recip = 0.5 / s
  961. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  962. elseif i == 1 then
  963. local s = math.sqrt(m11 - m22 - m00 + 1)
  964. local recip = 0.5 / s
  965. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  966. elseif i == 2 then
  967. local s = math.sqrt(m22 - m00 - m11 + 1)
  968. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  969. end
  970. end
  971. end
  972.  
  973. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  974. local xs, ys, zs = x + x, y + y, z + z
  975. local wx, wy, wz = w * xs, w * ys, w * zs
  976. local xx = x * xs
  977. local xy = x * ys
  978. local xz = x * zs
  979. local yy = y * ys
  980. local yz = y * zs
  981. local zz = z * zs
  982. 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))
  983. end
  984.  
  985. function QuaternionSlerp(a, b, t)
  986. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  987. local startInterp, finishInterp;
  988. if cosTheta >= 0.0001 then
  989. if (1 - cosTheta) > 0.0001 then
  990. local theta = ACOS(cosTheta)
  991. local invSinTheta = 1 / SIN(theta)
  992. startInterp = SIN((1 - t) * theta) * invSinTheta
  993. finishInterp = SIN(t * theta) * invSinTheta
  994. else
  995. startInterp = 1 - t
  996. finishInterp = t
  997. end
  998. else
  999. if (1 + cosTheta) > 0.0001 then
  1000. local theta = ACOS(-cosTheta)
  1001. local invSinTheta = 1 / SIN(theta)
  1002. startInterp = SIN((t - 1) * theta) * invSinTheta
  1003. finishInterp = SIN(t * theta) * invSinTheta
  1004. else
  1005. startInterp = t - 1
  1006. finishInterp = t
  1007. end
  1008. end
  1009. 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
  1010. end
  1011.  
  1012. function Clerp(a, b, t)
  1013. local qa = {QuaternionFromCFrame(a)}
  1014. local qb = {QuaternionFromCFrame(b)}
  1015. local ax, ay, az = a.x, a.y, a.z
  1016. local bx, by, bz = b.x, b.y, b.z
  1017. local _t = 1 - t
  1018. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1019. end
  1020.  
  1021. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1022. local frame = IT("Frame")
  1023. frame.BackgroundTransparency = TRANSPARENCY
  1024. frame.BorderSizePixel = BORDERSIZEPIXEL
  1025. frame.Position = POSITION
  1026. frame.Size = SIZE
  1027. frame.BackgroundColor3 = COLOR
  1028. frame.BorderColor3 = BORDERCOLOR
  1029. frame.Name = NAME
  1030. frame.Parent = PARENT
  1031. return frame
  1032. end
  1033.  
  1034. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1035. local label = IT("TextLabel")
  1036. label.BackgroundTransparency = 1
  1037. label.Size = UD2(1, 0, 1, 0)
  1038. label.Position = UD2(0, 0, 0, 0)
  1039. label.TextColor3 = TEXTCOLOR
  1040. label.TextStrokeTransparency = STROKETRANSPARENCY
  1041. label.TextTransparency = TRANSPARENCY
  1042. label.FontSize = TEXTFONTSIZE
  1043. label.Font = TEXTFONT
  1044. label.BorderSizePixel = BORDERSIZEPIXEL
  1045. label.TextScaled = false
  1046. label.Text = TEXT
  1047. label.Name = NAME
  1048. label.Parent = PARENT
  1049. return label
  1050. end
  1051.  
  1052. function NoOutlines(PART)
  1053. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1054. end
  1055.  
  1056. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1057. local NEWWELD = IT(TYPE)
  1058. NEWWELD.Part0 = PART0
  1059. NEWWELD.Part1 = PART1
  1060. NEWWELD.C0 = C0
  1061. NEWWELD.C1 = C1
  1062. NEWWELD.Parent = PARENT
  1063. return NEWWELD
  1064. end
  1065.  
  1066. local S = IT("Sound")
  1067. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1068. local NEWSOUND = nil
  1069. coroutine.resume(coroutine.create(function()
  1070. NEWSOUND = S:Clone()
  1071. NEWSOUND.Parent = PARENT
  1072. NEWSOUND.Volume = VOLUME
  1073. NEWSOUND.Pitch = PITCH
  1074. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1075. NEWSOUND:play()
  1076. if DOESLOOP == true then
  1077. NEWSOUND.Looped = true
  1078. else
  1079. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1080. NEWSOUND:remove()
  1081. end
  1082. end))
  1083. return NEWSOUND
  1084. end
  1085.  
  1086. function CFrameFromTopBack(at, top, back)
  1087. local right = top:Cross(back)
  1088. 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)
  1089. end
  1090.  
  1091. --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})
  1092. function Lightning(Table)
  1093. local Color = Table.Color or C3(1,1,1)
  1094. local StartPos = Table.Start or Torso.Position
  1095. local EndPos = Table.End or Mouse.Hit.p
  1096. local SegmentLength = Table.SegmentL or 2
  1097. local Thickness = Table.Thickness or 0.1
  1098. local Dissapear = Table.DoesFade or false
  1099. local Parent = Table.Ignore or Character
  1100. local MaxDist = Table.MaxDist or 400
  1101. local Branches = Table.Branches or false
  1102. local Thicken = Table.Thicken or false
  1103. local FadeTime = Table.FadeTime or 15
  1104. local FadeIn = Table.FadeIn or false
  1105. local Material = Table.Material or "Neon"
  1106. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1107. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  1108. local LIGHTNINGMODEL = IT("Model",Effects)
  1109. LIGHTNINGMODEL.Name = "Lightning"
  1110. local LastBolt = nil
  1111. for E = 1, DISTANCE do
  1112. local ExtraSize = 0
  1113. if Thicken == true then
  1114. ExtraSize = (DISTANCE-E)/15
  1115. end
  1116. local TRANSPARENCY = 0
  1117. if FadeIn == true then
  1118. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  1119. if TRANSPARENCY < 0 then
  1120. TRANSPARENCY = 0
  1121. end
  1122. end
  1123. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1124. PART.Color = Color
  1125. MakeForm(PART,"Cyl")
  1126. if LastBolt == nil then
  1127. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1128. else
  1129. 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)
  1130. end
  1131. LastBolt = PART
  1132. if Branches == true and E < (DISTANCE-5) then
  1133. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1134. if CHOICE == 1 then
  1135. local LASTBRANCH = nil
  1136. for i = 1, MRANDOM(2,5) do
  1137. local ExtraSize2 = 0
  1138. if Thicken == true then
  1139. ExtraSize = ((DISTANCE-E)/25)/i
  1140. end
  1141. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1142. PART.Color = Color
  1143. MakeForm(PART,"Cyl")
  1144. if LASTBRANCH == nil then
  1145. 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)
  1146. else
  1147. 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)
  1148. end
  1149. LASTBRANCH = PART
  1150. end
  1151. end
  1152. end
  1153. end
  1154. if Dissapear == true then
  1155. coroutine.resume(coroutine.create(function()
  1156. for i = 1, FadeTime do
  1157. Swait()
  1158. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1159. if c.ClassName == "Part" then
  1160. c.Transparency = c.Transparency + (i/FadeTime)/10
  1161. end
  1162. end
  1163. end
  1164. LIGHTNINGMODEL:remove()
  1165. end))
  1166. elseif Dissapear == false then
  1167. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1168. end
  1169. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1170. end
  1171.  
  1172. --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})
  1173. local cR=255
  1174. local cG=0
  1175. local cB=0
  1176. local flg5=1 local omgidk=1
  1177. local add=15
  1178. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1179. if omgidk>10000 then omgidk=0 end
  1180. omgidk=omgidk+1
  1181. if cR>=255 then flg5=1 end
  1182. if cG>=255 then flg5=2 end
  1183. if cB>=255 then flg5=3 end
  1184. if flg5==1 then cR=cR-add cG=cG+add end
  1185. if flg5==2 then cG=cG-add cB=cB+add end
  1186. if flg5==3 then cB=cB-add cR=cR+add end
  1187. color=Color3.fromRGB(cR,cG,cB)
  1188. function WACKYEFFECT(Table)
  1189. local TYPE = (Table.EffectType or "Sphere")
  1190. local SIZE = (Table.Size or VT(6,6,6))
  1191. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1192. local TRANSPARENCY = (Table.Transparency or 0)
  1193. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1194. local CFRAME = (Table.CFrame or Torso.CFrame)
  1195. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1196. local ROTATION1 = (Table.RotationX or 0)
  1197. local ROTATION2 = (Table.RotationY or 0)
  1198. local ROTATION3 = (Table.RotationZ or 0)
  1199. local MATERIAL = "Neon"
  1200. local COLOR = color
  1201. local TIME = (Table.Time or 45)
  1202. local SOUNDID = (Table.SoundID or nil)
  1203. local SOUNDPITCH = (Table.SoundPitch or nil)
  1204. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1205. coroutine.resume(coroutine.create(function()
  1206. local PLAYSSOUND = false
  1207. local SOUND = nil
  1208. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1209. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1210. PLAYSSOUND = true
  1211. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1212. end
  1213. EFFECT.Color = color
  1214. local MSH = nil
  1215. if TYPE == "Sphere" then
  1216. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1217. elseif TYPE == "Block" then
  1218. MSH = IT("BlockMesh",EFFECT)
  1219. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1220. elseif TYPE == "Wave" then
  1221. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1222. elseif TYPE == "Ring" then
  1223. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1224. elseif TYPE == "Slash" then
  1225. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1226. elseif TYPE == "Round Slash" then
  1227. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1228. elseif TYPE == "Swirl" then
  1229. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1230. elseif TYPE == "Skull" then
  1231. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1232. elseif TYPE == "Crystal" then
  1233. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1234. end
  1235. if MSH ~= nil then
  1236. local MOVESPEED = nil
  1237. if MOVEDIRECTION ~= nil then
  1238. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1239. end
  1240. local GROWTH = SIZE - ENDSIZE
  1241. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1242. if TYPE == "Block" then
  1243. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1244. else
  1245. EFFECT.CFrame = CFRAME
  1246. end
  1247. for LOOP = 1, TIME+1 do
  1248. Swait()
  1249. MSH.Scale = MSH.Scale - GROWTH/TIME
  1250. if TYPE == "Wave" then
  1251. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1252. end
  1253. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1254. if TYPE == "Block" then
  1255. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1256. else
  1257. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1258. end
  1259. if MOVEDIRECTION ~= nil then
  1260. local ORI = EFFECT.Orientation
  1261. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1262. EFFECT.Orientation = ORI
  1263. end
  1264. end
  1265. if PLAYSSOUND == false then
  1266. EFFECT:remove()
  1267. else
  1268. SOUND.Stopped:Connect(function()
  1269. EFFECT:remove()
  1270. end)
  1271. end
  1272. else
  1273. if PLAYSSOUND == false then
  1274. EFFECT:remove()
  1275. else
  1276. repeat Swait() until SOUND.Playing == false
  1277. EFFECT:remove()
  1278. end
  1279. end
  1280. end))
  1281. end
  1282. end)
  1283. function MakeForm(PART,TYPE)
  1284. if TYPE == "Cyl" then
  1285. local MSH = IT("CylinderMesh",PART)
  1286. elseif TYPE == "Ball" then
  1287. local MSH = IT("SpecialMesh",PART)
  1288. MSH.MeshType = "Sphere"
  1289. elseif TYPE == "Wedge" then
  1290. local MSH = IT("SpecialMesh",PART)
  1291. MSH.MeshType = "Wedge"
  1292. end
  1293. end
  1294. function SpawnTrail(FROM,TO,BIG)
  1295. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1296. MakeForm(TRAIL,"Cyl")
  1297. local cR=255
  1298. local cG=0
  1299. local cB=0
  1300. local flg5=1 local omgidk=1
  1301. local add=15
  1302. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1303. if omgidk>10000 then omgidk=0 end
  1304. omgidk=omgidk+1
  1305. if cR>=255 then flg5=1 end
  1306. if cG>=255 then flg5=2 end
  1307. if cB>=255 then flg5=3 end
  1308. if flg5==1 then cR=cR-add cG=cG+add end
  1309. if flg5==2 then cG=cG-add cB=cB+add end
  1310. if flg5==3 then cB=cB-add cR=cR+add end
  1311. color=Color3.fromRGB(cR,cG,cB)
  1312. TRAIL.Color = color
  1313. end)
  1314. local DIST = (FROM - TO).Magnitude
  1315. if BIG == true then
  1316. TRAIL.Size = VT(5,DIST,5)
  1317. else
  1318. TRAIL.Size = VT(5,DIST,5)
  1319. end
  1320. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1321. coroutine.resume(coroutine.create(function()
  1322. for i = 1, 55 do
  1323. Swait()
  1324. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1325. end
  1326. TRAIL:remove()
  1327. end))
  1328. end
  1329.  
  1330. Debris = game:GetService("Debris")
  1331.  
  1332. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1333. local DIRECTION = CF(StartPos,EndPos).lookVector
  1334. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1335. end
  1336.  
  1337. function turnto(position)
  1338. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1339. end
  1340.  
  1341. function ApplyKill(POSITION,RANGE,BRUTAL)
  1342. local CHILDREN = workspace:GetDescendants()
  1343. for index, CHILD in pairs(CHILDREN) do
  1344. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1345. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1346. if HUM then
  1347. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1348. if TORSO then
  1349. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1350. if BRUTAL == true then
  1351. Banish(CHILD)
  1352. else
  1353. CHILD:BreakJoints()
  1354. end
  1355. end
  1356. end
  1357. end
  1358. end
  1359. end
  1360. end
  1361.  
  1362. --//=================================\\
  1363. --|| WEAPON CREATION
  1364. --\\=================================//
  1365. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  1366.  
  1367. for i = 1, 35 do
  1368. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1369. FACE.Color = C3(0,0,0)
  1370. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1371. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1372. end
  1373. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Eye", VT(0.6,0.1,1)/2,false)
  1374. MakeForm(Eye,"Ball")
  1375. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1376. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Forest green", "Eye", VT(0.6,0.1,1)/2,false)
  1377. MakeForm(Eye,"Ball")
  1378. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1379. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Eye", VT(0.1,1,1)/2,false)
  1380. MakeForm(Eye,"Ball")
  1381. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1382. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Forest green", "Eye", VT(0.1,1,1)/2,false)
  1383. MakeForm(Eye,"Ball")
  1384. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1385.  
  1386. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "Eon", VT(0.5,0.5,1.25),false)
  1387. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1388.  
  1389. local Particle = IT("ParticleEmitter",nil)
  1390. Particle.Enabled = false
  1391. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1392. Particle.LightEmission = 0.5
  1393. Particle.Rate = 150
  1394. Particle.ZOffset = 0.2
  1395. Particle.Rotation = NumberRange.new(-180, 180)
  1396. Particle.RotSpeed = NumberRange.new(-180, 180)
  1397. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1398. Particle.Color = ColorSequence.new(C3(255/255,125/255,0/255),C3(0,155,0),C3(255/255,75/255,0/255),C3(0,255,0),C3(255/255,175/255,0/255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  1399.  
  1400. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1401. function ParticleEmitter(Table)
  1402. local PRTCL = Particle:Clone()
  1403. local Speed = Table.Speed or 5
  1404. local Drag = Table.Drag or 0
  1405. local Size1 = Table.Size1 or 1
  1406. local Size2 = Table.Size2 or 5
  1407. local Lifetime1 = Table.Lifetime1 or 1
  1408. local Lifetime2 = Table.Lifetime2 or 1.5
  1409. local Parent = Table.Parent or Torso
  1410. local Emit = Table.Emit or 100
  1411. local Offset = Table.Offset or 360
  1412. local Acel = Table.Acel or VT(0,0,0)
  1413. local Enabled = Table.Enabled or false
  1414. PRTCL.Parent = Parent
  1415. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1416. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1417. PRTCL.Speed = NumberRange.new(Speed)
  1418. PRTCL.VelocitySpread = Offset
  1419. PRTCL.Drag = Drag
  1420. PRTCL.Acceleration = Acel
  1421. if Enabled == false then
  1422. PRTCL:Emit(Emit)
  1423. Debris:AddItem(PRTCL,Lifetime2)
  1424. else
  1425. PRTCL.Enabled = true
  1426. end
  1427. return PRTCL
  1428. end
  1429.  
  1430. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  1431. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  1432.  
  1433. local cR=255
  1434. local cG=0
  1435. local cB=0
  1436. local flg5=1 local omgidk=1
  1437. local add=15
  1438. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1439. if omgidk>10000 then omgidk=0 end
  1440. omgidk=omgidk+1
  1441. if cR>=255 then flg5=1 end
  1442. if cG>=255 then flg5=2 end
  1443. if cB>=255 then flg5=3 end
  1444. if flg5==1 then cR=cR-add cG=cG+add end
  1445. if flg5==2 then cG=cG-add cB=cB+add end
  1446. if flg5==3 then cB=cB-add cR=cR+add end
  1447. color=Color3.fromRGB(cR,cG,cB)
  1448. for _, c in pairs(Weapon:GetDescendants()) do
  1449. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1450. c.Material = "Glass"
  1451. c.Color = C3(0,0,0)
  1452. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1453. c.Color = color
  1454. c.Material = "Neon"
  1455. end
  1456. end
  1457. end)
  1458. Weapon.Parent = Character
  1459. for _, c in pairs(Weapon:GetChildren()) do
  1460. if c.ClassName == "Part" then
  1461. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1462. end
  1463. end
  1464.  
  1465. function swait(num)
  1466. if num == 0 or num == nil then
  1467. ArtificialHB.Event:wait()
  1468. else
  1469. for i = 0, num do
  1470. ArtificialHB.Event:wait()
  1471. end
  1472. end
  1473. end
  1474.  
  1475. function chatfunc(text)
  1476. local chat = coroutine.wrap(function()
  1477. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1478. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1479. end
  1480. local Bill = Instance.new("BillboardGui",Character)
  1481. Bill.Size = UDim2.new(0,100,0,40)
  1482. Bill.StudsOffset = Vector3.new(0,3,0)
  1483. Bill.Adornee = Character.Head
  1484. Bill.Name = "TalkingBillBoard"
  1485. local Hehe = Instance.new("TextLabel",Bill)
  1486. Hehe.BackgroundTransparency = 1
  1487. Hehe.BorderSizePixel = 0
  1488. Hehe.Text = ""
  1489. Hehe.Font = "Bodoni"
  1490. Hehe.TextSize = 40
  1491. Hehe.TextStrokeTransparency = 0
  1492. Hehe.Size = UDim2.new(1,0,0.5,0)
  1493. coroutine.resume(coroutine.create(function()
  1494. while Hehe ~= nil do
  1495. swait()
  1496. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1497. Hehe.Rotation = math.random(-5,5)
  1498. Hehe.TextColor3 = Color3.new(0,255,0)
  1499. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1500. end
  1501. end))
  1502. for i = 1,string.len(text),1 do
  1503. swait()
  1504. Hehe.Text = string.sub(text,1,i)
  1505. end
  1506. swait(90)--Re[math.random(1, 93)]
  1507. for i = 0, 1, .025 do
  1508. swait()
  1509. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1510. Hehe.TextStrokeTransparency = i
  1511. Hehe.TextTransparency = i
  1512. end
  1513. Bill:Destroy()
  1514. end)
  1515. chat()
  1516. end
  1517.  
  1518. function onChatted(msg)
  1519. chatfunc(msg)
  1520. end
  1521.  
  1522. Player.Chatted:connect(onChatted)
  1523.  
  1524. local BODY = {}
  1525. for _, c in pairs(Character:GetDescendants()) do
  1526. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1527. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1528. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1529. end
  1530. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1531. elseif c:IsA("JointInstance") then
  1532. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1533. end
  1534. end
  1535.  
  1536. function refit()
  1537. Character.Parent = workspace
  1538. for e = 1, #BODY do
  1539. if BODY[e] ~= nil then
  1540. local STUFF = BODY[e]
  1541. local PART = STUFF[1]
  1542. local PARENT = STUFF[2]
  1543. local MATERIAL = STUFF[3]
  1544. local COLOR = STUFF[4]
  1545. local TRANSPARENCY = STUFF[5]
  1546. --local SIZE = STUFF[6]
  1547. local NAME = STUFF[7]
  1548. if PART.ClassName == "Part" and PART ~= RootPart then
  1549. PART.Material = MATERIAL
  1550. PART.Transparency = TRANSPARENCY
  1551. PART.Name = NAME
  1552. end
  1553. if PART.Parent ~= PARENT then
  1554. Humanoid:remove()
  1555. PART.Parent = PARENT
  1556. Humanoid = IT("Humanoid",Character)
  1557. end
  1558. end
  1559. end
  1560. end
  1561.  
  1562. local SKILLTEXTCOLOR = C3(0,255,0)
  1563. local SKILLFONT = "Code"
  1564. local SKILLTEXTSIZE = 7
  1565.  
  1566. Humanoid.Died:connect(function()
  1567. refit()
  1568. end)
  1569.  
  1570. 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")
  1571. 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")
  1572. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1573. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1574. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1575. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1576. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1577. local SKILL8FRAME = 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 8 Frame")
  1578. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  1579. local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
  1580. local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame")
  1581. local SKILL12FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 12 Frame")
  1582. local SKILL13FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.6, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 13 Frame")
  1583. local SKILL14FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.6, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 14 Frame")
  1584. local SKILL15FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 15 Frame")
  1585.  
  1586. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1587. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1588. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1589. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1590. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1591. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  1592. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
  1593. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
  1594. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9")
  1595. local SKILL10TEXT = CreateLabel(SKILL10FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10")
  1596. local SKILL11TEXT = CreateLabel(SKILL11FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 11")
  1597. local SKILL12TEXT = CreateLabel(SKILL12FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 12")
  1598. local SKILL13TEXT = CreateLabel(SKILL13FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 13")
  1599. local SKILL14TEXT = CreateLabel(SKILL14FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 14")
  1600. local SKILL15TEXT = CreateLabel(SKILL15FRAME, "[Z-V-X-C-B-P-T-G-E-Y-J-U-N-Q-R]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 15")
  1601.  
  1602. function printbye(Name)
  1603. 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, "}
  1604. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1605. end
  1606.  
  1607. workspace.ChildAdded:connect(function(instance)
  1608. for BANISH = 1, #TOBANISH do
  1609. if TOBANISH[BANISH] ~= nil then
  1610. if instance.Name == TOBANISH[BANISH] then
  1611. coroutine.resume(coroutine.create(function()
  1612. printbye(instance.Name)
  1613. instance:ClearAllChildren()
  1614. Debris:AddItem(instance,0.0005)
  1615. end))
  1616. end
  1617. end
  1618. end
  1619. end)
  1620.  
  1621. --//=================================\\
  1622. --|| DAMAGING
  1623. --\\=================================//
  1624.  
  1625. function Banish(Foe)
  1626. if Foe then
  1627. coroutine.resume(coroutine.create(function()
  1628. --if game.Players:FindFirstChild(Foe.Name) then
  1629. table.insert(TOBANISH,Foe.Name)
  1630. printbye(Foe.Name)
  1631. --end
  1632. Foe.Archivable = true
  1633. local CLONE = Foe:Clone()
  1634. Foe:Destroy()
  1635. CLONE.Parent = Effects
  1636. CLONE:BreakJoints()
  1637. local MATERIALS = {"Glass","Neon"}
  1638. for _, c in pairs(CLONE:GetDescendants()) do
  1639. if c:IsA("BasePart") then
  1640. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1641. CreateSound(340722848, c, 10, 1, false)
  1642. end
  1643. c.Anchored = true
  1644. c.Transparency = c.Transparency + 0.2
  1645. c.Material = MATERIALS[MRANDOM(1,2)]
  1646. c.Color = C3(0,255,0)
  1647. if c.ClassName == "MeshPart" then
  1648. c.TextureID = ""
  1649. end
  1650. if c:FindFirstChildOfClass("SpecialMesh") then
  1651. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1652. end
  1653. if c:FindFirstChildOfClass("Decal") then
  1654. c:FindFirstChildOfClass("Decal"):remove()
  1655. end
  1656. c.Name = "Banished"
  1657. c.CanCollide = false
  1658. else
  1659. c:remove()
  1660. end
  1661. end
  1662. local A = false
  1663. for i = 1, 35 do
  1664. if A == false then
  1665. A = true
  1666. elseif A == true then
  1667. A = false
  1668. end
  1669. for _, c in pairs(CLONE:GetDescendants()) do
  1670. if c:IsA("BasePart") then
  1671. c.Anchored = true
  1672. c.Material = MATERIALS[MRANDOM(1,2)]
  1673. c.Transparency = c.Transparency + 0.8/35
  1674. if A == false then
  1675. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1676. elseif A == true then
  1677. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1678. end
  1679. end
  1680. end
  1681. Swait()
  1682. end
  1683. CLONE:remove()
  1684. end))
  1685. end
  1686. end
  1687.  
  1688. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1689. local CHILDREN = workspace:GetDescendants()
  1690. for index, CHILD in pairs(CHILDREN) do
  1691. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1692. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1693. if HUM then
  1694. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1695. if TORSO then
  1696. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1697. if ISBANISH == true then
  1698. Banish(CHILD)
  1699. else
  1700. if ISBANISH == "Gravity" then
  1701. HUM.PlatformStand = true
  1702. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1703. local grav = Instance.new("BodyPosition",TORSO)
  1704. grav.D = 15
  1705. grav.P = 20000
  1706. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1707. grav.position = TORSO.Position
  1708. grav.Name = "V3BanishForce"..Player.Name
  1709. else
  1710. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1711. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1712. end
  1713. else
  1714. HUM.PlatformStand = false
  1715. end
  1716. end
  1717. elseif ISBANISH == "Gravity" then
  1718. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1719. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1720. HUM.PlatformStand = false
  1721. end
  1722. end
  1723. end
  1724. end
  1725. end
  1726. end
  1727. end
  1728.  
  1729. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  1730.  
  1731. DeathTaunt = {"You Will Know Pain."}
  1732. --//=================================\\
  1733. --|| ATTACK FUNCTIONS AND STUFF
  1734. --\\=================================//
  1735. local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
  1736.  
  1737. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1738. MakeForm(RightHole,"Cyl")
  1739. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1740. MakeForm(LeftHole,"Cyl")
  1741.  
  1742. function getbloody(victim,amount)
  1743. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1744. PART.CFrame = victim.CFrame
  1745. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1746. Debris:AddItem(PART,5)
  1747. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1748. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1749. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1750. local prtcl = asd:Clone()
  1751. prtcl.Parent = PART
  1752. prtcl:Emit(amount*10)
  1753. end
  1754.  
  1755. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  1756.  
  1757. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  1758. if DoesCourontine == false then
  1759. local Direction = CF(Part.Position, ToLocation)
  1760. local Distance = (Part.Position - ToLocation).magnitude
  1761. for i = 1, AmountOfTime do
  1762. Swait()
  1763. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  1764. Direction = Part.CFrame
  1765. end
  1766. Part:remove()
  1767. elseif DoesCourontine == true then
  1768. coroutine.resume(coroutine.create(function()
  1769. local Direction = CF(Part.Position, ToLocation)
  1770. local Distance = (Part.Position - ToLocation).magnitude
  1771. for i = 1, AmountOfTime do
  1772. Swait()
  1773. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  1774. Direction = Part.CFrame
  1775. end
  1776. Part:remove()
  1777. end))
  1778. end
  1779. end
  1780.  
  1781. function Burning_Hopes()
  1782. ATTACK = true
  1783. Rooted = true
  1784. local AIMPOS = Mouse.Hit.p
  1785. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  1786. coroutine.resume(coroutine.create(function()
  1787. local RAYS = {}
  1788. for i = 1, 4 do
  1789. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Ray", VT(50,2000,50))
  1790. MakeForm(RAY,"Cyl")
  1791. RAY.Mesh.Scale = VT(1,1.1,1)
  1792. table.insert(RAYS,RAY)
  1793. end
  1794. CreateSound(348663022, Effects, 2, 1.2, false)
  1795. for i = 1, 100 do
  1796. Swait()
  1797. for e = 1, #RAYS do
  1798. if RAYS[e] ~= nil then
  1799. local RAY = RAYS[e]
  1800. 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)
  1801. RAY.Transparency = RAY.Transparency - 0.01
  1802. end
  1803. end
  1804. end
  1805. for i = 1, 20 do
  1806. Swait()
  1807. for e = 1, #RAYS do
  1808. if RAYS[e] ~= nil then
  1809. local RAY = RAYS[e]
  1810. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  1811. end
  1812. end
  1813. end
  1814. wait(0.3)
  1815. for i = 1, 16 do
  1816. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  1817. SpawnTrail(POS+VT(0,200,0),POS)
  1818. end
  1819. for i = 1, 4 do
  1820. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  1821. end
  1822.  
  1823. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  1824. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  1825. CreateSound(130972023, Effects, 2, 1, false)
  1826. local POS = Mouse.Hit.p
  1827. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,0,0))
  1828. MakeForm(RAY,"Cyl")
  1829. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Strike", VT(130,130,130))
  1830. MakeForm(SPHERE,"Ball")
  1831. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(120,120,120))
  1832. MakeForm(SHIELD,"Ball")
  1833. SHIELD.CFrame = CF(AIMPOS)
  1834. RAY.CFrame = CF(AIMPOS)
  1835. SPHERE.CFrame = CF(AIMPOS)
  1836. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1837. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1838. for i = 1, 200 do
  1839. Swait()
  1840. 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})
  1841. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  1842. RAY.Size = RAY.Size + VT(0,0,0)
  1843. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  1844. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  1845. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1846. end
  1847. for i = 1, 45 do
  1848. Swait()
  1849. RAY.Transparency = RAY.Transparency + 1/45
  1850. SPHERE.Transparency = RAY.Transparency
  1851. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1852. end
  1853. RAY:remove()
  1854. SHIELD:remove()
  1855. SPHERE:remove()
  1856. end))
  1857. ATTACK = false
  1858. Rooted = false
  1859. end
  1860.  
  1861. function OP()
  1862. ATTACK = true
  1863. Rooted = false
  1864. for i = 0, 1, 0.1 / Animation_Speed do
  1865. Swait()
  1866. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1867. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1868. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1869. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1870. 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)
  1871. 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)
  1872. end
  1873. Rooted = true
  1874. local GYRO = IT("BodyGyro", RootPart)
  1875. GYRO.D = 100
  1876. GYRO.P = 2000
  1877. GYRO.MaxTorque = VT(0, 4000000, 0)
  1878. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1879. for i = 1, 15 do
  1880. for i = 1, 15 do
  1881. Swait()
  1882. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1883. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1884. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1886. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1887. 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)
  1888. 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)
  1889. end
  1890. coroutine.resume(coroutine.create(function()
  1891. local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
  1892. CreateSound("814168787", EYE, 10, 1)
  1893. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  1894. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0))
  1895. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  1896. local ATTACKI = false
  1897. local TORS
  1898. for i = 1, 10 do
  1899. Swait()
  1900. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  1901. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  1902. end
  1903. for i = 1, 100 do
  1904. Swait()
  1905. for _, c in pairs(workspace:GetChildren()) do
  1906. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1907. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1908. if 0 < HUMANOID.Health then
  1909. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1910. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  1911. ATTACKI = true
  1912. TORS = TORSO
  1913. end
  1914. end
  1915. end
  1916. end
  1917. if ATTACKI == true then
  1918. break
  1919. end
  1920. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  1921. end
  1922. if ATTACKI == false then
  1923. for i = 1, 10 do
  1924. Swait()
  1925. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  1926. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  1927. end
  1928. else
  1929. if TORS ~= nil then
  1930. CreateSound("213603013", EYE, 10, 2)
  1931. local DIST = (TORS.Position - EYE.Position).Magnitude
  1932. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  1933. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  1934. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  1935. EYE.CFrame = CF(EYE.Position, TORS.Position)
  1936. TORS.Parent:BreakJoints()
  1937. Swait(35)
  1938. end
  1939. for i = 1, 10 do
  1940. Swait()
  1941. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  1942. end
  1943. end
  1944. EYE:remove()
  1945. end))
  1946. end
  1947. GYRO:remove()
  1948. ATTACK = false
  1949. Rooted = false
  1950. end
  1951.  
  1952. function Absoluteum()
  1953. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1954. if HITFLOOR ~= nil then
  1955. do
  1956. local HITBODIES = {}
  1957. ATTACK = true
  1958. Rooted = true
  1959. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
  1960. MakeForm(ABSOLUTE, "Ball")
  1961. CreateSound("416200578", RootPart, 10, 1)
  1962. for i = 0, 8, 0.1 / Animation_Speed do
  1963. Swait()
  1964. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  1965. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  1966. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1967. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
  1968. MakeForm(CHARGE, "Ball")
  1969. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  1970. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  1971. 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)
  1972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * 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)
  1975. 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)
  1976. 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)
  1977. end
  1978. CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
  1979. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  1980. for i = 1, 45 do
  1981. Swait()
  1982. 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)
  1983. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1984. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1985. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * 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)
  1986. 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)
  1987. 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)
  1988. end
  1989. coroutine.resume(coroutine.create(function()
  1990. local IMPACT = false
  1991. local BULLET = ABSOLUTE
  1992. MakeForm(BULLET, "Ball")
  1993. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  1994. for i = 1, 500 do
  1995. Swait()
  1996. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  1997. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  1998. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55)
  1999. if HIT ~= nil then
  2000. IMPACT = true
  2001. break
  2002. end
  2003. end
  2004. if IMPACT == false then
  2005. for i = 1, 40 do
  2006. Swait()
  2007. BULLET.Size = BULLET.Size * 0.9
  2008. end
  2009. BULLET:remove()
  2010. else
  2011. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  2012. for i = 1, 175 do
  2013. Swait()
  2014. BULLET.Size = BULLET.Size * 0.99
  2015. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85)
  2016. end
  2017. CreateSound("438666001", BULLET, 10, 3)
  2018. Swait(35)
  2019. BULLET.Transparency = 1
  2020. for i = 1, 20 do
  2021. for e = 1, 5 do
  2022. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
  2023. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
  2024. end
  2025. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  2026. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  2027. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  2028. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  2029. Swait(5)
  2030. for e = 1, #HITBODIES do
  2031. if HITBODIES[e] ~= nil then
  2032. local BOD = HITBODIES[e]
  2033. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2034. if TORS then
  2035. BOD:BreakJoints()
  2036. for _, c in pairs(BOD:GetChildren()) do
  2037. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2038. local bv = Instance.new("BodyVelocity")
  2039. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2040. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  2041. bv.Parent = c
  2042. Debris:AddItem(bv, 0.2)
  2043. end
  2044. end
  2045. end
  2046. end
  2047. end
  2048. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
  2049. end
  2050. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
  2051. Debris:AddItem(BULLET, 10)
  2052. end
  2053. end))
  2054. ATTACK = false
  2055. Rooted = false
  2056. end
  2057. end
  2058. end
  2059.  
  2060. function Nuke()
  2061. ATTACK = true
  2062. Rooted = true
  2063. local CHARGE = false
  2064. local BLASTS = {468991944, 468991990}
  2065. coroutine.resume(coroutine.create(function()
  2066. repeat
  2067. Swait()
  2068. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2069. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2070. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2071. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2072. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2073. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2074. until CHARGE == true
  2075. for i = 0, 0.4, 0.1 / Animation_Speed do
  2076. Swait()
  2077. WACKYEFFECT({
  2078. Time = 15,
  2079. EffectType = "Sphere",
  2080. Size = VT(60, 60, 60),
  2081. Size2 = VT(0, 0, 0),
  2082. Transparency = 1,
  2083. Transparency2 = 0.7,
  2084. CFrame = CF(RootPart.Position),
  2085. MoveToPos = nil,
  2086. RotationX = 0,
  2087. RotationY = 0,
  2088. RotationZ = 0,
  2089. Material = "Neon",
  2090. Color = C3(1, 1, 1),
  2091. SoundID = nil,
  2092. SoundPitch = nil,
  2093. SoundVolume = nil
  2094. })
  2095. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2096. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2097. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2098. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2099. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2100. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2101. end
  2102. coroutine.resume(coroutine.create(function()
  2103. local POS = RootPart.Position
  2104. wait(0.2)
  2105. for i = 1, 5 do
  2106. WACKYEFFECT({
  2107. Time = 65,
  2108. EffectType = "Sphere",
  2109. Size = VT(2, 2, 2),
  2110. Size2 = VT(0, 0, 500),
  2111. Transparency = 1,
  2112. Transparency2 = 0,
  2113. CFrame = CF(POS),
  2114. MoveToPos = nil,
  2115. RotationX = MRANDOM(-2, 2),
  2116. RotationY = MRANDOM(-12, 12),
  2117. RotationZ = MRANDOM(-2, 2),
  2118. Material = "Neon",
  2119. Color = C3(1, 1, 1),
  2120. SoundID = nil,
  2121. SoundPitch = nil,
  2122. SoundVolume = nil
  2123. })
  2124. end
  2125. wait(1)
  2126. SHAKECAM(POS, 9999999999, 25, 25)
  2127. ApplyAoE(POS, 450, true)
  2128. WACKYEFFECT({
  2129. Time = 85,
  2130. EffectType = "Sphere",
  2131. Size = VT(120, 120, 120),
  2132. Size2 = VT(350, 350, 350),
  2133. Transparency = 0,
  2134. Transparency2 = 1,
  2135. CFrame = CF(POS),
  2136. MoveToPos = nil,
  2137. RotationX = 0,
  2138. RotationY = 0,
  2139. RotationZ = 0,
  2140. Material = "Neon",
  2141. Color = C3(1, 1, 1),
  2142. SoundID = nil,
  2143. SoundPitch = 1,
  2144. SoundVolume = 10
  2145. })
  2146. for i = 1, 20 do
  2147. WACKYEFFECT({
  2148. Time = 85,
  2149. EffectType = "Sphere",
  2150. Size = VT(120, 120, 120),
  2151. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2152. Transparency = 0.8,
  2153. Transparency2 = 1,
  2154. CFrame = CF(POS),
  2155. MoveToPos = nil,
  2156. RotationX = 0,
  2157. RotationY = 0,
  2158. RotationZ = 0,
  2159. Material = "Neon",
  2160. Color = C3(1, 1, 1),
  2161. SoundID = nil,
  2162. SoundPitch = 1,
  2163. SoundVolume = 10
  2164. })
  2165. WACKYEFFECT({
  2166. Time = 100,
  2167. EffectType = "Wave",
  2168. Size = VT(25, 2, 25),
  2169. Size2 = VT(400, 0, 400) * 1.2,
  2170. Transparency = 0,
  2171. Transparency2 = 1,
  2172. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2173. MoveToPos = nil,
  2174. RotationX = 0,
  2175. RotationY = 0,
  2176. RotationZ = 0,
  2177. Material = "Neon",
  2178. Color = C3(1, 1, 1),
  2179. SoundID = nil,
  2180. SoundPitch = nil,
  2181. SoundVolume = nil
  2182. })
  2183. end
  2184. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2185. for i = 1, 5 do
  2186. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2187. WACKYEFFECT({
  2188. Time = 120,
  2189. EffectType = "Wave",
  2190. Size = VT(150, 2, 150),
  2191. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2192. Transparency = 0,
  2193. Transparency2 = 1,
  2194. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2195. MoveToPos = nil,
  2196. RotationX = 0,
  2197. RotationY = 0,
  2198. RotationZ = 0,
  2199. Material = "Neon",
  2200. Color = C3(1, 1, 1),
  2201. SoundID = nil,
  2202. SoundPitch = nil,
  2203. SoundVolume = nil
  2204. })
  2205. end
  2206. end))
  2207. for i = 0, 1, 0.1 / Animation_Speed do
  2208. Swait()
  2209. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2210. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2213. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2214. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2215. end
  2216. ATTACK = false
  2217. Rooted = false
  2218. end))
  2219. for i = 1, 30 do
  2220. wait(0.01)
  2221. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2222. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2223. if HITFLOOR then
  2224. ApplyAoE(HITPOS, 65, true)
  2225. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2226. WACKYEFFECT({
  2227. Time = 25,
  2228. EffectType = "Sphere",
  2229. Size = VT(22, 22, 22),
  2230. Size2 = VT(85, 85, 85),
  2231. Transparency = 0,
  2232. Transparency2 = 1,
  2233. CFrame = CF(HITPOS),
  2234. MoveToPos = nil,
  2235. RotationX = 0,
  2236. RotationY = 0,
  2237. RotationZ = 0,
  2238. Material = "Neon",
  2239. Color = C3(1, 1, 1),
  2240. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2241. SoundPitch = MRANDOM(9, 12) / 10,
  2242. SoundVolume = 10
  2243. })
  2244. for e = 1, 3 do
  2245. WACKYEFFECT({
  2246. EffectType = "Wave",
  2247. Size = VT(25, 0, 25),
  2248. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2249. Transparency = 0,
  2250. Transparency2 = 1,
  2251. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2252. MoveToPos = nil,
  2253. RotationX = 0,
  2254. RotationY = 3,
  2255. RotationZ = 0,
  2256. Material = "Neon",
  2257. Color = C3(1, 1, 1),
  2258. SoundID = nil,
  2259. SoundPitch = nil,
  2260. SoundVolume = nil
  2261. })
  2262. WACKYEFFECT({
  2263. Time = 35,
  2264. EffectType = "Sphere",
  2265. Size = VT(22, 45, 22),
  2266. Size2 = VT(25, 45 + e * 75, 25),
  2267. Transparency = 0,
  2268. Transparency2 = 1,
  2269. CFrame = CF(HITPOS) * TURN,
  2270. MoveToPos = nil,
  2271. RotationX = 0,
  2272. RotationY = 0,
  2273. RotationZ = 0,
  2274. Material = "Neon",
  2275. Color = C3(1, 1, 1),
  2276. SoundID = nil,
  2277. SoundPitch = MRANDOM(9, 12) / 10,
  2278. SoundVolume = 10
  2279. })
  2280. end
  2281. end
  2282. end
  2283. CHARGE = true
  2284. end
  2285.  
  2286. function SpectralBanishing()
  2287. ATTACK = true
  2288. Rooted = false
  2289. chatfunc("If you desire to be a ghost...", 20)
  2290. for i = 0, 5, 0.1 / Animation_Speed do
  2291. Swait()
  2292. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  2293. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  2294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2296. 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.25 / Animation_Speed)
  2297. 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.25 / Animation_Speed)
  2298. end
  2299. chatfunc("Then move on to the afterlife!", 6)
  2300. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  2301. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  2302. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  2303. local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  2304. local distance = (GunPoint.Position - Way).magnitude
  2305. for i = 1, 5 do
  2306. local laser = Instance.new("Part", Effects)
  2307. laser.Transparency = 0
  2308. laser.CanCollide = false
  2309. laser.Anchored = true
  2310. laser.Color = C3(1, 0, 0)
  2311. laser.Material = "Neon"
  2312. laser.formFactor = Enum.FormFactor.Custom
  2313. laser.Size = Vector3.new(0.15, 0.15, distance)
  2314. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  2315. table.insert(Effect, {
  2316. laser,
  2317. "Disappear",
  2318. 0.1,
  2319. 1,
  2320. 1,
  2321. 1,
  2322. 2
  2323. })
  2324. end
  2325. coroutine.resume(coroutine.create(function()
  2326. Swait(15)
  2327. local FILTER = IT("ColorCorrectionEffect", game.Lighting)
  2328. for i = 1, 25 do
  2329. Swait()
  2330. FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
  2331. end
  2332. local GAME = game.Players:GetChildren()
  2333. for PLAYER = 1, #GAME do
  2334. do
  2335. local PLAY = GAME[PLAYER]
  2336. if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
  2337. PLAY.Character.Parent = nil
  2338. coroutine.resume(coroutine.create(function()
  2339. if PLAY.Character:FindFirstChild("HumanoidRootPart") then
  2340. PLAY.Character.Parent = workspace
  2341. local Value = IT("BoolValue", Kill)
  2342. Value.Name = PLAY.Name
  2343. end
  2344. end))
  2345. end
  2346. end
  2347. end
  2348. for i = 1, 25 do
  2349. Swait()
  2350. FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
  2351. end
  2352. end))
  2353. for i = 0, 2, 0.1 / Animation_Speed do
  2354. Swait()
  2355. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  2356. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  2357. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2358. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2359. 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.25 / Animation_Speed)
  2360. 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.25 / Animation_Speed)
  2361. end
  2362. ATTACK = false
  2363. Rooted = false
  2364. end
  2365.  
  2366. function Madness()
  2367. if Mouse.Target ~= nil then
  2368. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2369. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2370. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2371. local GYRO = IT("BodyGyro",RootPart)
  2372. GYRO.D = 750
  2373. GYRO.P = 20000
  2374. GYRO.MaxTorque = VT(0,40000000,0)
  2375. local grav = Instance.new("BodyPosition",TORSO)
  2376. grav.D = 15
  2377. grav.P = 20000
  2378. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2379. grav.position = TORSO.Position
  2380. local GYRO2 = IT("BodyGyro",TORSO)
  2381. GYRO2.D = 750
  2382. GYRO2.P = 20000
  2383. GYRO2.MaxTorque = VT(0,40000000,0)
  2384. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2385. grav.Name = "Jail"
  2386. local LOCKPARTS = {}
  2387. ATTACK = true
  2388. Rooted = false
  2389. local LOCK = IT("Model",Effects)
  2390. LOCK.Name = "Lock"
  2391. local LOCK2 = IT("Model",LOCK)
  2392. LOCK2.Name = "Metal"
  2393. --CREATE LOCK--
  2394. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  2395. LOCK.PrimaryPart = BASE
  2396. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2397. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  2398. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2399. MakeForm(PRT,"Cyl")
  2400. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2401. PRT.Color = C3(0,0,0)
  2402. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2403. MakeForm(PRT,"Cyl")
  2404. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  2405. PRT.Color = C3(0,0,0)
  2406. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2407. for i = 1, 45 do
  2408. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2409. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2410. end
  2411. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2412. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2413. LOCK2.PrimaryPart = PRT
  2414. ---------------
  2415. local CHILDREN = LOCK:GetDescendants()
  2416. for index, CHILD in pairs(CHILDREN) do
  2417. if CHILD:IsA("BasePart") then
  2418. CHILD.Transparency = 1
  2419. end
  2420. end
  2421. for i = 1, 75 do
  2422. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2423. Swait()
  2424. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2425. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2426. local CHILDREN = LOCK:GetDescendants()
  2427. for index, CHILD in pairs(CHILDREN) do
  2428. if CHILD:IsA("BasePart") then
  2429. CHILD.Transparency = CHILD.Transparency - 1/75
  2430. end
  2431. end
  2432. end
  2433. HUM.DisplayDistanceType = "None"
  2434. local KEY = IT("Model",Effects)
  2435. KEY.Name = "Key"
  2436. --CREATE KEY--
  2437. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "KeyBase", VT(0.1, 1, 0.1),false)
  2438. KEY.PrimaryPart = KBASE
  2439. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2440. local WLD = weldBetween(RightArm,KBASE)
  2441. for i = 1, 45 do
  2442. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.1, 0.1, 0.1),false)
  2443. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2444. weldBetween(KBASE,PRT)
  2445. end
  2446. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2447. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2448. weldBetween(KBASE,PRT)
  2449. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2450. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2451. weldBetween(KBASE,PRT)
  2452. --------------
  2453. Rooted = true
  2454. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2455. coroutine.resume(coroutine.create(function()
  2456. for i = 1, 10 do
  2457. Swait()
  2458. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2459. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2460. end
  2461. CreateSound(1149318312,BASE,5,1,false)
  2462. CreateSound(160772554,BASE,3,1,false)
  2463. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2464. for i = 1, 4 do
  2465. 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"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2466. end
  2467. 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"Really red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2468. wait(1)
  2469. TORSO.Parent.Parent = LOCK
  2470. for i = 1, 75 do
  2471. Swait()
  2472. local CHILDREN = KEY:GetDescendants()
  2473. for index, CHILD in pairs(CHILDREN) do
  2474. if CHILD:IsA("BasePart") then
  2475. CHILD.Transparency = i/25
  2476. end
  2477. end
  2478. local CHILDREN = LOCK:GetDescendants()
  2479. for index, CHILD in pairs(CHILDREN) do
  2480. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2481. CHILD.Transparency = CHILD.Transparency + 1/75
  2482. elseif CHILD.ClassName == "Decal" then
  2483. CHILD.Transparency = CHILD.Transparency + 1/75
  2484. end
  2485. end
  2486. end
  2487. TORSO.Parent:ClearAllChildren()
  2488. KEY:remove()
  2489. LOCK:remove()
  2490. end))
  2491. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2492. GYRO:remove()
  2493. ATTACK = false
  2494. Rooted = false
  2495. end
  2496. end
  2497. end
  2498.  
  2499. function EMOTE()
  2500. ATTACK = true
  2501. Rooted = false
  2502. local LOOP = 0
  2503. for i=0, 0.1, 0.1 / Animation_Speed do
  2504. Swait()
  2505. 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)
  2506. 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)
  2507. 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)
  2508. 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)
  2509. end
  2510. for i=0, 3, 0.1 / Animation_Speed do
  2511. Swait()
  2512. LOOP = LOOP + 1
  2513. 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)
  2514. 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)
  2515. 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)
  2516. 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)
  2517. end
  2518. for i=0, 0.1, 0.1 / Animation_Speed do
  2519. Swait()
  2520. 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)
  2521. 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)
  2522. 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)
  2523. 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)
  2524. end
  2525. ATTACK = false
  2526. Rooted = false
  2527. end
  2528.  
  2529. function Kill(Char)
  2530. local NewCharacter = IT("Model",Effects)
  2531. NewCharacter.Name = "Ow im ded ;-;"
  2532. for _, c in pairs(Char:GetDescendants()) do
  2533. if c:IsA("BasePart") and c.Transparency == 0 then
  2534. if c.Parent == Char then
  2535. getbloody(c,5)
  2536. end
  2537. c:BreakJoints()
  2538. c.Material = "Glass"
  2539. c.Color = C3(0.5,0,0)
  2540. c.CanCollide = true
  2541. c.Transparency = 0.3
  2542. if c:FindFirstChildOfClass("SpecialMesh") then
  2543. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2544. end
  2545. if c.Name == "Head" then
  2546. c:ClearAllChildren()
  2547. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2548. end
  2549. if c.ClassName == "MeshPart" then
  2550. c.TextureID = ""
  2551. end
  2552. if c:FindFirstChildOfClass("BodyPosition") then
  2553. c:FindFirstChildOfClass("BodyPosition"):remove()
  2554. end
  2555. if c:FindFirstChildOfClass("ParticleEmitter") then
  2556. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2557. end
  2558. c.Parent = NewCharacter
  2559. c.Name = "DeadPart"
  2560. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2561. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2562. end
  2563. end
  2564. Char:remove()
  2565. Debris:AddItem(NewCharacter,5)
  2566. end
  2567.  
  2568. function Taunt()
  2569. ATTACK = true
  2570. Rooted = true
  2571. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  2572. repeat
  2573. Swait()
  2574. TAUNT.Parent = Torso
  2575. TAUNT.Playing = true
  2576. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2582. until TAUNT.TimePosition >= 1.25
  2583. for i=0, 1.6, 0.1 / Animation_Speed do
  2584. Swait()
  2585. TAUNT.Parent = Torso
  2586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  2587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2590. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2592. end
  2593. ATTACK = false
  2594. Rooted = false
  2595. end
  2596.  
  2597. function oofBeam()
  2598. ATTACK = true
  2599. Rooted = false
  2600. VALUE2 = true
  2601. local GYRO = IT("BodyGyro", RootPart)
  2602. GYRO.D = 20
  2603. GYRO.P = 4000
  2604. GYRO.MaxTorque = VT(0, 40000, 0)
  2605. local POS = RootPart.Position + VT(0, 25, 0)
  2606. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  2607. 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)
  2608. 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)
  2609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2610. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2611. 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)
  2612. 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)
  2613. coroutine.resume(coroutine.create(function()
  2614. local E = 0
  2615. repeat
  2616. E = E + 5
  2617. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2618. Swait()
  2619. 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)
  2620. 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)
  2621. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2622. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2623. 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)
  2624. 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)
  2625. until ATTACK == false
  2626. GYRO:remove()
  2627. end))
  2628. for i = 1, 50 do
  2629. Swait()
  2630. end
  2631. for i = 1, 25 do
  2632. Swait()
  2633. WACKYEFFECT({
  2634. Time = 15,
  2635. EffectType = "Skull",
  2636. Size = VT(4, 4, 4),
  2637. Size2 = VT(0, 0, 0),
  2638. Transparency = 1,
  2639. Transparency2 = 0,
  2640. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  2641. MoveToPos = Eon.Position,
  2642. RotationX = 0,
  2643. RotationY = 0,
  2644. RotationZ = 0,
  2645. Material = "Neon",
  2646. Color = C3(1, 0, 0),
  2647. SoundID = nil,
  2648. SoundPitch = nil,
  2649. SoundVolume = nil
  2650. })
  2651. end
  2652. local LOOP = 0
  2653. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  2654. MakeForm(BEAMO, "Ball")
  2655. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  2656. MakeForm(BEAM, "Cyl")
  2657. repeat
  2658. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  2659. if DISTANCE < 2000 then
  2660. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  2661. BEAMO.CFrame = CF(Eon.Position)
  2662. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  2663. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2664. ApplyAoE(Mouse.Hit.p, 14,true,false)
  2665. WACKYEFFECT({
  2666. Time = 35,
  2667. EffectType = "Sphere",
  2668. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  2669. Size2 = VT(5, 75, 5),
  2670. Transparency = 0,
  2671. Transparency2 = 1,
  2672. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2673. MoveToPos = nil,
  2674. RotationX = 0,
  2675. RotationY = 0,
  2676. RotationZ = 0,
  2677. Material = "Neon",
  2678. Color = C3(1, 0, 0),
  2679. SoundID = nil,
  2680. SoundPitch = MRANDOM(9, 12) / 10,
  2681. SoundVolume = 10
  2682. })
  2683. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2684. Swait()
  2685. LOOP = LOOP + 1
  2686. end
  2687. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  2688. coroutine.resume(coroutine.create(function()
  2689. for i = 1, 15 do
  2690. Swait()
  2691. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  2692. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  2693. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  2694. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  2695. end
  2696. BEAM:remove()
  2697. BEAMO:remove()
  2698. end))
  2699. ATTACK = false
  2700. Rooted = false
  2701. VALUE2 = false
  2702. end
  2703.  
  2704. function TakeOnMe()
  2705. Speed = 16
  2706. local MEME = CreateSound(1171341451, Effects, 10, 1, false)
  2707. ATTACK = true
  2708. Rooted = false
  2709. local DANCE = true
  2710. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2711. if NEWKEY == "p" then
  2712. DANCE = false
  2713. end
  2714. end)
  2715. PLAYSONG = false
  2716. while true do
  2717. for i = 1, 15 do
  2718. Swait()
  2719. MEME.Parent = Effects
  2720. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2721. 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)
  2722. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2723. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2724. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2725. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.05) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2726. end
  2727. if DANCE == false then
  2728. break
  2729. end
  2730. for i = 1, 15 do
  2731. Swait()
  2732. MEME.Parent = Effects
  2733. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2734. 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)
  2735. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2736. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2737. 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)
  2738. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.6 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2739. end
  2740. end
  2741. PLAYSONG = true
  2742. KEY:Disconnect()
  2743. MEME:remove()
  2744. Speed = 25
  2745. ATTACK = false
  2746. Rooted = false
  2747. end
  2748.  
  2749. function Banisher_Bullet()
  2750. ATTACK = true
  2751. Rooted = false
  2752. for i=0, 0.05, 0.1 / Animation_Speed do
  2753. Swait()
  2754. turnto(Mouse.Hit.p)
  2755. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2756. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2759. 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)
  2760. 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)
  2761. end
  2762. repeat
  2763. for i=0, 0.05, 0.1 / Animation_Speed do
  2764. Swait()
  2765. turnto(Mouse.Hit.p)
  2766. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2767. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2768. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2769. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2770. 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)
  2771. 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)
  2772. end
  2773. local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
  2774. SpawnTrail(RightArm.Position,POS)
  2775. if HIT ~= nil then
  2776. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2777. Banish(HIT.Parent)
  2778. end
  2779. end
  2780. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2781. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2782. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2783. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2784. for i=0, 0.05, 0.1 / Animation_Speed do
  2785. Swait()
  2786. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2787. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2788. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2789. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2790. 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)
  2791. 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)
  2792. end
  2793. until KEYHOLD == false
  2794. ATTACK = false
  2795. Rooted = false
  2796. end
  2797. function Execute()
  2798. ATTACK = true
  2799. Rooted = false
  2800. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  2801. Part.Color = C3(0,0,0)
  2802. MakeForm(Part,"Wedge")
  2803. Part.CanCollide = true
  2804. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  2805. for i=0, 1, 0.1 / Animation_Speed do
  2806. Swait()
  2807. 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)
  2808. 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)
  2809. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2810. 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)
  2811. 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)
  2812. 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)
  2813. end
  2814. CreateSound(541909867, RightArm, 7, 1, false)
  2815. local TOCH = Part.Touched:Connect(function(hit)
  2816. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  2817. Banish(hit.Parent)
  2818. end
  2819. end)
  2820. for i=0, 0.35, 0.1 / Animation_Speed do
  2821. Swait()
  2822. 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)
  2823. 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)
  2824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2825. 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)
  2826. 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)
  2827. 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)
  2828. end
  2829. TOCH:disconnect()
  2830. for i=0, 0.35, 0.1 / Animation_Speed do
  2831. Swait()
  2832. 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)
  2833. 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)
  2834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2835. 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)
  2836. 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)
  2837. 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)
  2838. end
  2839. Part:remove()
  2840. ATTACK = false
  2841. Rooted = false
  2842. end
  2843. function Banisher_Burn()
  2844. ATTACK = true
  2845. Rooted = true
  2846. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  2847. for i=0, 1, 0.1 / Animation_Speed do
  2848. Swait()
  2849. 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)
  2850. 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)
  2851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2853. 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)
  2854. 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)
  2855. end
  2856. coroutine.resume(coroutine.create(function()
  2857. local POS = Mouse.Hit.p
  2858. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  2859. MakeForm(RAY,"Cyl")
  2860. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  2861. MakeForm(SPHERE,"Ball")
  2862. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  2863. MakeForm(SHIELD,"Ball")
  2864. SHIELD.CFrame = CF(POS)
  2865. RAY.CFrame = CF(POS)
  2866. SPHERE.CFrame = CF(POS)
  2867. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2868. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2869. for i = 1, 200 do
  2870. Swait()
  2871. 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,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2872. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2873. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  2874. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  2875. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2876. end
  2877. for i = 1, 45 do
  2878. Swait()
  2879. RAY.Transparency = RAY.Transparency + 1/45
  2880. SPHERE.Transparency = RAY.Transparency
  2881. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2882. end
  2883. RAY:remove()
  2884. SHIELD:remove()
  2885. SPHERE:remove()
  2886. end))
  2887. for i=0, 1, 0.1 / Animation_Speed do
  2888. Swait()
  2889. 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)
  2890. 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)
  2891. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2892. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2893. 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)
  2894. 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)
  2895. end
  2896. ATTACK = false
  2897. Rooted = false
  2898. end
  2899. function Teleport()
  2900. ATTACK = true
  2901. Rooted = false
  2902. for i=0, 0.5, 0.1 / Animation_Speed do
  2903. Swait()
  2904. 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)
  2905. 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)
  2906. end
  2907. for e = 1, #BODY do
  2908. if BODY[e] ~= nil then
  2909. local STUFF = BODY[e]
  2910. local PART = STUFF[1]
  2911. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2912. local PRT = PART:Clone()
  2913. PRT.Anchored = true
  2914. PRT.CanCollide = false
  2915. PRT.Material = "Neon"
  2916. PRT.Color = C3(255,100,255)
  2917. PRT.Name = "WarpEffect"
  2918. PRT.Parent = Effects
  2919. PRT.CFrame = PART.CFrame
  2920. PRT:BreakJoints()
  2921. if PRT:FindFirstChildOfClass("Sound") then
  2922. PRT:FindFirstChildOfClass("Sound"):remove()
  2923. end
  2924. if PRT:FindFirstChildOfClass("Decal") then
  2925. PRT:FindFirstChildOfClass("Decal"):remove()
  2926. end
  2927. coroutine.resume(coroutine.create(function()
  2928. for i = 1, 100 do
  2929. Swait()
  2930. PRT.Transparency = PRT.Transparency + 1/100
  2931. end
  2932. PRT:remove()
  2933. end))
  2934. end
  2935. end
  2936. end
  2937. CreateSound(217767125, Torso, 10, 1)
  2938. local POS = RootPart.Orientation
  2939. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2940. RootPart.Orientation = POS
  2941. RootJoint.Parent = RootPart
  2942. for i=0, 0.5, 0.1 / Animation_Speed do
  2943. Swait()
  2944. 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)
  2945. 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)
  2946. end
  2947. for i=0, 0.1, 0.1 / Animation_Speed do
  2948. Swait()
  2949. 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)
  2950. end
  2951. ATTACK = false
  2952. Rooted = false
  2953. end
  2954. function BanishmentBeam()
  2955. ATTACK = true
  2956. Rooted = true
  2957. local SPOTS = {}
  2958. for i = 1, 15 do
  2959. Swait()
  2960. 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)
  2961. 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)
  2962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2963. 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)
  2964. end
  2965. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  2966. for i=0, 0.5, 0.1 / Animation_Speed do
  2967. Swait()
  2968. 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)
  2969. 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)
  2970. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2971. 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)
  2972. end
  2973. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  2974. table.insert(SPOTS,HITPOS)
  2975. CreateSound(145080998, RightArm, 2, 1, false)
  2976. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = RightArm.CFrame*CF(0, 1, 0.045).p, End = RightArm.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  2977. coroutine.resume(coroutine.create(function()
  2978. local POS = Mouse.Hit.p
  2979. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  2980. MakeForm(RAY,"Cyl")
  2981. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  2982. MakeForm(SPHERE,"Ball")
  2983. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  2984. MakeForm(SHIELD,"Ball")
  2985. SHIELD.CFrame = CF(POS)
  2986. RAY.CFrame = CF(POS)
  2987. SPHERE.CFrame = CF(POS)
  2988. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2989. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2990. for i = 1, 200 do
  2991. Swait()
  2992. 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})
  2993. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.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})
  2994. 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})
  2995. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2996. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  2997. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  2998. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  2999. end
  3000. for i = 1, 45 do
  3001. Swait()
  3002. RAY.Transparency = RAY.Transparency + 1/45
  3003. SPHERE.Transparency = RAY.Transparency
  3004. SHIELD.Transparency = SPHERE.Transparency + 1/45
  3005. end
  3006. RAY:remove()
  3007. SHIELD:remove()
  3008. SPHERE:remove()
  3009. end))
  3010. ATTACK = false
  3011. Rooted = false
  3012. end
  3013.  
  3014. function Bat_Wave()
  3015. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  3016. if HITFLOOR ~= nil then
  3017. ATTACK = true
  3018. Rooted = true
  3019. do
  3020. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  3021. BAT.Color = C3(0, 0, 0)
  3022. MakeForm(BAT, "Ball")
  3023. CreateSound("1177785010", BAT, 10, 1)
  3024. for i = 1, 25 do
  3025. Swait()
  3026. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  3027. BAT.Transparency = BAT.Transparency - 0.04
  3028. 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)
  3029. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3030. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3032. 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)
  3033. 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)
  3034. end
  3035. local GYRO = IT("BodyGyro", RootPart)
  3036. GYRO.D = 100
  3037. GYRO.P = 2000
  3038. GYRO.MaxTorque = VT(0, 4000000, 0)
  3039. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3040. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  3041. WING.Color = C3(1, 0, 0)
  3042. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  3043. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  3044. for i = 1, 15 do
  3045. Swait()
  3046. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  3047. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  3048. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3049. WING.Transparency = WING.Transparency - 0.06666666666666667
  3050. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  3051. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3055. 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)
  3056. 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)
  3057. end
  3058. coroutine.resume(coroutine.create(function()
  3059. local LOOP = 0
  3060. for i = 1, 70 do
  3061. LOOP = LOOP + 1
  3062. Swait()
  3063. if i < 18 then
  3064. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  3065. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  3066. end
  3067. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  3068. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  3069. if LOOP == 15 then
  3070. LOOP = 0
  3071. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  3072. CreateSound("201858087", BAT, 10, 1)
  3073. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z)) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  3074. end
  3075. end
  3076. killnearest(BAT.Position, 35, 250)
  3077. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  3078. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(BAT.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  3079. CreateSound("178452217", BAT, 10, 1)
  3080. WING:remove()
  3081. BAT.Transparency = 1
  3082. Debris:AddItem(BAT, 5)
  3083. end))
  3084. GYRO:remove()
  3085. ATTACK = false
  3086. Rooted = false
  3087. end
  3088. end
  3089. end
  3090. function Deathbound()
  3091. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  3092. ATTACK = true
  3093. Rooted = true
  3094. for i=0, 1, 0.1 / Animation_Speed do
  3095. Swait()
  3096. 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)
  3097. 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)
  3098. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3099. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3100. 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)
  3101. 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)
  3102. end
  3103. local DONE = false
  3104. local GATE = nil
  3105. local GATESPIN = true
  3106. coroutine.resume(coroutine.create(function()
  3107. repeat
  3108. Swait()
  3109. if GATE ~= nil then
  3110. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  3111. end
  3112. until GATESPIN == false
  3113. end))
  3114. coroutine.resume(coroutine.create(function()
  3115. repeat
  3116. Swait()
  3117. 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)
  3118. 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)
  3119. 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)
  3120. 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)
  3121. 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)
  3122. 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)
  3123. until DONE == true
  3124. Swait(50)
  3125. for i = 1, 35 do
  3126. Swait(4)
  3127. local FIRED = false
  3128. local CHILDREN = workspace:GetDescendants()
  3129. for index, CHILD in pairs(CHILDREN) do
  3130. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3131. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3132. if HUM then
  3133. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3134. if TORSO then
  3135. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  3136. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3137. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  3138. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  3139. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3140. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  3141. Banish(CHILD)
  3142. FIRED = true
  3143. break
  3144. end
  3145. end
  3146. end
  3147. end
  3148. end
  3149. if FIRED == false then
  3150. 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)))
  3151. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  3152. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3153. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  3154. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  3155. if HITBOD ~= nil then
  3156. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  3157. Kill(HITBOD.Parent)
  3158. end
  3159. end
  3160. end
  3161. end
  3162. for i = 1, 45 do
  3163. Swait()
  3164. GATE.Size = GATE.Size - VT(3,0,3)
  3165. end
  3166. GATESPIN = false
  3167. GATE:remove()
  3168. end))
  3169. Swait(15)
  3170. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3171. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  3172. local DECAL = IT("Decal",GATE)
  3173. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  3174. DECAL.Face = "Top"
  3175. GATE.CFrame = CF(HITPOS)
  3176. CreateSound(160772554, GATE, 7, 1.3, false)
  3177. for i = 1, 45 do
  3178. Swait()
  3179. GATE.Size = GATE.Size + VT(3,0,3)
  3180. end
  3181. CreateSound(213603013, RightHole, 7, 1, false)
  3182. CreateSound(213603013, LeftHole, 7, 1, false)
  3183. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3184. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3185. ATTACK = false
  3186. Rooted = false
  3187. DONE = true
  3188. end
  3189.  
  3190.  
  3191. --//=================================\\
  3192. --|| ASSIGN THINGS TO KEYS
  3193. --\\=================================//
  3194.  
  3195. function MouseDown(Mouse)
  3196. if ATTACK == false then
  3197. EMOTE()
  3198. end
  3199. end
  3200.  
  3201. function MouseUp(Mouse)
  3202. HOLD = false
  3203. end
  3204.  
  3205. function KeyDown(Key)
  3206. KEYHOLD = true
  3207. if Key == "z" and ATTACK == false then
  3208. Banisher_Bullet()
  3209. end
  3210.  
  3211. if Key == "b" and ATTACK == false then
  3212. Banisher_Burn()
  3213. end
  3214.  
  3215. if Key == "c" and ATTACK == false then
  3216. BanishmentBeam()
  3217. end
  3218.  
  3219. if Key == "v" and ATTACK == false then
  3220. Teleport()
  3221. end
  3222.  
  3223. if Key == "t" and ATTACK == false then
  3224. Taunt()
  3225. chatfunc(DeathTaunt[MRANDOM(1,#DeathTaunt)])
  3226. end
  3227.  
  3228. if Key == "e" and ATTACK == false then
  3229. Madness()
  3230. end
  3231.  
  3232. if Key == "n" and ATTACK == false then
  3233. Bat_Wave()
  3234. end
  3235.  
  3236. if Key == "q" and ATTACK == false then
  3237. OP()
  3238. end
  3239.  
  3240. if Key == "j" and ATTACK == false then
  3241. Nuke()
  3242. end
  3243.  
  3244. if Key == "y" and ATTACK == false then
  3245. oofBeam()
  3246. end
  3247.  
  3248. if Key == "r" and ATTACK == false then
  3249. Burning_Hopes()
  3250. end
  3251.  
  3252. if Key == "u" and ATTACK == false then
  3253. Absoluteum()
  3254. end
  3255.  
  3256. if Key == "g" and ATTACK == false then
  3257. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  3258. TOBANISH = {}
  3259. end
  3260.  
  3261. if Key == "p" and ATTACK == false then
  3262. TakeOnMe()
  3263. end
  3264.  
  3265. if Key == "x" and ATTACK == false then
  3266. Deathbound()
  3267. end
  3268. end
  3269.  
  3270. function KeyUp(Key)
  3271. KEYHOLD = false
  3272. end
  3273.  
  3274. Mouse.Button1Down:connect(function(NEWKEY)
  3275. MouseDown(NEWKEY)
  3276. end)
  3277. Mouse.Button1Up:connect(function(NEWKEY)
  3278. MouseUp(NEWKEY)
  3279. end)
  3280. Mouse.KeyDown:connect(function(NEWKEY)
  3281. KeyDown(NEWKEY)
  3282. end)
  3283. Mouse.KeyUp:connect(function(NEWKEY)
  3284. KeyUp(NEWKEY)
  3285. end)
  3286.  
  3287. --//=================================\\
  3288. --\\=================================//
  3289.  
  3290.  
  3291. function unanchor()
  3292. if UNANCHOR == true then
  3293. g = Character:GetChildren()
  3294. for i = 1, #g do
  3295. if g[i].ClassName == "Part" then
  3296. g[i].Anchored = false
  3297. end
  3298. end
  3299. end
  3300. end
  3301.  
  3302.  
  3303. --//=================================\\
  3304. --|| WRAP THE WHOLE SCRIPT UP
  3305. --\\=================================//
  3306.  
  3307. Humanoid.Changed:connect(function(Jump)
  3308. if Jump == "Jump" and (Disable_Jump == true) then
  3309. Humanoid.Jump = false
  3310. end
  3311. end)
  3312.  
  3313. local CONNECT = nil
  3314.  
  3315. while true do
  3316. Swait()
  3317. ANIMATE.Parent = nil
  3318. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3319. Humanoid = IT("Humanoid",Character)
  3320. end
  3321. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3322. v:Stop();
  3323. end
  3324. SINE = SINE + CHANGE
  3325. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3326. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3327. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3328. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  3329. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3330. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3)
  3331. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  3332. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  3333. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  3334. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3335. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3336. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3337. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3338. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3339. end
  3340. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3341. ANIM = "Jump"
  3342. if ATTACK == false then
  3343. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3344. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3345. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3346. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3347. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3348. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3349. end
  3350. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3351. ANIM = "Fall"
  3352. if ATTACK == false then
  3353. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3355. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3357. 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)
  3358. 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)
  3359. end
  3360. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3361. ANIM = "Idle"
  3362. if ATTACK == false then
  3363. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  3365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3367. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3368. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3369. if VALUE1 == false and MRANDOM(1,200) == 1 then
  3370. coroutine.resume(coroutine.create(function()
  3371. VALUE1 = true
  3372. for i = 1, 25 do
  3373. Swait()
  3374. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  3375. end
  3376. VALUE1 = false
  3377. end))
  3378. end
  3379. end
  3380. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3381. ANIM = "Walk"
  3382. if ATTACK == false then
  3383. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  3384. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3)
  3385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  3386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
  3387. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
  3388. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
  3389. end
  3390. end
  3391. Humanoid.MaxHealth = "inf"
  3392. Humanoid.Health = "inf"
  3393. if Rooted == false then
  3394. Disable_Jump = false
  3395. Humanoid.WalkSpeed = Speed
  3396. elseif Rooted == true then
  3397. Disable_Jump = true
  3398. Humanoid.WalkSpeed = 0
  3399. end
  3400. refit()
  3401. sick.Parent = Torso
  3402. sick:resume()
  3403. sick.Volume = 100
  3404. sick.Pitch = 1
  3405. sick.SoundId = "rbxassetid://0"
  3406. sick.Name = "BanishV3Music"
  3407. end
  3408.  
  3409. --//=================================\\
  3410. --\\=================================//
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416. --//====================================================\\--
  3417. --|| END OF SCRIPT
  3418. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement