Advertisement
yeetusFE

BADASS BANISHER FE

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