Advertisement
Guest User

Untitled

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