Advertisement
AOM-GU-PRO

WTF

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