Advertisement
Goo345

ooooof

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