Advertisement
bmrx13

gun

Jan 29th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.96 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  52. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then
  98. return typeof(s[k])=="function"
  99. and function(_,...)return s[k](s,...)end or s[k]
  100. end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v 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 rawget(self,s) or _rg:GetService(s)
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. RunService = FakeService({
  123. _btrs = {},
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132. }
  133. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  134. g.service = g.GetService
  135. FakeService(g,game)
  136. --Changing owner to fake player object to support owner:GetMouse()
  137. game,owner = g,g.Players.LocalPlayer
  138. end
  139.  
  140. game:GetService("StarterGui"):SetCore("SendNotification", {
  141. Title = "Grand - Conjourer";
  142. Text = "Gunjourer edit.. and actually it'll be a switcher script but.(Messed up gift for 2018 christmas)";
  143. Duration = 10;
  144. Button1 = "Shackluster(Shucc)/wanTH092";
  145. })
  146.  
  147.  
  148. wait(1.5)
  149.  
  150. --//====================================================\\--
  151. --|| GUNJOURER BY SHACKLUSTER
  152. --\\====================================================//--
  153.  
  154.  
  155. Player = game:GetService("Players").LocalPlayer
  156. PlayerGui = Player.PlayerGui
  157. Cam = workspace.CurrentCamera
  158. Backpack = Player.Backpack
  159. Character = Player.Character
  160. Humanoid = Character.Humanoid
  161. Mouse = Player:GetMouse()
  162. RootPart = Character["HumanoidRootPart"]
  163. Torso = Character["Torso"]
  164. Head = Character["Head"]
  165. RightArm = Character["Right Arm"]
  166. LeftArm = Character["Left Arm"]
  167. RightLeg = Character["Right Leg"]
  168. LeftLeg = Character["Left Leg"]
  169. RootJoint = RootPart["RootJoint"]
  170. Neck = Torso["Neck"]
  171. RightShoulder = Torso["Right Shoulder"]
  172. LeftShoulder = Torso["Left Shoulder"]
  173. RightHip = Torso["Right Hip"]
  174. LeftHip = Torso["Left Hip"]
  175.  
  176. IT = Instance.new
  177. CF = CFrame.new
  178. VT = Vector3.new
  179. RAD = math.rad
  180. C3 = Color3.new
  181. UD2 = UDim2.new
  182. BRICKC = BrickColor.new
  183. ANGLES = CFrame.Angles
  184. EULER = CFrame.fromEulerAnglesXYZ
  185. COS = math.cos
  186. ACOS = math.acos
  187. SIN = math.sin
  188. ASIN = math.asin
  189. ABS = math.abs
  190. MRANDOM = math.random
  191. FLOOR = math.floor
  192.  
  193. --//=================================\\
  194. --|| USEFUL VALUES
  195. --\\=================================//
  196.  
  197. Animation_Speed = 3
  198. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  199. local Speed = 10.75
  200. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  201. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  202. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  203. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  204. local DAMAGEMULTIPLIER = 1
  205. local ANIM = "Idle"
  206. local ATTACK = false
  207. local EQUIPPED = false
  208. local HOLD = false
  209. local COMBO = 1
  210. local Rooted = false
  211. local SINE = 0
  212. local KEYHOLD = false
  213. local CHANGE = 2 / Animation_Speed
  214. local WALKINGANIM = false
  215. local VALUE1 = false
  216. local VALUE2 = false
  217. local ROBLOXIDLEANIMATION = IT("Animation")
  218. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  219. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  220. --ROBLOXIDLEANIMATION.Parent = Humanoid
  221. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  222. WEAPONGUI.Name = "GUNJOURER_GUI_SHACKLUSTER"
  223. local Effects = IT("Folder", Character)
  224. Effects.Name = "Effects"
  225. local ANIMATOR = Humanoid.Animator
  226. local ANIMATE = Character.Animate
  227. local UNANCHOR = true
  228. local STOCKING = false
  229.  
  230. local MADNESS = false
  231.  
  232. --//=================================\\
  233. --\\=================================//
  234.  
  235.  
  236. --//=================================\\
  237. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  238. --\\=================================//
  239.  
  240. ArtificialHB = Instance.new("BindableEvent", script)
  241. ArtificialHB.Name = "ArtificialHB"
  242.  
  243. script:WaitForChild("ArtificialHB")
  244.  
  245. frame = Frame_Speed
  246. tf = 0
  247. allowframeloss = false
  248. tossremainder = false
  249. lastframe = tick()
  250. script.ArtificialHB:Fire()
  251.  
  252. game:GetService("RunService").Heartbeat:connect(function(s, p)
  253. tf = tf + s
  254. if tf >= frame then
  255. if allowframeloss then
  256. ArtificialHB:Fire()
  257. lastframe = tick()
  258. else
  259. for i = 1, math.floor(tf / frame) do
  260. ArtificialHB:Fire()
  261. end
  262. lastframe = tick()
  263. end
  264. if tossremainder then
  265. tf = 0
  266. else
  267. tf = tf - frame * math.floor(tf / frame)
  268. end
  269. end
  270. end)
  271.  
  272. --//=================================\\
  273. --\\=================================//
  274.  
  275. --//=================================\\
  276. --|| SOME FUNCTIONS
  277. --\\=================================//
  278.  
  279. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  280. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  281. end
  282.  
  283. function PositiveAngle(NUMBER)
  284. if NUMBER >= 0 then
  285. NUMBER = 0
  286. end
  287. return NUMBER
  288. end
  289.  
  290. function NegativeAngle(NUMBER)
  291. if NUMBER <= 0 then
  292. NUMBER = 0
  293. end
  294. return NUMBER
  295. end
  296.  
  297. function Swait(NUMBER)
  298. if NUMBER == 0 or NUMBER == nil then
  299. ArtificialHB.Event:wait()
  300. else
  301. for i = 1, NUMBER do
  302. ArtificialHB.Event:wait()
  303. end
  304. end
  305. end
  306.  
  307. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  308. local NEWMESH = IT(MESH)
  309. if MESH == "SpecialMesh" then
  310. NEWMESH.MeshType = MESHTYPE
  311. if MESHID ~= "nil" and MESHID ~= "" then
  312. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  313. end
  314. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  315. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  316. end
  317. end
  318. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  319. NEWMESH.Scale = SCALE
  320. NEWMESH.Parent = PARENT
  321. return NEWMESH
  322. end
  323.  
  324. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  325. local NEWPART = IT("Part")
  326. NEWPART.formFactor = FORMFACTOR
  327. NEWPART.Reflectance = REFLECTANCE
  328. NEWPART.Transparency = TRANSPARENCY
  329. NEWPART.CanCollide = false
  330. NEWPART.Locked = true
  331. NEWPART.Anchored = true
  332. if ANCHOR == false then
  333. NEWPART.Anchored = false
  334. end
  335. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  336. NEWPART.Name = NAME
  337. NEWPART.Size = SIZE
  338. NEWPART.Position = Torso.Position
  339. NEWPART.Material = MATERIAL
  340. NEWPART:BreakJoints()
  341. NEWPART.Parent = PARENT
  342. return NEWPART
  343. end
  344.  
  345. local function weldBetween(a, b)
  346. local weldd = Instance.new("ManualWeld")
  347. weldd.Part0 = a
  348. weldd.Part1 = b
  349. weldd.C0 = CFrame.new()
  350. weldd.C1 = b.CFrame:inverse() * a.CFrame
  351. weldd.Parent = a
  352. return weldd
  353. end
  354.  
  355.  
  356. function QuaternionFromCFrame(cf)
  357. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  358. local trace = m00 + m11 + m22
  359. if trace > 0 then
  360. local s = math.sqrt(1 + trace)
  361. local recip = 0.5 / s
  362. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  363. else
  364. local i = 0
  365. if m11 > m00 then
  366. i = 1
  367. end
  368. if m22 > (i == 0 and m00 or m11) then
  369. i = 2
  370. end
  371. if i == 0 then
  372. local s = math.sqrt(m00 - m11 - m22 + 1)
  373. local recip = 0.5 / s
  374. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  375. elseif i == 1 then
  376. local s = math.sqrt(m11 - m22 - m00 + 1)
  377. local recip = 0.5 / s
  378. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  379. elseif i == 2 then
  380. local s = math.sqrt(m22 - m00 - m11 + 1)
  381. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  382. end
  383. end
  384. end
  385.  
  386. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  387. local xs, ys, zs = x + x, y + y, z + z
  388. local wx, wy, wz = w * xs, w * ys, w * zs
  389. local xx = x * xs
  390. local xy = x * ys
  391. local xz = x * zs
  392. local yy = y * ys
  393. local yz = y * zs
  394. local zz = z * zs
  395. 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))
  396. end
  397.  
  398. function QuaternionSlerp(a, b, t)
  399. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  400. local startInterp, finishInterp;
  401. if cosTheta >= 0.0001 then
  402. if (1 - cosTheta) > 0.0001 then
  403. local theta = ACOS(cosTheta)
  404. local invSinTheta = 1 / SIN(theta)
  405. startInterp = SIN((1 - t) * theta) * invSinTheta
  406. finishInterp = SIN(t * theta) * invSinTheta
  407. else
  408. startInterp = 1 - t
  409. finishInterp = t
  410. end
  411. else
  412. if (1 + cosTheta) > 0.0001 then
  413. local theta = ACOS(-cosTheta)
  414. local invSinTheta = 1 / SIN(theta)
  415. startInterp = SIN((t - 1) * theta) * invSinTheta
  416. finishInterp = SIN(t * theta) * invSinTheta
  417. else
  418. startInterp = t - 1
  419. finishInterp = t
  420. end
  421. end
  422. 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
  423. end
  424.  
  425. function Clerp(a, b, t)
  426. local qa = {QuaternionFromCFrame(a)}
  427. local qb = {QuaternionFromCFrame(b)}
  428. local ax, ay, az = a.x, a.y, a.z
  429. local bx, by, bz = b.x, b.y, b.z
  430. local _t = 1 - t
  431. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  432. end
  433.  
  434. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  435. local frame = IT("Frame")
  436. frame.BackgroundTransparency = TRANSPARENCY
  437. frame.BorderSizePixel = BORDERSIZEPIXEL
  438. frame.Position = POSITION
  439. frame.Size = SIZE
  440. frame.BackgroundColor3 = COLOR
  441. frame.BorderColor3 = BORDERCOLOR
  442. frame.Name = NAME
  443. frame.Parent = PARENT
  444. return frame
  445. end
  446.  
  447. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  448. local label = IT("TextLabel")
  449. label.BackgroundTransparency = 1
  450. label.Size = UD2(1, 0, 1, 0)
  451. label.Position = UD2(0, 0, 0, 0)
  452. label.TextColor3 = TEXTCOLOR
  453. label.TextStrokeTransparency = STROKETRANSPARENCY
  454. label.TextTransparency = TRANSPARENCY
  455. label.FontSize = TEXTFONTSIZE
  456. label.Font = TEXTFONT
  457. label.BorderSizePixel = BORDERSIZEPIXEL
  458. label.TextScaled = false
  459. label.Text = TEXT
  460. label.Name = NAME
  461. label.Parent = PARENT
  462. return label
  463. end
  464.  
  465. function NoOutlines(PART)
  466. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  467. end
  468.  
  469. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  470. local NEWWELD = IT(TYPE)
  471. NEWWELD.Part0 = PART0
  472. NEWWELD.Part1 = PART1
  473. NEWWELD.C0 = C0
  474. NEWWELD.C1 = C1
  475. NEWWELD.Parent = PARENT
  476. return NEWWELD
  477. end
  478.  
  479. local S = IT("Sound")
  480. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  481. local NEWSOUND = nil
  482. coroutine.resume(coroutine.create(function()
  483. NEWSOUND = S:Clone()
  484. NEWSOUND.Parent = PARENT
  485. NEWSOUND.Volume = VOLUME
  486. NEWSOUND.Pitch = PITCH
  487. NEWSOUND.SoundId = "rbxassetid://"..ID
  488. NEWSOUND:play()
  489. if DOESLOOP == true then
  490. NEWSOUND.Looped = true
  491. else
  492. repeat wait(1) until NEWSOUND.Playing == false
  493. NEWSOUND:remove()
  494. end
  495. end))
  496. return NEWSOUND
  497. end
  498.  
  499. function CFrameFromTopBack(at, top, back)
  500. local right = top:Cross(back)
  501. 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)
  502. end
  503.  
  504. --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})
  505. function WACKYEFFECT(Table)
  506. local TYPE = (Table.EffectType or "Sphere")
  507. local SIZE = (Table.Size or VT(1,1,1))
  508. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  509. local TRANSPARENCY = (Table.Transparency or 0)
  510. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  511. local CFRAME = (Table.CFrame or Torso.CFrame)
  512. local MOVEDIRECTION = (Table.MoveToPos or nil)
  513. local ROTATION1 = (Table.RotationX or 0)
  514. local ROTATION2 = (Table.RotationY or 0)
  515. local ROTATION3 = (Table.RotationZ or 0)
  516. local MATERIAL = (Table.Material or "Neon")
  517. local COLOR = (Table.Color or C3(1,1,1))
  518. local TIME = (Table.Time or 45)
  519. local SOUNDID = (Table.SoundID or nil)
  520. local SOUNDPITCH = (Table.SoundPitch or nil)
  521. local SOUNDVOLUME = (Table.SoundVolume or nil)
  522. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  523. local BOOMERANG = (Table.Boomerang or 0)
  524. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  525. coroutine.resume(coroutine.create(function()
  526. local PLAYSSOUND = false
  527. local SOUND = nil
  528. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  529. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  530. PLAYSSOUND = true
  531. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  532. end
  533. EFFECT.Color = COLOR
  534. local MSH = nil
  535. if TYPE == "Sphere" then
  536. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  537. elseif TYPE == "Block" or TYPE == "Box" then
  538. MSH = IT("BlockMesh",EFFECT)
  539. MSH.Scale = SIZE
  540. elseif TYPE == "Wave" then
  541. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  542. elseif TYPE == "Ring" then
  543. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  544. elseif TYPE == "Slash" then
  545. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  546. elseif TYPE == "Round Slash" then
  547. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  548. elseif TYPE == "Swirl" then
  549. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  550. elseif TYPE == "Skull" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  552. elseif TYPE == "Crystal" then
  553. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  554. end
  555. if MSH ~= nil then
  556. local BOOMR1 = 1+BOOMERANG/50
  557. local BOOMR2 = 1+SIZEBOOMERANG/50
  558. local MOVESPEED = nil
  559. if MOVEDIRECTION ~= nil then
  560. if USEBOOMERANGMATH == true then
  561. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  562. else
  563. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  564. end
  565. end
  566. local GROWTH = nil
  567. if USEBOOMERANGMATH == true then
  568. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  569. else
  570. GROWTH = (SIZE - ENDSIZE)
  571. end
  572. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  573. if TYPE == "Block" then
  574. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  575. else
  576. EFFECT.CFrame = CFRAME
  577. end
  578. if USEBOOMERANGMATH == true then
  579. for LOOP = 1, TIME+1 do
  580. Swait()
  581. 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
  582. if TYPE == "Wave" then
  583. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  584. end
  585. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  586. if TYPE == "Block" then
  587. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  588. else
  589. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  590. end
  591. if MOVEDIRECTION ~= nil then
  592. local ORI = EFFECT.Orientation
  593. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  594. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  595. end
  596. end
  597. else
  598. for LOOP = 1, TIME+1 do
  599. Swait()
  600. MSH.Scale = MSH.Scale - GROWTH/TIME
  601. if TYPE == "Wave" then
  602. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  603. end
  604. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  605. if TYPE == "Block" then
  606. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  607. else
  608. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  609. end
  610. if MOVEDIRECTION ~= nil then
  611. local ORI = EFFECT.Orientation
  612. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  613. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  614. end
  615. end
  616. end
  617. EFFECT.Transparency = 1
  618. if PLAYSSOUND == false then
  619. EFFECT:remove()
  620. else
  621. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  622. EFFECT:remove()
  623. end
  624. else
  625. if PLAYSSOUND == false then
  626. EFFECT:remove()
  627. else
  628. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  629. EFFECT:remove()
  630. end
  631. end
  632. end))
  633. end
  634.  
  635. function MakeForm(PART,TYPE)
  636. if TYPE == "Cyl" then
  637. local MSH = IT("CylinderMesh",PART)
  638. elseif TYPE == "Ball" then
  639. local MSH = IT("SpecialMesh",PART)
  640. MSH.MeshType = "Sphere"
  641. elseif TYPE == "Wedge" then
  642. local MSH = IT("SpecialMesh",PART)
  643. MSH.MeshType = "Wedge"
  644. end
  645. end
  646.  
  647. Debris = game:GetService("Debris")
  648.  
  649. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  650. local DIRECTION = CF(StartPos,EndPos).lookVector
  651. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  652. end
  653.  
  654. function OhnoItsAShotgun()
  655. local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
  656. CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "3835506", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
  657. return SHOOTgun
  658. end
  659.  
  660. function CamShake(SHAKE,TIMER)
  661. coroutine.resume(coroutine.create(function()
  662. local FADER = SHAKE/TIMER
  663. for i = 1, TIMER do
  664. wait()
  665. 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)
  666. end
  667. Humanoid.CameraOffset = VT(0,0,0)
  668. end))
  669. end
  670.  
  671. --//=================================\\
  672. --|| GUIS AND MISC
  673. --\\=================================//
  674. function createBGCircle(size,parent,color)
  675. local bgui = Instance.new("BillboardGui",parent)
  676. bgui.Size = UDim2.new(size, 0, size, 0)
  677. local imgc = Instance.new("ImageLabel",bgui)
  678. imgc.BackgroundTransparency = 1
  679. imgc.ImageTransparency = 0
  680. imgc.Size = UDim2.new(1,0,1,0)
  681. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  682. imgc.ImageColor3 = color
  683. return bgui,imgc
  684. end
  685.  
  686. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  687. local bgui,imgc = createBGCircle(size,guipar,color)
  688. bgui.AlwaysOnTop = true
  689. imgc.Image = "rbxassetid://" ..img
  690. local rrot = math.random(1,2)
  691. CreateSound(soundid, spar, vol, pit,false)
  692. coroutine.resume(coroutine.create(function()
  693. for i = 0, 24*delay do
  694. Swait()
  695. if rotationenabled == true then
  696. if rrot == 1 then
  697. imgc.Rotation = imgc.Rotation + rotsp
  698. elseif rrot == 2 then
  699. imgc.Rotation = imgc.Rotation - rotsp
  700. end
  701. end
  702. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  703. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  704. end
  705. bgui:Destroy()
  706. end))
  707. end
  708.  
  709. local SKILLTEXTCOLOR = BRICKC"Daisy orange".Color
  710. local SKILLFONT = "Arcade"
  711. local SKILLTEXTSIZE = 1.5
  712.  
  713. local ATTACKS = {"Conjour - C","Aerial AirBlast - V","Suicide Blank - B","GunStock - F","Regain - R"}
  714.  
  715.  
  716. for i = 1, #ATTACKS do
  717. 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")
  718. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  719. SKILLTEXT.TextXAlignment = "Right"
  720. SKILLTEXT.Rotation = i*3
  721. end
  722.  
  723.  
  724. local SKILLFRAME2 = CreateFrame(WEAPONGUI, 1, 2, UD2(0.6375, 0, 0.97-0.0375, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame2")
  725. local SKILLTEXT2 = CreateLabel(SKILLFRAME2, "[".."GunMadness - G".."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text2")
  726. SKILLTEXT2.TextXAlignment = "Right"
  727.  
  728. local BMUSIC = IT("Sound",RootPart)
  729. local VOLUME = 3
  730. local PITCH = 1
  731. local SONGID = 554435540
  732.  
  733. 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")
  734. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Cool yellow".Color, C3(0, 0, 0),"Health Cover")
  735. local HEALTHTEXT = CreateLabel(HEALTHBAR, "Stamina/Health"..Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
  736. Character.Health:remove()
  737. HEALTHBAR.Rotation = (#ATTACKS*3)+3
  738. 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")
  739. WHOAMI.Rotation = (#ATTACKS*3)+3
  740. CreateLabel(WHOAMI, "Grand - Gunjourer", SKILLTEXTCOLOR, SKILLTEXTSIZE+4, SKILLFONT, 0, 2, 0, "Yes")
  741.  
  742. Humanoid.MaxHealth = 2000
  743. Humanoid.Health = 2000
  744.  
  745. Humanoid.Died:Connect(function()
  746. RootPart:remove()
  747. CreateSound(160718677, Head, 4, 1, false)
  748. BMUSIC:remove()
  749. Effects:remove()
  750. WEAPONGUI:remove()
  751. end)
  752. local GRUNTS = {1146556975,1146556706,1278006076}
  753.  
  754. --//=================================\\
  755. --|| DAMAGING
  756. --\\=================================//
  757.  
  758. function ApplyDamage(Humanoid,Damage)
  759. Damage = Damage * DAMAGEMULTIPLIER
  760. if Humanoid.Health < 2000 then
  761. if Humanoid.Health - Damage > 0 then
  762. Humanoid.Health = Humanoid.Health - Damage
  763. else
  764. Humanoid.Parent:BreakJoints()
  765. end
  766. else
  767. Humanoid.Parent:BreakJoints()
  768. end
  769. end
  770.  
  771. function PAW_HAHA(LOC,AIMTO,OUCH)
  772. 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 = 138083993, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
  773. for i = 1, 4 do
  774. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  775. 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
  776. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  777. local DISTANCE = (POS - LOC).Magnitude
  778. if HIT then
  779. local HUM = nil
  780. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  781. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  782. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  783. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  784. end
  785. if HUM then
  786. ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
  787. end
  788. end
  789. 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})
  790. 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})
  791. end
  792. end
  793.  
  794. --//=================================\\
  795. --|| ATTACK FUNCTIONS AND STUFF
  796. --\\=================================//
  797.  
  798. function Conjour()
  799. local SHOOT = OhnoItsAShotgun()
  800. local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  801. local ORI = 90
  802. SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
  803. local GOODRIDDANCE = false
  804. CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  805. coroutine.resume(coroutine.create(function()
  806. repeat
  807. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
  808. Swait()
  809. until GOODRIDDANCE == true
  810. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  811. SHOOT.CanCollide = true
  812. SHOOT.Anchored = false
  813. SHOOT.Parent = workspace
  814. local bv = Instance.new("BodyVelocity",SHOOT)
  815. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  816. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  817. Debris:AddItem(bv,0.1)
  818. wait(5)
  819. for i = 1, 45 do
  820. Swait()
  821. SHOOT.Transparency = SHOOT.Transparency + 1/45
  822. end
  823. SHOOT:remove()
  824. end))
  825. for i = 1, 15 do
  826. Swait()
  827. SHOOT.Transparency = SHOOT.Transparency - 1/15
  828. ORI = ORI - 3
  829. end
  830. for i = 1, 15 do
  831. Swait()
  832. ORI = ORI - 3
  833. end
  834. wait(MRANDOM(2,8)/10)
  835. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
  836. CamShake(4,4)
  837. GOODRIDDANCE = true
  838. end
  839.  
  840. function Conjour2()
  841. local SHOOT = OhnoItsAShotgun()
  842. local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(MRANDOM(-65,65),MRANDOM(20,65),MRANDOM(-65,65))
  843. local ORI = 90
  844. SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
  845. local GOODRIDDANCE = false
  846. CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  847. coroutine.resume(coroutine.create(function()
  848. repeat
  849. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
  850. Swait()
  851. until GOODRIDDANCE == true
  852. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  853. SHOOT.CanCollide = true
  854. SHOOT.Anchored = false
  855. SHOOT.Parent = workspace
  856. local bv = Instance.new("BodyVelocity",SHOOT)
  857. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  858. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  859. Debris:AddItem(bv,0.1)
  860. wait(5)
  861. for i = 1, 45 do
  862. Swait()
  863. SHOOT.Transparency = SHOOT.Transparency + 1/45
  864. end
  865. SHOOT:remove()
  866. end))
  867. for i = 1, 15 do
  868. Swait()
  869. SHOOT.Transparency = SHOOT.Transparency - 1/15
  870. ORI = ORI - 3
  871. end
  872. for i = 1, 15 do
  873. Swait()
  874. ORI = ORI - 3
  875. end
  876. wait(MRANDOM(2,8)/10)
  877. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
  878. CamShake(4,4)
  879. GOODRIDDANCE = true
  880. end
  881.  
  882. function GunMadness()
  883. ATTACK = true
  884. Rooted = true
  885. CreateSound(1278010413, Torso, 9, 1.1, false)
  886. coroutine.resume(coroutine.create(function()
  887. MADNESS = true
  888. wait(0.9)
  889. for i = 1, 163 do
  890. Swait(2.5)
  891. coroutine.resume(coroutine.create(function()
  892. Conjour2()
  893. end))
  894. end
  895. MADNESS = false
  896. end))
  897. for i=0, 1.85, 0.1 / Animation_Speed do
  898. Swait()
  899. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
  900. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 5 * SIN(SINE / 3)), RAD(0), RAD(0)), 1 / Animation_Speed)
  901. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  902. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  903. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  904. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  905. end
  906. for i=0, 0.15, 0.1 / Animation_Speed do
  907. Swait()
  908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
  909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  914. end
  915. symbolizeBlink(RootPart,0,2109052855,BrickColor.new("Daisy orange").Color,25,0,0,0,RootPart,false,0,1)
  916.  
  917. Humanoid.Health = Humanoid.Health - 675
  918. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.25,0.55,0.25), Size2 = VT(0.175,4,0.175), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.175, 0.2, -0.65), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
  919. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.25,0.25), Size2 = VT(4,0.175,0.175), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.175, 0.2, -0.65), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  920. for i=0, 1, 0.1 / Animation_Speed do
  921. Swait()
  922. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
  923. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  924. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  925. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  926. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  927. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  928. end
  929. ATTACK = false
  930. Rooted = false
  931. end
  932.  
  933. function Aerial_AirBlast()
  934. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  935. if HITFLOOR then
  936. ATTACK = true
  937. Rooted = true
  938. local bv = Instance.new("BodyVelocity")
  939. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  940. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,-2).p).lookVector*175
  941. bv.Parent = RootPart
  942. local GYRO = IT("BodyGyro",RootPart)
  943. GYRO.D = 2
  944. GYRO.P = 20000
  945. GYRO.MaxTorque = VT(0,4000000,0)
  946. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  947. CreateSound(145486992,Torso,10,0.85,false)
  948. Humanoid.Health = Humanoid.Health - 225
  949. for i=0, 0.05, 0.1 / Animation_Speed do
  950. Swait()
  951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  955. if ANIM == "Fall" or ANIM == "Jump" then
  956. 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)
  957. 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)
  958. else
  959. 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)
  960. 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)
  961. end
  962. end
  963. bv:Remove()
  964. local E = 360/15
  965. for i = 1, 15 do
  966. Swait()
  967. 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})
  968. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  969. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  970. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  971. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  972. 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)
  973. 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)
  974. end
  975. 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})
  976. for i = 1, 45 do
  977. coroutine.resume(coroutine.create(function()
  978. Conjour2()
  979. end))
  980. end
  981. local LANDED = nil
  982. local POS = nil
  983. coroutine.resume(coroutine.create(function()
  984. repeat
  985. Swait()
  986. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  988. 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)
  989. 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)
  990. 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)
  991. 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)
  992. until LANDED ~= nil
  993. end))
  994. repeat
  995. Swait()
  996. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  997. if HITFLOOR then
  998. LANDED = HITFLOOR
  999. POS = HITPOS
  1000. end
  1001. until LANDED ~= nil
  1002. GYRO:remove()
  1003. CamShake(6,3)
  1004. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  1005. ATTACK = false
  1006. Rooted = false
  1007. end
  1008. end
  1009. function Suicide_Blank()
  1010. ATTACK = true
  1011. Rooted = true
  1012. local HIT = nil
  1013. local HUMAN = nil
  1014. local ROOT = nil
  1015. CreateSound(145486992,Torso,10,0.85,false)
  1016. for i=0, 0.5, 0.1 / Animation_Speed do
  1017. Swait()
  1018. if HIT ~= nil then
  1019. break
  1020. end
  1021. for index, CHILD in pairs(workspace:GetDescendants()) do
  1022. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1023. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1024. if HUM then
  1025. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1026. if TORSO and HUM.Health > 0 then
  1027. if (TORSO.Position - RootPart.CFrame*CF(0,0,-2).p).Magnitude <= 2 then
  1028. ROOT = TORSO
  1029. HUMAN = HUM
  1030. HIT = CHILD
  1031. end
  1032. end
  1033. end
  1034. end
  1035. end
  1036. RootPart.CFrame = Clerp(RootPart.CFrame, RootPart.CFrame, 0.07) * CF(0,0,-1)
  1037. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1038. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1039. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1040. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(135), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1041. 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)
  1042. 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)
  1043. end
  1044. if HIT then
  1045. local bv = Instance.new("BodyVelocity")
  1046. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1047. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,2).p).lookVector*75
  1048. bv.Parent = RootPart
  1049. Debris:AddItem(bv,0.1)
  1050. Humanoid.Health = Humanoid.Health - HUMAN.Health/2
  1051. coroutine.resume(coroutine.create(function()
  1052. local GUNS = {}
  1053. for i = 1, math.random(2,5) + HUMAN.Health/math.random(35,50) do
  1054. local SHOOT = OhnoItsAShotgun()
  1055. local CFRAME = CF(ROOT.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  1056. SHOOT.CFrame = CF(CFRAME.p,ROOT.Position)
  1057. CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  1058. table.insert(GUNS,SHOOT)
  1059. end
  1060. for i = 1, 12.5 do
  1061. Swait()
  1062. for E = 1, #GUNS do
  1063. GUNS[E].Transparency = GUNS[E].Transparency - 1/12.5
  1064. end
  1065. end
  1066. wait(0.7)
  1067. CamShake(8,15)
  1068. for E = 1, #GUNS do
  1069. local SHOOT = GUNS[E]
  1070. coroutine.resume(coroutine.create(function()
  1071. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,SHOOT.CFrame*CF(0,0,-15).p,17)
  1072. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  1073. SHOOT.CanCollide = true
  1074. SHOOT.Anchored = false
  1075. SHOOT.Parent = workspace
  1076. local bv = Instance.new("BodyVelocity",SHOOT)
  1077. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1078. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  1079. Debris:AddItem(bv,0.1)
  1080. wait(3)
  1081. for i = 1, 45 do
  1082. Swait()
  1083. SHOOT.Transparency = SHOOT.Transparency + 1/45
  1084. end
  1085. end))
  1086. wait()
  1087. end
  1088. end))
  1089. CreateSound(GRUNTS[MRANDOM(1,#GRUNTS)], Torso, 6, 1.075, false)
  1090. for i=0, 1, 0.1 / Animation_Speed do
  1091. Swait()
  1092. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1096. 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)
  1097. 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)
  1098. end
  1099. end
  1100. ATTACK = false
  1101. Rooted = false
  1102. end
  1103. function GunStock()
  1104. ATTACK = true
  1105. Rooted = true
  1106. STOCKING = true
  1107. coroutine.resume(coroutine.create(function()
  1108. repeat
  1109. Swait()
  1110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1112. 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)
  1113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1114. 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)
  1115. 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)
  1116. until ATTACK == false
  1117. end))
  1118. coroutine.resume(coroutine.create(function()
  1119. for i = 0, 30 do
  1120. local SHOOT = OhnoItsAShotgun()
  1121. local CFRAME = CF(MRANDOM(-2,2),0 + MRANDOM(-2,2),3 + MRANDOM(-1,1.5)) * ANGLES(RAD(MRANDOM(20,35)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)))
  1122. SHOOT.CFrame = Torso.CFrame*CFRAME
  1123. coroutine.resume(coroutine.create(function()
  1124. repeat
  1125. SHOOT.CFrame = Clerp(SHOOT.CFrame,Torso.CFrame*CFRAME,0.1)
  1126. Swait()
  1127. until HOLD == true
  1128. local LOC = SHOOT.CFrame*CF(MRANDOM(-7.5,7.5),MRANDOM(5,7.5),MRANDOM(-7.5,7.5)).p
  1129. for i = 1, 15 do
  1130. Swait()
  1131. SHOOT.Transparency = SHOOT.Transparency - 1/15
  1132. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
  1133. end
  1134. SHOOT.Transparency = 0
  1135. for i = 1, 2 do
  1136. Swait()
  1137. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
  1138. end
  1139. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
  1140. CamShake(8,9)
  1141. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  1142. SHOOT.CanCollide = false
  1143. SHOOT.Anchored = false
  1144. SHOOT.Parent = workspace
  1145. local bv = Instance.new("BodyVelocity",SHOOT)
  1146. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1147. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  1148. Debris:AddItem(bv,0.1)
  1149. wait(2.5)
  1150. STOCKING = false
  1151. wait(3.5)
  1152. for i = 1, 45 do
  1153. Swait()
  1154. SHOOT.Transparency = SHOOT.Transparency + 1/45
  1155. end
  1156. end))
  1157. CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
  1158. coroutine.resume(coroutine.create(function()
  1159. for i = 1, 15 do
  1160. Swait()
  1161. SHOOT.Transparency = SHOOT.Transparency - 0.125/150
  1162. end
  1163. ATTACK = false
  1164. Rooted = false
  1165. end))
  1166. end
  1167. end))
  1168. end
  1169.  
  1170. --[[function Execute()
  1171. coroutine.resume(coroutine.create(function()
  1172. local SHOOT = OhnoItsAShotgun()
  1173. local CFRAME = CF(-1.5,0,1.5) * ANGLES(RAD(0), RAD(45), RAD(0))
  1174. SHOOT.CFrame = Torso.CFrame*CFRAME
  1175.  
  1176. local LOC = SHOOT.CFrame*CF(0,3,0).p
  1177. for i = 1, 15 do
  1178. Swait()
  1179. SHOOT.Transparency = SHOOT.Transparency - 1/15
  1180. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
  1181. end
  1182. SHOOT.Transparency = 0
  1183. for i = 1, 2 do
  1184. Swait()
  1185. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
  1186. end
  1187. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
  1188. CamShake(8,9)
  1189. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  1190. SHOOT.CanCollide = false
  1191. SHOOT.Anchored = false
  1192. SHOOT.Parent = workspace
  1193. local bv = Instance.new("BodyVelocity",SHOOT)
  1194. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1195. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  1196. Debris:AddItem(bv,0.1)
  1197. wait(5)
  1198. for i = 1, 45 do
  1199. Swait()
  1200. SHOOT.Transparency = SHOOT.Transparency + 1/45
  1201. end
  1202. end))
  1203. CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
  1204. for i = 1, 15 do
  1205. Swait()
  1206. SHOOT.Transparency = SHOOT.Transparency - 1/150
  1207. end
  1208. end
  1209. end))
  1210. wait(0.9)
  1211. ATTACK = false
  1212. Rooted = false
  1213. end]]
  1214.  
  1215. function Regain()
  1216. if Humanoid.Health < Humanoid.MaxHealth then
  1217. ATTACK = true
  1218. Rooted = true
  1219. for i=0, 0.25, 0.1 / Animation_Speed do
  1220. Swait()
  1221. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1222. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1225. 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)
  1226. 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)
  1227. end
  1228. local LOOP = 0
  1229. repeat
  1230. LOOP = LOOP + 1
  1231. Swait()
  1232. Humanoid.Health = Humanoid.Health + 6
  1233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.4) * ANGLES(RAD(55), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1236. 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)
  1237. 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)
  1238. 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)
  1239. until KEYHOLD == false or Humanoid.Health == Humanoid.MaxHealth
  1240. for i=0, 0.15, 0.1 / Animation_Speed do
  1241. Swait()
  1242. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1246. 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)
  1247. 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)
  1248. end
  1249. ATTACK = false
  1250. Rooted = false
  1251. end
  1252. end
  1253. function Taunt()
  1254. ATTACK = true
  1255. Rooted = true
  1256. local L = CreateSound(1278007556,Head,8,1,false)
  1257. L.EmitterSize = 25
  1258. for i = 1, 30 do
  1259. Swait()
  1260. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1261. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1262. 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)
  1263. 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)
  1264. 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)
  1265. 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)
  1266. end
  1267. for i = 1, 60 do
  1268. Swait()
  1269. 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)
  1270. 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)
  1271. 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)
  1272. 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)
  1273. 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)
  1274. 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)
  1275. end
  1276. ATTACK = false
  1277. Rooted = false
  1278. end
  1279. function DoubleJump()
  1280. ATTACK = true
  1281. Rooted = false
  1282. Torso.Velocity = Vector3.new(Torso.Velocity.X,125,Torso.Velocity.Z)
  1283. CreateSound(159882477, Head, 4, 1, false)
  1284. CreateSound(1112042117, Torso, 2, 1, false)
  1285. local E = 360/12
  1286. for i=1, 12 do
  1287. Swait()
  1288. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2.5 / Animation_Speed)
  1289. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1290. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1291. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1292. 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)
  1293. 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)
  1294. end
  1295. ATTACK = false
  1296. Rooted = false
  1297. end
  1298.  
  1299. --//=================================\\
  1300. --|| ASSIGN THINGS TO KEYS
  1301. --\\=================================//
  1302.  
  1303. function MouseDown(Mouse)
  1304. HOLD = true
  1305. if ATTACK == false then
  1306. end
  1307. end
  1308.  
  1309. function MouseUp(Mouse)
  1310. HOLD = false
  1311. end
  1312.  
  1313. local READYTODOUBLE = false
  1314. local DOUBLED = false
  1315.  
  1316. function KeyDown(Key)
  1317. KEYHOLD = true
  1318. if Key == "c" and ATTACK == false and Humanoid.Health > 50 then
  1319. Humanoid.Health = Humanoid.Health - 25
  1320. Conjour()
  1321. end
  1322.  
  1323. if Key == "g" and ATTACK == false and MADNESS == false and Humanoid.Health > 675 then
  1324. GunMadness()
  1325. end
  1326.  
  1327. if Key == "v" and ATTACK == false and Humanoid.Health > 225 then
  1328. Aerial_AirBlast()
  1329. end
  1330.  
  1331. if Key == "b" and ATTACK == false then
  1332. Suicide_Blank()
  1333. end
  1334.  
  1335. if Key == "f" and ATTACK == false and STOCKING == false and ANIM == "Idle" then
  1336. GunStock()
  1337. end
  1338.  
  1339. if Key == "r" and ATTACK == false and Humanoid.Health < 2000 then
  1340. Regain()
  1341. end
  1342.  
  1343. if Key == "t" and ATTACK == false then
  1344. Taunt()
  1345. end
  1346.  
  1347. if string.byte(Key) == 32 and READYTODOUBLE == true and ATTACK == false and Humanoid.Jump == true and DOUBLED == false then
  1348. READYTODOUBLE = false
  1349. DOUBLED = true
  1350. DoubleJump()
  1351. end
  1352. end
  1353.  
  1354. function KeyUp(Key)
  1355. KEYHOLD = false
  1356. end
  1357.  
  1358. Mouse.Button1Down:connect(function(NEWKEY)
  1359. MouseDown(NEWKEY)
  1360. end)
  1361. Mouse.Button1Up:connect(function(NEWKEY)
  1362. MouseUp(NEWKEY)
  1363. end)
  1364. Mouse.KeyDown:connect(function(NEWKEY)
  1365. KeyDown(NEWKEY)
  1366. end)
  1367. Mouse.KeyUp:connect(function(NEWKEY)
  1368. KeyUp(NEWKEY)
  1369. end)
  1370.  
  1371. --//=================================\\
  1372. --\\=================================//
  1373.  
  1374. function unanchor()
  1375. for _, c in pairs(Character:GetChildren()) do
  1376. if c:IsA("BasePart") and c ~= RootPart then
  1377. c.Anchored = false
  1378. end
  1379. end
  1380. if UNANCHOR == true then
  1381. RootPart.Anchored = false
  1382. else
  1383. RootPart.Anchored = true
  1384. end
  1385. end
  1386.  
  1387. --//=================================\\
  1388. --|| WRAP THE WHOLE SCRIPT UP
  1389. --\\=================================//
  1390.  
  1391. Humanoid.Changed:connect(function(Jump)
  1392. if Jump == "Jump" and (Disable_Jump == true) then
  1393. Humanoid.Jump = false
  1394. elseif Jump == "Jump" and (Disable_Jump == false) and DOUBLED == false then
  1395. wait(0.1)
  1396. READYTODOUBLE = true
  1397. end
  1398. end)
  1399.  
  1400. while true do
  1401. Swait()
  1402. script.Parent = WEAPONGUI
  1403. ANIMATE.Parent = nil
  1404. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1405. v:Stop();
  1406. end
  1407. SINE = SINE + CHANGE
  1408. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1409. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1410. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1411. local WALKSPEEDVALUE = 8 / (25 / 16)
  1412. local WALKSPEEDVALUE2 = 8 / (39 / 16)
  1413. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1414. if Humanoid.WalkSpeed < 25 then
  1415. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (25 / 16) / Animation_Speed)
  1416. 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 / 25), 0.2 * (25 / 16) / Animation_Speed)
  1417. 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)
  1418. 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)
  1419. elseif Humanoid.WalkSpeed > 25 then
  1420. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE2/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (39 / 16) / Animation_Speed)
  1421. 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 / 39), 0.2 * (39 / 16) / Animation_Speed)
  1422. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE2) - 0.15 * COS(SINE / WALKSPEEDVALUE2*2), 0.25 * SIN(SINE / WALKSPEEDVALUE2)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE2))), 0.6 / Animation_Speed)
  1423. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE2) - 0.15 * COS(SINE / WALKSPEEDVALUE2*2), -0.25 * SIN(SINE / WALKSPEEDVALUE2)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE2))), 0.6 / Animation_Speed)
  1424. end
  1425. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1426. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1427. 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)
  1428. 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)
  1429. 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)
  1430. end
  1431. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1432. ANIM = "Jump"
  1433. if ATTACK == false then
  1434. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1435. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1436. 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)
  1437. 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)
  1438. 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)
  1439. 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)
  1440. end
  1441. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1442. ANIM = "Fall"
  1443. if ATTACK == false then
  1444. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1446. 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)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. end
  1451. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1452. ANIM = "Idle"
  1453. DOUBLED = false
  1454. READYTODOUBLE = false
  1455. if ATTACK == false then
  1456. 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)
  1457. 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)
  1458. 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)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. end
  1463. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1464. ANIM = "Walk"
  1465. DOUBLED = false
  1466. READYTODOUBLE = false
  1467. if ATTACK == false then
  1468. if Humanoid.WalkSpeed < 25 then
  1469. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1470. 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)
  1471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.3) * ANGLES(RAD(15), RAD(-5), RAD(-55)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1473. 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)
  1474. 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)
  1475. elseif Humanoid.WalkSpeed > 25 then
  1476. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE2)))), 1 / Animation_Speed)
  1477. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE2 / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE2)))), 1 / Animation_Speed)
  1478. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1479. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1480. 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)
  1481. 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)
  1482. end
  1483. end
  1484. end
  1485. unanchor()
  1486. if Rooted == false then
  1487. Disable_Jump = false
  1488. Humanoid.WalkSpeed = Speed - -Humanoid.Health/75
  1489. elseif Rooted == true then
  1490. Disable_Jump = true
  1491. Humanoid.WalkSpeed = 0
  1492. end
  1493. if Humanoid.Health < Humanoid.MaxHealth and ATTACK == false then
  1494. Humanoid.Health = Humanoid.Health + 0.1
  1495. end
  1496. BMUSIC.SoundId = "rbxassetid://"..SONGID
  1497. BMUSIC.Looped = true
  1498. BMUSIC.Pitch = PITCH
  1499. BMUSIC.Volume = VOLUME
  1500. BMUSIC.Playing = true
  1501. if BMUSIC.Parent ~= RootPart then
  1502. BMUSIC = IT("Sound",RootPart)
  1503. end
  1504. Humanoid.Name = "NONHUM"
  1505. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1506. HEALTHTEXT.Text = "Stamina/Health "..math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  1507. end
  1508.  
  1509. --//=================================\\
  1510. --\\=================================//
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516. --//====================================================\\--
  1517. --|| END OF SCRIPT
  1518. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement