Advertisement
ExcuseMehEdit

BROKEN </3

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