Advertisement
kostik228

KOSTIK ABUSER KILLER

Nov 18th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.15 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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 = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. Player = owner
  87. Character = Player.Character
  88. local txt = Instance.new("BillboardGui", Character)
  89. txt.Adornee = Character.Head
  90. txt.Name = "_status"
  91. txt.Size = UDim2.new(2, 0, 1.2, 0)
  92. txt.StudsOffset = Vector3.new(-9, 8, 0)
  93. local text = Instance.new("TextLabel", txt)
  94. text.Size = UDim2.new(10, 0, 7, 0)
  95. text.FontSize = "Size24"
  96. text.TextScaled = true
  97. text.TextTransparency = 1
  98. text.BackgroundTransparency = 1
  99. text.TextTransparency = 1
  100. text.TextStrokeTransparency = 0
  101. text.Font = "Antique"
  102. text.TextStrokeColor3 = Color3.new(1, 1, 1)
  103. text.Text = "KOSTIK ABUSER KILLER"
  104. script.Name = "Banisher Gun V3 / 1"
  105. --//====================================================\\--
  106. --|| CREATED BY SHACKLUSTER
  107. --\\====================================================//--
  108. local Player_Size = 1
  109. script:ClearAllChildren()
  110. wait(0.2)
  111.  
  112. Player = owner
  113. PlayerGui = Player.PlayerGui
  114. Cam = workspace.CurrentCamera
  115. Backpack = Player.Backpack
  116. Character = Player.Character
  117. Humanoid = Character.Humanoid
  118. RootPart = Character["HumanoidRootPart"]
  119. Torso = Character["Torso"]
  120. Head = Character["Head"]
  121. RightArm = Character["Right Arm"]
  122. LeftArm = Character["Left Arm"]
  123. RightLeg = Character["Right Leg"]
  124. LeftLeg = Character["Left Leg"]
  125. RootJoint = RootPart["RootJoint"]
  126. Neck = Torso["Neck"]
  127. RightShoulder = Torso["Right Shoulder"]
  128. LeftShoulder = Torso["Left Shoulder"]
  129. RightHip = Torso["Right Hip"]
  130. LeftHip = Torso["Left Hip"]
  131. local TIME = 0
  132. local sick = Instance.new("Sound",Torso)
  133.  
  134. for i,v in pairs(Character:GetChildren()) do
  135. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
  136. v:Destroy()
  137. end
  138. end
  139.  
  140. local Shirt = Instance.new("Shirt",Character)
  141. local Pants = Instance.new("Pants",Character)
  142. Shirt.ShirtTemplate = "rbxassetid://811066647"
  143. Pants.PantsTemplate = "rbxassetid://1088567690"
  144.  
  145. IT = Instance.new
  146. CF = CFrame.new
  147. VT = Vector3.new
  148. RAD = math.rad
  149. C3 = Color3.new
  150. UD2 = UDim2.new
  151. BRICKC = BrickColor.new
  152. ANGLES = CFrame.Angles
  153. EULER = CFrame.fromEulerAnglesXYZ
  154. COS = math.cos
  155. ACOS = math.acos
  156. SIN = math.sin
  157. ASIN = math.asin
  158. ABS = math.abs
  159. MRANDOM = math.random
  160. FLOOR = math.floor
  161. --//=================================\\
  162. --|| USEFUL VALUES
  163. --\\=================================//
  164.  
  165. Animation_Speed = 3
  166. local FORCERESET = false
  167. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  168. local Speed = 16
  169. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  170. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  171. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  172. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  173. local DAMAGEMULTIPLIER = 1
  174. local ANIM = "Idle"
  175. local ATTACK = false
  176. local EQUIPPED = false
  177. local HOLD = false
  178. local COMBO = 1
  179. local Rooted = false
  180. local SINE = 0
  181. local KEYHOLD = false
  182. local CHANGE = 2 / Animation_Speed
  183. local WALKINGANIM = false
  184. local VALUE1 = false
  185. local VALUE2 = false
  186. local ROBLOXIDLEANIMATION = IT("Animation")
  187. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  188. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  189. --ROBLOXIDLEANIMATION.Parent = Humanoid
  190. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  191. WEAPONGUI.Name = "BanishV3Gui"
  192. local Weapon = IT("Model")
  193. Weapon.Name = "Adds"
  194. local Effects = IT("Folder", Weapon)
  195. Effects.Name = "Effects"
  196. local ANIMATOR = Humanoid.Animator
  197. local ANIMATE = Character:FindFirstChild("Animate")
  198. local UNANCHOR = true
  199. local TOBANISH = {}
  200. script.Parent = PlayerGui
  201.  
  202. --//=================================\\
  203. --\\=================================//
  204.  
  205.  
  206. --//=================================\\
  207. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  208. --\\=================================//
  209.  
  210. ArtificialHB = Instance.new("BindableEvent", script)
  211. ArtificialHB.Name = "ArtificialHB"
  212.  
  213. script:WaitForChild("ArtificialHB")
  214.  
  215. frame = Frame_Speed
  216. tf = 0
  217. allowframeloss = false
  218. tossremainder = false
  219. lastframe = tick()
  220. script.ArtificialHB:Fire()
  221.  
  222. game:GetService("RunService").Heartbeat:connect(function(s, p)
  223. tf = tf + s
  224. if tf >= frame then
  225. if allowframeloss then
  226. script.ArtificialHB:Fire()
  227. lastframe = tick()
  228. else
  229. for i = 1, math.floor(tf / frame) do
  230. script.ArtificialHB:Fire()
  231. end
  232. lastframe = tick()
  233. end
  234. if tossremainder then
  235. tf = 0
  236. else
  237. tf = tf - frame * math.floor(tf / frame)
  238. end
  239. end
  240. end)
  241.  
  242. --//=================================\\
  243. --\\=================================//
  244.  
  245. --//=================================\\
  246. --|| SOME FUNCTIONS
  247. --\\=================================//
  248.  
  249. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  250. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  251. end
  252.  
  253. function PositiveAngle(NUMBER)
  254. if NUMBER >= 0 then
  255. NUMBER = 0
  256. end
  257. return NUMBER
  258. end
  259.  
  260. function NegativeAngle(NUMBER)
  261. if NUMBER <= 0 then
  262. NUMBER = 0
  263. end
  264. return NUMBER
  265. end
  266.  
  267. function Swait(NUMBER)
  268. if NUMBER == 0 or NUMBER == nil then
  269. ArtificialHB.Event:wait()
  270. else
  271. for i = 1, NUMBER do
  272. ArtificialHB.Event:wait()
  273. end
  274. end
  275. end
  276.  
  277. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  278. local NEWMESH = IT(MESH)
  279. if MESH == "SpecialMesh" then
  280. NEWMESH.MeshType = MESHTYPE
  281. if MESHID ~= "nil" and MESHID ~= "" then
  282. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  283. end
  284. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  285. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  286. end
  287. end
  288. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  289. NEWMESH.Scale = SCALE
  290. NEWMESH.Parent = PARENT
  291. return NEWMESH
  292. end
  293.  
  294. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  295. local NEWPART = IT("Part")
  296. NEWPART.formFactor = FORMFACTOR
  297. NEWPART.Reflectance = REFLECTANCE
  298. NEWPART.Transparency = TRANSPARENCY
  299. NEWPART.CanCollide = false
  300. NEWPART.Locked = true
  301. NEWPART.Anchored = true
  302. if ANCHOR == false then
  303. NEWPART.Anchored = false
  304. end
  305. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  306. NEWPART.Name = NAME
  307. NEWPART.Size = SIZE
  308. NEWPART.Position = Torso.Position
  309. NEWPART.Material = MATERIAL
  310. NEWPART:BreakJoints()
  311. NEWPART.Parent = PARENT
  312. return NEWPART
  313. end
  314.  
  315. local function weldBetween(a, b)
  316. local weldd = Instance.new("ManualWeld")
  317. weldd.Part0 = a
  318. weldd.Part1 = b
  319. weldd.C0 = CFrame.new()
  320. weldd.C1 = b.CFrame:inverse() * a.CFrame
  321. weldd.Parent = a
  322. return weldd
  323. end
  324.  
  325.  
  326. function QuaternionFromCFrame(cf)
  327. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  328. local trace = m00 + m11 + m22
  329. if trace > 0 then
  330. local s = math.sqrt(1 + trace)
  331. local recip = 0.5 / s
  332. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  333. else
  334. local i = 0
  335. if m11 > m00 then
  336. i = 1
  337. end
  338. if m22 > (i == 0 and m00 or m11) then
  339. i = 2
  340. end
  341. if i == 0 then
  342. local s = math.sqrt(m00 - m11 - m22 + 1)
  343. local recip = 0.5 / s
  344. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  345. elseif i == 1 then
  346. local s = math.sqrt(m11 - m22 - m00 + 1)
  347. local recip = 0.5 / s
  348. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  349. elseif i == 2 then
  350. local s = math.sqrt(m22 - m00 - m11 + 1)
  351. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  352. end
  353. end
  354. end
  355.  
  356. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  357. local xs, ys, zs = x + x, y + y, z + z
  358. local wx, wy, wz = w * xs, w * ys, w * zs
  359. local xx = x * xs
  360. local xy = x * ys
  361. local xz = x * zs
  362. local yy = y * ys
  363. local yz = y * zs
  364. local zz = z * zs
  365. 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))
  366. end
  367.  
  368. function QuaternionSlerp(a, b, t)
  369. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  370. local startInterp, finishInterp;
  371. if cosTheta >= 0.0001 then
  372. if (1 - cosTheta) > 0.0001 then
  373. local theta = ACOS(cosTheta)
  374. local invSinTheta = 1 / SIN(theta)
  375. startInterp = SIN((1 - t) * theta) * invSinTheta
  376. finishInterp = SIN(t * theta) * invSinTheta
  377. else
  378. startInterp = 1 - t
  379. finishInterp = t
  380. end
  381. else
  382. if (1 + cosTheta) > 0.0001 then
  383. local theta = ACOS(-cosTheta)
  384. local invSinTheta = 1 / SIN(theta)
  385. startInterp = SIN((t - 1) * theta) * invSinTheta
  386. finishInterp = SIN(t * theta) * invSinTheta
  387. else
  388. startInterp = t - 1
  389. finishInterp = t
  390. end
  391. end
  392. 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
  393. end
  394.  
  395. function Clerp(a, b, t)
  396. local qa = {QuaternionFromCFrame(a)}
  397. local qb = {QuaternionFromCFrame(b)}
  398. local ax, ay, az = a.x, a.y, a.z
  399. local bx, by, bz = b.x, b.y, b.z
  400. local _t = 1 - t
  401. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  402. end
  403.  
  404. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  405. local frame = IT("Frame")
  406. frame.BackgroundTransparency = TRANSPARENCY
  407. frame.BorderSizePixel = BORDERSIZEPIXEL
  408. frame.Position = POSITION
  409. frame.Size = SIZE
  410. frame.BackgroundColor3 = COLOR
  411. frame.BorderColor3 = BORDERCOLOR
  412. frame.Name = NAME
  413. frame.Parent = PARENT
  414. return frame
  415. end
  416.  
  417. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  418. local label = IT("TextLabel")
  419. label.BackgroundTransparency = 1
  420. label.Size = UD2(1, 0, 1, 0)
  421. label.Position = UD2(0, 0, 0, 0)
  422. label.TextColor3 = TEXTCOLOR
  423. label.TextStrokeTransparency = STROKETRANSPARENCY
  424. label.TextTransparency = TRANSPARENCY
  425. label.FontSize = TEXTFONTSIZE
  426. label.Font = TEXTFONT
  427. label.BorderSizePixel = BORDERSIZEPIXEL
  428. label.TextScaled = false
  429. label.Text = TEXT
  430. label.Name = NAME
  431. label.Parent = PARENT
  432. return label
  433. end
  434.  
  435. function NoOutlines(PART)
  436. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  437. end
  438.  
  439. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  440. local NEWWELD = IT(TYPE)
  441. NEWWELD.Part0 = PART0
  442. NEWWELD.Part1 = PART1
  443. NEWWELD.C0 = C0
  444. NEWWELD.C1 = C1
  445. NEWWELD.Parent = PARENT
  446. return NEWWELD
  447. end
  448.  
  449. local S = IT("Sound")
  450. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  451. local NEWSOUND
  452. coroutine.resume(coroutine.create(function()
  453. NEWSOUND = S:Clone()
  454. NEWSOUND.Parent = PARENT
  455. NEWSOUND.EmitterSize = VOLUME * 3
  456. NEWSOUND.Volume = VOLUME
  457. NEWSOUND.Pitch = PITCH
  458. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  459. NEWSOUND:play()
  460. if DOESLOOP == true then
  461. NEWSOUND.Looped = true
  462. else
  463. repeat
  464. wait(1)
  465. until NEWSOUND.Playing == false
  466. NEWSOUND:remove()
  467. end
  468. end))
  469. return NEWSOUND
  470. end
  471.  
  472. function CFrameFromTopBack(at, top, back)
  473. local right = top:Cross(back)
  474. 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)
  475. end
  476.  
  477. local HATWELD = nil
  478. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  479. PLAYMAINANIM = false
  480. if WhichPose == "Cast1" then
  481. for i=0, Time, 0.1 / Animation_Speed do
  482. Swait()
  483. if Magic == true then
  484. 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"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  485. end
  486. if Gyro ~= nil and Gyro ~= false then
  487. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  488. end
  489. 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)
  490. 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)
  491. 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)
  492. 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)
  493. 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)
  494. 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)
  495. end
  496. elseif WhichPose == "Cast2" then
  497. for i=0, Time, 0.1 / Animation_Speed do
  498. Swait()
  499. if Magic == true then
  500. 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"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  501. 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"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  502. end
  503. if Gyro ~= nil and Gyro ~= false then
  504. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  505. end
  506. 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)
  507. 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)
  508. 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)
  509. 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)
  510. 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)
  511. 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)
  512. end
  513. elseif WhichPose == "RightArmUp" then
  514. for i=0, Time, 0.1 / Animation_Speed do
  515. Swait()
  516. if Magic == true then
  517. 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"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  518. end
  519. if Gyro ~= nil and Gyro ~= false then
  520. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  521. end
  522. 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)
  523. 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)
  524. 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)
  525. 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)
  526. 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)
  527. 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)
  528. end
  529. elseif WhichPose == "Taunt" then
  530. for i=0, Time, 0.1 / Animation_Speed do
  531. Swait()
  532. 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)
  533. 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)
  534. 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)
  535. 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)
  536. 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)
  537. 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)
  538. end
  539. HATWELD.Part0 = RightArm
  540. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  541. CreateSound(137473066,Torso,10,1,false)
  542. for i=0, Time*2, 0.1 / Animation_Speed do
  543. Swait()
  544. 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)
  545. 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)
  546. 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)
  547. 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)
  548. 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)
  549. 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)
  550. end
  551. for i=0, Time, 0.1 / Animation_Speed do
  552. Swait()
  553. 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)
  554. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  555. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  556. 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)
  557. 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)
  558. 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)
  559. 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)
  560. end
  561. HATWELD.Part0 = Head
  562. HATWELD.C0 = CF(0,0.35,0)
  563. elseif WhichPose == "Prepare key" then
  564. for i=0, Time, 0.1 / Animation_Speed do
  565. Swait()
  566. if Gyro ~= nil and Gyro ~= false then
  567. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  568. end
  569. 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)
  570. 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)
  571. 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)
  572. 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)
  573. 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)
  574. 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)
  575. end
  576. elseif WhichPose == "Turn key" then
  577. for i=0, Time, 0.1 / Animation_Speed do
  578. Swait()
  579. if Gyro ~= nil and Gyro ~= false then
  580. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  581. end
  582. 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)
  583. 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)
  584. 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)
  585. 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)
  586. 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)
  587. 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)
  588. end
  589. end
  590. PLAYMAINANIM = true
  591. end
  592.  
  593. --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})
  594. function WACKYEFFECT(Table)
  595. local TYPE = (Table.EffectType or "Sphere")
  596. local SIZE = (Table.Size or VT(1,1,1))
  597. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  598. local TRANSPARENCY = (Table.Transparency or 0)
  599. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  600. local CFRAME = (Table.CFrame or Torso.CFrame)
  601. local MOVEDIRECTION = (Table.MoveToPos or nil)
  602. local ROTATION1 = (Table.RotationX or 0)
  603. local ROTATION2 = (Table.RotationY or 0)
  604. local ROTATION3 = (Table.RotationZ or 0)
  605. local MATERIAL = (Table.Material or "Neon")
  606. local COLOR = (Table.Color or C3(1,1,1))
  607. local TIME = (Table.Time or 45)
  608. local SOUNDID = (Table.SoundID or nil)
  609. local SOUNDPITCH = (Table.SoundPitch or nil)
  610. local SOUNDVOLUME = (Table.SoundVolume or nil)
  611. coroutine.resume(coroutine.create(function()
  612. local PLAYSSOUND = false
  613. local SOUND = nil
  614. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  615. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  616. PLAYSSOUND = true
  617. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  618. end
  619. EFFECT.Color = COLOR
  620. local MSH = nil
  621. if TYPE == "Sphere" then
  622. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  623. elseif TYPE == "Block" then
  624. MSH = IT("BlockMesh",EFFECT)
  625. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  626. elseif TYPE == "Wave" then
  627. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  628. elseif TYPE == "Ring" then
  629. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  630. elseif TYPE == "Slash" then
  631. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  632. elseif TYPE == "Round Slash" then
  633. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  634. elseif TYPE == "Swirl" then
  635. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  636. elseif TYPE == "Skull" then
  637. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  638. elseif TYPE == "Crystal" then
  639. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  640. end
  641. if MSH ~= nil then
  642. local MOVESPEED = nil
  643. if MOVEDIRECTION ~= nil then
  644. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  645. end
  646. local GROWTH = SIZE - ENDSIZE
  647. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  648. if TYPE == "Block" then
  649. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  650. else
  651. EFFECT.CFrame = CFRAME
  652. end
  653. for LOOP = 1, TIME+1 do
  654. Swait()
  655. MSH.Scale = MSH.Scale - GROWTH/TIME
  656. if TYPE == "Wave" then
  657. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  658. end
  659. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  660. if TYPE == "Block" then
  661. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  662. else
  663. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  664. end
  665. if MOVEDIRECTION ~= nil then
  666. local ORI = EFFECT.Orientation
  667. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  668. EFFECT.Orientation = ORI
  669. end
  670. end
  671. if PLAYSSOUND == false then
  672. EFFECT:remove()
  673. else
  674. SOUND.Stopped:Connect(function()
  675. EFFECT:remove()
  676. end)
  677. end
  678. else
  679. if PLAYSSOUND == false then
  680. EFFECT:remove()
  681. else
  682. repeat Swait() until SOUND.Playing == false
  683. EFFECT:remove()
  684. end
  685. end
  686. end))
  687. end
  688.  
  689. function MakeForm(PART,TYPE)
  690. if TYPE == "Cyl" then
  691. local MSH = IT("CylinderMesh",PART)
  692. elseif TYPE == "Ball" then
  693. local MSH = IT("SpecialMesh",PART)
  694. MSH.MeshType = "Sphere"
  695. elseif TYPE == "Wedge" then
  696. local MSH = IT("SpecialMesh",PART)
  697. MSH.MeshType = "Wedge"
  698. end
  699. end
  700.  
  701. function SpawnTrail(FROM,TO,BIG)
  702. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
  703. MakeForm(TRAIL,"Cyl")
  704. local DIST = (FROM - TO).Magnitude
  705. if BIG == true then
  706. TRAIL.Size = VT(0.5,DIST,0.5)
  707. else
  708. TRAIL.Size = VT(0.25,DIST,0.25)
  709. end
  710. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  711. coroutine.resume(coroutine.create(function()
  712. for i = 1, 5 do
  713. Swait()
  714. TRAIL.Transparency = TRAIL.Transparency + 0.1
  715. end
  716. TRAIL:remove()
  717. end))
  718. end
  719.  
  720. Debris = game:GetService("Debris")
  721.  
  722. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  723. local DIRECTION = CF(StartPos,EndPos).lookVector
  724. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  725. end
  726.  
  727. function turnto(position)
  728. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  729. end
  730.  
  731. --//=================================\\
  732. --|| WEAPON CREATION
  733. --\\=================================//
  734.  
  735. local Particle = IT("ParticleEmitter",nil)
  736. Particle.Enabled = false
  737. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  738. Particle.LightEmission = 0.5
  739. Particle.Rate = 150
  740. Particle.ZOffset = 0.2
  741. Particle.Rotation = NumberRange.new(-180, 180)
  742. Particle.RotSpeed = NumberRange.new(-180, 180)
  743. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  744. Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,0))
  745.  
  746. local HAT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Tophat", VT(1,1,1),false)
  747. local Hatweld = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT, CF(0,1,0), CF(0, 0, 0))
  748. CreateMesh("SpecialMesh", HAT, "FileMesh", "97094619", "97094572", VT(1,1,1), VT(0,0,0))
  749. for i = 1, 16 do
  750. local FACE = CreatePart(3, Character, "Neon", 0, 0+(i-1)/16.2, "White", "FaceGradient", VT(1.01,0.65,1.01),false)
  751. FACE.Color = C3(0,0,0)
  752. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  753. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  754. end
  755. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eyeball", VT(0.15,0.15,0.15),false)
  756. MakeForm(EYE,"Ball")
  757. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  758. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eyeball", VT(0.15,0.15,0.15),false)
  759. MakeForm(EYE2,"Ball")
  760. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  761.  
  762. local Particle = IT("ParticleEmitter",nil)
  763. Particle.Enabled = false
  764. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  765. Particle.LightEmission = 5
  766. Particle.Rate = 300
  767. Particle.ZOffset = 0.2
  768. Particle.Rotation = NumberRange.new(-180, 180)
  769. Particle.RotSpeed = NumberRange.new(-180, 180)
  770. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  771. Particle.Color = ColorSequence.new(C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1))
  772.  
  773. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  774. function ParticleEmitter(Table)
  775. local PRTCL = Particle:Clone()
  776. local Speed = Table.Speed or 5
  777. local Drag = Table.Drag or 0
  778. local Size1 = Table.Size1 or 1
  779. local Size2 = Table.Size2 or 5
  780. local Lifetime1 = Table.Lifetime1 or 1
  781. local Lifetime2 = Table.Lifetime2 or 1.5
  782. local Parent = Table.Parent or Torso
  783. local Emit = Table.Emit or 100
  784. local Offset = Table.Offset or 360
  785. local Acel = Table.Acel or VT(0,0,0)
  786. local Enabled = Table.Enabled or false
  787. PRTCL.Parent = Parent
  788. PRTCL.Size = NumberSequence.new(Size1,Size2)
  789. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  790. PRTCL.Speed = NumberRange.new(Speed)
  791. PRTCL.VelocitySpread = Offset
  792. PRTCL.Drag = Drag
  793. PRTCL.Acceleration = Acel
  794. if Enabled == false then
  795. PRTCL:Emit(Emit)
  796. Debris:AddItem(PRTCL,Lifetime2)
  797. else
  798. PRTCL.Enabled = true
  799. end
  800. return PRTCL
  801. end
  802.  
  803. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
  804. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  805. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
  806. MakeForm(Part,"Wedge")
  807. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  808. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
  809. MakeForm(Part,"Wedge")
  810. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  811. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
  812. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  813. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
  814. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  815. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
  816. MakeForm(Part,"Cyl")
  817. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  818. for i = 1, 8 do
  819. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
  820. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  821. end
  822. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
  823. MakeForm(Part,"Cyl")
  824. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  825. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
  826. MakeForm(Part,"Ball")
  827. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  828. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
  829. MakeForm(Part,"Wedge")
  830. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  831. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
  832. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  833. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
  834. MakeForm(Part,"Cyl")
  835. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  836. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
  837. MakeForm(Part,"Cyl")
  838. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  839. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
  840. MakeForm(Part,"Cyl")
  841. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  842. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
  843. MakeForm(Part,"Wedge")
  844. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  845. local LASTPART = Handle
  846. for i = 1, 10 do
  847. if LASTPART == Handle then
  848. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
  849. LASTPART = Part
  850. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  851. else
  852. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
  853. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  854. LASTPART = Part
  855. end
  856. end
  857.  
  858. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
  859. MakeForm(Barrel,"Cyl")
  860. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  861. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
  862. MakeForm(Part,"Cyl")
  863. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  864. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
  865. MakeForm(Part,"Wedge")
  866. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  867. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
  868. MakeForm(Hole,"Cyl")
  869. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  870. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
  871. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  872. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  873. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
  874. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  875. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  876. coroutine.resume(coroutine.create(function()
  877. while wait() do
  878. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  879. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  880. end
  881. end))
  882.  
  883. 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)})
  884. --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)})
  885.  
  886. for _, c in pairs(Weapon:GetDescendants()) do
  887. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  888. c.Material = "Glass"
  889. c.Color = C3(1,1,1)
  890. elseif c.ClassName == "Part" and c.Name == "Eye" then
  891. c.Color = C3(0,0,0)
  892. c.Material = "Neon"
  893. end
  894. end
  895.  
  896. Weapon.Parent = Character
  897. for _, c in pairs(Weapon:GetChildren()) do
  898. if c.ClassName == "Part" then
  899. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  900. end
  901. end
  902.  
  903. local SKILLTEXTCOLOR = C3(1,0,0)
  904. local SKILLFONT = "Antique"
  905. local SKILLTEXTSIZE = 7
  906.  
  907. Humanoid.Died:connect(function()
  908. ATTACK = true
  909. end)
  910.  
  911. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  912. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  913. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  914. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  915. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  916. ]]
  917. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  918. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  919. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  920. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  921. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  922. ]]
  923. function printbye(Name)
  924. 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, "}
  925. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  926. end
  927.  
  928. workspace.ChildAdded:connect(function(instance)
  929. for BANISH = 1, #TOBANISH do
  930. if TOBANISH[BANISH] ~= nil then
  931. if instance.Name == TOBANISH[BANISH] then
  932. coroutine.resume(coroutine.create(function()
  933. printbye(instance.Name)
  934. instance:ClearAllChildren()
  935. Debris:AddItem(instance,0.0005)
  936. end))
  937. end
  938. end
  939. end
  940. end)
  941.  
  942. --//=================================\\
  943. --|| DAMAGING
  944. --\\=================================//
  945.  
  946. function Banish(Foe)
  947. if Foe then
  948. coroutine.resume(coroutine.create(function()
  949. --if game.Players:FindFirstChild(Foe.Name) then
  950. table.insert(TOBANISH,Foe.Name)
  951. printbye(Foe.Name)
  952. --end
  953. Foe.Archivable = true
  954. local CLONE = Foe:Clone()
  955. Foe:Destroy()
  956. CLONE.Parent = Effects
  957. CLONE:BreakJoints()
  958. local MATERIALS = {"Glass","Neon"}
  959. for _, c in pairs(CLONE:GetDescendants()) do
  960. if c:IsA("BasePart") then
  961. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  962. CreateSound(340722848, c, 10, 1, false)
  963. end
  964. c.Anchored = true
  965. c.Transparency = c.Transparency + 0.2
  966. c.Material = MATERIALS[MRANDOM(1,2)]
  967. c.Color = C3(1,1,1)
  968. if c.ClassName == "MeshPart" then
  969. c.TextureID = ""
  970. end
  971. if c:FindFirstChildOfClass("SpecialMesh") then
  972. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  973. end
  974. if c:FindFirstChildOfClass("Decal") then
  975. c:FindFirstChildOfClass("Decal"):remove()
  976. end
  977. c.Name = "Banished"
  978. c.CanCollide = false
  979. else
  980. c:remove()
  981. end
  982. end
  983. local A = false
  984. for i = 1, 35 do
  985. if A == false then
  986. A = true
  987. elseif A == true then
  988. A = false
  989. end
  990. for _, c in pairs(CLONE:GetDescendants()) do
  991. if c:IsA("BasePart") then
  992. c.Anchored = true
  993. c.Material = MATERIALS[MRANDOM(1,2)]
  994. c.Transparency = c.Transparency + 0.8/35
  995. if A == false then
  996. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  997. elseif A == true then
  998. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  999. end
  1000. end
  1001. end
  1002. Swait()
  1003. end
  1004. CLONE:remove()
  1005. end))
  1006. end
  1007. end
  1008.  
  1009. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1010. local CHILDREN = workspace:GetDescendants()
  1011. for index, CHILD in pairs(CHILDREN) do
  1012. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1013. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1014. if HUM then
  1015. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1016. if TORSO then
  1017. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1018. if ISBANISH == true then
  1019. Banish(CHILD)
  1020. else
  1021. if ISBANISH == "Gravity" then
  1022. HUM.PlatformStand = true
  1023. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1024. local grav = Instance.new("BodyPosition",TORSO)
  1025. grav.D = 15
  1026. grav.P = 20000
  1027. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1028. grav.position = TORSO.Position
  1029. grav.Name = "V3BanishForce"..Player.Name
  1030. else
  1031. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1032. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1033. end
  1034. else
  1035. HUM.PlatformStand = false
  1036. end
  1037. end
  1038. elseif ISBANISH == "Gravity" then
  1039. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1040. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1041. HUM.PlatformStand = false
  1042. end
  1043. end
  1044. end
  1045. end
  1046. end
  1047. end
  1048. end
  1049.  
  1050. 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."}
  1051.  
  1052. --//=================================\\
  1053. --|| ATTACK FUNCTIONS AND STUFF
  1054. --\\=================================//
  1055.  
  1056. function Shot()
  1057. ATTACK = true
  1058. Rooted = false
  1059. for i=0, 0.05, 0.1 / Animation_Speed do
  1060. Swait()
  1061. turnto(Mouse.Hit.p)
  1062. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1063. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1064. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1065. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1066. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1067. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1068. end
  1069. repeat
  1070. for i=0, 0.05, 0.1 / Animation_Speed do
  1071. Swait()
  1072. turnto(Mouse.Hit.p)
  1073. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1077. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1079. end
  1080. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1081. SpawnTrail(Hole.Position,POS)
  1082. if HIT ~= nil then
  1083. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1084. Banish(HIT.Parent)
  1085. end
  1086. end
  1087. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1088. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1089. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1090. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1091. for i=0, 0.05, 0.1 / Animation_Speed do
  1092. Swait()
  1093. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1094. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1095. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1096. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1097. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1098. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1099. end
  1100. until KEYHOLD == false
  1101. ATTACK = false
  1102. Rooted = false
  1103. end
  1104.  
  1105. function AttackTemplate()
  1106. ATTACK = true
  1107. Rooted = false
  1108. for i=0, 1, 0.1 / Animation_Speed do
  1109. Swait()
  1110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1114. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1115. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1116. end
  1117. ATTACK = false
  1118. Rooted = false
  1119. end
  1120.  
  1121. function chatfunc(text)
  1122. local chat = coroutine.wrap(function()
  1123. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1124. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1125. end
  1126. local Bill = Instance.new("BillboardGui",Character)
  1127. Bill.Size = UDim2.new(0,100,0,40)
  1128. Bill.StudsOffset = Vector3.new(0,3,0)
  1129. Bill.Adornee = Character.Head
  1130. Bill.Name = "TalkingBillBoard"
  1131. local Hehe = Instance.new("TextLabel",Bill)
  1132. Hehe.BackgroundTransparency = 1
  1133. Hehe.BorderSizePixel = 0
  1134. Hehe.Text = ""
  1135. Hehe.Font = "Bodoni"
  1136. Hehe.TextSize = 40
  1137. Hehe.TextStrokeTransparency = 0
  1138. Hehe.Size = UDim2.new(1,0,0.5,0)
  1139. coroutine.resume(coroutine.create(function()
  1140. while Hehe ~= nil do
  1141. swait()
  1142. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1143. Hehe.Rotation = math.random(-5,5)
  1144. Hehe.TextColor3 = Color3.new(196, 40, 28)
  1145. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1146. end
  1147. end))
  1148. for i = 1,string.len(text),1 do
  1149. swait()
  1150. Hehe.Text = string.sub(text,1,i)
  1151. end
  1152. swait(90)--Re[math.random(1, 93)]
  1153. for i = 0, 1, .025 do
  1154. swait()
  1155. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1156. Hehe.TextStrokeTransparency = i
  1157. Hehe.TextTransparency = i
  1158. end
  1159. Bill:Destroy()
  1160. end)
  1161. chat()
  1162. end
  1163.  
  1164. function onChatted(msg)
  1165. chatfunc(msg)
  1166. end
  1167.  
  1168. Player.Chatted:connect(onChatted)
  1169.  
  1170. function Swait(NUMBER)
  1171. if NUMBER == 0 or NUMBER == nil then
  1172. ArtificialHB.Event:wait()
  1173. else
  1174. for i = 1, NUMBER do
  1175. ArtificialHB.Event:wait()
  1176. end
  1177. end
  1178. end
  1179.  
  1180. function swait(num)
  1181. if num == 0 or num == nil then
  1182. ArtificialHB.Event:wait()
  1183. else
  1184. for i = 0, num do
  1185. ArtificialHB.Event:wait()
  1186. end
  1187. end
  1188. end
  1189.  
  1190. local EYES = {}
  1191. function ApplyDamage9(Humanoid,Damage,TorsoPart)
  1192. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1193. defence.Name = ("HitBy"..Player.Name)
  1194. game:GetService("Debris"):AddItem(defence, 0.001)
  1195. Damage = Damage * DAMAGEMULTIPLIER
  1196. if Humanoid.Health ~= 0 then
  1197. local CritChance = MRANDOM(1,100)
  1198. if Damage > Humanoid.Health then
  1199. Damage = math.ceil(Humanoid.Health)
  1200. if Damage == 0 then
  1201. Damage = 0.1
  1202. end
  1203. end
  1204. Humanoid.Health = Humanoid.Health - Damage
  1205. end
  1206. end
  1207.  
  1208. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  1209. local CHILDREN = workspace:GetDescendants()
  1210. for index, CHILD in pairs(CHILDREN) do
  1211. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1212. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1213. if HUM then
  1214. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1215. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1216. if IZBANISH == true then
  1217. Banish(CHILD)
  1218. else
  1219. local DMG = MRANDOM(MINDMG, MAXDMG)
  1220. ApplyDamage9(HUM, DMG, TORSO)
  1221. end
  1222. if FLING > 0 then
  1223. for _, c in pairs(CHILD:GetChildren()) do
  1224. if c:IsA("BasePart") then
  1225. local bv = Instance.new("BodyVelocity")
  1226. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1227. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1228. bv.Parent = c
  1229. Debris:AddItem(bv, 0.05)
  1230. end
  1231. end
  1232. end
  1233. end
  1234. end
  1235. end
  1236. end
  1237. end
  1238.  
  1239. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1240. if FLOOR ~= nil then
  1241. coroutine.resume(coroutine.create(function()
  1242. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1243. PART.CFrame = CF(POSITION)
  1244. for i = 1, 45 do
  1245. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1246. RingPiece.Material = FLOOR.Material
  1247. RingPiece.Color = FLOOR.Color
  1248. 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)))
  1249. Debris:AddItem(RingPiece, SWAIT)
  1250. end
  1251. PART:remove()
  1252. end))
  1253. end
  1254. end
  1255. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1256. if FLOOR ~= nil then
  1257. for i = 1, AMOUNT do
  1258. do
  1259. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1260. DEBREE.Material = FLOOR.Material
  1261. DEBREE.Color = FLOOR.Color
  1262. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1263. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1264. coroutine.resume(coroutine.create(function()
  1265. Swait(15)
  1266. DEBREE.Parent = workspace
  1267. DEBREE.CanCollide = true
  1268. Debris:AddItem(DEBREE, SWAIT)
  1269. end))
  1270. end
  1271. end
  1272. end
  1273. end
  1274.  
  1275. function Fire_At_Will()
  1276. ATTACK = true
  1277. Rooted = false
  1278. local GYRO = IT("BodyGyro", RootPart)
  1279. GYRO.D = 750
  1280. GYRO.P = 2000
  1281. GYRO.MaxTorque = VT(0, 40000, 0)
  1282. for i = 0, 0.2, 0.1 / Animation_Speed do
  1283. Swait()
  1284. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1285. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1286. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1287. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1288. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1289. if ANIM == "Idle" then
  1290. 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)
  1291. 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)
  1292. elseif ANIM == "Walk" then
  1293. 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)
  1294. 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)
  1295. elseif ANIM == "Jump" or ANIM == "Fall" then
  1296. 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)
  1297. 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)
  1298. end
  1299. end
  1300. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "White", "Sphere", VT(1, 1, 1), false)
  1301. MakeForm(BOMB, "Ball")
  1302. BOMB.Mesh.Scale = VT(2, 2, 2)
  1303. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  1304. for i = 0, 1.5, 0.1 / Animation_Speed do
  1305. Swait()
  1306. if MRANDOM(1, 2) == 1 then
  1307. for E = 1, #EYES do
  1308. if EYES[E] ~= nil then
  1309. local EY = EYES[E]
  1310. local LIGHTNING = Zap({
  1311. StartPosition = EY.Position,
  1312. TargetPosition = BOMB.Position,
  1313. Character = Character,
  1314. Color = "Really red",
  1315. Individual = false,
  1316. MaxRange = 7,
  1317. SegmentLength = 1,
  1318. Offset = 0.3,
  1319. SIZE = 0.05
  1320. })
  1321. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  1322. end
  1323. end
  1324. end
  1325. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  1326. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1327. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1331. if ANIM == "Idle" then
  1332. 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)
  1333. 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)
  1334. elseif ANIM == "Walk" then
  1335. 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)
  1336. 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)
  1337. elseif ANIM == "Jump" or ANIM == "Fall" then
  1338. 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)
  1339. 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)
  1340. end
  1341. end
  1342. WACKYEFFECT({
  1343. Time = 25,
  1344. EffectType = "Ring",
  1345. Size = VT(0, 0, 0),
  1346. Size2 = VT(3.75, 3.75, 0),
  1347. Transparency = 0.7,
  1348. Transparency2 = 1,
  1349. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1350. MoveToPos = nil,
  1351. RotationX = 0,
  1352. RotationY = 0,
  1353. RotationZ = 0,
  1354. Material = "Neon",
  1355. Color = BOMB.Color,
  1356. SoundID = nil,
  1357. SoundPitch = nil,
  1358. SoundVolume = nil
  1359. })
  1360. WACKYEFFECT({
  1361. Time = 50,
  1362. EffectType = "Ring",
  1363. Size = VT(0, 0, 0),
  1364. Size2 = VT(75, 75, 0),
  1365. Transparency = 0.7,
  1366. Transparency2 = 1,
  1367. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1368. MoveToPos = nil,
  1369. RotationX = 0,
  1370. RotationY = 0,
  1371. RotationZ = 0,
  1372. Material = "Neon",
  1373. Color = BOMB.Color,
  1374. SoundID = nil,
  1375. SoundPitch = nil,
  1376. SoundVolume = nil
  1377. })
  1378. BOMB.Anchored = true
  1379. WELD:remove()
  1380. GYRO:remove()
  1381. coroutine.resume(coroutine.create(function()
  1382. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  1383. for i = 1, 500 do
  1384. Swait()
  1385. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  1386. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  1387. if HITFLOOR ~= nil then
  1388. break
  1389. end
  1390. end
  1391. ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true)
  1392. for i = 1, 3 do
  1393. WACKYEFFECT({
  1394. Time = 35,
  1395. EffectType = "Swirl",
  1396. Size = VT(0, 0, 0),
  1397. Size2 = VT(250, 325, 250) + VT(50, 150, 50) * i,
  1398. Transparency = 0,
  1399. Transparency2 = 1,
  1400. CFrame = BOMB.CFrame,
  1401. MoveToPos = nil,
  1402. RotationX = 0,
  1403. RotationY = 5 * i,
  1404. RotationZ = 0,
  1405. Material = "Neon",
  1406. Color = BOMB.Color,
  1407. SoundID = nil,
  1408. SoundPitch = nil,
  1409. SoundVolume = nil
  1410. })
  1411. end
  1412. for i = 1, 5 do
  1413. WACKYEFFECT({
  1414. Time = 75,
  1415. EffectType = "Sphere",
  1416. Size = BOMB.Mesh.Scale,
  1417. Size2 = VT(100, 100, 100) * i,
  1418. Transparency = 0.5,
  1419. Transparency2 = 1,
  1420. CFrame = BOMB.CFrame,
  1421. MoveToPos = nil,
  1422. RotationX = 0,
  1423. RotationY = 0,
  1424. RotationZ = 0,
  1425. Material = "Neon",
  1426. Color = BOMB.Color,
  1427. SoundID = 1222405264,
  1428. SoundPitch = 1,
  1429. SoundVolume = 10
  1430. })
  1431. end
  1432. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  1433. if HITFLOOR then
  1434. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(18, 18, 18), 5)
  1435. end
  1436. BOMB.Transparency = 1
  1437. for i = 1, 35 do
  1438. Swait()
  1439. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  1440. end
  1441. BOMB:remove()
  1442. end))
  1443. ATTACK = false
  1444. Rooted = false
  1445. end
  1446.  
  1447. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1448. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1449. defence.Name = "HitBy" .. Player.Name
  1450. game:GetService("Debris"):AddItem(defence, 0.001)
  1451. Damage = Damage * DAMAGEMULTIPLIER
  1452. if Humanoid.Health ~= 0 then
  1453. local CritChance = MRANDOM(1, 100)
  1454. if Damage > Humanoid.Health then
  1455. Damage = math.ceil(Humanoid.Health)
  1456. if Damage == 0 then
  1457. Damage = 0.1
  1458. end
  1459. end
  1460. Humanoid.Health = Humanoid.Health - Damage
  1461. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1462. end
  1463. end
  1464. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  1465. local CHILDREN = workspace:GetDescendants()
  1466. for index, CHILD in pairs(CHILDREN) do
  1467. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1468. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1469. if HUM then
  1470. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1471. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1472. if INSTAKILL == true then
  1473. CHILD:BreakJoints()
  1474. else
  1475. local DMG = MRANDOM(MINDMG, MAXDMG)
  1476. ApplyDamage(HUM, DMG, TORSO)
  1477. end
  1478. if FLING > 0 then
  1479. for _, c in pairs(CHILD:GetChildren()) do
  1480. if c:IsA("BasePart") then
  1481. local bv = Instance.new("BodyVelocity")
  1482. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1483. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1484. bv.Parent = c
  1485. Debris:AddItem(bv, 0.05)
  1486. end
  1487. end
  1488. end
  1489. end
  1490. end
  1491. end
  1492. end
  1493. end
  1494. function Extreme_Offset()
  1495. 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)
  1496. if HITFLOOR then
  1497. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  1498. CreateSound("1295446488", Torso, 5, 1)
  1499. for i = 1, 5 do
  1500. WACKYEFFECT({
  1501. Time = MRANDOM(15, 35),
  1502. EffectType = "Round Slash",
  1503. Size = VT(0, 0, 0),
  1504. Size2 = VT(0.3, 0, 0.3),
  1505. Transparency = 0.5,
  1506. Transparency2 = 1,
  1507. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1508. MoveToPos = nil,
  1509. RotationX = MRANDOM(-50, 50) / 10,
  1510. RotationY = MRANDOM(-50, 50) / 10,
  1511. RotationZ = MRANDOM(-50, 50) / 10,
  1512. Material = "Neon",
  1513. Color = C3(1, 1, 1),
  1514. SoundID = nil,
  1515. SoundPitch = nil,
  1516. SoundVolume = nil
  1517. })
  1518. end
  1519. ATTACK = true
  1520. Rooted = true
  1521. UNANCHOR = false
  1522. RootPart.Anchored = true
  1523. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  1524. for i = 1, 5 do
  1525. WACKYEFFECT({
  1526. Time = MRANDOM(15, 35),
  1527. EffectType = "Round Slash",
  1528. Size = VT(0, 0, 0),
  1529. Size2 = VT(0.3, 0, 0.3),
  1530. Transparency = 0.5,
  1531. Transparency2 = 1,
  1532. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1533. MoveToPos = nil,
  1534. RotationX = MRANDOM(-50, 50) / 10,
  1535. RotationY = MRANDOM(-50, 50) / 10,
  1536. RotationZ = MRANDOM(-50, 50) / 10,
  1537. Material = "Neon",
  1538. Color = C3(1, 1, 1),
  1539. SoundID = nil,
  1540. SoundPitch = nil,
  1541. SoundVolume = nil
  1542. })
  1543. end
  1544. for i = 0, 0.2, 0.1 / Animation_Speed do
  1545. Swait()
  1546. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  1547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1550. 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)
  1551. 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)
  1552. end
  1553. for i = 0, 1, 0.1 / Animation_Speed do
  1554. Swait()
  1555. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  1556. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  1557. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  1558. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  1559. 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)
  1560. 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)
  1561. end
  1562. for i = 1, 10 do
  1563. Swait()
  1564. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  1565. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  1566. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  1567. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  1568. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  1569. 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)
  1570. 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)
  1571. end
  1572. for i = 0, 0.2, 0.1 / Animation_Speed do
  1573. Swait()
  1574. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1575. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1578. 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)
  1579. 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)
  1580. end
  1581. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  1582. if HITFLOOR then
  1583. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1584. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1585. for index, CHILD in pairs(CHILDREN) do
  1586. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1587. for i = 1, 5 do
  1588. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1589. CHILD:remove()
  1590. end
  1591. end
  1592. end
  1593. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1594. SOUNDPART.CFrame = CF(HITPOS)
  1595. Debris:AddItem(SOUNDPART, 5)
  1596. CreateSound("130972023", SOUNDPART, 6, 3)
  1597. CreateSound("182765513", SOUNDPART, 6, 1)
  1598. WACKYEFFECT({
  1599. EffectType = "Ring",
  1600. Size = VT(0, 0, 0),
  1601. Size2 = VT(1, 1, 0),
  1602. Transparency = 0.7,
  1603. Transparency2 = 1,
  1604. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1605. MoveToPos = nil,
  1606. RotationX = 0,
  1607. RotationY = 0,
  1608. RotationZ = 0,
  1609. Material = "Neon",
  1610. Color = C3(1, 1, 1),
  1611. SoundID = nil,
  1612. SoundPitch = nil,
  1613. SoundVolume = nil
  1614. })
  1615. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1616. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  1617. for index, CHILD in pairs(CHILDREN) do
  1618. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1619. for i = 1, 5 do
  1620. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1621. CHILD:remove()
  1622. end
  1623. end
  1624. end
  1625. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1626. SOUNDPART.CFrame = CF(HITPOS)
  1627. Debris:AddItem(SOUNDPART, 5)
  1628. CreateSound("130972023", SOUNDPART, 6, 3)
  1629. CreateSound("182765513", SOUNDPART, 6, 1)
  1630. WACKYEFFECT({
  1631. EffectType = "Ring",
  1632. Size = VT(0, 0, 0),
  1633. Size2 = VT(1, 1, 0),
  1634. Transparency = 0.7,
  1635. Transparency2 = 1,
  1636. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1637. MoveToPos = nil,
  1638. RotationX = 0,
  1639. RotationY = 0,
  1640. RotationZ = 0,
  1641. Material = "Neon",
  1642. Color = C3(1, 1, 1),
  1643. SoundID = nil,
  1644. SoundPitch = nil,
  1645. SoundVolume = nil
  1646. })
  1647. elseif HITFLOOR.Anchored == false then
  1648. if HITFLOOR.Parent ~= workspace then
  1649. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1650. for index, CHILD in pairs(CHILDREN) do
  1651. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  1652. for i = 1, 5 do
  1653. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  1654. end
  1655. CHILD:remove()
  1656. end
  1657. end
  1658. else
  1659. for i = 1, 5 do
  1660. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  1661. end
  1662. HITFLOOR:remove()
  1663. end
  1664. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1665. SOUNDPART.CFrame = CF(HITPOS)
  1666. Debris:AddItem(SOUNDPART, 5)
  1667. CreateSound("130972023", SOUNDPART, 10, 3)
  1668. CreateSound("178452217", SOUNDPART, 6, 1)
  1669. WACKYEFFECT({
  1670. EffectType = "Ring",
  1671. Size = VT(0, 0, 0),
  1672. Size2 = VT(1, 1, 0),
  1673. Transparency = 0.7,
  1674. Transparency2 = 1,
  1675. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1676. MoveToPos = nil,
  1677. RotationX = 0,
  1678. RotationY = 0,
  1679. RotationZ = 0,
  1680. Material = "Neon",
  1681. Color = C3(1, 1, 1),
  1682. SoundID = nil,
  1683. SoundPitch = nil,
  1684. SoundVolume = nil
  1685. })
  1686. else
  1687. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1688. SOUNDPART.CFrame = CF(HITPOS)
  1689. Debris:AddItem(SOUNDPART, 5)
  1690. CreateSound("130972023", SOUNDPART, 10, 1)
  1691. CreateSound("130972023", SOUNDPART, 6, 0.7)
  1692. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  1693. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  1694. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  1695. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  1696. for i = 1, 5 do
  1697. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  1698. end
  1699. for i = 1, 5 do
  1700. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  1701. end
  1702. end
  1703. end
  1704. for i = 0, 1.2, 0.1 / Animation_Speed do
  1705. Swait()
  1706. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1707. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1708. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1709. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1710. 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)
  1711. 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)
  1712. end
  1713. ATTACK = false
  1714. Rooted = false
  1715. UNANCHOR = true
  1716. RootPart.Anchored = false
  1717. end
  1718. end
  1719.  
  1720. function idk()
  1721. ATTACK = true
  1722. Rooted = true
  1723. coroutine.resume(coroutine.create(function()
  1724. local PITS = {}
  1725. local FRAME = RootPart.CFrame
  1726. for i = 2, 120 do
  1727. Swait()
  1728. local CFRAME = FRAME*CF(MRANDOM(-10,10)/10,0,5-(i)).p
  1729. local HITFLOOR,HITPOS,NORMAL = Raycast(CFRAME, (CF(CFRAME, CFRAME + VT(0, -1, 0))).lookVector, 25, Character)
  1730. if HITFLOOR ~= nil then
  1731. if MRANDOM(1, 2) == 1 then
  1732. local ICICLE = IT("CornerWedgePart",Effects)
  1733. ICICLE.Locked = true
  1734. ICICLE.CanCollide = false
  1735. ICICLE.Anchored = true
  1736. ICICLE.BrickColor = BRICKC"Really black"
  1737. ICICLE.Material = "Marble"
  1738. ICICLE.Size = VT(i/10,i/2,i/10)
  1739. ICICLE.CFrame = CF(HITPOS)*CF(MRANDOM(-i/10,i/10),0,MRANDOM(-i/10,i/10))*ANGLES(RAD(MRANDOM(-25,25)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-25,25)))
  1740. table.insert(PITS,ICICLE)
  1741. ICICLE.Transparency = 1
  1742. PITS.Transparency = 1
  1743. --CreateSound("588693156", ICICLE, 3, MRANDOM(8,12)/10, false)
  1744. ApplyAoE(ICICLE.Position,ICICLE.Size.X,100,100,20,true)
  1745. WACKYEFFECT({EffectType = "Sphere", Size = VT(ICICLE.Size.X*3,2,ICICLE.Size.X*3), Size2 = VT(0,6,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Glass", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1746. end
  1747. else
  1748. break
  1749. end
  1750. end
  1751. wait(3)
  1752. coroutine.resume(coroutine.create(function()
  1753. for i = 1, 10 do
  1754. Swait()
  1755. for e=1,#PITS do
  1756. if PITS[e]~=nil then
  1757. local E = PITS[e]
  1758. E.Transparency = E.Transparency + 0.1
  1759. end
  1760. end
  1761. end
  1762. for e=1,#PITS do
  1763. if PITS[e]~=nil then
  1764. local E = PITS[e]
  1765. E:remove()
  1766. end
  1767. end
  1768. end))
  1769. end))
  1770. ATTACK = false
  1771. Rooted = false
  1772. end
  1773.  
  1774. function Taunt()
  1775. ATTACK = true
  1776. Rooted = true
  1777. CreateSound("907330011", Head, 10, 1.1)
  1778. for i=0, 1, 0.1 / Animation_Speed do
  1779. Swait()
  1780. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1781. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  1782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1783. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1784. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1785. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1786. end
  1787. for i=0, 2, 0.1 / Animation_Speed do
  1788. Swait()
  1789. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1790. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  1791. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1792. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1793. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1794. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1795. end
  1796. ATTACK = false
  1797. Rooted = false
  1798. end
  1799.  
  1800. function TrustIssues()
  1801. ATTACK = true
  1802. Rooted = false
  1803. CreateSound(649634100,Head,10,0.5,false)
  1804. for i=1, 80 do
  1805. Swait()
  1806. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1807. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  1808. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1810. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1811. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1812. end
  1813. ATTACK = false
  1814. Rooted = false
  1815. end
  1816.  
  1817. function Supernova()
  1818. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1819. if HITFLOOR ~= nil then
  1820. local HITBODIES = {}
  1821. ATTACK = true
  1822. Rooted = true
  1823. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  1824. MakeForm(ABSOLUTE,"Ball")
  1825. CreateSound("429459101", ABSOLUTE, 10, 1)
  1826. for i=0, 4, 0.1 / Animation_Speed do
  1827. Swait()
  1828. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  1829. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  1830. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1831. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Star", VT(1,1,1))
  1832. MakeForm(CHARGE,"Ball")
  1833. CHARGE.Color = C3(255,0,0)
  1834. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  1835. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  1836. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1837. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1838. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1839. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1840. 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)
  1841. 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)
  1842. end
  1843. CreateSound("907330103", Head, 10, 1.2)
  1844. for i = 1, 75 do
  1845. Swait()
  1846. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1847. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1848. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1849. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1850. 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)
  1851. 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)
  1852. end
  1853. coroutine.resume(coroutine.create(function()
  1854. for i = 1, 13 do
  1855. for e = 1, 8 do
  1856. Swait()
  1857. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(255,0,0),VT(0,0,0))
  1858. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Reakky red".Color,VT(i,0.3,i)*2)
  1859. end
  1860. for i = 1, 5 do
  1861. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  1862. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(255,0,0),VT(0,0,0))
  1863. end
  1864. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  1865. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(255,0,0),VT(i,i*2,i))
  1866. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  1867. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  1868. killnearest(ABSOLUTE.Position,i*18,i)
  1869. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  1870. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  1871. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(255,0,0),VT(i,i,i))
  1872. end
  1873. ABSOLUTE.Transparency = 1
  1874. Debris:AddItem(ABSOLUTE,10)
  1875. end))
  1876. ATTACK = false
  1877. Rooted = false
  1878. end
  1879. end
  1880.  
  1881.  
  1882. local ENERGYSOUND = 1417051162
  1883. local BEAMSOUND = 1417056781
  1884. local EXPLOSIONSOUND = 1417056081
  1885. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(1.01,0.3,1.01),false)
  1886.  
  1887. function Charge(TIME,GYRO)
  1888. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1889. local G = nil
  1890. if GYRO == true then
  1891. G = IT("BodyGyro",RootPart)
  1892. G.D = 250
  1893. G.P = 200000
  1894. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1895. end
  1896. for i=0, TIME, 0.1 / Animation_Speed do
  1897. Swait()
  1898. if G then
  1899. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1900. end
  1901. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1902. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1903. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1904. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1905. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1906. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1907. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1908. end
  1909. SND:remove()
  1910. if G then
  1911. return G
  1912. end
  1913. end
  1914.  
  1915. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1916. if DoesCourontine == false then
  1917. local Direction = CF(Part.Position,ToLocation)
  1918. local Distance = (Part.Position - ToLocation).magnitude
  1919. for i = 1, AmountOfTime do
  1920. Swait()
  1921. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1922. Direction = Part.CFrame
  1923. end
  1924. Part:remove()
  1925. elseif DoesCourontine == true then
  1926. coroutine.resume(coroutine.create(function()
  1927. local Direction = CF(Part.Position,ToLocation)
  1928. local Distance = (Part.Position - ToLocation).magnitude
  1929. for i = 1, AmountOfTime do
  1930. Swait()
  1931. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1932. Direction = Part.CFrame
  1933. end
  1934. Part:remove()
  1935. end))
  1936. end
  1937. end
  1938.  
  1939. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1940. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1941. wave.Color = COLOR
  1942. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1943. wave.CFrame = CFRAME
  1944. coroutine.resume(coroutine.create(function(PART)
  1945. for i = 1, WAIT do
  1946. Swait()
  1947. mesh.Scale = mesh.Scale + GROW
  1948. wave.Transparency = wave.Transparency + (1/WAIT)
  1949. if wave.Transparency > 0.99 then
  1950. wave:remove()
  1951. end
  1952. end
  1953. end))
  1954. end
  1955.  
  1956. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1957. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1958. wave.Color = COLOR
  1959. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1960. wave.CFrame = CFRAME
  1961. coroutine.resume(coroutine.create(function(PART)
  1962. for i = 1, WAIT do
  1963. Swait()
  1964. mesh.Scale = mesh.Scale + GROW
  1965. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1966. if DOESROT == true then
  1967. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1968. end
  1969. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1970. if wave.Transparency > 0.99 then
  1971. wave:remove()
  1972. end
  1973. end
  1974. end))
  1975. end
  1976.  
  1977. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1978. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1979. local mesh = nil
  1980. if KIND == "Base" then
  1981. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1982. elseif KIND == "Thin" then
  1983. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1984. elseif KIND == "Round" then
  1985. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1986. end
  1987. wave.CFrame = CFRAME
  1988. coroutine.resume(coroutine.create(function(PART)
  1989. for i = 1, WAIT do
  1990. Swait()
  1991. mesh.Scale = mesh.Scale + GROW/10
  1992. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1993. if wave.Transparency > 0.99 then
  1994. wave:remove()
  1995. end
  1996. end
  1997. end))
  1998. end
  1999.  
  2000. function killnearest(position,range,maxstrength)
  2001. for i,v in ipairs(workspace:GetChildren()) do
  2002. local body = v:GetChildren()
  2003. for part = 1, #body do
  2004. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2005. if(body[part].Position - position).Magnitude < range then
  2006. if v.ClassName == "Model" then
  2007. v:BreakJoints()
  2008. end
  2009. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  2010. local bv = Instance.new("BodyVelocity")
  2011. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2012. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  2013. bv.Parent = body[part]
  2014. Debris:AddItem(bv,0.2)
  2015. end
  2016. end
  2017. end
  2018. if v.ClassName == "Part" then
  2019. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2020. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  2021. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  2022. end
  2023. end
  2024. end
  2025. end
  2026.  
  2027. --//=================================\\
  2028. --|| ASSIGN THINGS TO KEYS
  2029. --\\=================================//
  2030.  
  2031. function MouseDown(Mouse)
  2032. if ATTACK == false then
  2033. end
  2034. end
  2035.  
  2036. function MouseUp(Mouse)
  2037. HOLD = false
  2038. end
  2039.  
  2040. function KeyDown(Key)
  2041. KEYHOLD = true
  2042. if Key == "z" and ATTACK == false then
  2043. Shot()
  2044. end
  2045.  
  2046. if Key == "x" and ATTACK == false then
  2047. Fire_At_Will()
  2048. end
  2049.  
  2050. if Key == "b" and ATTACK == false then
  2051. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  2052. TOBANISH = {}
  2053. end
  2054.  
  2055. if Key == "c" and ATTACK == false then
  2056. Extreme_Offset()
  2057. end
  2058.  
  2059. if Key == "v" and ATTACK == false then
  2060. idk()
  2061. end
  2062.  
  2063. if Key == "t" and ATTACK == false then
  2064. Taunt()
  2065. end
  2066.  
  2067. if Key == "y" and ATTACK == false then
  2068. TrustIssues()
  2069. end
  2070. if Key == "n" and ATTACK == false then
  2071. Supernova()
  2072. end
  2073. end
  2074.  
  2075. function KeyUp(Key)
  2076. KEYHOLD = false
  2077. end
  2078.  
  2079. Mouse.Button1Down:connect(function(NEWKEY)
  2080. MouseDown(NEWKEY)
  2081. end)
  2082. Mouse.Button1Up:connect(function(NEWKEY)
  2083. MouseUp(NEWKEY)
  2084. end)
  2085. Mouse.KeyDown:connect(function(NEWKEY)
  2086. KeyDown(NEWKEY)
  2087. end)
  2088. Mouse.KeyUp:connect(function(NEWKEY)
  2089. KeyUp(NEWKEY)
  2090. end)
  2091.  
  2092. --//=================================\\
  2093. --\\=================================//
  2094.  
  2095.  
  2096. function unanchor()
  2097. if UNANCHOR == true then
  2098. g = Character:GetChildren()
  2099. for i = 1, #g do
  2100. if g[i].ClassName == "Part" then
  2101. g[i].Anchored = false
  2102. end
  2103. end
  2104. end
  2105. end
  2106.  
  2107.  
  2108. --//=================================\\
  2109. --|| WRAP THE WHOLE SCRIPT UP
  2110. --\\=================================//
  2111.  
  2112. Humanoid.Changed:connect(function(Jump)
  2113. if Jump == "Jump" and (Disable_Jump == true) then
  2114. Humanoid.Jump = false
  2115. end
  2116. end)
  2117.  
  2118. local CONNECT = nil
  2119.  
  2120. while true do
  2121. Swait()
  2122. ANIMATE.Parent = nil
  2123. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2124. Humanoid = IT("Humanoid",Character)
  2125. end
  2126. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2127. v:Stop();
  2128. end
  2129. SINE = SINE + CHANGE
  2130. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2131. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2132. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2133. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2134. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2135. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2136. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2137. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2138. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2139. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2140. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2141. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2142. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2143. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2144. end
  2145. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2146. ANIM = "Jump"
  2147. if ATTACK == false then
  2148. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2149. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2150. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2151. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2152. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2153. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2154. end
  2155. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2156. ANIM = "Fall"
  2157. if ATTACK == false then
  2158. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2159. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2162. 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)
  2163. 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)
  2164. end
  2165. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2166. ANIM = "Idle"
  2167. if ATTACK == false then
  2168. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2169. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2170. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2171. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2172. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2173. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2174. end
  2175. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2176. ANIM = "Walk"
  2177. if ATTACK == false then
  2178. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2182. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2183. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2184. end
  2185. end
  2186. unanchor()
  2187. Humanoid.MaxHealth = "inf"
  2188. Humanoid.Health = "inf"
  2189. if Rooted == false then
  2190. Disable_Jump = false
  2191. Humanoid.WalkSpeed = Speed
  2192. elseif Rooted == true then
  2193. Disable_Jump = true
  2194. Humanoid.WalkSpeed = 0
  2195. end
  2196. sick.Playing = true
  2197. sick.SoundId = "rbxassetid://292480358"
  2198. sick.Looped = true
  2199. sick.Pitch = 1
  2200. sick.Volume = 3
  2201. if sick.Parent ~= Torso then
  2202. sick = IT("Sound", Torso)
  2203. end
  2204. end
  2205.  
  2206. --//=================================\\
  2207. --\\=================================//
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213. --//====================================================\\--
  2214. --|| END OF SCRIPT
  2215. --\\====================================================//--4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement