Advertisement
omg12

Death the kid

Jul 4th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.40 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.  
  6. Player = game.Players.LocalPlayer
  7. Character = Player.Character
  8. local txt = Instance.new("BillboardGui", Character)
  9. txt.Adornee = Character.Head
  10. txt.Name = "_status"
  11. txt.Size = UDim2.new(2, 0, 1.2, 0)
  12. txt.StudsOffset = Vector3.new(-9, 8, 0)
  13. local text = Instance.new("TextLabel", txt)
  14. text.Size = UDim2.new(10, 0, 7, 0)
  15. text.FontSize = "Size24"
  16. text.TextScaled = true
  17. text.TextTransparency = 0
  18. text.BackgroundTransparency = 10
  19. text.TextTransparency = 0
  20. text.TextStrokeTransparency = 0
  21. text.Font = "Antique"
  22. text.TextStrokeColor3 = Color3.new(255,255,255)
  23. text.Text = "Death The Kid"
  24.  
  25.  
  26. wait(0.2)
  27.  
  28. Player = game:GetService("Players").LocalPlayer
  29. PlayerGui = Player.PlayerGui
  30. Cam = workspace.CurrentCamera
  31. Backpack = Player.Backpack
  32. Character = Player.Character
  33. Humanoid = Character.Humanoid
  34. Mouse = Player:GetMouse()
  35. RootPart = Character["HumanoidRootPart"]
  36. Torso = Character["Torso"]
  37. Head = Character["Head"]
  38. RightArm = Character["Right Arm"]
  39. LeftArm = Character["Left Arm"]
  40. RightLeg = Character["Right Leg"]
  41. LeftLeg = Character["Left Leg"]
  42. RootJoint = RootPart["RootJoint"]
  43. Neck = Torso["Neck"]
  44. RightShoulder = Torso["Right Shoulder"]
  45. LeftShoulder = Torso["Left Shoulder"]
  46. RightHip = Torso["Right Hip"]
  47. LeftHip = Torso["Left Hip"]
  48.  
  49. IT = Instance.new
  50. CF = CFrame.new
  51. VT = Vector3.new
  52. RAD = math.rad
  53. C3 = Color3.new
  54. UD2 = UDim2.new
  55. BRICKC = BrickColor.new
  56. ANGLES = CFrame.Angles
  57. EULER = CFrame.fromEulerAnglesXYZ
  58. COS = math.cos
  59. ACOS = math.acos
  60. SIN = math.sin
  61. ASIN = math.asin
  62. ABS = math.abs
  63. MRANDOM = math.random
  64. FLOOR = math.floor
  65.  
  66. --//=================================\\
  67. --|| USEFUL VALUES
  68. --\\=================================//
  69.  
  70. Animation_Speed = 3
  71. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  72. local Speed = 35
  73. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  74. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  75. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  76. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  77. local DAMAGEMULTIPLIER = 1
  78. local ANIM = "Idle"
  79. local ATTACK = false
  80. local EQUIPPED = false
  81. local HOLD = false
  82. local COMBO = 1
  83. local Rooted = false
  84. local SINE = 0
  85. local KEYHOLD = false
  86. local CHANGE = 2 / Animation_Speed
  87. local WALKINGANIM = false
  88. local VALUE1 = false
  89. local VALUE2 = false
  90. local ROBLOXIDLEANIMATION = IT("Animation")
  91. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  92. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  93. --ROBLOXIDLEANIMATION.Parent = Humanoid
  94. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  95. WEAPONGUI.Name = "GUNJOURER_GUI_SHACKLUSTER"
  96. local Effects = IT("Folder", Character)
  97. Effects.Name = "Effects"
  98. local ANIMATOR = Humanoid.Animator
  99. local ANIMATE = Character.Animate
  100. local UNANCHOR = true
  101. local TRIPWIRE = false
  102.  
  103. --//=================================\\
  104. --\\=================================//
  105.  
  106.  
  107. --//=================================\\
  108. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  109. --\\=================================//
  110.  
  111. ArtificialHB = Instance.new("BindableEvent", script)
  112. ArtificialHB.Name = "ArtificialHB"
  113.  
  114. script:WaitForChild("ArtificialHB")
  115.  
  116. frame = Frame_Speed
  117. tf = 0
  118. allowframeloss = false
  119. tossremainder = false
  120. lastframe = tick()
  121. script.ArtificialHB:Fire()
  122.  
  123. game:GetService("RunService").Heartbeat:connect(function(s, p)
  124. tf = tf + s
  125. if tf >= frame then
  126. if allowframeloss then
  127. ArtificialHB:Fire()
  128. lastframe = tick()
  129. else
  130. for i = 1, math.floor(tf / frame) do
  131. ArtificialHB:Fire()
  132. end
  133. lastframe = tick()
  134. end
  135. if tossremainder then
  136. tf = 0
  137. else
  138. tf = tf - frame * math.floor(tf / frame)
  139. end
  140. end
  141. end)
  142.  
  143. --//=================================\\
  144. --\\=================================//
  145.  
  146. --//=================================\\
  147. --|| SOME FUNCTIONS
  148. --\\=================================//
  149.  
  150. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  151. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  152. end
  153.  
  154. function PositiveAngle(NUMBER)
  155. if NUMBER >= 0 then
  156. NUMBER = 0
  157. end
  158. return NUMBER
  159. end
  160.  
  161. function NegativeAngle(NUMBER)
  162. if NUMBER <= 0 then
  163. NUMBER = 0
  164. end
  165. return NUMBER
  166. end
  167.  
  168. function Swait(NUMBER)
  169. if NUMBER == 0 or NUMBER == nil then
  170. ArtificialHB.Event:wait()
  171. else
  172. for i = 1, NUMBER do
  173. ArtificialHB.Event:wait()
  174. end
  175. end
  176. end
  177.  
  178. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  179. local NEWMESH = IT(MESH)
  180. if MESH == "SpecialMesh" then
  181. NEWMESH.MeshType = MESHTYPE
  182. if MESHID ~= "nil" and MESHID ~= "" then
  183. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  184. end
  185. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  186. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  187. end
  188. end
  189. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  190. NEWMESH.Scale = SCALE
  191. NEWMESH.Parent = PARENT
  192. return NEWMESH
  193. end
  194.  
  195. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  196. local NEWPART = IT("Part")
  197. NEWPART.formFactor = FORMFACTOR
  198. NEWPART.Reflectance = REFLECTANCE
  199. NEWPART.Transparency = TRANSPARENCY
  200. NEWPART.CanCollide = false
  201. NEWPART.Locked = true
  202. NEWPART.Anchored = true
  203. if ANCHOR == false then
  204. NEWPART.Anchored = false
  205. end
  206. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  207. NEWPART.Name = NAME
  208. NEWPART.Size = SIZE
  209. NEWPART.Position = Torso.Position
  210. NEWPART.Material = MATERIAL
  211. NEWPART:BreakJoints()
  212. NEWPART.Parent = PARENT
  213. return NEWPART
  214. end
  215.  
  216. local function weldBetween(a, b)
  217. local weldd = Instance.new("ManualWeld")
  218. weldd.Part0 = a
  219. weldd.Part1 = b
  220. weldd.C0 = CFrame.new()
  221. weldd.C1 = b.CFrame:inverse() * a.CFrame
  222. weldd.Parent = a
  223. return weldd
  224. end
  225.  
  226.  
  227. function QuaternionFromCFrame(cf)
  228. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  229. local trace = m00 + m11 + m22
  230. if trace > 0 then
  231. local s = math.sqrt(1 + trace)
  232. local recip = 0.5 / s
  233. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  234. else
  235. local i = 0
  236. if m11 > m00 then
  237. i = 1
  238. end
  239. if m22 > (i == 0 and m00 or m11) then
  240. i = 2
  241. end
  242. if i == 0 then
  243. local s = math.sqrt(m00 - m11 - m22 + 1)
  244. local recip = 0.5 / s
  245. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  246. elseif i == 1 then
  247. local s = math.sqrt(m11 - m22 - m00 + 1)
  248. local recip = 0.5 / s
  249. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  250. elseif i == 2 then
  251. local s = math.sqrt(m22 - m00 - m11 + 1)
  252. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  253. end
  254. end
  255. end
  256.  
  257. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  258. local xs, ys, zs = x + x, y + y, z + z
  259. local wx, wy, wz = w * xs, w * ys, w * zs
  260. local xx = x * xs
  261. local xy = x * ys
  262. local xz = x * zs
  263. local yy = y * ys
  264. local yz = y * zs
  265. local zz = z * zs
  266. 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))
  267. end
  268.  
  269. function QuaternionSlerp(a, b, t)
  270. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  271. local startInterp, finishInterp;
  272. if cosTheta >= 0.0001 then
  273. if (1 - cosTheta) > 0.0001 then
  274. local theta = ACOS(cosTheta)
  275. local invSinTheta = 1 / SIN(theta)
  276. startInterp = SIN((1 - t) * theta) * invSinTheta
  277. finishInterp = SIN(t * theta) * invSinTheta
  278. else
  279. startInterp = 1 - t
  280. finishInterp = t
  281. end
  282. else
  283. if (1 + cosTheta) > 0.0001 then
  284. local theta = ACOS(-cosTheta)
  285. local invSinTheta = 1 / SIN(theta)
  286. startInterp = SIN((t - 1) * theta) * invSinTheta
  287. finishInterp = SIN(t * theta) * invSinTheta
  288. else
  289. startInterp = t - 1
  290. finishInterp = t
  291. end
  292. end
  293. 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
  294. end
  295.  
  296. function Clerp(a, b, t)
  297. local qa = {QuaternionFromCFrame(a)}
  298. local qb = {QuaternionFromCFrame(b)}
  299. local ax, ay, az = a.x, a.y, a.z
  300. local bx, by, bz = b.x, b.y, b.z
  301. local _t = 1 - t
  302. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  303. end
  304.  
  305. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  306. local frame = IT("Frame")
  307. frame.BackgroundTransparency = TRANSPARENCY
  308. frame.BorderSizePixel = BORDERSIZEPIXEL
  309. frame.Position = POSITION
  310. frame.Size = SIZE
  311. frame.BackgroundColor3 = COLOR
  312. frame.BorderColor3 = BORDERCOLOR
  313. frame.Name = NAME
  314. frame.Parent = PARENT
  315. return frame
  316. end
  317.  
  318. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  319. local label = IT("TextLabel")
  320. label.BackgroundTransparency = 1
  321. label.Size = UD2(1, 0, 1, 0)
  322. label.Position = UD2(0, 0, 0, 0)
  323. label.TextColor3 = TEXTCOLOR
  324. label.TextStrokeTransparency = STROKETRANSPARENCY
  325. label.TextTransparency = TRANSPARENCY
  326. label.FontSize = TEXTFONTSIZE
  327. label.Font = TEXTFONT
  328. label.BorderSizePixel = BORDERSIZEPIXEL
  329. label.TextScaled = false
  330. label.Text = TEXT
  331. label.Name = NAME
  332. label.Parent = PARENT
  333. return label
  334. end
  335.  
  336. function NoOutlines(PART)
  337. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  338. end
  339.  
  340. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  341. local NEWWELD = IT(TYPE)
  342. NEWWELD.Part0 = PART0
  343. NEWWELD.Part1 = PART1
  344. NEWWELD.C0 = C0
  345. NEWWELD.C1 = C1
  346. NEWWELD.Parent = PARENT
  347. return NEWWELD
  348. end
  349.  
  350. local S = IT("Sound")
  351. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  352. local NEWSOUND = nil
  353. coroutine.resume(coroutine.create(function()
  354. NEWSOUND = S:Clone()
  355. NEWSOUND.Parent = PARENT
  356. NEWSOUND.Volume = VOLUME
  357. NEWSOUND.Pitch = PITCH
  358. NEWSOUND.SoundId = "rbxassetid://"..ID
  359. NEWSOUND:play()
  360. if DOESLOOP == true then
  361. NEWSOUND.Looped = true
  362. else
  363. repeat wait(1) until NEWSOUND.Playing == false
  364. NEWSOUND:remove()
  365. end
  366. end))
  367. return NEWSOUND
  368. end
  369.  
  370. function CFrameFromTopBack(at, top, back)
  371. local right = top:Cross(back)
  372. 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)
  373. end
  374.  
  375. --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, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  376. function WACKYEFFECT(Table)
  377. local TYPE = (Table.EffectType or "Sphere")
  378. local SIZE = (Table.Size or VT(1,1,1))
  379. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  380. local TRANSPARENCY = (Table.Transparency or 0)
  381. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  382. local CFRAME = (Table.CFrame or Torso.CFrame)
  383. local MOVEDIRECTION = (Table.MoveToPos or nil)
  384. local ROTATION1 = (Table.RotationX or 0)
  385. local ROTATION2 = (Table.RotationY or 0)
  386. local ROTATION3 = (Table.RotationZ or 0)
  387. local MATERIAL = (Table.Material or "Neon")
  388. local COLOR = (Table.Color or C3(1,1,1))
  389. local TIME = (Table.Time or 45)
  390. local SOUNDID = (Table.SoundID or nil)
  391. local SOUNDPITCH = (Table.SoundPitch or nil)
  392. local SOUNDVOLUME = (Table.SoundVolume or nil)
  393. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  394. local BOOMERANG = (Table.Boomerang or 0)
  395. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  396. coroutine.resume(coroutine.create(function()
  397. local PLAYSSOUND = false
  398. local SOUND = nil
  399. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  400. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  401. PLAYSSOUND = true
  402. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  403. end
  404. EFFECT.Color = COLOR
  405. local MSH = nil
  406. if TYPE == "Sphere" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  408. elseif TYPE == "Block" or TYPE == "Box" then
  409. MSH = IT("BlockMesh",EFFECT)
  410. MSH.Scale = SIZE
  411. elseif TYPE == "Wave" then
  412. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  413. elseif TYPE == "Ring" then
  414. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  415. elseif TYPE == "Slash" then
  416. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  417. elseif TYPE == "Round Slash" then
  418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  419. elseif TYPE == "Swirl" then
  420. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  421. elseif TYPE == "Skull" then
  422. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  423. elseif TYPE == "Crystal" then
  424. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  425. end
  426. if MSH ~= nil then
  427. local BOOMR1 = 1+BOOMERANG/50
  428. local BOOMR2 = 1+SIZEBOOMERANG/50
  429. local MOVESPEED = nil
  430. if MOVEDIRECTION ~= nil then
  431. if USEBOOMERANGMATH == true then
  432. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  433. else
  434. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  435. end
  436. end
  437. local GROWTH = nil
  438. if USEBOOMERANGMATH == true then
  439. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  440. else
  441. GROWTH = (SIZE - ENDSIZE)
  442. end
  443. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  444. if TYPE == "Block" then
  445. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  446. else
  447. EFFECT.CFrame = CFRAME
  448. end
  449. if USEBOOMERANGMATH == true then
  450. for LOOP = 1, TIME+1 do
  451. Swait()
  452. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  453. if TYPE == "Wave" then
  454. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  455. end
  456. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  457. if TYPE == "Block" then
  458. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  459. else
  460. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  461. end
  462. if MOVEDIRECTION ~= nil then
  463. local ORI = EFFECT.Orientation
  464. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  465. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  466. end
  467. end
  468. else
  469. for LOOP = 1, TIME+1 do
  470. Swait()
  471. MSH.Scale = MSH.Scale - GROWTH/TIME
  472. if TYPE == "Wave" then
  473. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  474. end
  475. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  476. if TYPE == "Block" then
  477. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  478. else
  479. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  480. end
  481. if MOVEDIRECTION ~= nil then
  482. local ORI = EFFECT.Orientation
  483. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  484. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  485. end
  486. end
  487. end
  488. EFFECT.Transparency = 1
  489. if PLAYSSOUND == false then
  490. EFFECT:remove()
  491. else
  492. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  493. EFFECT:remove()
  494. end
  495. else
  496. if PLAYSSOUND == false then
  497. EFFECT:remove()
  498. else
  499. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  500. EFFECT:remove()
  501. end
  502. end
  503. end))
  504. end
  505.  
  506. function MakeForm(PART,TYPE)
  507. if TYPE == "Cyl" then
  508. local MSH = IT("CylinderMesh",PART)
  509. elseif TYPE == "Ball" then
  510. local MSH = IT("SpecialMesh",PART)
  511. MSH.MeshType = "Sphere"
  512. elseif TYPE == "Wedge" then
  513. local MSH = IT("SpecialMesh",PART)
  514. MSH.MeshType = "Wedge"
  515. end
  516. end
  517.  
  518. Debris = game:GetService("Debris")
  519.  
  520. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  521. local DIRECTION = CF(StartPos,EndPos).lookVector
  522. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  523. end
  524.  
  525. function OhnoItsAShotgun()
  526. local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
  527. CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "442617829", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
  528. return SHOOTgun
  529. end
  530.  
  531. function CamShake(SHAKE,TIMER)
  532. coroutine.resume(coroutine.create(function()
  533. local FADER = SHAKE/TIMER
  534. for i = 1, TIMER do
  535. wait()
  536. Humanoid.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
  537. end
  538. Humanoid.CameraOffset = VT(0,0,0)
  539. end))
  540. end
  541.  
  542. --//=================================\\
  543. --|| GUIS AND MISC
  544. --\\=================================//
  545.  
  546. local SKILLTEXTCOLOR = C3(1,1,1)
  547. local SKILLFONT = "SciFi"
  548. local SKILLTEXTSIZE = 4
  549.  
  550. local ATTACKS = {"Conjour - C","Aerial Bombardament - V","Point Blank - B","Tripwire - F","Mend - M"}
  551.  
  552. for i = 1, #ATTACKS do
  553. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  554. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  555. SKILLTEXT.TextXAlignment = "Right"
  556. SKILLTEXT.Rotation = i*3
  557. end
  558.  
  559. local BMUSIC = IT("Sound",RootPart)
  560. local VOLUME = 100
  561. local PITCH = 1
  562. local SONGID = 266023406
  563.  
  564. local HEALTHBAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(1-0.20, 0, 0.75, 0), UD2(0.20, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Health Bar")
  565. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Shamrock".Color, C3(0, 0, 0),"Health Cover")
  566. local HEALTHTEXT = CreateLabel(HEALTHBAR, Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
  567. Character.Health:remove()
  568. HEALTHBAR.Rotation = (#ATTACKS*3)+3
  569. local WHOAMI = CreateFrame(WEAPONGUI, 1, 1, UD2(1-0.26, 0, 0.69, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Ban")
  570. WHOAMI.Rotation = (#ATTACKS*3)+3
  571. CreateLabel(WHOAMI, "Gunjourer", SKILLTEXTCOLOR, SKILLTEXTSIZE+4, SKILLFONT, 0, 2, 0, "Yes")
  572.  
  573. Humanoid.MaxHealth = 19967012
  574. Humanoid.Health = 19967012
  575.  
  576. Humanoid.Died:Connect(function()
  577. RootPart:remove()
  578. CreateSound(160718677, Head, 4, 1, false)
  579. BMUSIC:remove()
  580. Effects:remove()
  581. WEAPONGUI:remove()
  582. end)
  583. local GRUNTS = {1146556975,1146556706,1278006076}
  584.  
  585. --//=================================\\
  586. --|| DAMAGING
  587. --\\=================================//
  588.  
  589. function ApplyDamage(Humanoid,Damage)
  590. Damage = Damage * DAMAGEMULTIPLIER
  591. if Humanoid.Health < 2000 then
  592. if Humanoid.Health - Damage > 0 then
  593. Humanoid.Health = Humanoid.Health - Damage
  594. else
  595. Humanoid.Parent:BreakJoints()
  596. end
  597. else
  598. Humanoid.Parent:BreakJoints()
  599. end
  600. end
  601.  
  602. function PAW_HAHA(LOC,AIMTO,OUCH)
  603. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.4,1.4,1.4), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 330704232, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
  604. for i = 1, 4 do
  605. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  606. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(5,75)/10).p
  607. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  608. local DISTANCE = (POS - LOC).Magnitude
  609. if HIT then
  610. local HUM = nil
  611. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  612. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  613. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  614. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  615. end
  616. if HUM then
  617. ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
  618. end
  619. end
  620. WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  621. WACKYEFFECT({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  622. end
  623. end
  624.  
  625. --//=================================\\
  626. --|| ATTACK FUNCTIONS AND STUFF
  627. --\\=================================//
  628.  
  629. function Conjour()
  630. local SHOOT = OhnoItsAShotgun()
  631. local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  632. local ORI = 90
  633. SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
  634. local GOODRIDDANCE = false
  635. CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  636. coroutine.resume(coroutine.create(function()
  637. repeat
  638. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
  639. Swait()
  640. until GOODRIDDANCE == true
  641. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  642. SHOOT.CanCollide = true
  643. SHOOT.Anchored = false
  644. SHOOT.Parent = workspace
  645. local bv = Instance.new("BodyVelocity",SHOOT)
  646. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  647. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  648. Debris:AddItem(bv,0.1)
  649. wait(5)
  650. for i = 1, 45 do
  651. Swait()
  652. SHOOT.Transparency = SHOOT.Transparency + 1/45
  653. end
  654. SHOOT:remove()
  655. end))
  656. for i = 1, 15 do
  657. Swait()
  658. SHOOT.Transparency = SHOOT.Transparency - 1/15
  659. ORI = ORI - 3
  660. end
  661. for i = 1, 15 do
  662. Swait()
  663. ORI = ORI - 3
  664. end
  665. wait(MRANDOM(2,8)/10)
  666. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
  667. CamShake(4,4)
  668. GOODRIDDANCE = true
  669. end
  670. function Aerial_Bombardament()
  671. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  672. if HITFLOOR then
  673. ATTACK = true
  674. Rooted = true
  675. local bv = Instance.new("BodyVelocity")
  676. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  677. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,-2).p).lookVector*175
  678. bv.Parent = RootPart
  679. local GYRO = IT("BodyGyro",RootPart)
  680. GYRO.D = 2
  681. GYRO.P = 20000
  682. GYRO.MaxTorque = VT(0,4000000,0)
  683. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  684. CreateSound(145486992,Torso,10,0.85,false)
  685. for i=0, 0.05, 0.1 / Animation_Speed do
  686. Swait()
  687. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  688. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  689. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  690. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  691. if ANIM == "Fall" or ANIM == "Jump" then
  692. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  693. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  694. else
  695. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  696. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  697. end
  698. end
  699. bv:Remove()
  700. local E = 360/15
  701. for i = 1, 15 do
  702. Swait()
  703. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  708. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  710. end
  711. WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(17/255,17/255,17/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  712. for i = 1, 15 do
  713. coroutine.resume(coroutine.create(function()
  714. Conjour()
  715. end))
  716. end
  717. local LANDED = nil
  718. local POS = nil
  719. coroutine.resume(coroutine.create(function()
  720. repeat
  721. Swait()
  722. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  723. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  724. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  725. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  726. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  727. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  728. until LANDED ~= nil
  729. end))
  730. repeat
  731. Swait()
  732. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  733. if HITFLOOR then
  734. LANDED = HITFLOOR
  735. POS = HITPOS
  736. end
  737. until LANDED ~= nil
  738. GYRO:remove()
  739. CamShake(6,3)
  740. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  741. ATTACK = false
  742. Rooted = false
  743. end
  744. end
  745. function Point_Blank()
  746. ATTACK = true
  747. Rooted = true
  748. local HIT = nil
  749. local HUMAN = nil
  750. local ROOT = nil
  751. CreateSound(145486992,Torso,10,0.85,false)
  752. for i=0, 0.5, 0.1 / Animation_Speed do
  753. Swait()
  754. if HIT ~= nil then
  755. break
  756. end
  757. for index, CHILD in pairs(workspace:GetDescendants()) do
  758. if CHILD.ClassName == "Model" and CHILD ~= Character then
  759. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  760. if HUM then
  761. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  762. if TORSO and HUM.Health > 0 then
  763. if (TORSO.Position - RootPart.CFrame*CF(0,0,-2).p).Magnitude <= 2 then
  764. ROOT = TORSO
  765. HUMAN = HUM
  766. HIT = CHILD
  767. end
  768. end
  769. end
  770. end
  771. end
  772. RootPart.CFrame = Clerp(RootPart.CFrame, RootPart.CFrame, 0.07) * CF(0,0,-1)
  773. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  774. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(135), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  777. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  778. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-5), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  779. end
  780. if HIT then
  781. local bv = Instance.new("BodyVelocity")
  782. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  783. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,2).p).lookVector*75
  784. bv.Parent = RootPart
  785. Debris:AddItem(bv,0.1)
  786. coroutine.resume(coroutine.create(function()
  787. local GUNS = {}
  788. for i = 1, 4 do
  789. local SHOOT = OhnoItsAShotgun()
  790. local CFRAME = CF(ROOT.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  791. SHOOT.CFrame = CF(CFRAME.p,ROOT.Position)
  792. CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  793. table.insert(GUNS,SHOOT)
  794. end
  795. for i = 1, 25 do
  796. Swait()
  797. for E = 1, #GUNS do
  798. GUNS[E].Transparency = GUNS[E].Transparency - 1/25
  799. end
  800. end
  801. wait(0.1)
  802. CamShake(8,15)
  803. for E = 1, #GUNS do
  804. local SHOOT = GUNS[E]
  805. coroutine.resume(coroutine.create(function()
  806. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,SHOOT.CFrame*CF(0,0,-15).p,17)
  807. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  808. SHOOT.CanCollide = true
  809. SHOOT.Anchored = false
  810. SHOOT.Parent = workspace
  811. local bv = Instance.new("BodyVelocity",SHOOT)
  812. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  813. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  814. Debris:AddItem(bv,0.1)
  815. wait(5)
  816. for i = 1, 45 do
  817. Swait()
  818. SHOOT.Transparency = SHOOT.Transparency + 1/45
  819. end
  820. end))
  821. wait()
  822. end
  823. end))
  824. CreateSound(GRUNTS[MRANDOM(1,#GRUNTS)], Torso, 6, 1.1, false)
  825. for i=0, 1, 0.1 / Animation_Speed do
  826. Swait()
  827. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  828. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  829. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  830. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  831. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  832. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  833. end
  834. end
  835. ATTACK = false
  836. Rooted = false
  837. end
  838. function Tripwire()
  839. ATTACK = true
  840. Rooted = true
  841. TRIPWIRE = true
  842. coroutine.resume(coroutine.create(function()
  843. repeat
  844. Swait()
  845. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  846. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  847. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  848. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  849. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  850. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  851. until ATTACK == false
  852. end))
  853. local SHOOT = OhnoItsAShotgun()
  854. local CFRAME = CF(-1.5,0,1.5) * ANGLES(RAD(0), RAD(45), RAD(0))
  855. SHOOT.CFrame = Torso.CFrame*CFRAME
  856. coroutine.resume(coroutine.create(function()
  857. repeat
  858. SHOOT.CFrame = Clerp(SHOOT.CFrame,Torso.CFrame*CFRAME,0.1)
  859. Swait()
  860. until HOLD == true
  861. TRIPWIRE = false
  862. local LOC = SHOOT.CFrame*CF(0,3,0).p
  863. for i = 1, 15 do
  864. Swait()
  865. SHOOT.Transparency = SHOOT.Transparency - 1/15
  866. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
  867. end
  868. SHOOT.Transparency = 0
  869. for i = 1, 2 do
  870. Swait()
  871. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
  872. end
  873. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
  874. CamShake(8,9)
  875. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  876. SHOOT.CanCollide = true
  877. SHOOT.Anchored = false
  878. SHOOT.Parent = workspace
  879. local bv = Instance.new("BodyVelocity",SHOOT)
  880. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  881. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  882. Debris:AddItem(bv,0.1)
  883. wait(5)
  884. for i = 1, 45 do
  885. Swait()
  886. SHOOT.Transparency = SHOOT.Transparency + 1/45
  887. end
  888. end))
  889. CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
  890. for i = 1, 15 do
  891. Swait()
  892. SHOOT.Transparency = SHOOT.Transparency - 1/150
  893. end
  894. ATTACK = false
  895. Rooted = false
  896. end
  897. function Mend()
  898. if Humanoid.Health < Humanoid.MaxHealth - 150 then
  899. ATTACK = true
  900. Rooted = true
  901. for i=0, 0.25, 0.1 / Animation_Speed do
  902. Swait()
  903. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  904. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  905. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  906. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  907. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  908. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  909. end
  910. local LOOP = 0
  911. repeat
  912. LOOP = LOOP + 1
  913. Swait()
  914. Humanoid.Health = Humanoid.Health + 1
  915. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  916. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  917. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.4) * ANGLES(RAD(55), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  918. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.7 - 0.4 * SIN(LOOP / 4)) * ANGLES(RAD(50 + 25 * COS(LOOP / 4)), RAD(0), RAD(65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  919. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  920. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  921. until KEYHOLD == false or Humanoid.Health == Humanoid.MaxHealth
  922. for i=0, 0.15, 0.1 / Animation_Speed do
  923. Swait()
  924. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  928. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  929. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  930. end
  931. ATTACK = false
  932. Rooted = false
  933. end
  934. end
  935. function Taunt()
  936. ATTACK = true
  937. Rooted = true
  938. local L = CreateSound(1278007556,Head,8,1.1,false)
  939. L.EmitterSize = 25
  940. for i = 1, 20 do
  941. Swait()
  942. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  943. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  944. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  945. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  946. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  947. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  948. end
  949. for i = 1, 40 do
  950. Swait()
  951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  955. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  956. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  957. end
  958. ATTACK = false
  959. Rooted = false
  960. end
  961. function DoubleJump()
  962. ATTACK = true
  963. Rooted = false
  964. Torso.Velocity = Vector3.new(Torso.Velocity.X,125,Torso.Velocity.Z)
  965. CreateSound(159882477, Head, 4, 1, false)
  966. CreateSound(1112042117, Torso, 2, 1, false)
  967. local E = 360/12
  968. for i=1, 12 do
  969. Swait()
  970. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2.5 / Animation_Speed)
  971. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  972. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  973. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  974. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  975. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  976. end
  977. ATTACK = false
  978. Rooted = false
  979. end
  980.  
  981. --//=================================\\
  982. --|| ASSIGN THINGS TO KEYS
  983. --\\=================================//
  984.  
  985. function MouseDown(Mouse)
  986. HOLD = true
  987. if ATTACK == false then
  988. end
  989. end
  990.  
  991. function MouseUp(Mouse)
  992. HOLD = false
  993. end
  994.  
  995. local READYTODOUBLE = false
  996. local DOUBLED = false
  997.  
  998. function KeyDown(Key)
  999. KEYHOLD = true
  1000. if Key == "c" and ATTACK == false then
  1001. Conjour()
  1002. end
  1003.  
  1004. if Key == "v" and ATTACK == false then
  1005. Aerial_Bombardament()
  1006. end
  1007.  
  1008. if Key == "b" and ATTACK == false then
  1009. Point_Blank()
  1010. end
  1011.  
  1012. if Key == "f" and ATTACK == false and TRIPWIRE == false and ANIM == "Idle" then
  1013. Tripwire()
  1014. end
  1015.  
  1016. if Key == "m" and ATTACK == false then
  1017. Mend()
  1018. end
  1019.  
  1020. if Key == "t" and ATTACK == false then
  1021. Taunt()
  1022. end
  1023.  
  1024. if string.byte(Key) == 32 and READYTODOUBLE == true and ATTACK == false and Humanoid.Jump == true and DOUBLED == false then
  1025. READYTODOUBLE = false
  1026. DOUBLED = true
  1027. DoubleJump()
  1028. end
  1029. end
  1030.  
  1031. function KeyUp(Key)
  1032. KEYHOLD = false
  1033. end
  1034.  
  1035. Mouse.Button1Down:connect(function(NEWKEY)
  1036. MouseDown(NEWKEY)
  1037. end)
  1038. Mouse.Button1Up:connect(function(NEWKEY)
  1039. MouseUp(NEWKEY)
  1040. end)
  1041. Mouse.KeyDown:connect(function(NEWKEY)
  1042. KeyDown(NEWKEY)
  1043. end)
  1044. Mouse.KeyUp:connect(function(NEWKEY)
  1045. KeyUp(NEWKEY)
  1046. end)
  1047.  
  1048. --//=================================\\
  1049. --\\=================================//
  1050.  
  1051. function unanchor()
  1052. for _, c in pairs(Character:GetChildren()) do
  1053. if c:IsA("BasePart") and c ~= RootPart then
  1054. c.Anchored = false
  1055. end
  1056. end
  1057. if UNANCHOR == true then
  1058. RootPart.Anchored = false
  1059. else
  1060. RootPart.Anchored = true
  1061. end
  1062. end
  1063.  
  1064. --//=================================\\
  1065. --|| WRAP THE WHOLE SCRIPT UP
  1066. --\\=================================//
  1067.  
  1068. Humanoid.Changed:connect(function(Jump)
  1069. if Jump == "Jump" and (Disable_Jump == true) then
  1070. Humanoid.Jump = false
  1071. elseif Jump == "Jump" and (Disable_Jump == false) and DOUBLED == false then
  1072. wait(0.1)
  1073. READYTODOUBLE = true
  1074. end
  1075. end)
  1076.  
  1077. while true do
  1078. Swait()
  1079. script.Parent = WEAPONGUI
  1080. ANIMATE.Parent = nil
  1081. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1082. v:Stop();
  1083. end
  1084. SINE = SINE + CHANGE
  1085. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1086. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1087. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1088. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16)
  1089. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1090. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1091. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1092. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1093. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1094. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1095. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1096. 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)
  1097. 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.7 / Animation_Speed)
  1098. 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.7 / Animation_Speed)
  1099. end
  1100. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1101. ANIM = "Jump"
  1102. if ATTACK == false then
  1103. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1109. end
  1110. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1111. ANIM = "Fall"
  1112. if ATTACK == false then
  1113. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1114. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1115. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1116. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1117. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1119. end
  1120. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1121. ANIM = "Idle"
  1122. DOUBLED = false
  1123. READYTODOUBLE = false
  1124. if ATTACK == false then
  1125. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1127. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1128. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1129. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1130. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1131. end
  1132. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1133. ANIM = "Walk"
  1134. DOUBLED = false
  1135. READYTODOUBLE = false
  1136. if ATTACK == false then
  1137. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1141. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1143. end
  1144. end
  1145. unanchor()
  1146. if Rooted == false then
  1147. Disable_Jump = false
  1148. Humanoid.WalkSpeed = Speed
  1149. elseif Rooted == true then
  1150. Disable_Jump = true
  1151. Humanoid.WalkSpeed = 0
  1152. end
  1153. BMUSIC.SoundId = "rbxassetid://"..SONGID
  1154. BMUSIC.Looped = true
  1155. BMUSIC.Pitch = PITCH
  1156. BMUSIC.Volume = VOLUME
  1157. BMUSIC.Playing = true
  1158. if BMUSIC.Parent ~= RootPart then
  1159. BMUSIC = IT("Sound",RootPart)
  1160. end
  1161. Humanoid.Name = "NONHUM"
  1162. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1163. HEALTHTEXT.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  1164. end
  1165.  
  1166. --//=================================\\
  1167. --\\=================================//
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173. --//====================================================\\--
  1174. --|| END OF SCRIPT
  1175. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement