Advertisement
Zach_script_stealer2

Dreaming Deku

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