Advertisement
Axelpuff

FE OOFFFF

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