Advertisement
bmrx13

agony man

Jan 14th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.70 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  52. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then
  98. return typeof(s[k])=="function"
  99. and function(_,...)return s[k](s,...)end or s[k]
  100. end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return rawget(self,s) or _rg:GetService(s)
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. RunService = FakeService({
  123. _btrs = {},
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132. }
  133. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  134. g.service = g.GetService
  135. FakeService(g,game)
  136. --Changing owner to fake player object to support owner:GetMouse()
  137. game,owner = g,g.Players.LocalPlayer
  138. end
  139.  
  140.  
  141. --Agent Agony--
  142. ----------------------------------------------------------------
  143. --By CKbackup (Sugarie Saffron) --
  144. --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
  145. --Discord: Sugarie Saffron#4705 --
  146. ----------------------------------------------------------------
  147.  
  148. print([[
  149. --Agent Agony--
  150. By CKbackup (Sugarie Saffron)
  151. YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw
  152. Discord: Sugarie Saffron#4705
  153. --------------------------------
  154. As I've been demoted from my SB
  155. Mod rank in VSB, I don't see the
  156. need to hold this back any longer.
  157.  
  158. Also, if the anims look weird or
  159. the weapon looks out of place,
  160. it's because it's actually modeled
  161. off a scaled rig with a package.
  162. It looks better with the Boy
  163. package.
  164. --------------------------------
  165. (Keys)
  166. M - Mute/Play Music
  167.  
  168. -Common Keys-
  169. F - Kick
  170. V - Stomp
  171. T - Equip/Unequip Pistol
  172. Y - Equip/Unequip Shotgun
  173.  
  174. -CQC (no weapon)-
  175. Click - Kick
  176. Z - Smash (AoE attack)
  177. X - Grab (to throw a player)
  178. C - Head Rip and Throw
  179.  
  180. -Pistol-
  181. Click - Shoot
  182.  
  183. -Shotgun-
  184. Click - Shoot
  185. Z - Load a Slug
  186. (this makes the next shotgun
  187. shot single, powerful, and
  188. accurate)
  189. ]])
  190.  
  191. wait(1/60)
  192. Effects = { }
  193. local Player = game:service'Players'.localPlayer
  194. local chara = Player.Character
  195. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  196. local Mouse = Player:GetMouse()
  197. local LeftArm = chara["Left Arm"]
  198. local RightArm = chara["Right Arm"]
  199. local LeftLeg = chara["Left Leg"]
  200. local RightLeg = chara["Right Leg"]
  201. local Head = chara.Head
  202. local Torso = chara.Torso
  203. local Camera = workspace.CurrentCamera
  204. local RootPart = chara.HumanoidRootPart
  205. local RootJoint = RootPart.RootJoint
  206. local attack = false
  207. local Anim = 'Idle'
  208. local attacktype = 1
  209. local delays = false
  210. local play = true
  211. local targetted = nil
  212. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  213. local velocity = RootPart.Velocity.y
  214. local sine = 0
  215. local change = 1
  216. local doe = 0
  217. local Create = LoadLibrary("RbxUtility").Create
  218. local debby = game:GetService("Debris")
  219. local CurrentWep = "CQC"
  220. Humanoid.WalkSpeed = 8
  221.  
  222. Humanoid.Animator.Parent = nil
  223. chara.Animate.Parent = nil
  224.  
  225. local newMotor = function(part0, part1, c0, c1)
  226. local w = Create('Motor'){
  227. Parent = part0,
  228. Part0 = part0,
  229. Part1 = part1,
  230. C0 = c0,
  231. C1 = c1,
  232. }
  233. return w
  234. end
  235.  
  236. function clerp(a, b, t)
  237. return a:lerp(b, t)
  238. end
  239.  
  240. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  241. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  242.  
  243. LeftArm.Size = LeftArm.Size * 3
  244. RightArm.Size = RightArm.Size * 3
  245. LeftLeg.Size = LeftLeg.Size * 3
  246. RightLeg.Size = RightLeg.Size * 3
  247. Torso.Size = Torso.Size * 3
  248. Head.Size = Head.Size * 3
  249. RootPart.Size = RootPart.Size * 3
  250.  
  251. local RW = newMotor(Torso, RightArm, CFrame.new(4.5, 0, 0), CFrame.new(0, 0, 0))
  252. local LW = newMotor(Torso, LeftArm, CFrame.new(-4.5, 0, 0), CFrame.new(0, 0, 0))
  253. local Neck = newMotor(Torso, Head, CFrame.new(0,4.5,0), CFrame.new())
  254. local RH = newMotor(Torso, RightLeg, CFrame.new(1.5, -3, 0), CFrame.new(0, 0, 0))
  255. local LH = newMotor(Torso, LeftLeg, CFrame.new(-1.5, -3, 0), CFrame.new(0, 0, 0))
  256. local RootJoint = newMotor(RootPart, Torso, CFrame.new(0,-2,0), CFrame.new(0,-2,0))
  257.  
  258. local rarmc1 = RW.C1
  259. local larmc1 = LW.C1
  260. local rlegc1 = RH.C1
  261. local llegc1 = LH.C1
  262.  
  263. local resetc1 = false
  264.  
  265. function PlayAnimationFromTable(table, speed, bool)
  266. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  267. Neck.C0 = clerp(Neck.C0, table[2], speed)
  268. RW.C0 = clerp(RW.C0, table[3], speed)
  269. LW.C0 = clerp(LW.C0, table[4], speed)
  270. RH.C0 = clerp(RH.C0, table[5], speed)
  271. LH.C0 = clerp(LH.C0, table[6], speed)
  272. if bool == true then
  273. if resetc1 == false then
  274. resetc1 = true
  275. RootJoint.C1 = RootJoint.C1
  276. Neck.C1 = Neck.C1
  277. RW.C1 = rarmc1
  278. LW.C1 = larmc1
  279. RH.C1 = rlegc1
  280. LH.C1 = llegc1
  281. end
  282. end
  283. end
  284.  
  285. ArtificialHB = Instance.new("BindableEvent", script)
  286. ArtificialHB.Name = "Heartbeat"
  287. script:WaitForChild("Heartbeat")
  288. frame = 0.03333333333333
  289. tf = 0
  290. allowframeloss = false
  291. tossremainder = false
  292. lastframe = tick()
  293. script.Heartbeat:Fire()
  294. game:GetService("RunService").Heartbeat:connect(function(s, p)
  295. tf = tf + s
  296. if tf >= frame then
  297. if allowframeloss then
  298. script.Heartbeat:Fire()
  299. lastframe = tick()
  300. else
  301. for i = 1, math.floor(tf / frame) do
  302. script.Heartbeat:Fire()
  303. end
  304. lastframe = tick()
  305. end
  306. if tossremainder then
  307. tf = 0
  308. else
  309. tf = tf - frame * math.floor(tf / frame)
  310. end
  311. end
  312. end)
  313. function swait(num)
  314. if num == 0 or num == nil then
  315. ArtificialHB.Event:wait()
  316. else
  317. for i = 0, num do
  318. ArtificialHB.Event:wait()
  319. end
  320. end
  321. end
  322.  
  323. function RemoveOutlines(part)
  324. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  325. end
  326.  
  327. function so(id,par,pit,vol)
  328. local sou = Instance.new("Sound", par or workspace)
  329. if par == chara then
  330. sou.Parent = chara.Torso
  331. end
  332. sou.Volume = vol
  333. sou.Pitch = pit or 1
  334. sou.SoundId = "rbxassetid://" .. id
  335. sou.PlayOnRemove = true
  336. sou:Destroy()
  337. end
  338.  
  339. --This is just for builds--
  340. New = function(Object, Parent, Name, Data)
  341. local Object = Instance.new(Object)
  342. for Index, Value in pairs(Data or {}) do
  343. Object[Index] = Value
  344. end
  345. Object.Parent = Parent
  346. Object.Name = Name
  347. return Object
  348. end
  349. FakeHeadM = New("Model",chara,"FakeHeadM",{})
  350. FakeHead = New("Part",FakeHeadM,"FakeHead",{Size = Vector3.new(6, 3, 3),CFrame = CFrame.new(26.5, 1.5, -49.8000183, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  351. Mesh = New("SpecialMesh",FakeHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  352. Fays = New("Decal",FakeHead,"Decal",{Texture = "rbxassetid://315622231",})
  353. Weld = New("ManualWeld",FakeHead,"Weld",{Part0 = FakeHead,Part1 = Head,})
  354. Shedo = New("Part",FakeHeadM,"Shedo",{Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(26.5000114, 2.19999933, -50.2999916, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  355. Mesh = New("SpecialMesh",Shedo,"Mesh",{Scale = Vector3.new(3, 3, 3),VertexColor = Vector3.new(1, 0, 0),MeshId = "rbxassetid://18755442",TextureId = "rbxassetid://65032890",MeshType = Enum.MeshType.FileMesh,})
  356. Weld = New("ManualWeld",Shedo,"Weld",{Part0 = Shedo,Part1 = FakeHead,C1 = CFrame.new(1.14440918e-05, 0.699999332, -0.499973297, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  357. Head.Transparency = 1
  358. Humanoid.CameraOffset = Vector3.new(0,3,0)
  359.  
  360. Shotii = New("Model",chara,"Shotii",{})
  361. SHandaru = New("Part",Shotii,"SHandaru",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.4184885, -48.6482887, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  362. Mesh = New("SpecialMesh",SHandaru,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,})
  363. Weld = New("ManualWeld",SHandaru,"Weld",{Part0 = SHandaru,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(0.292991638, -7.6862278, -0.349998474, 0.984807849, -0.030152997, -0.171009988, 0.173647955, 0.17100893, 0.969846547, 4.55671426e-07, -0.984807968, 0.173646942),})
  364. SShot = New("Part",Shotii,"SShot",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.3150301, -54.4179688, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  365. Weld = New("ManualWeld",SShot,"Weld",{Part0 = SShot,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(5.69999313, 0.900001526, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),})
  366. SSExit = New("Part",Shotii,"SSExit",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(83.0000076, 9.67517471, -46.1282616, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  367. Weld = New("ManualWeld",SSExit,"Weld",{Part0 = SSExit,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(-2.69996262, 0.799999237, 0.299995422, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),})
  368.  
  369. Pistoru = New("Model",chara,"Pistoru",{})
  370. PHandaru = New("Part",Pistoru,"PHandaru",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(90.3498764, 9.52873039, -33.8800735, -0.984808445, -0.171009943, 0.0301536396, -0.173648074, 0.969846964, -0.171010002, -2.58755817e-09, -0.173648193, -0.984807789),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  371. Mesh = New("SpecialMesh",PHandaru,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://437242703",TextureId = "rbxassetid://437242708",MeshType = Enum.MeshType.FileMesh,})
  372. Weld = New("ManualWeld",PHandaru,"Weld",{Part0 = PHandaru,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, -0.984808445, -0.173648074, -2.58755817e-09, -0.171009943, 0.969846964, -0.173648193, 0.0301536396, -0.171010002, -0.984807789),C1 = CFrame.new(-0.450126648, -4.80198288, -0.307024956, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985),})
  373. PBExit = New("Part",Pistoru,"PBExit",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(90.1265717, 10.7951508, -33.49757, -0.984809041, -0.171010062, 0.0301536396, -0.173648193, 0.96984756, -0.171010002, 0, -0.173648298, -0.984807789),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  374. Weld = New("ManualWeld",PBExit,"Weld",{Part0 = PBExit,Part1 = PHandaru,C0 = CFrame.new(0, 0, 0, -0.984807849, -0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, -1),C1 = CFrame.new(0, 1.19999886, -0.599994659, -0.984808326, -0.173648059, 0, -0.173648059, 0.984808326, 0, 0, 0, -1),})
  375. PShot = New("Part",Pistoru,"PShot",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(90.2109985, 10.3163252, -36.2550163, -0.984808803, -0.171010002, 0.0301536396, -0.173648134, 0.969847322, -0.171010002, -2.58755906e-09, -0.173648253, -0.984807789),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  376. Weld = New("ManualWeld",PShot,"Weld",{Part0 = PShot,Part1 = PHandaru,C0 = CFrame.new(0, 0, 0, -0.984807968, -0.173648, 0, -0.173648, 0.984807968, 0, 0, 0, -1),C1 = CFrame.new(0, 1.19999886, 2.19998932, -0.984807968, -0.173648, 0, -0.173648, 0.984807968, 0, 0, 0, -1),})
  377.  
  378. HolShot = New("Part",chara,"HolShot",{Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(52.4309196, 10.2762518, -23.0499916, -0.499998987, -0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  379. Mesh = New("SpecialMesh",HolShot,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,})
  380. Weld = New("ManualWeld",HolShot,"Weld",{Part0 = HolShot,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.499998987, -0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, -1),C1 = CFrame.new(1.33091354, 1.2762394, 1.65000534, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  381.  
  382. HolPist = New("Part",chara,"HolPist",{Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(70.7500153, 5.34207106, -26.6475906, -1, 0, 0, 0, 0.642789185, -0.766043186, 0, -0.766043186, -0.642789185),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  383. Mesh = New("SpecialMesh",HolPist,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://437242703",TextureId = "rbxassetid://437242708",MeshType = Enum.MeshType.FileMesh,})
  384. Weld = New("ManualWeld",HolPist,"Weld",{Part0 = HolPist,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.642789185, -0.766043186, 0, -0.766043186, -0.642789185),C1 = CFrame.new(2.45001984, -3.72772598, 0.233430862, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),})
  385.  
  386. Instance.new("BoolValue",chara).Name = "HolyMode"
  387. local hedcol = FakeHead.BrickColor
  388. local bcols = Instance.new("BodyColors",chara)
  389. bcols.Name = "NeoCols"
  390. bcols.HeadColor = hedcol
  391. bcols.LeftArmColor = hedcol
  392. bcols.RightArmColor = hedcol
  393. bcols.TorsoColor = hedcol
  394. bcols.LeftLegColor = hedcol
  395. bcols.RightLegColor = hedcol
  396.  
  397. for i, v in pairs(chara:children()) do
  398. if v:IsA("Shirt") or v:IsA("Pants") then
  399. v:Destroy()
  400. end
  401. end
  402. local sh = Instance.new("Shirt",chara)
  403. local pn = Instance.new("Pants",chara)
  404. sh.ShirtTemplate = "rbxassetid://676428254"
  405. pn.PantsTemplate = "rbxassetid://676428351"
  406. if chara:FindFirstChild("FaysG") then chara:FindFirstChild("FaysG"):Destroy() end
  407. ---------------------------
  408.  
  409. function rayCast(Position, Direction, Range, Ignore)
  410. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  411. end
  412.  
  413. function FindNearestTorso(Position, Distance, SinglePlayer)
  414. if SinglePlayer then
  415. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  416. end
  417. local List = {}
  418. for i, v in pairs(workspace:GetDescendants()) do
  419. if v:IsA("Model") then
  420. if v:findFirstChild("Head") then
  421. if v ~= chara then
  422. if (v.Head.Position - Position).magnitude <= Distance then
  423. table.insert(List, v)
  424. end
  425. end
  426. end
  427. end
  428. end
  429. return List
  430. end
  431.  
  432. EffectModel = Create("Model"){
  433. Parent = chara,
  434. Name = "Effects",
  435. }
  436.  
  437. --Effect Functions--
  438. Effects = {
  439.  
  440. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  441. local p = Instance.new("Part",EffectModel)
  442. p.BrickColor = BrickColor.new(colour)
  443. p.Size = partsize
  444. p.Anchored = true
  445. p.CanCollide = false
  446. p.Material = matr
  447. p.CFrame = cf
  448. if inverse == true then
  449. p.Transparency = 1
  450. else
  451. p.Transparency = 0
  452. end
  453. local m = Instance.new("BlockMesh",p)
  454. m.Scale = meshstart
  455. coroutine.wrap(function()
  456. for i=0,1,factor do
  457. swait()
  458. if inverse == true then
  459. p.Transparency = 1-i
  460. else
  461. p.Transparency = i
  462. end
  463. m.Scale = m.Scale + meshadd
  464. if spin == true then
  465. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  466. end
  467. end
  468. p:Destroy()
  469. end)()
  470. return p
  471. end,
  472.  
  473. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  474. local p = Instance.new("Part",EffectModel)
  475. p.BrickColor = BrickColor.new(colour)
  476. p.Size = partsize
  477. p.Anchored = true
  478. p.CanCollide = false
  479. p.Material = matr
  480. p.CFrame = cf
  481. if inverse == true then
  482. p.Transparency = 1
  483. else
  484. p.Transparency = 0
  485. end
  486. local m = Instance.new("SpecialMesh",p)
  487. m.MeshType = "Sphere"
  488. m.Scale = meshstart
  489. coroutine.wrap(function()
  490. for i=0,1,factor do
  491. swait()
  492. if inverse == true then
  493. p.Transparency = 1-i
  494. else
  495. p.Transparency = i
  496. end
  497. m.Scale = m.Scale + meshadd
  498. end
  499. p:Destroy()
  500. end)()
  501. return p
  502. end,
  503.  
  504. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  505. local p = Instance.new("Part",EffectModel)
  506. p.BrickColor = BrickColor.new(colour)
  507. p.Size = partsize
  508. p.Anchored = true
  509. p.CanCollide = false
  510. p.Material = matr
  511. p.CFrame = cf
  512. if inverse == true then
  513. p.Transparency = 1
  514. else
  515. p.Transparency = 0
  516. end
  517. local m = Instance.new("CylinderMesh",p)
  518. m.Scale = meshstart
  519. coroutine.wrap(function()
  520. for i=0,1,factor do
  521. swait()
  522. if inverse == true then
  523. p.Transparency = 1-i
  524. else
  525. p.Transparency = i
  526. end
  527. m.Scale = m.Scale + meshadd
  528. end
  529. p:Destroy()
  530. end)()
  531. return p
  532. end,
  533.  
  534. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  535. local p = Instance.new("Part",EffectModel)
  536. p.BrickColor = BrickColor.new(colour)
  537. p.Size = Vector3.new()
  538. p.Anchored = true
  539. p.CanCollide = false
  540. p.CFrame = cf
  541. if inverse == true then
  542. p.Transparency = 1
  543. else
  544. p.Transparency = 0
  545. end
  546. local m = Instance.new("SpecialMesh",p)
  547. m.MeshId = "rbxassetid://20329976"
  548. m.Scale = meshstart
  549. coroutine.wrap(function()
  550. for i=0,1,factor do
  551. swait()
  552. if inverse == true then
  553. p.Transparency = 1-i
  554. else
  555. p.Transparency = i
  556. end
  557. m.Scale = m.Scale + meshadd
  558. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  559. end
  560. p:Destroy()
  561. end)()
  562. return p
  563. end,
  564.  
  565. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  566. local p = Instance.new("Part",EffectModel)
  567. p.BrickColor = BrickColor.new(colour)
  568. p.Size = Vector3.new()
  569. p.Anchored = true
  570. p.CanCollide = false
  571. p.CFrame = cf
  572. if inverse == true then
  573. p.Transparency = 1
  574. else
  575. p.Transparency = 0
  576. end
  577. local m = Instance.new("SpecialMesh",p)
  578. m.MeshId = "rbxassetid://3270017"
  579. m.Scale = meshstart
  580. coroutine.wrap(function()
  581. for i=0,1,factor do
  582. swait()
  583. if inverse == true then
  584. p.Transparency = 1-i
  585. else
  586. p.Transparency = i
  587. end
  588. m.Scale = m.Scale + meshadd
  589. end
  590. p:Destroy()
  591. end)()
  592. return p
  593. end,
  594.  
  595. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  596. local p = Instance.new("Part",EffectModel)
  597. p.BrickColor = BrickColor.new(colour)
  598. p.Size = Vector3.new()
  599. p.Anchored = true
  600. p.CanCollide = false
  601. p.CFrame = cf
  602. if inverse == true then
  603. p.Transparency = 1
  604. else
  605. p.Transparency = 0
  606. end
  607. local m = Instance.new("SpecialMesh",p)
  608. m.MeshId = meshid
  609. m.TextureId = textid
  610. m.Scale = meshstart
  611. coroutine.wrap(function()
  612. for i=0,1,factor do
  613. swait()
  614. if inverse == true then
  615. p.Transparency = 1-i
  616. else
  617. p.Transparency = i
  618. end
  619. m.Scale = m.Scale + meshadd
  620. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  621. end
  622. p:Destroy()
  623. end)()
  624. return p
  625. end,
  626.  
  627. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  628. local p = Instance.new("Part",EffectModel)
  629. p.BrickColor = BrickColor.new(colour)
  630. p.Size = partsize
  631. p.Anchored = true
  632. p.CanCollide = false
  633. p.Material = matr
  634. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  635. if inverse == true then
  636. p.Transparency = 1
  637. else
  638. p.Transparency = 0
  639. end
  640. local m = Instance.new("SpecialMesh",p)
  641. m.MeshType = "Sphere"
  642. m.Scale = meshstart
  643. coroutine.wrap(function()
  644. for i=0,1,factor do
  645. swait()
  646. if inverse == true then
  647. p.Transparency = 1-i
  648. else
  649. p.Transparency = i
  650. end
  651. m.Scale = m.Scale + meshadd
  652. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  653. end
  654. p:Destroy()
  655. end)()
  656. return p
  657. end,
  658.  
  659. }
  660.  
  661. function chatfunc(text)
  662. coroutine.wrap(function()
  663. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  664. chara:FindFirstChild("TalkingBillBoard"):destroy()
  665. end
  666. local naeeym2 = Instance.new("BillboardGui",chara)
  667. naeeym2.Size = UDim2.new(0,100,0,40)
  668. naeeym2.StudsOffset = Vector3.new(0,3,0)
  669. naeeym2.Adornee = chara.Head
  670. naeeym2.Name = "BLABLABLA"
  671. local tecks2 = Instance.new("TextLabel",naeeym2)
  672. tecks2.BackgroundTransparency = 1
  673. tecks2.BorderSizePixel = 0
  674. tecks2.Text = ""
  675. tecks2.Font = "Antique"
  676. tecks2.FontSize = "Size24"
  677. tecks2.TextStrokeTransparency = 0
  678. tecks2.TextColor3 = Color3.new(0,0,0)
  679. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  680. tecks2.Size = UDim2.new(1,0,0.5,0)coroutine.wrap(function()
  681. while tecks2 ~= nil do
  682. swait()
  683. tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  684. end
  685. end)()
  686. for i = 1,string.len(text),1 do
  687. tecks2.Text = string.sub(text,1,i)
  688. swait()
  689. end
  690. swait(30)
  691. for i = 1, 5 do
  692. swait()
  693. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  694. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  695. tecks2.TextTransparency = tecks2.TextTransparency + .2
  696. end
  697. naeeym2:Destroy()
  698. end)()
  699. end
  700.  
  701. function GetDudesTorso(c)
  702. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  703. if torsy ~= nil then
  704. return torsy
  705. end
  706. end
  707.  
  708. function BodyVel(part,faws)
  709. local bodyvel = Instance.new("BodyVelocity",part)
  710. local pep = 10000000
  711. bodyvel.P = pep
  712. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  713. bodyvel.Velocity = faws
  714. debby:AddItem(bodyvel,.2)
  715. end
  716.  
  717. function Dmg(dude,dmg,env,faws,trip,efftyp,toim)
  718. if dude and dude ~= chara then
  719. if dude:FindFirstChild("HITO") then return end
  720. local debounce = Instance.new("BoolValue",dude)
  721. debounce.Name = "HITO"
  722. debby:AddItem(debounce,toim)
  723. local hum = dude:FindFirstChildOfClass("Humanoid")
  724. local dam = dmg+math.random(-env,env)
  725. local teksu = "-"..dam
  726. if hum then
  727. local finhel = hum.Health - dam
  728. if finhel <= 0 and dude:FindFirstChild("DEATHED")==nil then
  729. Instance.new("BoolValue",dude).Name = "DEATHED"
  730. local soaa = Instance.new("Sound",dude.Head)
  731. local cho = math.random(1,5)
  732. if cho == 1 then
  733. soaa.SoundId = "rbxassetid://111896685"
  734. elseif cho == 2 then
  735. soaa.SoundId = "rbxassetid://535528169"
  736. elseif cho == 3 then
  737. soaa.SoundId = "rbxassetid://1080363252"
  738. elseif cho == 4 then
  739. soaa.SoundId = "rbxassetid://147758746"
  740. elseif cho == 5 then
  741. soaa.SoundId = "rbxassetid://626777433"
  742. soaa.Volume = .2
  743. soaa.TimePosition = 1
  744. end
  745. game:service'Debris':AddItem(soaa,6)
  746. soaa:Play()
  747. end
  748. if hum.Health > 1000 then
  749. teksu = "DEATH"
  750. dude:BreakJoints()
  751. else
  752. hum.Health = hum.Health - dam
  753. end
  754. end
  755. coroutine.wrap(function()
  756. local naeeym2 = Instance.new("BillboardGui",dude)
  757. naeeym2.Size = UDim2.new(0,100,0,40)
  758. naeeym2.StudsOffset = Vector3.new(0,3,0)
  759. naeeym2.Adornee = dude:FindFirstChild("Head")
  760. naeeym2.Name = "TalkingBillBoard"
  761. local tecks2 = Instance.new("TextLabel",naeeym2)
  762. tecks2.BackgroundTransparency = 1
  763. tecks2.BorderSizePixel = 0
  764. tecks2.Text = teksu
  765. tecks2.Font = "Antique"
  766. tecks2.TextSize = 24
  767. tecks2.TextStrokeTransparency = 0
  768. tecks2.TextColor3 = Color3.new(0,0,0)
  769. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  770. tecks2.Size = UDim2.new(1,0,0.5,0)
  771. swait(10)
  772. for i = 0,1,.05 do
  773. swait()
  774. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  775. tecks2.TextStrokeTransparency = i
  776. tecks2.TextTransparency = i
  777. end
  778. naeeym2:Destroy()
  779. end)()
  780. local torsy = GetDudesTorso(dude)
  781. if torsy then
  782. for i=1,dam/5 do
  783. local blp = Instance.new("Part",EffectModel)
  784. blp.Size = Vector3.new(.3,.3,.3)
  785. blp.BrickColor = BrickColor.new("Crimson")
  786. blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  787. blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0)
  788. blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  789. --local blm = Instance.new("SpecialMesh",blp)
  790. --blm.MeshType = "Sphere"
  791. coroutine.wrap(function()
  792. swait(10)
  793. blp.Orientation = Vector3.new(0,blp.Orientation.y,0)
  794. for i=0,1,.1 do
  795. swait()
  796. blp.Transparency = i
  797. blp.Size = blp.Size + Vector3.new(.05,-.05,.05)
  798. end
  799. blp:Destroy()
  800. end)()
  801. end
  802. if efftyp == "Blunt" then
  803. puncheff(torsy)
  804. elseif efftyp == "Sharp" then
  805. slasheff(torsy)
  806. elseif efftyp == "Shot" then
  807. so(144884872,torsy,.9,1)
  808. end
  809. if faws ~= 0 then
  810. BodyVel(torsy,faws)
  811. end
  812. if trip == true then
  813. torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0)
  814. torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  815. end
  816. end
  817. end
  818. end
  819.  
  820. function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim)
  821. for _, c in pairs(workspace:GetDescendants()) do
  822. local hum = c:FindFirstChildOfClass("Humanoid")
  823. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  824. local head = GetDudesTorso(c)
  825. if head ~= nil then
  826. local targ = head.Position - par.Position
  827. local mag = targ.magnitude
  828. if magni >= mag and c ~= chara then
  829. Dmg(c,dmg,env,faws,trip,efftyp,toim)
  830. end
  831. end
  832. end
  833. end
  834. end
  835.  
  836. function CamShake(par,magni,env,dur)
  837. coroutine.wrap(function()
  838. for i=0,dur*60 do
  839. swait()
  840. Humanoid.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,3+math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10)
  841. end
  842. Humanoid.CameraOffset = Vector3.new(0,3,0)
  843. end)()
  844. end
  845.  
  846. function puncheff(par)
  847. if par.Parent:FindFirstChild("DebounceHit")==nil then
  848. so(386946017,par,math.random(6,8)/10,1)
  849. local bla = Effects.Sphere(par.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(1,1,1),"Neon","White",false,.1)
  850. CamShake(bla,10,.5,.5)
  851. end
  852. end
  853.  
  854. function slasheff(par)
  855. if par.Parent:FindFirstChild("DebounceHit")==nil then
  856. local cho = math.random(1,3)
  857. if cho == 1 then
  858. so(444667824,par,1,1)
  859. elseif cho == 2 then
  860. so(444667844,par,1,1)
  861. elseif cho == 3 then
  862. so(444667859,par,1,1)
  863. end
  864. --function(cf,partsize,meshstart,meshadd,matr,colour,factor)
  865. Effects.Sphere(par.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)),Vector3.new(.5,.5,.5),Vector3.new(1,0,1),Vector3.new(0,5,0),"Neon","Really red",false,.1)
  866. end
  867. end
  868.  
  869. local mus = Instance.new("Sound",chara)
  870. mus.Name = "mus"
  871. mus.SoundId = "rbxassetid://142653441"--"rbxassetid://335204822"
  872. mus.Looped = true
  873. mus.Volume = .3
  874. mus:Play()
  875.  
  876. Humanoid.MaxHealth = 1000
  877. Humanoid.Health = 1000
  878.  
  879. ------------------Intro-----------------------
  880. intro = true
  881. if intro == true then
  882. coroutine.wrap(function()
  883. attack = true
  884. Humanoid.WalkSpeed = 0
  885. Humanoid.JumpPower = 0
  886. PlayAnimationFromTable({
  887. CFrame.new(0, 233.999924, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  888. CFrame.new(0, 3.6000421, 1.07246542, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  889. CFrame.new(3.6967864, -0.452571809, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  890. CFrame.new(-3.60279894, -0.418379426, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  891. CFrame.new(1.50001526, -4, -1.3000021, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  892. CFrame.new(-1.50001526, -6, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  893. }, 1, false)
  894. swait(120)
  895. for i=0,1,.1 do
  896. swait()
  897. PlayAnimationFromTable({
  898. CFrame.new(0, -1.00005245, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  899. CFrame.new(0, 3.60004878, 1.07246184, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  900. CFrame.new(3.69677114, -0.452568352, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  901. CFrame.new(-3.60280585, -0.418371797, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  902. CFrame.new(1.50001526, -3.99999714, -1.3000021, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  903. CFrame.new(-1.50001526, -6, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  904. }, .4, false)
  905. end
  906. so(133680244,Torso,1,3)
  907. CamShake(Torso,20,.8,.6)
  908. MagnitudeDmg(Torso,15,30,3,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  909. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,0),Vector3.new(),Vector3.new(2,1,2),"",10,false,.02)
  910. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,0),Vector3.new(),Vector3.new(1.5,2.5,1.5),"",-10,false,.02)
  911. local hit,hitpos = rayCast(RootPart.Position,Vector3.new(0,-1,0),15,chara)
  912. for i = 1,12 do
  913. local size = math.random(7,10)
  914. local p = Instance.new("Part",EffectModel)
  915. p.BrickColor = hit.BrickColor
  916. p.Material = hit.Material
  917. p.Size = Vector3.new(size,size,size)
  918. p.CFrame = CFrame.new(hitpos) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  919. p.CanCollide = false
  920. p.Velocity = Vector3.new(math.random(-70,70),170,math.random(-70,70))
  921. p.RotVelocity = Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))
  922. coroutine.wrap(function()
  923. swait(20)
  924. p.CanCollide = true
  925. swait(120)
  926. for i=0,1,.05 do
  927. swait()
  928. p.Transparency = i
  929. end
  930. p:Destroy()
  931. end)()
  932. end
  933. mus.Volume = 1
  934. mus:Play()
  935. RootPart.Anchored = true
  936. for i=0,6,.1 do
  937. swait()
  938. PlayAnimationFromTable({
  939. CFrame.new(0, -2.53941131, -0.348767281, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  940. CFrame.new(0, 4.57664824, -0.666416466, 1, 0, 0, 0, 0.939692438, 0.34202075, 0, -0.34202075, 0.939692438),
  941. CFrame.new(4.5000205, 1.20001018, 2.22187964e-06, 0.866024792, -0.500001192, 8.88577006e-07, 0.500001252, 0.866024733, -1.28149986e-06, -1.49011612e-07, 1.54972076e-06, 1),
  942. CFrame.new(-4.5000205, 1.20001018, 2.22187964e-06, 0.866024792, 0.500001192, -8.88577006e-07, -0.500001252, 0.866024733, -1.28149986e-06, 1.49011612e-07, 1.54972076e-06, 1),
  943. CFrame.new(1.50001526, -3.52529287, -3.56594658, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  944. CFrame.new(-1.50001526, -5.99999619, 6.67572112e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  945. }, .4, false)
  946. end
  947. RootPart.Anchored = false
  948. for i=0,2,.1 do
  949. swait()
  950. PlayAnimationFromTable({
  951. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  952. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  953. CFrame.new(3.77304196, -0.53539288, 0.273614407, 0.939692736, 0.321393579, 0.116977744, -0.342019945, 0.883022368, 0.321393698, -8.56816769e-08, -0.342020065, 0.939692795),
  954. CFrame.new(-4.64490843, 0.330175281, -1.53582289e-06, 0.984807849, 0.173648134, -3.13053391e-07, -0.173648164, 0.984807909, 2.68220901e-07, 3.50177288e-07, -1.78813934e-07, 1.00000012),
  955. CFrame.new(1.50001884, -5.99037027, -0.421832889, 0.984807849, 0, -0.173647985, -0.0301536229, 0.984807849, -0.171009898, 0.171009898, 0.173647985, 0.969846487),
  956. CFrame.new(-1.50002635, -5.99037027, -0.421831638, 0.984807849, 0, 0.173647985, 0.0301536229, 0.984807849, -0.171009898, -0.171009898, 0.173647985, 0.969846487),
  957. }, .15, false)
  958. end
  959. local FShedo = New("Part",chara,"FShedo",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(63.4999924, 14.1999693, -2.70000529, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  960. local FMesh = New("SpecialMesh",FShedo,"Mesh",{Scale = Vector3.new(3, 3, 3),VertexColor = Vector3.new(1, 0, 0),MeshId = "http://www.roblox.com/asset/?id=18755442",TextureId = "http://www.roblox.com/asset/?id=65032890",MeshType = Enum.MeshType.FileMesh,})
  961. local FWeld = New("ManualWeld",FShedo,"FWeld",{Part0 = FShedo,Part1 = RightArm,C1 = CFrame.new(-1.46309662, -4.28805161, -0.213977814, 0.478137165, 0.217331067, -0.850971282, 0.74204433, -0.618283033, 0.259029716, -0.469845891, -0.755310178, -0.456893384),})
  962. for i=0,4,.1 do
  963. swait()
  964. PlayAnimationFromTable({
  965. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  966. CFrame.new(0, 4.49995232, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  967. CFrame.new(3.7809577, 2.70507407, -0.632092118, 0.478137165, 0.74204433, -0.469845891, 0.217331067, -0.618283033, -0.755310178, -0.850971282, 0.259029716, -0.456893384),
  968. CFrame.new(-4.89282131, 0.675060272, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  969. CFrame.new(1.50001168, -6, -1.01327896e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
  970. CFrame.new(-1.50001526, -6, 2.98023224e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  971. }, .15, false)
  972. end
  973. Fays.Texture = "rbxassetid://58425273"
  974. FShedo:Destroy()
  975. Shedo.Transparency = 0
  976. Humanoid.WalkSpeed = 8
  977. Humanoid.JumpPower = 70
  978. attack = false
  979. end)()
  980. end
  981. --------------------------------------------------
  982.  
  983. function smek()
  984. attack = true
  985. Humanoid.WalkSpeed = 2
  986. Humanoid.JumpPower = 0
  987. for i=0,1,.1 do
  988. swait()
  989. PlayAnimationFromTable({
  990. CFrame.new(0, -1.73551273, -0.521830797, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  991. CFrame.new(0, 4.41427088, -0.820159078, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438),
  992. CFrame.new(4.73044586, 0.828796685, -7.02275031e-07, 0.939692616, -0.342020273, 4.69496833e-08, 0.342020273, 0.939692736, 5.36441803e-07, -2.38418579e-07, -5.06639481e-07, 1),
  993. CFrame.new(-4.85861921, 0.769028664, -6.75452611e-07, 0.939692616, 0.342020273, -4.69496833e-08, -0.342020273, 0.939692736, 5.36441803e-07, 2.38418579e-07, -5.06639481e-07, 1),
  994. CFrame.new(1.50001335, -5.50980282, 1.44903219, 1, 0, 0, 0, 0.866024911, 0.500000954, 0, -0.500000954, 0.866024852),
  995. CFrame.new(-1.50001526, -6.18578386, -0.968178153, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  996. }, .2, false)
  997. end
  998. so(536642316,RightLeg,.7,3)
  999. for i=0,1,.1 do
  1000. swait()
  1001. PlayAnimationFromTable({
  1002. CFrame.new(3.32593254e-06, -2.006042, 0.596467078, 1.0000006, -1.04904484e-06, 1.25335964e-06, -1.25487554e-06, 0.939695835, -0.342022181, 7.73278657e-07, 0.342019588, 0.939695656),
  1003. CFrame.new(-7.62939453e-06, 4.41428709, -0.820158899, 1, 0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736),
  1004. CFrame.new(4.73044682, 0.788231254, 0.4500646, 0.939692736, -0.342019916, -1.53461215e-07, 0.29619807, 0.813797891, 0.499999791, -0.171009749, -0.469846129, 0.866025567),
  1005. CFrame.new(-4.82442522, 0.817862749, 0.432947218, 0.939691901, 0.342022151, -3.89083397e-07, -0.296199679, 0.813797176, 0.500000119, 0.171011403, -0.469845951, 0.866025388),
  1006. CFrame.new(1.50002289, -5.89457655, -2.13732576, 1, 0, 0, 0, 0.766043544, -0.642788708, 0, 0.642788708, 0.766043544),
  1007. CFrame.new(-1.49999833, -5.95715237, 0.805552125, 1.0000006, -1.25487554e-06, 7.73278657e-07, -1.04904484e-06, 0.939695835, 0.342019588, 1.25335964e-06, -0.342022181, 0.939695656),
  1008. }, .4, false)
  1009. MagnitudeDmg(RightLeg,4,60,3,RootPart.CFrame.lookVector*50,true,"Blunt",.5)
  1010. end
  1011. swait(20)
  1012. Humanoid.WalkSpeed = 8
  1013. Humanoid.JumpPower = 70
  1014. attack = false
  1015. end
  1016.  
  1017. xhold = false
  1018. function thesurou()
  1019. attack = true
  1020. Humanoid.WalkSpeed = 2
  1021. local grab = nil
  1022. local torsy = nil
  1023. local hum = nil
  1024. for i, v in pairs(FindNearestTorso((RootPart.Position-Vector3.new(0,5,0)), 6)) do
  1025. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1026. hum = v:FindFirstChildOfClass("Humanoid")
  1027. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1028. grab = v
  1029. end
  1030. end
  1031. if grab ~= nil and torsy ~= nil then
  1032. so(200632136,RootPart,.8,1)
  1033. for i = 0,1.5,.1 do
  1034. swait()
  1035. PlayAnimationFromTable({
  1036. CFrame.new(0, -3.15879345, -2.53031492, 1, 0, 0, 0, 0.500002086, 0.866031468, 0, -0.866031468, 0.500002086),
  1037. CFrame.new(0, 4.57667542, -0.666417062, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1038. CFrame.new(2.90267015, 1.56676149, -2.30737209, 0.793417096, 0.357805073, 0.492407322, 0.357833058, 0.380227387, -0.852867484, -0.492387056, 0.852879107, 0.173644423),
  1039. CFrame.new(-4.50001335, 1.20001578, 1.39186909e-07, 0.866023839, 0.500002861, -8.08226048e-07, -0.500002921, 0.866023898, -2.38418579e-06, -4.76837158e-07, 2.44379044e-06, 1.00000012),
  1040. CFrame.new(1.50001526, -3.79331636, -2.24549532, 1, 0, 0, 0, 0.500002086, -0.866031468, 0, 0.866031468, 0.500002086),
  1041. CFrame.new(-1.50001526, -6.19285679, -1.2660259, 1, 0, 0, 0, 0.866025031, -0.500000834, 0, 0.500000834, 0.866025031),
  1042. }, .3, false)
  1043. end
  1044. so(240429615,torsy,1,1)
  1045. local ref = Instance.new("Part",Camera)
  1046. ref.Size = Vector3.new(0,0,0)
  1047. ref.Anchored = true
  1048. ref.CanCollide = false
  1049. ref.Transparency = .5
  1050. ref.BrickColor = BrickColor.Red()
  1051. ref.Material = "Neon"
  1052. local refm = Instance.new("SpecialMesh",ref)
  1053. refm.MeshType = "Sphere"
  1054. refm.Scale = Vector3.new(20,20,20)
  1055. repeat
  1056. swait()
  1057. ref.CFrame = Mouse.Hit
  1058. PlayAnimationFromTable({
  1059. CFrame.new(0, -2, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1060. CFrame.new(-0.150877535, 4.46522665, -0.12660107, 0.64278698, -0.133022159, 0.754407108, 0, 0.984807849, 0.173647985, -0.766044974, -0.11161866, 0.633021653),
  1061. CFrame.new(4.82286024, 2.39900613, 0.0232518315, 0.939692676, -0.296197921, 0.171010524, -0.171010047, -0.839912355, -0.515075624, 0.296198219, 0.4547683, -0.839912176),
  1062. CFrame.new(-5.15264273, 1.06961691, 7.03156638e-06, 0.866025448, 0.500000119, -3.87430191e-07, -0.500000119, 0.866025388, -1.43057798e-06, -3.57627869e-07, 1.44541264e-06, 1),
  1063. CFrame.new(1.50001907, -6.00000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1064. CFrame.new(-1.50001311, -6.00000048, 4.58955765e-06, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1065. }, .3, false)
  1066. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1067. hum.PlatformStand = true
  1068. torsy.Velocity = Vector3.new()
  1069. --end
  1070. until xhold == false
  1071. ref:Destroy()
  1072. so(200632136,RootPart,.9,1)
  1073. local pato = Instance.new("Part",torsy)
  1074. pato.CFrame = torsy.CFrame
  1075. pato.Size = Vector3.new(4.1,6.1,1.1)
  1076. pato.Transparency = 1
  1077. pato.CanCollide = false
  1078. pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1079. local werudo = Instance.new("Weld",pato)
  1080. werudo.Part0 = pato
  1081. werudo.Part1 = torsy
  1082. torsy.Velocity = (ref.Position-torsy.Position).unit*200+Vector3.new(0,30,0)
  1083. torsy.RotVelocity = Vector3.new(10,10,10)
  1084. coroutine.wrap(function()
  1085. while true do
  1086. swait()
  1087. hum.PlatformStand = true
  1088. end
  1089. end)
  1090. pato.Touched:connect(function(hit)
  1091. if hit:IsDescendantOf(chara)==false then
  1092. pato:Destroy()
  1093. Dmg(grab,150,0,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*50,true,"Blunt",.3)
  1094. so(260430079,torsy,1,5)
  1095. MagnitudeDmg(torsy,6,50,3,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  1096. end
  1097. end)
  1098. for i = 0,1,.1 do
  1099. swait()
  1100. PlayAnimationFromTable({
  1101. CFrame.new(0, -2, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  1102. CFrame.new(0.142921209, 4.43258858, -0.122617245, 0.906121016, 0.296197981, -0.302012295, -0.219846055, 0.939692795, 0.262002379, 0.361403257, -0.17100969, 0.916593432),
  1103. CFrame.new(2.78872228, 0.109098256, -2.12347674, 0.642787337, 0.719846368, 0.262003452, -0.262002051, 0.527982056, -0.807830453, -0.719846845, 0.450617731, 0.5279814),
  1104. CFrame.new(-4.79283857, 1.09281766, -1.4803014e-05, 0.866025329, 0.500000238, -1.49011612e-07, -0.500000179, 0.866025388, 6.10661004e-07, 4.47034836e-07, -4.47034836e-07, 1),
  1105. CFrame.new(1.50002027, -6, -1.07288361e-06, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  1106. CFrame.new(-1.50001907, -6, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1107. }, .3, false)
  1108. end
  1109. end
  1110. attack = false
  1111. Humanoid.WalkSpeed = 8
  1112. end
  1113.  
  1114. function slam()
  1115. attack = true
  1116. Humanoid.WalkSpeed = 2
  1117. Humanoid.JumpPower = 0
  1118. for i=0,2,.1 do
  1119. swait()
  1120. PlayAnimationFromTable({
  1121. CFrame.new(0, -1.93353117, 0.461958885, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1122. CFrame.new(0, 4.36522532, -0.370157003, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1123. CFrame.new(2.71519423, 4.60478783, -1.48087042e-06, 0.766044319, 0.642787933, 2.9919768e-08, 0.642787993, -0.766044319, -3.87430191e-07, -1.93715096e-07, 2.83122063e-07, -1),
  1124. CFrame.new(-2.70285583, 4.46389866, 6.19620914e-06, 0.766044319, -0.642787933, -2.9919768e-08, -0.642787993, -0.766044319, -3.87430191e-07, 1.93715096e-07, 2.83122063e-07, -1),
  1125. CFrame.new(1.50001526, -5.97923088, 0.956724763, 1, 0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736),
  1126. CFrame.new(-1.50001526, -3.92088175, -1.2822783, 1, 0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736),
  1127. }, .2, false)
  1128. end
  1129. so(536642316,RightLeg,.7,3)
  1130. Humanoid.WalkSpeed = 0
  1131. for i=0,1,.2 do
  1132. swait()
  1133. PlayAnimationFromTable({
  1134. CFrame.new(0, -5.00873852, -6.03775024, 1, 0, 0, 0, 0.342019022, 0.939693093, 0, -0.939693093, 0.342018992),
  1135. CFrame.new(0, 4.36520767, -0.370157599, 1, 0, 0, 0, 0.866026223, 0.499998808, 0, -0.499998808, 0.866026223),
  1136. CFrame.new(2.71519065, 1.07650685, -2.54415894, 0.766043842, 0.642788351, 6.46188241e-08, -0.11161828, 0.133021355, -0.984808087, -0.633023024, 0.754406214, 0.173647106),
  1137. CFrame.new(-2.70285606, 1.10098004, -2.40540719, 0.766043842, -0.642788351, -6.46188241e-08, 0.11161828, 0.133021355, -0.984808087, 0.633023024, 0.754406214, 0.173647106),
  1138. CFrame.new(1.50001526, -5.95997667, -0.00628298474, 1, 0, 0, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012),
  1139. CFrame.new(-1.50001621, -2.56001854, -1.60915279, 1, 0, 0, 0, 0.984807789, -0.173648238, 0, 0.173648268, 0.98480773),
  1140. }, .4, false)
  1141. end
  1142. so(133680244,Torso,1,3)
  1143. CamShake(RightArm,10,.5,.5)
  1144. MagnitudeDmg(RightArm,10,40,3,RootPart.CFrame.lookVector*30,true,"Blunt",.5)
  1145. MagnitudeDmg(LeftArm,10,40,3,RootPart.CFrame.lookVector*30,true,"Blunt",.5)
  1146. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,-10),Vector3.new(),Vector3.new(1,1,1),"",10,false,.05)
  1147. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,-10),Vector3.new(),Vector3.new(.5,2,.5),"",-10,false,.05)
  1148. swait(50)
  1149. Humanoid.WalkSpeed = 8
  1150. Humanoid.JumpPower = 70
  1151. attack = false
  1152. end
  1153.  
  1154. chold = false
  1155. function headrip()
  1156. attack = true
  1157. Humanoid.WalkSpeed = 2
  1158. local grab = nil
  1159. local torsy = nil
  1160. local hum = nil
  1161. for i, v in pairs(FindNearestTorso((RootPart.Position-Vector3.new(0,5,0)), 6)) do
  1162. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1163. hum = v:FindFirstChildOfClass("Humanoid")
  1164. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1165. grab = v
  1166. end
  1167. end
  1168. if grab ~= nil and torsy ~= nil then
  1169. so(200632136,RootPart,.8,1)
  1170. for i = 0,1.5,.1 do
  1171. swait()
  1172. PlayAnimationFromTable({
  1173. CFrame.new(0, -3.15884066, -2.53038549, 1, 0, 0, 0, 0.500003159, 0.866033316, 0, -0.866033316, 0.500003159),
  1174. CFrame.new(0, 4.57682848, -0.666438639, 1, 0, 0, 0, 0.939708173, 0.342026293, 0, -0.342026293, 0.939708173),
  1175. CFrame.new(4.681849, 1.59641457, -0.711094618, 0.624222994, -0.751194239, 0.214599475, 0.684884727, 0.658341169, 0.31230849, -0.375883996, -0.0479742885, 0.925433218),
  1176. CFrame.new(-2.69011021, 1.89638007, -2.91367531, 0.754421711, -0.633005977, -0.173641309, -0.133027852, 0.111603782, -0.984817266, 0.642774224, 0.76606667, -1.10864639e-05),
  1177. CFrame.new(1.50001526, -3.79332972, -2.24550533, 1, 0, 0, 0, 0.500003159, -0.866033316, 0, 0.866033316, 0.500003159),
  1178. CFrame.new(-1.50001526, -6.19305992, -1.26607037, 1, 0, 0, 0, 0.866039395, -0.500009179, 0, 0.500009179, 0.866039395),
  1179. }, .3, false)
  1180. end
  1181. so(240429615,torsy,1,1)
  1182. for i = 0,1.5,.1 do
  1183. swait()
  1184. PlayAnimationFromTable({
  1185. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1186. CFrame.new(0, 4.48268127, -0.632217944, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1187. CFrame.new(3.1680572, 1.46073127, -2.0815649, 0.866025388, 0.500000119, 5.45067223e-07, -0.0868230462, 0.150382936, -0.984807968, -0.492404222, 0.852868676, 0.173646957),
  1188. CFrame.new(-2.51076937, 2.25588131, -2.26415157, 0.103214003, -0.44736287, -0.888376772, -0.960965991, 0.185646102, -0.205133989, 0.256693006, 0.874872625, -0.410739183),
  1189. CFrame.new(1.50001526, -6, 2.98023224e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
  1190. CFrame.new(-1.50001431, -6, 3.12924385e-06, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1191. }, .3, false)
  1192. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1193. hum.PlatformStand = true
  1194. torsy.Velocity = Vector3.new()
  1195. end
  1196. local armmod = Instance.new("Model",chara)
  1197. armmod.Name = grab.Name
  1198. Instance.new("Humanoid",armmod).Health = 0
  1199. for i, v in pairs(grab:GetChildren()) do
  1200. if v:IsA("Accoutrement") then
  1201. v.Parent = armmod
  1202. if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1203. v.Handle.AccessoryWeld.Part1 = nil
  1204. end
  1205. end
  1206. end
  1207. local armp = grab:FindFirstChild("Head")
  1208. Instance.new("BoolValue",grab).Name = "DEATHED"
  1209. grab:BreakJoints()
  1210. armp.Parent = armmod
  1211. for i, v in pairs(armmod:GetChildren()) do
  1212. if v:IsA("Accoutrement") then
  1213. if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1214. v.Handle.AccessoryWeld.Part1 = armp
  1215. v.Parent = armmod
  1216. end
  1217. end
  1218. end
  1219. so(206082327,armp,1,5)
  1220. local bledp = Instance.new("Part",grab)
  1221. bledp.Size = Vector3.new(0,0,0)
  1222. bledp.Transparency = 1
  1223. bledp.CanCollide = false
  1224. local blpemit = Instance.new("ParticleEmitter")
  1225. blpemit.Color = ColorSequence.new(Color3.new(.5,0,0))
  1226. blpemit.Texture = "rbxassetid://233069772"
  1227. blpemit.Transparency = NumberSequence.new(0,1)
  1228. blpemit.Lifetime = NumberRange.new(1,3)
  1229. blpemit.Acceleration = Vector3.new(0,-10,0)
  1230. blpemit.Enabled = true
  1231. blpemit.EmissionDirection = "Front"
  1232. blpemit.Speed = NumberRange.new(1,3)
  1233. blpemit.Size = NumberSequence.new(.5)
  1234. blpemit.Rate = 1000
  1235. blpemit.RotSpeed = NumberRange.new(50)
  1236. blpemit.Rotation = NumberRange.new(0,360)
  1237. local blpe = blpemit:Clone()
  1238. blpe.Parent = bledp
  1239. blpe.EmissionDirection = "Top"
  1240. blpe.VelocitySpread = 20
  1241. local wel = Instance.new("Weld",armp)
  1242. wel.Part0 = RightArm
  1243. wel.Part1 = armp
  1244. wel.C0 = CFrame.new(0,-3.5,0) * CFrame.Angles(math.rad(-90),0,0)
  1245. local blape = bledp:Clone()
  1246. blape.Parent = armmod
  1247. blape.ParticleEmitter.EmissionDirection = "Bottom"
  1248. local bledw = Instance.new("Weld",bledp)
  1249. bledw.Part0 = torsy
  1250. bledw.Part1 = bledp
  1251. bledw.C0 = CFrame.new(0,1,0)
  1252. local bledw2 = Instance.new("Weld",blape)
  1253. bledw2.Part0 = armp
  1254. bledw2.Part1 = blape
  1255. bledw2.C0 = CFrame.new(0,-.5,0)
  1256. for i = 0,2,.1 do
  1257. swait()
  1258. PlayAnimationFromTable({
  1259. CFrame.new(3.48687149e-06, -2.00000668, 8.1956324e-07, 0.999997258, -1.74343575e-06, -2.29477928e-06, -1.74343575e-06, 1.00000334, -4.0978162e-07, -2.29477928e-06, -4.0978162e-07, 1.00000334),
  1260. CFrame.new(-1.77990187e-05, 4.48271227, -0.632223666, 0.999997258, -8.47689194e-07, -2.76961782e-06, -1.74343575e-06, 0.939696074, 0.34202069, -2.29477928e-06, -0.342021465, 0.939695656),
  1261. CFrame.new(5.08315945, 1.73977804, -0.499025792, 0.766043842, -0.642786205, -9.90775334e-07, 0.111617334, 0.133024782, -0.984809279, 0.633021057, 0.754409432, 0.173649535),
  1262. CFrame.new(-3.94786024, 2.2021482, -1.88751972, 0.103215352, 0.54567498, -0.831614494, -0.960967898, 0.270473748, 0.0582071356, 0.256692559, 0.793146551, 0.552295864),
  1263. CFrame.new(1.50003362, -6.00004482, -2.68220901e-07, 0.939689338, -1.74343575e-06, -0.342021078, -1.76123024e-06, 1.00000334, 2.14558611e-07, 0.342018902, -4.0978162e-07, 0.939696491),
  1264. CFrame.new(-1.49998772, -6.00003576, 1.09374523e-05, 0.984805524, -1.74343575e-06, 0.173645243, -1.66984103e-06, 1.00000334, -7.16618331e-07, -0.173650891, -4.0978162e-07, 0.98481071),
  1265. }, .3, false)
  1266. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1267. hum.PlatformStand = true
  1268. torsy.Velocity = Vector3.new()
  1269. end
  1270. local ref = Instance.new("Part",Camera)
  1271. ref.Size = Vector3.new(0,0,0)
  1272. ref.Anchored = true
  1273. ref.CanCollide = false
  1274. ref.Transparency = .5
  1275. ref.BrickColor = BrickColor.Red()
  1276. ref.Material = "Neon"
  1277. local refm = Instance.new("SpecialMesh",ref)
  1278. refm.MeshType = "Sphere"
  1279. refm.Scale = Vector3.new(20,20,20)
  1280. repeat
  1281. swait()
  1282. ref.CFrame = Mouse.Hit
  1283. PlayAnimationFromTable({
  1284. CFrame.new(0, -2, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1285. CFrame.new(-0.150877535, 4.46522665, -0.12660107, 0.64278698, -0.133022159, 0.754407108, 0, 0.984807849, 0.173647985, -0.766044974, -0.11161866, 0.633021653),
  1286. CFrame.new(4.82286024, 2.39900613, 0.0232518315, 0.939692676, -0.296197921, 0.171010524, -0.171010047, -0.839912355, -0.515075624, 0.296198219, 0.4547683, -0.839912176),
  1287. CFrame.new(-5.15264273, 1.06961691, 7.03156638e-06, 0.866025448, 0.500000119, -3.87430191e-07, -0.500000119, 0.866025388, -1.43057798e-06, -3.57627869e-07, 1.44541264e-06, 1),
  1288. CFrame.new(1.50001907, -6.00000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1289. CFrame.new(-1.50001311, -6.00000048, 4.58955765e-06, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1290. }, .3, false)
  1291. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1292. hum.PlatformStand = true
  1293. torsy.Velocity = Vector3.new()
  1294. --end
  1295. until chold == false
  1296. ref:Destroy()
  1297. so(200632136,RootPart,.9,1)
  1298. wel:Destroy()
  1299. armp.Velocity = (ref.Position-armp.Position).unit*200+Vector3.new(0,30,0)
  1300. armp.RotVelocity = Vector3.new(10,10,10)
  1301. armp.Touched:connect(function(hit)
  1302. if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and armp:FindFirstChild("HITA")==nil then
  1303. Instance.new("BoolValue",armp).Name = "HITA"
  1304. MagnitudeDmg(armp,6,120,0,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  1305. so(386946017,armp,.95,5)
  1306. swait(120)
  1307. for i=0,1,.05 do
  1308. armp.Transparency = i
  1309. swait()
  1310. end
  1311. armp.Parent:Destroy()
  1312. end
  1313. end)
  1314. for i = 0,1,.1 do
  1315. swait()
  1316. PlayAnimationFromTable({
  1317. CFrame.new(0, -2, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  1318. CFrame.new(0.142921209, 4.43258858, -0.122617245, 0.906121016, 0.296197981, -0.302012295, -0.219846055, 0.939692795, 0.262002379, 0.361403257, -0.17100969, 0.916593432),
  1319. CFrame.new(2.78872228, 0.109098256, -2.12347674, 0.642787337, 0.719846368, 0.262003452, -0.262002051, 0.527982056, -0.807830453, -0.719846845, 0.450617731, 0.5279814),
  1320. CFrame.new(-4.79283857, 1.09281766, -1.4803014e-05, 0.866025329, 0.500000238, -1.49011612e-07, -0.500000179, 0.866025388, 6.10661004e-07, 4.47034836e-07, -4.47034836e-07, 1),
  1321. CFrame.new(1.50002027, -6, -1.07288361e-06, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  1322. CFrame.new(-1.50001907, -6, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1323. }, .3, false)
  1324. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1325. hum.PlatformStand = true
  1326. torsy.Velocity = Vector3.new()
  1327. end
  1328. end
  1329. attack = false
  1330. Humanoid.WalkSpeed = 8
  1331. end
  1332.  
  1333. function stomp()
  1334. attack = true
  1335. Humanoid.WalkSpeed = 2
  1336. Humanoid.JumpPower = 0
  1337. for i=0,2,.1 do
  1338. swait()
  1339. PlayAnimationFromTable({
  1340. CFrame.new(0, -2, 0.499992371, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1341. CFrame.new(0, 4.42290688, -0.504058063, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1342. CFrame.new(4.92942858, 1.05621195, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1),
  1343. CFrame.new(-4.79283428, 1.09282625, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1),
  1344. CFrame.new(1.2052269, -2.30000162, -2.06380463, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1345. CFrame.new(-1.50001597, -6, -0.499997646, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1346. }, .2, false)
  1347. end
  1348. so(536642316,RightLeg,.7,3)
  1349. Humanoid.WalkSpeed = 0
  1350. for i=0,1,.2 do
  1351. swait()
  1352. PlayAnimationFromTable({
  1353. CFrame.new(0, -1.82004941, -0.371783257, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1354. CFrame.new(0, 4.42290878, -0.504067779, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438),
  1355. CFrame.new(4.92943096, 1.05621648, -6.17108253e-06, 0.86602509, -0.500000656, -3.33671437e-07, 0.500000715, 0.86602509, 2.08616257e-07, 1.78813934e-07, -3.87430191e-07, 1),
  1356. CFrame.new(-4.79283619, 1.09282386, -6.2277054e-06, 0.86602509, 0.500000656, 3.33671437e-07, -0.500000715, 0.86602509, 2.08616257e-07, -1.78813934e-07, -3.87430191e-07, 1),
  1357. CFrame.new(1.2052269, -5.38336658, -2.92564583, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1358. CFrame.new(-1.50000978, -6.05502558, -1.08027697, 0.984807849, 0, 0.173647985, 0.0593910702, 0.939692736, -0.33682391, -0.163175747, 0.342019886, 0.925416768),
  1359. }, .4, false)
  1360. end
  1361. so(133680244,Torso,1,3)
  1362. CamShake(Torso,10,.5,.5)
  1363. Effects.Wave(RootPart.CFrame*CFrame.new(1,-7,-2),Vector3.new(),Vector3.new(1,.2,1),"",10,false,.05)
  1364. for _, c in pairs(workspace:GetDescendants()) do
  1365. local hum = c:FindFirstChildOfClass("Humanoid")
  1366. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  1367. local head = GetDudesTorso(c)
  1368. if head ~= nil then
  1369. local targ = head.Position - RightLeg.Position
  1370. local mag = targ.magnitude
  1371. if 4 >= mag and c ~= chara then
  1372. so(206082327,head,1,3)
  1373. for ay,ee in pairs(c:children()) do
  1374. if ee:IsA("BasePart") then
  1375. for i=1,5 do
  1376. local bl = Instance.new("Part",c)
  1377. bl.CFrame = ee.CFrame + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10)
  1378. local rand = math.random(2,7)/10
  1379. bl.Size = Vector3.new(rand,rand,rand)
  1380. bl.BrickColor = BrickColor.new("Maroon")
  1381. bl.Material = "Granite"
  1382. ee:Destroy()
  1383. end
  1384. end
  1385. end
  1386. end
  1387. end
  1388. end
  1389. end
  1390. swait(50)
  1391. Humanoid.WalkSpeed = 8
  1392. Humanoid.JumpPower = 70
  1393. attack = false
  1394. end
  1395.  
  1396. function pshoot()
  1397. attack = true
  1398. local ref = Instance.new("Part",Camera)
  1399. ref.Size = Vector3.new(0,0,0)
  1400. ref.Anchored = true
  1401. ref.CanCollide = false
  1402. ref.Transparency = 1
  1403. so(2920959,PHandaru,.8,3)
  1404. ref.CFrame = Mouse.Hit
  1405. MagnitudeDmg(ref,3,40,2,RootPart.CFrame.lookVector*20,true,"Shot",.1)
  1406. local hitpt = Instance.new("Part",EffectModel)
  1407. hitpt.Size = Vector3.new(.3,.3,1)
  1408. hitpt.CFrame = PBExit.CFrame * CFrame.Angles(math.rad(180),0,0)
  1409. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1410. local hitm = Instance.new("SpecialMesh",hitpt)
  1411. hitm.MeshId = "rbxassetid://94295100"
  1412. hitm.TextureId = "rbxassetid://94287792"
  1413. hitm.Scale = Vector3.new(7,7,7)
  1414. coroutine.wrap(function()
  1415. swait(30)
  1416. for i = 0,1,.1 do
  1417. swait()
  1418. hitpt.Transparency = i
  1419. end
  1420. hitpt:Destroy()
  1421. end)()
  1422. CamShake(PShot,10,.3,.2)
  1423. CamShake(ref,10,.3,.2)
  1424. Effects.Block(PShot.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.2,.2,.2),"Neon","Bright yellow",true,false,.1)
  1425. Effects.Block(ref.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.2,.2,.2),"Neon","Bright yellow",true,false,.1)
  1426. Effects.Block(CFrame.new((PShot.Position + ref.Position)/2,ref.Position),Vector3.new(1,1,(PShot.Position - ref.Position).magnitude),Vector3.new(1,1,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1)
  1427. ref:Destroy()
  1428. for i=0,1,.1 do
  1429. swait()
  1430. PlayAnimationFromTable({
  1431. CFrame.new(0, -2.03907418, 0.246627718, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1432. CFrame.new(0, 4.27438593, -0.749499321, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1433. CFrame.new(4.50001526, 2.12096167, -0.0117100477, 1, 0, 0, 0, -0.500000715, -0.86602509, 0, 0.86602509, -0.500000715),
  1434. CFrame.new(-3.79128671, -0.462022513, -0.54968375, 0.939692497, -0.336824238, -0.0593918264, 0.321393669, 0.928998291, -0.183489919, 0.11697875, 0.153335959, 0.981225848),
  1435. CFrame.new(1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1436. CFrame.new(-1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1437. }, .3, false)
  1438. end
  1439. for i=0,2,.1 do
  1440. swait()
  1441. PlayAnimationFromTable({
  1442. CFrame.new(0, -2.03907442, 0.0466268957, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1443. CFrame.new(0, 4.27438593, -0.749499321, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1444. CFrame.new(4.50001526, 0.888218164, -1.46819997, 1, 0, 0, 0, 0.342019796, -0.939692855, 0, 0.939692855, 0.342019796),
  1445. CFrame.new(-3.79128027, -0.462018341, -0.549682617, 0.939692497, -0.336824238, -0.0593918264, 0.321393669, 0.928998291, -0.183489919, 0.11697875, 0.153335959, 0.981225848),
  1446. CFrame.new(1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1447. CFrame.new(-1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1448. }, .15, false)
  1449. end
  1450. attack = false
  1451. end
  1452.  
  1453. function sshoot()
  1454. attack = true
  1455. so(138083993,SHandaru,.8,3)
  1456. CamShake(SHandaru,10,.5,.3)
  1457. Effects.Block(SShot.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.25,.25,.25),"Neon","Bright yellow",true,false,.1)
  1458. for a=1,6 do
  1459. local ref = Instance.new("Part",Camera)
  1460. ref.Size = Vector3.new(0,0,0)
  1461. ref.Anchored = true
  1462. ref.CanCollide = false
  1463. ref.Transparency = 1
  1464. ref.CFrame = Mouse.Hit*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1465. MagnitudeDmg(ref,7,50,2,RootPart.CFrame.lookVector*20,true,"Shot",0)
  1466. CamShake(ref,10,.4,.3)
  1467. Effects.Block(ref.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.2,.2,.2),"Neon","Bright yellow",true,false,.1)
  1468. Effects.Block(CFrame.new((SShot.Position + ref.Position)/2,ref.Position),Vector3.new(1,1,(SShot.Position - ref.Position).magnitude),Vector3.new(1,1,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1)
  1469. ref:Destroy()
  1470. end
  1471. for i=0,2,.1 do
  1472. swait()
  1473. PlayAnimationFromTable({
  1474. CFrame.new(1.44002445e-06, -1.99998927, 1.07288088e-05, 0.500000179, -7.20012224e-07, -0.866025269, -5.03950741e-06, 0.999994636, -2.05067545e-06, 0.866026759, -5.36440439e-06, 0.499997884),
  1475. CFrame.new(-0.547573745, 4.48264122, -0.316118479, 0.500000179, -0.296203166, 0.813797355, -7.20012224e-07, 0.939689577, 0.342012942, -0.866025269, -0.17101118, 0.469843715),
  1476. CFrame.new(1.79884899, 0.344976842, -2.36338496, 0.362167031, 0.825433791, -0.433008999, 0.086823605, -0.492405862, -0.866018176, -0.928060055, 0.276049763, -0.249996945),
  1477. CFrame.new(-4.43855, 2.71461391, -2.15137076, 0.558953762, 0.0775076449, 0.825570107, 0.722433925, -0.534201145, -0.438984573, 0.406993419, 0.841796517, -0.354588091),
  1478. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1479. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1480. }, .3, false)
  1481. end
  1482. so(2697295,SHandaru,.4,3)
  1483. for i=0,1,.1 do
  1484. swait()
  1485. PlayAnimationFromTable({
  1486. CFrame.new(-1.44382084e-05, -2, -3.52843199e-05, 0.500002384, 7.21910419e-06, -0.866024017, -1.88881022e-05, 1, -2.56920703e-06, 0.866024017, 1.76421599e-05, 0.500002384),
  1487. CFrame.new(-0.547627807, 4.48263931, -0.316102535, 0.500002384, -0.296216011, 0.813789785, 7.21910419e-06, 0.939686358, 0.34203741, -0.866024017, -0.171013653, 0.46984759),
  1488. CFrame.new(1.81868255, -0.103687182, -2.3519392, 0.377200723, 0.740163803, -0.556666017, 0.111620866, -0.633017302, -0.766048193, -0.919380486, 0.226818368, -0.321392298),
  1489. CFrame.new(-3.0397644, 2.26208973, -1.6833154, 0.658552945, -0.00924476981, 0.752477705, 0.592071891, -0.610833943, -0.525673687, 0.46449858, 0.791704834, -0.396792918),
  1490. CFrame.new(1.76254702, -5.99993086, -0.252668977, 0.500002384, -1.88881022e-05, 0.866024017, 7.21910419e-06, 1, 1.76421599e-05, -0.866024017, -2.56920703e-06, 0.500002384),
  1491. CFrame.new(-1.16592002, -5.99993467, 0.0196563601, 0.500002384, -1.88881022e-05, 0.866024017, 7.21910419e-06, 1, 1.76421599e-05, -0.866024017, -2.56920703e-06, 0.500002384),
  1492. }, .2, false)
  1493. end
  1494. local hitpt = Instance.new("Part",EffectModel)
  1495. hitpt.Size = Vector3.new(.7,.6,2.1)
  1496. hitpt.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1497. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1498. hitpt.BrickColor = BrickColor.Red()
  1499. local hitm = Instance.new("SpecialMesh",hitpt)
  1500. hitm.MeshId = "rbxassetid://94248124"
  1501. hitm.Scale = Vector3.new(4,4,4)
  1502. coroutine.wrap(function()
  1503. swait(30)
  1504. for i = 0,1,.1 do
  1505. swait()
  1506. hitpt.Transparency = i
  1507. end
  1508. hitpt:Destroy()
  1509. end)()
  1510. swait(15)
  1511. so(2697295,SHandaru,.5,3)
  1512. for i=0,2,.1 do
  1513. swait()
  1514. PlayAnimationFromTable({
  1515. CFrame.new(1.44002445e-06, -1.99998927, 1.07288088e-05, 0.500000179, -7.20012224e-07, -0.866025269, -5.03950741e-06, 0.999994636, -2.05067545e-06, 0.866026759, -5.36440439e-06, 0.499997884),
  1516. CFrame.new(-0.547573745, 4.48264122, -0.316118479, 0.500000179, -0.296203166, 0.813797355, -7.20012224e-07, 0.939689577, 0.342012942, -0.866025269, -0.17101118, 0.469843715),
  1517. CFrame.new(1.79884899, 0.344976842, -2.36338496, 0.362167031, 0.825433791, -0.433008999, 0.086823605, -0.492405862, -0.866018176, -0.928060055, 0.276049763, -0.249996945),
  1518. CFrame.new(-4.43855, 2.71461391, -2.15137076, 0.558953762, 0.0775076449, 0.825570107, 0.722433925, -0.534201145, -0.438984573, 0.406993419, 0.841796517, -0.354588091),
  1519. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1520. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1521. }, .15, false)
  1522. end
  1523. attack = false
  1524. end
  1525.  
  1526. slugged = false
  1527. function slugload()
  1528. attack = true
  1529. for i=0,1.5,.1 do
  1530. swait()
  1531. PlayAnimationFromTable({
  1532. CFrame.new(-7.16520026e-06, -2, -1.7398881e-05, 0.500000775, 3.58260013e-06, -0.866025031, -9.32523108e-06, 1, -1.24710277e-06, 0.866025031, 8.69944051e-06, 0.500000834),
  1533. CFrame.new(-0.547560275, 4.48266172, -0.316098541, 0.500000775, -0.296206981, 0.813794136, 3.58260013e-06, 0.939689577, 0.342028588, -0.866025031, -0.171011642, 0.469846636),
  1534. CFrame.new(1.79885161, 0.344982982, -2.3633914, 0.362167209, 0.825436056, -0.433004498, 0.0868273452, -0.492402256, -0.866019845, -0.928059697, 0.276049197, -0.249998987),
  1535. CFrame.new(-2.88378954, -0.377780259, 1.65731072, 0.242966965, -0.26283136, 0.933748841, 0.258929163, 0.945239484, 0.198690876, -0.934838533, 0.193499491, 0.297716707),
  1536. CFrame.new(1.26252019, -5.99994278, 0.147333026, 1.00000072, -7.54235225e-06, -9.83476639e-07, 2.53665348e-06, 0.999997318, -3.08799281e-06, 3.27825546e-07, 1.02932972e-06, 0.999999464),
  1537. CFrame.new(-1.1659708, -5.99996805, 0.0196544528, 0.500000775, -9.32523108e-06, 0.866025031, 3.58260013e-06, 1, 8.69944051e-06, -0.866025031, -1.24710277e-06, 0.500000834),
  1538. }, .15, false)
  1539. end
  1540. local hitpt0 = Instance.new("Part",EffectModel)
  1541. hitpt0.Size = Vector3.new(.7,.6,2.1)
  1542. hitpt0.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1543. hitpt0.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1544. local hitm0 = Instance.new("SpecialMesh",hitpt0)
  1545. hitm0.MeshId = "rbxassetid://94248124"
  1546. hitm0.TextureId = "rbxassetid://94219470"
  1547. hitm0.Scale = Vector3.new(4,4,4)
  1548. local hw = Instance.new("Weld",hitpt0)
  1549. hw.Part0 = hitpt0
  1550. hw.Part1 = LeftArm
  1551. hw.C0 = CFrame.new(-1,2.5,0)
  1552. for i=0,1,.1 do
  1553. swait()
  1554. PlayAnimationFromTable({
  1555. CFrame.new(-1.44382084e-05, -2, -3.52843199e-05, 0.500002384, 7.21910419e-06, -0.866024017, -1.88881022e-05, 1, -2.56920703e-06, 0.866024017, 1.76421599e-05, 0.500002384),
  1556. CFrame.new(-0.547627807, 4.48263931, -0.316102535, 0.500002384, -0.296216011, 0.813789785, 7.21910419e-06, 0.939686358, 0.34203741, -0.866024017, -0.171013653, 0.46984759),
  1557. CFrame.new(1.81868255, -0.103687182, -2.3519392, 0.377200723, 0.740163803, -0.556666017, 0.111620866, -0.633017302, -0.766048193, -0.919380486, 0.226818368, -0.321392298),
  1558. CFrame.new(-3.0397644, 2.26208973, -1.6833154, 0.658552945, -0.00924476981, 0.752477705, 0.592071891, -0.610833943, -0.525673687, 0.46449858, 0.791704834, -0.396792918),
  1559. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1560. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1561. }, .2, false)
  1562. end
  1563. hitpt0:Destroy()
  1564. so(2697295,SHandaru,.7,3)
  1565. swait(15)
  1566. for i=0,1,.1 do
  1567. swait()
  1568. PlayAnimationFromTable({
  1569. CFrame.new(1.44002445e-06, -1.99998927, 1.07288088e-05, 0.500000179, -7.20012224e-07, -0.866025269, -5.03950741e-06, 0.999994636, -2.05067545e-06, 0.866026759, -5.36440439e-06, 0.499997884),
  1570. CFrame.new(-0.547573745, 4.48264122, -0.316118479, 0.500000179, -0.296203166, 0.813797355, -7.20012224e-07, 0.939689577, 0.342012942, -0.866025269, -0.17101118, 0.469843715),
  1571. CFrame.new(1.79884899, 0.344976842, -2.36338496, 0.362167031, 0.825433791, -0.433008999, 0.086823605, -0.492405862, -0.866018176, -0.928060055, 0.276049763, -0.249996945),
  1572. CFrame.new(-4.43855, 2.71461391, -2.15137076, 0.558953762, 0.0775076449, 0.825570107, 0.722433925, -0.534201145, -0.438984573, 0.406993419, 0.841796517, -0.354588091),
  1573. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1574. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1575. }, .2, false)
  1576. end
  1577. for i=0,1.5,.1 do
  1578. swait()
  1579. PlayAnimationFromTable({
  1580. CFrame.new(-1.44382084e-05, -2, -3.52843199e-05, 0.500002384, 7.21910419e-06, -0.866024017, -1.88881022e-05, 1, -2.56920703e-06, 0.866024017, 1.76421599e-05, 0.500002384),
  1581. CFrame.new(-0.547627807, 4.48263931, -0.316102535, 0.500002384, -0.296216011, 0.813789785, 7.21910419e-06, 0.939686358, 0.34203741, -0.866024017, -0.171013653, 0.46984759),
  1582. CFrame.new(1.81868255, -0.103687182, -2.3519392, 0.377200723, 0.740163803, -0.556666017, 0.111620866, -0.633017302, -0.766048193, -0.919380486, 0.226818368, -0.321392298),
  1583. CFrame.new(-3.0397644, 2.26208973, -1.6833154, 0.658552945, -0.00924476981, 0.752477705, 0.592071891, -0.610833943, -0.525673687, 0.46449858, 0.791704834, -0.396792918),
  1584. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1585. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1586. }, .15, false)
  1587. end
  1588. local hitpt = Instance.new("Part",EffectModel)
  1589. hitpt.Size = Vector3.new(.7,.6,2.1)
  1590. hitpt.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1591. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1592. hitpt.BrickColor = BrickColor.Red()
  1593. local hitm = Instance.new("SpecialMesh",hitpt)
  1594. hitm.MeshId = "rbxassetid://94248124"
  1595. hitm.Scale = Vector3.new(4,4,4)
  1596. coroutine.wrap(function()
  1597. swait(30)
  1598. for i = 0,1,.1 do
  1599. swait()
  1600. hitpt.Transparency = i
  1601. end
  1602. hitpt:Destroy()
  1603. end)()
  1604. swait(15)
  1605. so(2697295,SHandaru,.5,3)
  1606. for i=0,2,.1 do
  1607. swait()
  1608. PlayAnimationFromTable({
  1609. CFrame.new(1.44002445e-06, -1.99998927, 1.07288088e-05, 0.500000179, -7.20012224e-07, -0.866025269, -5.03950741e-06, 0.999994636, -2.05067545e-06, 0.866026759, -5.36440439e-06, 0.499997884),
  1610. CFrame.new(-0.547573745, 4.48264122, -0.316118479, 0.500000179, -0.296203166, 0.813797355, -7.20012224e-07, 0.939689577, 0.342012942, -0.866025269, -0.17101118, 0.469843715),
  1611. CFrame.new(1.79884899, 0.344976842, -2.36338496, 0.362167031, 0.825433791, -0.433008999, 0.086823605, -0.492405862, -0.866018176, -0.928060055, 0.276049763, -0.249996945),
  1612. CFrame.new(-4.43855, 2.71461391, -2.15137076, 0.558953762, 0.0775076449, 0.825570107, 0.722433925, -0.534201145, -0.438984573, 0.406993419, 0.841796517, -0.354588091),
  1613. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1614. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1615. }, .15, false)
  1616. end
  1617. slugged = true
  1618. attack = false
  1619. end
  1620.  
  1621. function slugshoot()
  1622. attack = true
  1623. so(138083993,SHandaru,.8,3)
  1624. CamShake(SHandaru,10,.5,.3)
  1625. Effects.Block(SShot.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.25,.25,.25),"Neon","Bright yellow",true,false,.1)
  1626. local ref = Instance.new("Part",Camera)
  1627. ref.Size = Vector3.new(0,0,0)
  1628. ref.Anchored = true
  1629. ref.CanCollide = false
  1630. ref.Transparency = 1
  1631. ref.CFrame = Mouse.Hit
  1632. MagnitudeDmg(ref,3,120,0,RootPart.CFrame.lookVector*70,true,"Shot",0)
  1633. CamShake(ref,10,.4,.3)
  1634. Effects.Block(ref.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.2,.2,.2),"Neon","Bright yellow",true,false,.1)
  1635. Effects.Block(CFrame.new((SShot.Position + ref.Position)/2,ref.Position),Vector3.new(1,1,(SShot.Position - ref.Position).magnitude),Vector3.new(1,1,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1)
  1636. ref:Destroy()
  1637. for i=0,2,.1 do
  1638. swait()
  1639. PlayAnimationFromTable({
  1640. CFrame.new(1.44002445e-06, -1.99998927, 1.07288088e-05, 0.500000179, -7.20012224e-07, -0.866025269, -5.03950741e-06, 0.999994636, -2.05067545e-06, 0.866026759, -5.36440439e-06, 0.499997884),
  1641. CFrame.new(-0.547573745, 4.48264122, -0.316118479, 0.500000179, -0.296203166, 0.813797355, -7.20012224e-07, 0.939689577, 0.342012942, -0.866025269, -0.17101118, 0.469843715),
  1642. CFrame.new(1.79884899, 0.344976842, -2.36338496, 0.362167031, 0.825433791, -0.433008999, 0.086823605, -0.492405862, -0.866018176, -0.928060055, 0.276049763, -0.249996945),
  1643. CFrame.new(-4.43855, 2.71461391, -2.15137076, 0.558953762, 0.0775076449, 0.825570107, 0.722433925, -0.534201145, -0.438984573, 0.406993419, 0.841796517, -0.354588091),
  1644. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1645. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1646. }, .3, false)
  1647. end
  1648. so(2697295,SHandaru,.4,3)
  1649. for i=0,1,.1 do
  1650. swait()
  1651. PlayAnimationFromTable({
  1652. CFrame.new(-1.44382084e-05, -2, -3.52843199e-05, 0.500002384, 7.21910419e-06, -0.866024017, -1.88881022e-05, 1, -2.56920703e-06, 0.866024017, 1.76421599e-05, 0.500002384),
  1653. CFrame.new(-0.547627807, 4.48263931, -0.316102535, 0.500002384, -0.296216011, 0.813789785, 7.21910419e-06, 0.939686358, 0.34203741, -0.866024017, -0.171013653, 0.46984759),
  1654. CFrame.new(1.81868255, -0.103687182, -2.3519392, 0.377200723, 0.740163803, -0.556666017, 0.111620866, -0.633017302, -0.766048193, -0.919380486, 0.226818368, -0.321392298),
  1655. CFrame.new(-3.0397644, 2.26208973, -1.6833154, 0.658552945, -0.00924476981, 0.752477705, 0.592071891, -0.610833943, -0.525673687, 0.46449858, 0.791704834, -0.396792918),
  1656. CFrame.new(1.76254702, -5.99993086, -0.252668977, 0.500002384, -1.88881022e-05, 0.866024017, 7.21910419e-06, 1, 1.76421599e-05, -0.866024017, -2.56920703e-06, 0.500002384),
  1657. CFrame.new(-1.16592002, -5.99993467, 0.0196563601, 0.500002384, -1.88881022e-05, 0.866024017, 7.21910419e-06, 1, 1.76421599e-05, -0.866024017, -2.56920703e-06, 0.500002384),
  1658. }, .2, false)
  1659. end
  1660. local hitpt = Instance.new("Part",EffectModel)
  1661. hitpt.Size = Vector3.new(.7,.6,2.1)
  1662. hitpt.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1663. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1664. local hitm = Instance.new("SpecialMesh",hitpt)
  1665. hitm.MeshId = "rbxassetid://94248124"
  1666. hitm.TextureId = "rbxassetid://94219470"
  1667. hitm.Scale = Vector3.new(4,4,4)
  1668. coroutine.wrap(function()
  1669. swait(30)
  1670. for i = 0,1,.1 do
  1671. swait()
  1672. hitpt.Transparency = i
  1673. end
  1674. hitpt:Destroy()
  1675. end)()
  1676. swait(15)
  1677. so(2697295,SHandaru,.5,3)
  1678. for i=0,2,.1 do
  1679. swait()
  1680. PlayAnimationFromTable({
  1681. CFrame.new(1.44002445e-06, -1.99998927, 1.07288088e-05, 0.500000179, -7.20012224e-07, -0.866025269, -5.03950741e-06, 0.999994636, -2.05067545e-06, 0.866026759, -5.36440439e-06, 0.499997884),
  1682. CFrame.new(-0.547573745, 4.48264122, -0.316118479, 0.500000179, -0.296203166, 0.813797355, -7.20012224e-07, 0.939689577, 0.342012942, -0.866025269, -0.17101118, 0.469843715),
  1683. CFrame.new(1.79884899, 0.344976842, -2.36338496, 0.362167031, 0.825433791, -0.433008999, 0.086823605, -0.492405862, -0.866018176, -0.928060055, 0.276049763, -0.249996945),
  1684. CFrame.new(-4.43855, 2.71461391, -2.15137076, 0.558953762, 0.0775076449, 0.825570107, 0.722433925, -0.534201145, -0.438984573, 0.406993419, 0.841796517, -0.354588091),
  1685. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464),
  1686. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884),
  1687. }, .15, false)
  1688. end
  1689. slugged = false
  1690. attack = false
  1691. end
  1692.  
  1693. function equippist()
  1694. attack = true
  1695. Humanoid.WalkSpeed = 2
  1696. Humanoid.JumpPower = 0
  1697. if CurrentWep == "Shotgun" then
  1698. for i=0,2,.1 do
  1699. swait()
  1700. PlayAnimationFromTable({
  1701. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1702. CFrame.new(-0.102602988, 4.45099878, 0.277624637, 0.939692736, -7.70138158e-08, -0.342019916, -0.0593909845, 0.984807849, -0.163175747, 0.33682391, 0.173647955, 0.925416648),
  1703. CFrame.new(4.50001526, 2.68827057, 0.743782997, 1, 0, 0, 0, -0.866025388, 0.500000238, 0, -0.500000238, -0.866025388),
  1704. CFrame.new(-4.79884863, 0.640861034, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1705. CFrame.new(1.50001431, -6.00000048, 3.12924385e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1706. CFrame.new(-1.5000186, -6.00000048, 9.83476639e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1707. }, .15, false)
  1708. end
  1709. SHandaru.Transparency = 1
  1710. HolShot.Transparency = 0
  1711. for i=0,1,.1 do
  1712. swait()
  1713. PlayAnimationFromTable({
  1714. CFrame.new(0, -2, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0,.1 * math.cos((sine)/10), 0),
  1715. CFrame.new(0.147721067, 4.44785833, -0.255860269, 0.866025388, 0.0868240371, -0.492404163, 0, 0.984807849, 0.173647985, 0.500000238, -0.150383562, 0.852868617),
  1716. CFrame.new(4.80713892, 0.709604442, -2.81296843e-06, 0.939692855, -0.342019916, 2.08616257e-07, 0.342019856, 0.939692736, 1.5155652e-07, -2.08616257e-07, -8.94069672e-08, 1.00000024),
  1717. CFrame.new(-4.50001621, 0.190193266, -0.9294222, 1.00000024, 0, -2.98023224e-08, 0, 0.86602515, -0.500000358, 0, 0.500000417, 0.866025329),
  1718. CFrame.new(1.50001502, -5.99999952, 5.36441803e-07, 0.766044557, 0, -0.642787695, 0, 1, 0, 0.642787695, 0, 0.766044557) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1719. CFrame.new(-1.50001943, -5.99999952, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1720. }, .3, false)
  1721. end
  1722. end
  1723. for i=0,2,.1 do
  1724. swait()
  1725. PlayAnimationFromTable({
  1726. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1727. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1728. CFrame.new(3.77304196, -0.53539288, 0.273614407, 0.939692736, 0.321393579, 0.116977744, -0.342019945, 0.883022368, 0.321393698, -8.56816769e-08, -0.342020065, 0.939692795),
  1729. CFrame.new(-4.64490843, 0.330175281, -1.53582289e-06, 0.984807849, 0.173648134, -3.13053391e-07, -0.173648164, 0.984807909, 2.68220901e-07, 3.50177288e-07, -1.78813934e-07, 1.00000012),
  1730. CFrame.new(1.50001884, -5.99037027, -0.421832889, 0.984807849, 0, -0.173647985, -0.0301536229, 0.984807849, -0.171009898, 0.171009898, 0.173647985, 0.969846487),
  1731. CFrame.new(-1.50002635, -5.99037027, -0.421831638, 0.984807849, 0, 0.173647985, 0.0301536229, 0.984807849, -0.171009898, -0.171009898, 0.173647985, 0.969846487),
  1732. }, .15, false)
  1733. end
  1734. CurrentWep = "Pistol"
  1735. PHandaru.Transparency = 0
  1736. HolPist.Transparency = 1
  1737. Humanoid.WalkSpeed = 8
  1738. Humanoid.JumpPower = 70
  1739. attack = false
  1740. end
  1741.  
  1742. function equipshot()
  1743. attack = true
  1744. Humanoid.WalkSpeed = 2
  1745. Humanoid.JumpPower = 0
  1746. if CurrentWep == "Pistol" then
  1747. for i=0,2,.1 do
  1748. swait()
  1749. PlayAnimationFromTable({
  1750. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1751. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1752. CFrame.new(3.77304196, -0.53539288, 0.273614407, 0.939692736, 0.321393579, 0.116977744, -0.342019945, 0.883022368, 0.321393698, -8.56816769e-08, -0.342020065, 0.939692795),
  1753. CFrame.new(-4.64490843, 0.330175281, -1.53582289e-06, 0.984807849, 0.173648134, -3.13053391e-07, -0.173648164, 0.984807909, 2.68220901e-07, 3.50177288e-07, -1.78813934e-07, 1.00000012),
  1754. CFrame.new(1.50001884, -5.99037027, -0.421832889, 0.984807849, 0, -0.173647985, -0.0301536229, 0.984807849, -0.171009898, 0.171009898, 0.173647985, 0.969846487),
  1755. CFrame.new(-1.50002635, -5.99037027, -0.421831638, 0.984807849, 0, 0.173647985, 0.0301536229, 0.984807849, -0.171009898, -0.171009898, 0.173647985, 0.969846487),
  1756. }, .15, false)
  1757. end
  1758. PHandaru.Transparency = 1
  1759. HolPist.Transparency = 0
  1760. for i=0,1,.1 do
  1761. swait()
  1762. PlayAnimationFromTable({
  1763. CFrame.new(0, -2, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0,.1 * math.cos((sine)/10), 0),
  1764. CFrame.new(0.147721067, 4.44785833, -0.255860269, 0.866025388, 0.0868240371, -0.492404163, 0, 0.984807849, 0.173647985, 0.500000238, -0.150383562, 0.852868617),
  1765. CFrame.new(4.80713892, 0.709604442, -2.81296843e-06, 0.939692855, -0.342019916, 2.08616257e-07, 0.342019856, 0.939692736, 1.5155652e-07, -2.08616257e-07, -8.94069672e-08, 1.00000024),
  1766. CFrame.new(-4.50001621, 0.190193266, -0.9294222, 1.00000024, 0, -2.98023224e-08, 0, 0.86602515, -0.500000358, 0, 0.500000417, 0.866025329),
  1767. CFrame.new(1.50001502, -5.99999952, 5.36441803e-07, 0.766044557, 0, -0.642787695, 0, 1, 0, 0.642787695, 0, 0.766044557) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1768. CFrame.new(-1.50001943, -5.99999952, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1769. }, .3, false)
  1770. end
  1771. end
  1772. for i=0,2,.1 do
  1773. swait()
  1774. PlayAnimationFromTable({
  1775. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1776. CFrame.new(-0.102602988, 4.45099878, 0.277624637, 0.939692736, -7.70138158e-08, -0.342019916, -0.0593909845, 0.984807849, -0.163175747, 0.33682391, 0.173647955, 0.925416648),
  1777. CFrame.new(4.50001526, 2.68827057, 0.743782997, 1, 0, 0, 0, -0.866025388, 0.500000238, 0, -0.500000238, -0.866025388),
  1778. CFrame.new(-4.79884863, 0.640861034, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1779. CFrame.new(1.50001431, -6.00000048, 3.12924385e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1780. CFrame.new(-1.5000186, -6.00000048, 9.83476639e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1781. }, .15, false)
  1782. end
  1783. CurrentWep = "Shotgun"
  1784. SHandaru.Transparency = 0
  1785. HolShot.Transparency = 1
  1786. Humanoid.WalkSpeed = 8
  1787. Humanoid.JumpPower = 70
  1788. attack = false
  1789. end
  1790.  
  1791. function unequip()
  1792. attack = true
  1793. Humanoid.WalkSpeed = 2
  1794. Humanoid.JumpPower = 0
  1795. if CurrentWep == "Pistol" then
  1796. for i=0,2,.1 do
  1797. swait()
  1798. PlayAnimationFromTable({
  1799. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1800. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1801. CFrame.new(3.77304196, -0.53539288, 0.273614407, 0.939692736, 0.321393579, 0.116977744, -0.342019945, 0.883022368, 0.321393698, -8.56816769e-08, -0.342020065, 0.939692795),
  1802. CFrame.new(-4.64490843, 0.330175281, -1.53582289e-06, 0.984807849, 0.173648134, -3.13053391e-07, -0.173648164, 0.984807909, 2.68220901e-07, 3.50177288e-07, -1.78813934e-07, 1.00000012),
  1803. CFrame.new(1.50001884, -5.99037027, -0.421832889, 0.984807849, 0, -0.173647985, -0.0301536229, 0.984807849, -0.171009898, 0.171009898, 0.173647985, 0.969846487),
  1804. CFrame.new(-1.50002635, -5.99037027, -0.421831638, 0.984807849, 0, 0.173647985, 0.0301536229, 0.984807849, -0.171009898, -0.171009898, 0.173647985, 0.969846487),
  1805. }, .15, false)
  1806. end
  1807. PHandaru.Transparency = 1
  1808. HolPist.Transparency = 0
  1809. elseif CurrentWep == "Shotgun" then
  1810. for i=0,2,.1 do
  1811. swait()
  1812. PlayAnimationFromTable({
  1813. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1814. CFrame.new(-0.102602988, 4.45099878, 0.277624637, 0.939692736, -7.70138158e-08, -0.342019916, -0.0593909845, 0.984807849, -0.163175747, 0.33682391, 0.173647955, 0.925416648),
  1815. CFrame.new(4.50001526, 2.68827057, 0.743782997, 1, 0, 0, 0, -0.866025388, 0.500000238, 0, -0.500000238, -0.866025388),
  1816. CFrame.new(-4.79884863, 0.640861034, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1817. CFrame.new(1.50001431, -6.00000048, 3.12924385e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1818. CFrame.new(-1.5000186, -6.00000048, 9.83476639e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1819. }, .15, false)
  1820. end
  1821. SHandaru.Transparency = 1
  1822. HolShot.Transparency = 0
  1823. end
  1824. CurrentWep = "CQC"
  1825. Humanoid.WalkSpeed = 8
  1826. Humanoid.JumpPower = 70
  1827. attack = false
  1828. end
  1829.  
  1830. Mouse.Button1Down:connect(function()
  1831. if attack == false then
  1832. if CurrentWep == "Pistol" then
  1833. pshoot()
  1834. elseif CurrentWep == "Shotgun" then
  1835. if slugged == true then
  1836. slugshoot()
  1837. else
  1838. sshoot()
  1839. end
  1840. else
  1841. smek()
  1842. end
  1843. end
  1844. end)
  1845.  
  1846. local sprintt = 0
  1847. Mouse.KeyDown:connect(function(k)
  1848. k = k:lower()
  1849. if k=='m' then
  1850. if mus.IsPlaying == true then
  1851. mus:Stop()
  1852. elseif mus.IsPaused == true then
  1853. mus:Play()
  1854. end
  1855. end
  1856. if attack == false then
  1857. if k == 'z' then
  1858. if CurrentWep == "Shotgun" and slugged == false then
  1859. slugload()
  1860. elseif CurrentWep == "CQC" then
  1861. slam()
  1862. end
  1863. elseif k == 'f' then
  1864. smek()
  1865. elseif k == 'x' then
  1866. xhold = true
  1867. if CurrentWep == "CQC" then
  1868. thesurou()
  1869. end
  1870. elseif k == 'c' then
  1871. chold = true
  1872. if CurrentWep == "CQC" then
  1873. headrip()
  1874. end
  1875. elseif k == 'v' then
  1876. stomp()
  1877. elseif k == 't' then
  1878. if CurrentWep ~= "Pistol" then
  1879. equippist()
  1880. else
  1881. unequip()
  1882. end
  1883. elseif k == 'y' then
  1884. if CurrentWep ~= "Shotgun" then
  1885. equipshot()
  1886. else
  1887. unequip()
  1888. end
  1889. end
  1890. end
  1891. end)
  1892.  
  1893. Mouse.KeyUp:connect(function(k)
  1894. if k == 'x' then
  1895. xhold = false
  1896. elseif k == 'c' then
  1897. chold = false
  1898. end
  1899. end)
  1900.  
  1901. coroutine.wrap(function()
  1902. game:GetService("RunService").RenderStepped:connect(function()
  1903. for i,v in pairs(chara:GetDescendants()) do
  1904. if v:IsA("BasePart") and v.Parent.Name ~= "FakeHeadM" and v.Name ~= "Head" and v.Parent:IsA("Accessory") == false then
  1905. v.LocalTransparencyModifier = 0
  1906. end
  1907. end
  1908. end)
  1909. end)()
  1910.  
  1911. coroutine.wrap(function()
  1912. while 1 do
  1913. swait()
  1914. if doe <= 360 then
  1915. doe = doe + 2
  1916. else
  1917. doe = 0
  1918. end
  1919. end
  1920. end)()
  1921. while true do
  1922. swait()
  1923. while true do
  1924. swait()
  1925. Head.Transparency = 1
  1926. if Head:FindFirstChild("face") then
  1927. Head:FindFirstChild("face").Transparency = 1
  1928. end
  1929. Humanoid.MaxHealth = 1000
  1930. if Humanoid.Health < 1000 then
  1931. Humanoid.Health = Humanoid.Health + 1
  1932. end
  1933. if chara:FindFirstChild("mus")==nil then
  1934. mus = Instance.new("Sound",chara)
  1935. mus.Name = "mus"
  1936. mus.SoundId = "rbxassetid://142653441"--"rbxassetid://335204822"
  1937. mus.Looped = true
  1938. mus.Volume = 1
  1939. mus:Play()
  1940. end
  1941. if sprintt >= 1 then
  1942. sprintt = sprintt - 1
  1943. end
  1944. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1945. velocity = RootPart.Velocity.y
  1946. sine = sine + change
  1947. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 12, chara)
  1948. if RootPart.Velocity.y > 1 and hit == nil then
  1949. Anim = "Jump"
  1950. if attack == false then
  1951. PlayAnimationFromTable({
  1952. CFrame.new(0, 0.0294559821, -0.246550545, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1953. CFrame.new(0, 4.29474068, 0.563813269, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1954. CFrame.new(3.55814481, -0.469561696, -5.11224357e-07, 0.939692616, 0.342020273, -4.69496833e-08, -0.342020273, 0.939692736, 5.36441803e-07, 2.38418579e-07, -5.06639481e-07, 1),
  1955. CFrame.new(-3.56861424, -0.512341022, -1.44051228e-06, 0.939692616, -0.342020273, 4.69496833e-08, 0.342020273, 0.939692736, 5.36441803e-07, -2.38418579e-07, -5.06639481e-07, 1),
  1956. CFrame.new(1.50001526, -3.80000091, -1.39999759, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1957. CFrame.new(-1.50001621, -5.99999809, 1.13248825e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1958. }, .1, false)
  1959. end
  1960. elseif RootPart.Velocity.y < -1 and hit == nil then
  1961. Anim = "Fall"
  1962. if attack == false then
  1963. PlayAnimationFromTable({
  1964. CFrame.new(-1.05621432e-07, -2.434778869, -0.0625008196, 1.00000024, 4.33864784e-08, -9.66617677e-07, 6.05497235e-07, 0.939693511, -0.342021585, 3.16162158e-07, 0.34202069, 0.939693451),
  1965. CFrame.new(1.90734863e-06, 4.4037199, -0.67802453, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1966. CFrame.new(4.85359192, 1.0866574, -1.10285725e-06, 0.866025507, -0.49999994, -1.54857389e-07, 0.5, 0.866025507, -1.1920929e-07, 1.78813934e-07, 2.98023224e-08, 1),
  1967. CFrame.new(-4.92668247, 0.72687763, 4.47010007e-06, 0.939692616, 0.342020273, 4.69496833e-08, -0.342020273, 0.939692736, -5.36441803e-07, -2.38418579e-07, 5.06639481e-07, 1),
  1968. CFrame.new(1.50001335, -3.80000305, -1.39999592, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1969. CFrame.new(-1.50002098, -6.00000477, 1.72853458e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1970. }, .1, false)
  1971. end
  1972. elseif Torsovelocity < 1 and hit ~= nil then
  1973. Anim = "Idle"
  1974. if attack == false then
  1975. change = 1
  1976. if CurrentWep == "CQC" then
  1977. PlayAnimationFromTable({
  1978. CFrame.new(0, -2, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0,.1 * math.cos((sine)/10), 0),
  1979. CFrame.new(0.147721067, 4.44785833, -0.255860269, 0.866025388, 0.0868240371, -0.492404163, 0, 0.984807849, 0.173647985, 0.500000238, -0.150383562, 0.852868617),
  1980. CFrame.new(4.80713892, 0.709604442, -2.81296843e-06, 0.939692855, -0.342019916, 2.08616257e-07, 0.342019856, 0.939692736, 1.5155652e-07, -2.08616257e-07, -8.94069672e-08, 1.00000024),
  1981. CFrame.new(-4.50001621, 0.190193266, -0.9294222, 1.00000024, 0, -2.98023224e-08, 0, 0.86602515, -0.500000358, 0, 0.500000417, 0.866025329),
  1982. CFrame.new(1.50001502, -5.99999952, 5.36441803e-07, 0.766044557, 0, -0.642787695, 0, 1, 0, 0.642787695, 0, 0.766044557) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1983. CFrame.new(-1.50001943, -5.99999952, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1984. }, .3, false)
  1985. elseif CurrentWep == "Shotgun" then
  1986. PlayAnimationFromTable({
  1987. CFrame.new(0, -2, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987) * CFrame.new(0,.1 * math.cos((sine)/10), 0),
  1988. CFrame.new(-0.547520339, 4.48267984, -0.316110164, 0.499998987, -0.29619813, 0.813798308, 0, 0.939692736, 0.342019886, -0.866025984, -0.171009615, 0.469845414),
  1989. CFrame.new(3.21991515, 0.397024989, -1.54293764, 0.344303846, 0.926736116, 0.150382981, -0.030152997, 0.17100893, -0.984807968, -0.938374043, 0.334538639, 0.0868228972),
  1990. CFrame.new(-3.26355648, -1.19176984, -1.47300911, 0.0174857043, 0.276001155, 0.960998297, 0.995382905, -0.0955301225, 0.00932515692, 0.0943780318, 0.956398189, -0.276397288),
  1991. CFrame.new(1.26245594, -5.99997377, 0.147344589, 1.00000072, -2.5366503e-06, -2.98023224e-07, -2.50286234e-06, 0.999997318, -1.02932597e-06, -2.68220901e-07, -1.02135346e-06, 0.999999464) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1992. CFrame.new(-1.16597474, -5.99992371, 0.0196756423, 0.500000179, -5.03950741e-06, 0.866026759, -7.20012224e-07, 0.999994636, -5.36440439e-06, -0.866025269, -2.05067545e-06, 0.499997884) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  1993. }, .3, false)
  1994. elseif CurrentWep == "Pistol" then
  1995. PlayAnimationFromTable({
  1996. CFrame.new(0, -2.03907442, 0.0466268957, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0,.1 * math.cos((sine)/10), 0),
  1997. CFrame.new(0, 4.27439117, -0.749502182, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1998. CFrame.new(4.50001526, 0.888218164, -1.46819997, 1, 0, 0, 0, 0.342019796, -0.939692855, 0, 0.939692855, 0.342019796),
  1999. CFrame.new(-3.79128027, -0.462018341, -0.549682617, 0.939692497, -0.336824238, -0.0593918264, 0.321393669, 0.928998291, -0.183489919, 0.11697875, 0.153335959, 0.981225848),
  2000. CFrame.new(1.50001526, -5.90884781, 0.64188838, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  2001. CFrame.new(-1.50001526, -5.90884781, 0.64188838, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0,-.1 * math.cos((sine)/10), 0),
  2002. }, .3, false)
  2003. end
  2004. end
  2005. elseif Torsovelocity > 2 and hit ~= nil then
  2006. Anim = "Walk"
  2007. if attack == false then
  2008. Humanoid.WalkSpeed = 8
  2009. Humanoid.JumpPower = 70
  2010. if CurrentWep == "CQC" then
  2011. PlayAnimationFromTable({
  2012. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, math.rad(0 + -5 * math.cos((sine) / 10)), 0),
  2013. CFrame.new(0, 4.41427088, -0.820159078, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438) * CFrame.Angles(0, math.rad(0 + 5 * math.cos((sine) / 10)), 0),
  2014. CFrame.new(4.50001478, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0- 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  2015. CFrame.new(-4.50001478, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0+ 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  2016. CFrame.new(1.50001502, -6, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0+ 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  2017. CFrame.new(-1.50001502, -6, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0- 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  2018. }, .3, false)
  2019. elseif CurrentWep == "Shotgun" then
  2020. PlayAnimationFromTable({
  2021. CFrame.new(0, -2, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  2022. CFrame.new(-0.547520339, 4.48267984, -0.316110164, 0.499998987, -0.29619813, 0.813798308, 0, 0.939692736, 0.342019886, -0.866025984, -0.171009615, 0.469845414),
  2023. CFrame.new(3.21991515, 0.397024989, -1.54293764, 0.344303846, 0.926736116, 0.150382981, -0.030152997, 0.17100893, -0.984807968, -0.938374043, 0.334538639, 0.0868228972),
  2024. CFrame.new(-3.26355648, -1.19176984, -1.47300911, 0.0174857043, 0.276001155, 0.960998297, 0.995382905, -0.0955301225, 0.00932515692, 0.0943780318, 0.956398189, -0.276397288),
  2025. CFrame.new(1.76242733, -6, -0.252659202, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987) * CFrame.new(0, 0, 0+ 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  2026. CFrame.new(-1.16602993, -6, 0.0196474195, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987) * CFrame.new(0, 0, 0- 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  2027. }, .3, false)
  2028. elseif CurrentWep == "Pistol" then
  2029. PlayAnimationFromTable({
  2030. CFrame.new(0, -2.03907442, 0.0466268957, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  2031. CFrame.new(0, 4.27439117, -0.749502182, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  2032. CFrame.new(4.50001526, 0.888218164, -1.46819997, 1, 0, 0, 0, 0.342019796, -0.939692855, 0, 0.939692855, 0.342019796),
  2033. CFrame.new(-3.79128027, -0.462018341, -0.549682617, 0.939692497, -0.336824238, -0.0593918264, 0.321393669, 0.928998291, -0.183489919, 0.11697875, 0.153335959, 0.981225848),
  2034. CFrame.new(1.50001526, -5.90884781, 0.64188838, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0+ 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  2035. CFrame.new(-1.50001526, -5.90884781, 0.64188838, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0- 1.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  2036. }, .3, false)
  2037. end
  2038. end
  2039. end
  2040. end
  2041. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement