Advertisement
Goo345

oof

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