Advertisement
Guest User

Untitled

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