Advertisement
JacksoMykalJunior

SAVAGE BANISHER [FE]

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