Advertisement
Guest User

Untitled

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