Advertisement
13242

Untitled

Nov 28th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.80 KB | None | 0 0
  1. ---------------
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7. print([[
  8. --Agent Agony--
  9. By CKbackup (Sugarie Saffron)
  10. YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw
  11. Discord: Sugarie Saffron#4705
  12. --------------------------------
  13. As I've been demoted from my SB
  14. Mod rank in VSB, I don't see the
  15. need to hold this back any longer.
  16.  
  17. Also, if the anims look weird or
  18. the weapon looks out of place,
  19. it's because it's actually modeled
  20. off a scaled rig with a package.
  21. It looks better with the Boy
  22. package.
  23. --------------------------------
  24. (Keys)
  25. M - Mute/Play Music
  26.  
  27. -Common Keys-
  28. F - Kick
  29. V - Stomp
  30. T - Equip/Unequip Pistol
  31. Y - Equip/Unequip Shotgun
  32.  
  33. -CQC (no weapon)-
  34. Click - Kick
  35. Z - Smash (AoE attack)
  36. X - Grab (to throw a player)
  37. C - Head Rip and Throw
  38.  
  39. -Pistol-
  40. Click - Shoot
  41.  
  42. -Shotgun-
  43. Click - Shoot
  44. Z - Load a Slug
  45. (this makes the next shotgun
  46. shot single, powerful, and
  47. accurate)
  48. ]])
  49.  
  50. wait(1/60)
  51. Effects = { }
  52. local Player = game:service'Players'.localPlayer
  53. local chara = Player.Character
  54. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  55. local Mouse = Player:GetMouse()
  56. local LeftArm = chara["Left Arm"]
  57. local RightArm = chara["Right Arm"]
  58. local LeftLeg = chara["Left Leg"]
  59. local RightLeg = chara["Right Leg"]
  60. local Head = chara.Head
  61. local Torso = chara.Torso
  62. local Camera = workspace.CurrentCamera
  63. local RootPart = chara.HumanoidRootPart
  64. local RootJoint = RootPart.RootJoint
  65. local attack = false
  66. local Anim = 'Idle'
  67. local attacktype = 1
  68. local delays = false
  69. local play = true
  70. local targetted = nil
  71. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  72. local velocity = RootPart.Velocity.y
  73. local sine = 0
  74. local change = 1
  75. local doe = 0
  76. local Create = LoadLibrary("RbxUtility").Create
  77. local debby = game:GetService("Debris")
  78. local CurrentWep = "CQC"
  79. Humanoid.WalkSpeed = 8
  80.  
  81. Humanoid.Animator.Parent = nil
  82. chara.Animate.Parent = nil
  83.  
  84. local newMotor = function(part0, part1, c0, c1)
  85. local w = Create('Motor'){
  86. Parent = part0,
  87. Part0 = part0,
  88. Part1 = part1,
  89. C0 = c0,
  90. C1 = c1,
  91. }
  92. return w
  93. end
  94.  
  95. function clerp(a, b, t)
  96. return a:lerp(b, t)
  97. end
  98.  
  99. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  100. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  101.  
  102. LeftArm.Size = LeftArm.Size * 3
  103. RightArm.Size = RightArm.Size * 3
  104. LeftLeg.Size = LeftLeg.Size * 3
  105. RightLeg.Size = RightLeg.Size * 3
  106. Torso.Size = Torso.Size * 3
  107. Head.Size = Head.Size * 3
  108. RootPart.Size = RootPart.Size * 3
  109.  
  110. local RW = newMotor(Torso, RightArm, CFrame.new(4.5, 0, 0), CFrame.new(0, 0, 0))
  111. local LW = newMotor(Torso, LeftArm, CFrame.new(-4.5, 0, 0), CFrame.new(0, 0, 0))
  112. local Neck = newMotor(Torso, Head, CFrame.new(0,4.5,0), CFrame.new())
  113. local RH = newMotor(Torso, RightLeg, CFrame.new(1.5, -3, 0), CFrame.new(0, 0, 0))
  114. local LH = newMotor(Torso, LeftLeg, CFrame.new(-1.5, -3, 0), CFrame.new(0, 0, 0))
  115. local RootJoint = newMotor(RootPart, Torso, CFrame.new(0,-2,0), CFrame.new(0,-2,0))
  116.  
  117. local rarmc1 = RW.C1
  118. local larmc1 = LW.C1
  119. local rlegc1 = RH.C1
  120. local llegc1 = LH.C1
  121.  
  122. local resetc1 = false
  123.  
  124. function PlayAnimationFromTable(table, speed, bool)
  125. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  126. Neck.C0 = clerp(Neck.C0, table[2], speed)
  127. RW.C0 = clerp(RW.C0, table[3], speed)
  128. LW.C0 = clerp(LW.C0, table[4], speed)
  129. RH.C0 = clerp(RH.C0, table[5], speed)
  130. LH.C0 = clerp(LH.C0, table[6], speed)
  131. if bool == true then
  132. if resetc1 == false then
  133. resetc1 = true
  134. RootJoint.C1 = RootJoint.C1
  135. Neck.C1 = Neck.C1
  136. RW.C1 = rarmc1
  137. LW.C1 = larmc1
  138. RH.C1 = rlegc1
  139. LH.C1 = llegc1
  140. end
  141. end
  142. end
  143.  
  144. ArtificialHB = Instance.new("BindableEvent", script)
  145. ArtificialHB.Name = "Heartbeat"
  146. script:WaitForChild("Heartbeat")
  147. frame = 0.03333333333333
  148. tf = 0
  149. allowframeloss = false
  150. tossremainder = false
  151. lastframe = tick()
  152. script.Heartbeat:Fire()
  153. game:GetService("RunService").Heartbeat:connect(function(s, p)
  154. tf = tf + s
  155. if tf >= frame then
  156. if allowframeloss then
  157. script.Heartbeat:Fire()
  158. lastframe = tick()
  159. else
  160. for i = 1, math.floor(tf / frame) do
  161. script.Heartbeat:Fire()
  162. end
  163. lastframe = tick()
  164. end
  165. if tossremainder then
  166. tf = 0
  167. else
  168. tf = tf - frame * math.floor(tf / frame)
  169. end
  170. end
  171. end)
  172. function swait(num)
  173. if num == 0 or num == nil then
  174. ArtificialHB.Event:wait()
  175. else
  176. for i = 0, num do
  177. ArtificialHB.Event:wait()
  178. end
  179. end
  180. end
  181.  
  182. function RemoveOutlines(part)
  183. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  184. end
  185.  
  186. function so(id,par,pit,vol)
  187. local sou = Instance.new("Sound", par or workspace)
  188. if par == chara then
  189. sou.Parent = chara.Torso
  190. end
  191. sou.Volume = vol
  192. sou.Pitch = pit or 1
  193. sou.SoundId = "rbxassetid://" .. id
  194. sou.PlayOnRemove = true
  195. sou:Destroy()
  196. end
  197.  
  198. --This is just for builds--
  199. New = function(Object, Parent, Name, Data)
  200. local Object = Instance.new(Object)
  201. for Index, Value in pairs(Data or {}) do
  202. Object[Index] = Value
  203. end
  204. Object.Parent = Parent
  205. Object.Name = Name
  206. return Object
  207. end
  208. FakeHeadM = New("Model",chara,"FakeHeadM",{})
  209. 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,})
  210. Mesh = New("SpecialMesh",FakeHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  211. Fays = New("Decal",FakeHead,"Decal",{Texture = "rbxassetid://315622231",})
  212. Weld = New("ManualWeld",FakeHead,"Weld",{Part0 = FakeHead,Part1 = Head,})
  213. 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,})
  214. 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,})
  215. 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),})
  216. Head.Transparency = 1
  217. Humanoid.CameraOffset = Vector3.new(0,3,0)
  218.  
  219. Shotii = New("Model",chara,"Shotii",{})
  220. 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,})
  221. Mesh = New("SpecialMesh",SHandaru,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,})
  222. 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),})
  223. 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,})
  224. 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),})
  225. 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,})
  226. 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),})
  227.  
  228. Pistoru = New("Model",chara,"Pistoru",{})
  229. 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,})
  230. Mesh = New("SpecialMesh",PHandaru,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://437242703",TextureId = "rbxassetid://437242708",MeshType = Enum.MeshType.FileMesh,})
  231. 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),})
  232. 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,})
  233. 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),})
  234. 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,})
  235. 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),})
  236.  
  237. 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,})
  238. Mesh = New("SpecialMesh",HolShot,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,})
  239. 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),})
  240.  
  241. 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,})
  242. Mesh = New("SpecialMesh",HolPist,"Mesh",{Scale = Vector3.new(0.00400000019, 0.00400000019, 0.00400000019),MeshId = "rbxassetid://437242703",TextureId = "rbxassetid://437242708",MeshType = Enum.MeshType.FileMesh,})
  243. 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),})
  244.  
  245. Instance.new("BoolValue",chara).Name = "HolyMode"
  246. local hedcol = FakeHead.BrickColor
  247. local bcols = Instance.new("BodyColors",chara)
  248. bcols.Name = "NeoCols"
  249. bcols.HeadColor = hedcol
  250. bcols.LeftArmColor = hedcol
  251. bcols.RightArmColor = hedcol
  252. bcols.TorsoColor = hedcol
  253. bcols.LeftLegColor = hedcol
  254. bcols.RightLegColor = hedcol
  255.  
  256. for i, v in pairs(chara:children()) do
  257. if v:IsA("Shirt") or v:IsA("Pants") then
  258. v:Destroy()
  259. end
  260. end
  261. local sh = Instance.new("Shirt",chara)
  262. local pn = Instance.new("Pants",chara)
  263. sh.ShirtTemplate = "rbxassetid://676428254"
  264. pn.PantsTemplate = "rbxassetid://676428351"
  265. if chara:FindFirstChild("FaysG") then chara:FindFirstChild("FaysG"):Destroy() end
  266. ---------------------------
  267.  
  268. function rayCast(Position, Direction, Range, Ignore)
  269. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  270. end
  271.  
  272. function FindNearestTorso(Position, Distance, SinglePlayer)
  273. if SinglePlayer then
  274. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  275. end
  276. local List = {}
  277. for i, v in pairs(workspace:GetDescendants()) do
  278. if v:IsA("Model") then
  279. if v:findFirstChild("Head") then
  280. if v ~= chara then
  281. if (v.Head.Position - Position).magnitude <= Distance then
  282. table.insert(List, v)
  283. end
  284. end
  285. end
  286. end
  287. end
  288. return List
  289. end
  290.  
  291. EffectModel = Create("Model"){
  292. Parent = chara,
  293. Name = "Effects",
  294. }
  295.  
  296. --Effect Functions--
  297. Effects = {
  298.  
  299. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  300. local p = Instance.new("Part",EffectModel)
  301. p.BrickColor = BrickColor.new(colour)
  302. p.Size = partsize
  303. p.Anchored = true
  304. p.CanCollide = false
  305. p.Material = matr
  306. p.CFrame = cf
  307. if inverse == true then
  308. p.Transparency = 1
  309. else
  310. p.Transparency = 0
  311. end
  312. local m = Instance.new("BlockMesh",p)
  313. m.Scale = meshstart
  314. coroutine.wrap(function()
  315. for i=0,1,factor do
  316. swait()
  317. if inverse == true then
  318. p.Transparency = 1-i
  319. else
  320. p.Transparency = i
  321. end
  322. m.Scale = m.Scale + meshadd
  323. if spin == true then
  324. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  325. end
  326. end
  327. p:Destroy()
  328. end)()
  329. return p
  330. end,
  331.  
  332. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  333. local p = Instance.new("Part",EffectModel)
  334. p.BrickColor = BrickColor.new(colour)
  335. p.Size = partsize
  336. p.Anchored = true
  337. p.CanCollide = false
  338. p.Material = matr
  339. p.CFrame = cf
  340. if inverse == true then
  341. p.Transparency = 1
  342. else
  343. p.Transparency = 0
  344. end
  345. local m = Instance.new("SpecialMesh",p)
  346. m.MeshType = "Sphere"
  347. m.Scale = meshstart
  348. coroutine.wrap(function()
  349. for i=0,1,factor do
  350. swait()
  351. if inverse == true then
  352. p.Transparency = 1-i
  353. else
  354. p.Transparency = i
  355. end
  356. m.Scale = m.Scale + meshadd
  357. end
  358. p:Destroy()
  359. end)()
  360. return p
  361. end,
  362.  
  363. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  364. local p = Instance.new("Part",EffectModel)
  365. p.BrickColor = BrickColor.new(colour)
  366. p.Size = partsize
  367. p.Anchored = true
  368. p.CanCollide = false
  369. p.Material = matr
  370. p.CFrame = cf
  371. if inverse == true then
  372. p.Transparency = 1
  373. else
  374. p.Transparency = 0
  375. end
  376. local m = Instance.new("CylinderMesh",p)
  377. m.Scale = meshstart
  378. coroutine.wrap(function()
  379. for i=0,1,factor do
  380. swait()
  381. if inverse == true then
  382. p.Transparency = 1-i
  383. else
  384. p.Transparency = i
  385. end
  386. m.Scale = m.Scale + meshadd
  387. end
  388. p:Destroy()
  389. end)()
  390. return p
  391. end,
  392.  
  393. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  394. local p = Instance.new("Part",EffectModel)
  395. p.BrickColor = BrickColor.new(colour)
  396. p.Size = Vector3.new()
  397. p.Anchored = true
  398. p.CanCollide = false
  399. p.CFrame = cf
  400. if inverse == true then
  401. p.Transparency = 1
  402. else
  403. p.Transparency = 0
  404. end
  405. local m = Instance.new("SpecialMesh",p)
  406. m.MeshId = "rbxassetid://20329976"
  407. m.Scale = meshstart
  408. coroutine.wrap(function()
  409. for i=0,1,factor do
  410. swait()
  411. if inverse == true then
  412. p.Transparency = 1-i
  413. else
  414. p.Transparency = i
  415. end
  416. m.Scale = m.Scale + meshadd
  417. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  418. end
  419. p:Destroy()
  420. end)()
  421. return p
  422. end,
  423.  
  424. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  425. local p = Instance.new("Part",EffectModel)
  426. p.BrickColor = BrickColor.new(colour)
  427. p.Size = Vector3.new()
  428. p.Anchored = true
  429. p.CanCollide = false
  430. p.CFrame = cf
  431. if inverse == true then
  432. p.Transparency = 1
  433. else
  434. p.Transparency = 0
  435. end
  436. local m = Instance.new("SpecialMesh",p)
  437. m.MeshId = "rbxassetid://3270017"
  438. m.Scale = meshstart
  439. coroutine.wrap(function()
  440. for i=0,1,factor do
  441. swait()
  442. if inverse == true then
  443. p.Transparency = 1-i
  444. else
  445. p.Transparency = i
  446. end
  447. m.Scale = m.Scale + meshadd
  448. end
  449. p:Destroy()
  450. end)()
  451. return p
  452. end,
  453.  
  454. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  455. local p = Instance.new("Part",EffectModel)
  456. p.BrickColor = BrickColor.new(colour)
  457. p.Size = Vector3.new()
  458. p.Anchored = true
  459. p.CanCollide = false
  460. p.CFrame = cf
  461. if inverse == true then
  462. p.Transparency = 1
  463. else
  464. p.Transparency = 0
  465. end
  466. local m = Instance.new("SpecialMesh",p)
  467. m.MeshId = meshid
  468. m.TextureId = textid
  469. m.Scale = meshstart
  470. coroutine.wrap(function()
  471. for i=0,1,factor do
  472. swait()
  473. if inverse == true then
  474. p.Transparency = 1-i
  475. else
  476. p.Transparency = i
  477. end
  478. m.Scale = m.Scale + meshadd
  479. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  480. end
  481. p:Destroy()
  482. end)()
  483. return p
  484. end,
  485.  
  486. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  487. local p = Instance.new("Part",EffectModel)
  488. p.BrickColor = BrickColor.new(colour)
  489. p.Size = partsize
  490. p.Anchored = true
  491. p.CanCollide = false
  492. p.Material = matr
  493. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  494. if inverse == true then
  495. p.Transparency = 1
  496. else
  497. p.Transparency = 0
  498. end
  499. local m = Instance.new("SpecialMesh",p)
  500. m.MeshType = "Sphere"
  501. m.Scale = meshstart
  502. coroutine.wrap(function()
  503. for i=0,1,factor do
  504. swait()
  505. if inverse == true then
  506. p.Transparency = 1-i
  507. else
  508. p.Transparency = i
  509. end
  510. m.Scale = m.Scale + meshadd
  511. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  512. end
  513. p:Destroy()
  514. end)()
  515. return p
  516. end,
  517.  
  518. }
  519.  
  520. function chatfunc(text)
  521. coroutine.wrap(function()
  522. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  523. chara:FindFirstChild("TalkingBillBoard"):destroy()
  524. end
  525. local naeeym2 = Instance.new("BillboardGui",chara)
  526. naeeym2.Size = UDim2.new(0,100,0,40)
  527. naeeym2.StudsOffset = Vector3.new(0,3,0)
  528. naeeym2.Adornee = chara.Head
  529. naeeym2.Name = "BLABLABLA"
  530. local tecks2 = Instance.new("TextLabel",naeeym2)
  531. tecks2.BackgroundTransparency = 1
  532. tecks2.BorderSizePixel = 0
  533. tecks2.Text = ""
  534. tecks2.Font = "Antique"
  535. tecks2.FontSize = "Size24"
  536. tecks2.TextStrokeTransparency = 0
  537. tecks2.TextColor3 = Color3.new(0,0,0)
  538. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  539. tecks2.Size = UDim2.new(1,0,0.5,0)coroutine.wrap(function()
  540. while tecks2 ~= nil do
  541. swait()
  542. tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
  543. end
  544. end)()
  545. for i = 1,string.len(text),1 do
  546. tecks2.Text = string.sub(text,1,i)
  547. swait()
  548. end
  549. swait(30)
  550. for i = 1, 5 do
  551. swait()
  552. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  553. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  554. tecks2.TextTransparency = tecks2.TextTransparency + .2
  555. end
  556. naeeym2:Destroy()
  557. end)()
  558. end
  559.  
  560. function GetDudesTorso(c)
  561. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  562. if torsy ~= nil then
  563. return torsy
  564. end
  565. end
  566.  
  567. function BodyVel(part,faws)
  568. local bodyvel = Instance.new("BodyVelocity",part)
  569. local pep = 10000000
  570. bodyvel.P = pep
  571. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  572. bodyvel.Velocity = faws
  573. debby:AddItem(bodyvel,.2)
  574. end
  575.  
  576. function Dmg(dude,dmg,env,faws,trip,efftyp,toim)
  577. if dude and dude ~= chara then
  578. if dude:FindFirstChild("HITO") then return end
  579. local debounce = Instance.new("BoolValue",dude)
  580. debounce.Name = "HITO"
  581. debby:AddItem(debounce,toim)
  582. local hum = dude:FindFirstChildOfClass("Humanoid")
  583. local dam = dmg+math.random(-env,env)
  584. local teksu = "-"..dam
  585. if hum then
  586. local finhel = hum.Health - dam
  587. if finhel <= 0 and dude:FindFirstChild("DEATHED")==nil then
  588. Instance.new("BoolValue",dude).Name = "DEATHED"
  589. local soaa = Instance.new("Sound",dude.Head)
  590. local cho = math.random(1,5)
  591. if cho == 1 then
  592. soaa.SoundId = "rbxassetid://111896685"
  593. elseif cho == 2 then
  594. soaa.SoundId = "rbxassetid://535528169"
  595. elseif cho == 3 then
  596. soaa.SoundId = "rbxassetid://1080363252"
  597. elseif cho == 4 then
  598. soaa.SoundId = "rbxassetid://147758746"
  599. elseif cho == 5 then
  600. soaa.SoundId = "rbxassetid://626777433"
  601. soaa.Volume = .2
  602. soaa.TimePosition = 1
  603. end
  604. game:service'Debris':AddItem(soaa,6)
  605. soaa:Play()
  606. end
  607. if hum.Health > 1000 then
  608. teksu = "DEATH"
  609. dude:BreakJoints()
  610. else
  611. hum.Health = hum.Health - dam
  612. end
  613. end
  614. coroutine.wrap(function()
  615. local naeeym2 = Instance.new("BillboardGui",dude)
  616. naeeym2.Size = UDim2.new(0,100,0,40)
  617. naeeym2.StudsOffset = Vector3.new(0,3,0)
  618. naeeym2.Adornee = dude:FindFirstChild("Head")
  619. naeeym2.Name = "TalkingBillBoard"
  620. local tecks2 = Instance.new("TextLabel",naeeym2)
  621. tecks2.BackgroundTransparency = 1
  622. tecks2.BorderSizePixel = 0
  623. tecks2.Text = teksu
  624. tecks2.Font = "Antique"
  625. tecks2.TextSize = 24
  626. tecks2.TextStrokeTransparency = 0
  627. tecks2.TextColor3 = Color3.new(0,0,0)
  628. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  629. tecks2.Size = UDim2.new(1,0,0.5,0)
  630. swait(10)
  631. for i = 0,1,.05 do
  632. swait()
  633. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  634. tecks2.TextStrokeTransparency = i
  635. tecks2.TextTransparency = i
  636. end
  637. naeeym2:Destroy()
  638. end)()
  639. local torsy = GetDudesTorso(dude)
  640. if torsy then
  641. for i=1,dam/5 do
  642. local blp = Instance.new("Part",EffectModel)
  643. blp.Size = Vector3.new(.3,.3,.3)
  644. blp.BrickColor = BrickColor.new("Crimson")
  645. blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  646. blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0)
  647. blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  648. --local blm = Instance.new("SpecialMesh",blp)
  649. --blm.MeshType = "Sphere"
  650. coroutine.wrap(function()
  651. swait(10)
  652. blp.Orientation = Vector3.new(0,blp.Orientation.y,0)
  653. for i=0,1,.1 do
  654. swait()
  655. blp.Transparency = i
  656. blp.Size = blp.Size + Vector3.new(.05,-.05,.05)
  657. end
  658. blp:Destroy()
  659. end)()
  660. end
  661. if efftyp == "Blunt" then
  662. puncheff(torsy)
  663. elseif efftyp == "Sharp" then
  664. slasheff(torsy)
  665. elseif efftyp == "Shot" then
  666. so(144884872,torsy,.9,1)
  667. end
  668. if faws ~= 0 then
  669. BodyVel(torsy,faws)
  670. end
  671. if trip == true then
  672. torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0)
  673. torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  674. end
  675. end
  676. end
  677. end
  678.  
  679. function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim)
  680. for _, c in pairs(workspace:GetDescendants()) do
  681. local hum = c:FindFirstChildOfClass("Humanoid")
  682. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  683. local head = GetDudesTorso(c)
  684. if head ~= nil then
  685. local targ = head.Position - par.Position
  686. local mag = targ.magnitude
  687. if magni >= mag and c ~= chara then
  688. Dmg(c,dmg,env,faws,trip,efftyp,toim)
  689. end
  690. end
  691. end
  692. end
  693. end
  694.  
  695. function CamShake(par,magni,env,dur)
  696. coroutine.wrap(function()
  697. for i=0,dur*60 do
  698. swait()
  699. 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)
  700. end
  701. Humanoid.CameraOffset = Vector3.new(0,3,0)
  702. end)()
  703. end
  704.  
  705. function puncheff(par)
  706. if par.Parent:FindFirstChild("DebounceHit")==nil then
  707. so(386946017,par,math.random(6,8)/10,1)
  708. 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)
  709. CamShake(bla,10,.5,.5)
  710. end
  711. end
  712.  
  713. function slasheff(par)
  714. if par.Parent:FindFirstChild("DebounceHit")==nil then
  715. local cho = math.random(1,3)
  716. if cho == 1 then
  717. so(444667824,par,1,1)
  718. elseif cho == 2 then
  719. so(444667844,par,1,1)
  720. elseif cho == 3 then
  721. so(444667859,par,1,1)
  722. end
  723. --function(cf,partsize,meshstart,meshadd,matr,colour,factor)
  724. 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)
  725. end
  726. end
  727.  
  728. local mus = Instance.new("Sound",chara)
  729. mus.Name = "mus"
  730. mus.SoundId = "rbxassetid://142653441"--"rbxassetid://335204822"
  731. mus.Looped = true
  732. mus.Volume = .3
  733. mus:Play()
  734.  
  735. Humanoid.MaxHealth = 1000
  736. Humanoid.Health = 1000
  737.  
  738. ------------------Intro-----------------------
  739. intro = true
  740. if intro == true then
  741. coroutine.wrap(function()
  742. attack = true
  743. Humanoid.WalkSpeed = 0
  744. Humanoid.JumpPower = 0
  745. PlayAnimationFromTable({
  746. CFrame.new(0, 233.999924, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  747. CFrame.new(0, 3.6000421, 1.07246542, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  748. CFrame.new(3.6967864, -0.452571809, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  749. CFrame.new(-3.60279894, -0.418379426, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  750. CFrame.new(1.50001526, -4, -1.3000021, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  751. CFrame.new(-1.50001526, -6, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  752. }, 1, false)
  753. swait(120)
  754. for i=0,1,.1 do
  755. swait()
  756. PlayAnimationFromTable({
  757. CFrame.new(0, -1.00005245, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  758. CFrame.new(0, 3.60004878, 1.07246184, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  759. CFrame.new(3.69677114, -0.452568352, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  760. CFrame.new(-3.60280585, -0.418371797, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1),
  761. CFrame.new(1.50001526, -3.99999714, -1.3000021, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  762. CFrame.new(-1.50001526, -6, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  763. }, .4, false)
  764. end
  765. so(133680244,Torso,1,3)
  766. CamShake(Torso,20,.8,.6)
  767. MagnitudeDmg(Torso,15,30,3,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  768. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,0),Vector3.new(),Vector3.new(2,1,2),"",10,false,.02)
  769. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,0),Vector3.new(),Vector3.new(1.5,2.5,1.5),"",-10,false,.02)
  770. local hit,hitpos = rayCast(RootPart.Position,Vector3.new(0,-1,0),15,chara)
  771. for i = 1,12 do
  772. local size = math.random(7,10)
  773. local p = Instance.new("Part",EffectModel)
  774. p.BrickColor = hit.BrickColor
  775. p.Material = hit.Material
  776. p.Size = Vector3.new(size,size,size)
  777. 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)))
  778. p.CanCollide = false
  779. p.Velocity = Vector3.new(math.random(-70,70),170,math.random(-70,70))
  780. p.RotVelocity = Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))
  781. coroutine.wrap(function()
  782. swait(20)
  783. p.CanCollide = true
  784. swait(120)
  785. for i=0,1,.05 do
  786. swait()
  787. p.Transparency = i
  788. end
  789. p:Destroy()
  790. end)()
  791. end
  792. mus.Volume = 1
  793. mus:Play()
  794. RootPart.Anchored = true
  795. for i=0,6,.1 do
  796. swait()
  797. PlayAnimationFromTable({
  798. CFrame.new(0, -2.53941131, -0.348767281, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  799. CFrame.new(0, 4.57664824, -0.666416466, 1, 0, 0, 0, 0.939692438, 0.34202075, 0, -0.34202075, 0.939692438),
  800. 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),
  801. 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),
  802. CFrame.new(1.50001526, -3.52529287, -3.56594658, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  803. CFrame.new(-1.50001526, -5.99999619, 6.67572112e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  804. }, .4, false)
  805. end
  806. RootPart.Anchored = false
  807. for i=0,2,.1 do
  808. swait()
  809. PlayAnimationFromTable({
  810. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  811. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  812. 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),
  813. 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),
  814. 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),
  815. 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),
  816. }, .15, false)
  817. end
  818. 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,})
  819. 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,})
  820. 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),})
  821. for i=0,4,.1 do
  822. swait()
  823. PlayAnimationFromTable({
  824. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  825. CFrame.new(0, 4.49995232, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  826. 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),
  827. CFrame.new(-4.89282131, 0.675060272, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  828. CFrame.new(1.50001168, -6, -1.01327896e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
  829. CFrame.new(-1.50001526, -6, 2.98023224e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  830. }, .15, false)
  831. end
  832. Fays.Texture = "rbxassetid://58425273"
  833. FShedo:Destroy()
  834. Shedo.Transparency = 0
  835. Humanoid.WalkSpeed = 8
  836. Humanoid.JumpPower = 70
  837. attack = false
  838. end)()
  839. end
  840. --------------------------------------------------
  841.  
  842. function smek()
  843. attack = true
  844. Humanoid.WalkSpeed = 2
  845. Humanoid.JumpPower = 0
  846. for i=0,1,.1 do
  847. swait()
  848. PlayAnimationFromTable({
  849. CFrame.new(0, -1.73551273, -0.521830797, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  850. CFrame.new(0, 4.41427088, -0.820159078, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438),
  851. 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),
  852. 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),
  853. CFrame.new(1.50001335, -5.50980282, 1.44903219, 1, 0, 0, 0, 0.866024911, 0.500000954, 0, -0.500000954, 0.866024852),
  854. CFrame.new(-1.50001526, -6.18578386, -0.968178153, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  855. }, .2, false)
  856. end
  857. so(536642316,RightLeg,.7,3)
  858. for i=0,1,.1 do
  859. swait()
  860. PlayAnimationFromTable({
  861. 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),
  862. CFrame.new(-7.62939453e-06, 4.41428709, -0.820158899, 1, 0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736),
  863. 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),
  864. 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),
  865. CFrame.new(1.50002289, -5.89457655, -2.13732576, 1, 0, 0, 0, 0.766043544, -0.642788708, 0, 0.642788708, 0.766043544),
  866. 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),
  867. }, .4, false)
  868. MagnitudeDmg(RightLeg,4,60,3,RootPart.CFrame.lookVector*50,true,"Blunt",.5)
  869. end
  870. swait(20)
  871. Humanoid.WalkSpeed = 8
  872. Humanoid.JumpPower = 70
  873. attack = false
  874. end
  875.  
  876. xhold = false
  877. function thesurou()
  878. attack = true
  879. Humanoid.WalkSpeed = 2
  880. local grab = nil
  881. local torsy = nil
  882. local hum = nil
  883. for i, v in pairs(FindNearestTorso((RootPart.Position-Vector3.new(0,5,0)), 6)) do
  884. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  885. hum = v:FindFirstChildOfClass("Humanoid")
  886. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  887. grab = v
  888. end
  889. end
  890. if grab ~= nil and torsy ~= nil then
  891. so(200632136,RootPart,.8,1)
  892. for i = 0,1.5,.1 do
  893. swait()
  894. PlayAnimationFromTable({
  895. CFrame.new(0, -3.15879345, -2.53031492, 1, 0, 0, 0, 0.500002086, 0.866031468, 0, -0.866031468, 0.500002086),
  896. CFrame.new(0, 4.57667542, -0.666417062, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  897. 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),
  898. 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),
  899. CFrame.new(1.50001526, -3.79331636, -2.24549532, 1, 0, 0, 0, 0.500002086, -0.866031468, 0, 0.866031468, 0.500002086),
  900. CFrame.new(-1.50001526, -6.19285679, -1.2660259, 1, 0, 0, 0, 0.866025031, -0.500000834, 0, 0.500000834, 0.866025031),
  901. }, .3, false)
  902. end
  903. so(240429615,torsy,1,1)
  904. local ref = Instance.new("Part",Camera)
  905. ref.Size = Vector3.new(0,0,0)
  906. ref.Anchored = true
  907. ref.CanCollide = false
  908. ref.Transparency = .5
  909. ref.BrickColor = BrickColor.Red()
  910. ref.Material = "Neon"
  911. local refm = Instance.new("SpecialMesh",ref)
  912. refm.MeshType = "Sphere"
  913. refm.Scale = Vector3.new(20,20,20)
  914. repeat
  915. swait()
  916. ref.CFrame = Mouse.Hit
  917. PlayAnimationFromTable({
  918. CFrame.new(0, -2, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  919. 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),
  920. 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),
  921. 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),
  922. CFrame.new(1.50001907, -6.00000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  923. CFrame.new(-1.50001311, -6.00000048, 4.58955765e-06, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  924. }, .3, false)
  925. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  926. hum.PlatformStand = true
  927. torsy.Velocity = Vector3.new()
  928. --end
  929. until xhold == false
  930. ref:Destroy()
  931. so(200632136,RootPart,.9,1)
  932. local pato = Instance.new("Part",torsy)
  933. pato.CFrame = torsy.CFrame
  934. pato.Size = Vector3.new(4.1,6.1,1.1)
  935. pato.Transparency = 1
  936. pato.CanCollide = false
  937. pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  938. local werudo = Instance.new("Weld",pato)
  939. werudo.Part0 = pato
  940. werudo.Part1 = torsy
  941. torsy.Velocity = (ref.Position-torsy.Position).unit*200+Vector3.new(0,30,0)
  942. torsy.RotVelocity = Vector3.new(10,10,10)
  943. coroutine.wrap(function()
  944. while true do
  945. swait()
  946. hum.PlatformStand = true
  947. end
  948. end)
  949. pato.Touched:connect(function(hit)
  950. if hit:IsDescendantOf(chara)==false then
  951. pato:Destroy()
  952. Dmg(grab,150,0,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*50,true,"Blunt",.3)
  953. so(260430079,torsy,1,5)
  954. MagnitudeDmg(torsy,6,50,3,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  955. end
  956. end)
  957. for i = 0,1,.1 do
  958. swait()
  959. PlayAnimationFromTable({
  960. CFrame.new(0, -2, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  961. 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),
  962. 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),
  963. 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),
  964. CFrame.new(1.50002027, -6, -1.07288361e-06, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  965. CFrame.new(-1.50001907, -6, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  966. }, .3, false)
  967. end
  968. end
  969. attack = false
  970. Humanoid.WalkSpeed = 8
  971. end
  972.  
  973. function slam()
  974. attack = true
  975. Humanoid.WalkSpeed = 2
  976. Humanoid.JumpPower = 0
  977. for i=0,2,.1 do
  978. swait()
  979. PlayAnimationFromTable({
  980. CFrame.new(0, -1.93353117, 0.461958885, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  981. CFrame.new(0, 4.36522532, -0.370157003, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  982. 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),
  983. 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),
  984. CFrame.new(1.50001526, -5.97923088, 0.956724763, 1, 0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736),
  985. CFrame.new(-1.50001526, -3.92088175, -1.2822783, 1, 0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736),
  986. }, .2, false)
  987. end
  988. so(536642316,RightLeg,.7,3)
  989. Humanoid.WalkSpeed = 0
  990. for i=0,1,.2 do
  991. swait()
  992. PlayAnimationFromTable({
  993. CFrame.new(0, -5.00873852, -6.03775024, 1, 0, 0, 0, 0.342019022, 0.939693093, 0, -0.939693093, 0.342018992),
  994. CFrame.new(0, 4.36520767, -0.370157599, 1, 0, 0, 0, 0.866026223, 0.499998808, 0, -0.499998808, 0.866026223),
  995. 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),
  996. 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),
  997. CFrame.new(1.50001526, -5.95997667, -0.00628298474, 1, 0, 0, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012),
  998. CFrame.new(-1.50001621, -2.56001854, -1.60915279, 1, 0, 0, 0, 0.984807789, -0.173648238, 0, 0.173648268, 0.98480773),
  999. }, .4, false)
  1000. end
  1001. so(133680244,Torso,1,3)
  1002. CamShake(RightArm,10,.5,.5)
  1003. MagnitudeDmg(RightArm,10,40,3,RootPart.CFrame.lookVector*30,true,"Blunt",.5)
  1004. MagnitudeDmg(LeftArm,10,40,3,RootPart.CFrame.lookVector*30,true,"Blunt",.5)
  1005. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,-10),Vector3.new(),Vector3.new(1,1,1),"",10,false,.05)
  1006. Effects.Wave(RootPart.CFrame*CFrame.new(0,-5,-10),Vector3.new(),Vector3.new(.5,2,.5),"",-10,false,.05)
  1007. swait(50)
  1008. Humanoid.WalkSpeed = 8
  1009. Humanoid.JumpPower = 70
  1010. attack = false
  1011. end
  1012.  
  1013. chold = false
  1014. function headrip()
  1015. attack = true
  1016. Humanoid.WalkSpeed = 2
  1017. local grab = nil
  1018. local torsy = nil
  1019. local hum = nil
  1020. for i, v in pairs(FindNearestTorso((RootPart.Position-Vector3.new(0,5,0)), 6)) do
  1021. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  1022. hum = v:FindFirstChildOfClass("Humanoid")
  1023. torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
  1024. grab = v
  1025. end
  1026. end
  1027. if grab ~= nil and torsy ~= nil then
  1028. so(200632136,RootPart,.8,1)
  1029. for i = 0,1.5,.1 do
  1030. swait()
  1031. PlayAnimationFromTable({
  1032. CFrame.new(0, -3.15884066, -2.53038549, 1, 0, 0, 0, 0.500003159, 0.866033316, 0, -0.866033316, 0.500003159),
  1033. CFrame.new(0, 4.57682848, -0.666438639, 1, 0, 0, 0, 0.939708173, 0.342026293, 0, -0.342026293, 0.939708173),
  1034. 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),
  1035. 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),
  1036. CFrame.new(1.50001526, -3.79332972, -2.24550533, 1, 0, 0, 0, 0.500003159, -0.866033316, 0, 0.866033316, 0.500003159),
  1037. CFrame.new(-1.50001526, -6.19305992, -1.26607037, 1, 0, 0, 0, 0.866039395, -0.500009179, 0, 0.500009179, 0.866039395),
  1038. }, .3, false)
  1039. end
  1040. so(240429615,torsy,1,1)
  1041. for i = 0,1.5,.1 do
  1042. swait()
  1043. PlayAnimationFromTable({
  1044. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1045. CFrame.new(0, 4.48268127, -0.632217944, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1046. 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),
  1047. 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),
  1048. CFrame.new(1.50001526, -6, 2.98023224e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
  1049. CFrame.new(-1.50001431, -6, 3.12924385e-06, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1050. }, .3, false)
  1051. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1052. hum.PlatformStand = true
  1053. torsy.Velocity = Vector3.new()
  1054. end
  1055. local armmod = Instance.new("Model",chara)
  1056. armmod.Name = grab.Name
  1057. Instance.new("Humanoid",armmod).Health = 0
  1058. for i, v in pairs(grab:GetChildren()) do
  1059. if v:IsA("Accoutrement") then
  1060. v.Parent = armmod
  1061. if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1062. v.Handle.AccessoryWeld.Part1 = nil
  1063. end
  1064. end
  1065. end
  1066. local armp = grab:FindFirstChild("Head")
  1067. Instance.new("BoolValue",grab).Name = "DEATHED"
  1068. grab:BreakJoints()
  1069. armp.Parent = armmod
  1070. for i, v in pairs(armmod:GetChildren()) do
  1071. if v:IsA("Accoutrement") then
  1072. if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
  1073. v.Handle.AccessoryWeld.Part1 = armp
  1074. v.Parent = armmod
  1075. end
  1076. end
  1077. end
  1078. so(206082327,armp,1,5)
  1079. local bledp = Instance.new("Part",grab)
  1080. bledp.Size = Vector3.new(0,0,0)
  1081. bledp.Transparency = 1
  1082. bledp.CanCollide = false
  1083. local blpemit = Instance.new("ParticleEmitter")
  1084. blpemit.Color = ColorSequence.new(Color3.new(.5,0,0))
  1085. blpemit.Texture = "rbxassetid://233069772"
  1086. blpemit.Transparency = NumberSequence.new(0,1)
  1087. blpemit.Lifetime = NumberRange.new(1,3)
  1088. blpemit.Acceleration = Vector3.new(0,-10,0)
  1089. blpemit.Enabled = true
  1090. blpemit.EmissionDirection = "Front"
  1091. blpemit.Speed = NumberRange.new(1,3)
  1092. blpemit.Size = NumberSequence.new(.5)
  1093. blpemit.Rate = 1000
  1094. blpemit.RotSpeed = NumberRange.new(50)
  1095. blpemit.Rotation = NumberRange.new(0,360)
  1096. local blpe = blpemit:Clone()
  1097. blpe.Parent = bledp
  1098. blpe.EmissionDirection = "Top"
  1099. blpe.VelocitySpread = 20
  1100. local wel = Instance.new("Weld",armp)
  1101. wel.Part0 = RightArm
  1102. wel.Part1 = armp
  1103. wel.C0 = CFrame.new(0,-3.5,0) * CFrame.Angles(math.rad(-90),0,0)
  1104. local blape = bledp:Clone()
  1105. blape.Parent = armmod
  1106. blape.ParticleEmitter.EmissionDirection = "Bottom"
  1107. local bledw = Instance.new("Weld",bledp)
  1108. bledw.Part0 = torsy
  1109. bledw.Part1 = bledp
  1110. bledw.C0 = CFrame.new(0,1,0)
  1111. local bledw2 = Instance.new("Weld",blape)
  1112. bledw2.Part0 = armp
  1113. bledw2.Part1 = blape
  1114. bledw2.C0 = CFrame.new(0,-.5,0)
  1115. for i = 0,2,.1 do
  1116. swait()
  1117. PlayAnimationFromTable({
  1118. 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),
  1119. 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),
  1120. 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),
  1121. 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),
  1122. 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),
  1123. 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),
  1124. }, .3, false)
  1125. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1126. hum.PlatformStand = true
  1127. torsy.Velocity = Vector3.new()
  1128. end
  1129. local ref = Instance.new("Part",Camera)
  1130. ref.Size = Vector3.new(0,0,0)
  1131. ref.Anchored = true
  1132. ref.CanCollide = false
  1133. ref.Transparency = .5
  1134. ref.BrickColor = BrickColor.Red()
  1135. ref.Material = "Neon"
  1136. local refm = Instance.new("SpecialMesh",ref)
  1137. refm.MeshType = "Sphere"
  1138. refm.Scale = Vector3.new(20,20,20)
  1139. repeat
  1140. swait()
  1141. ref.CFrame = Mouse.Hit
  1142. PlayAnimationFromTable({
  1143. CFrame.new(0, -2, 0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1144. 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),
  1145. 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),
  1146. 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),
  1147. CFrame.new(1.50001907, -6.00000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1148. CFrame.new(-1.50001311, -6.00000048, 4.58955765e-06, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1149. }, .3, false)
  1150. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1151. hum.PlatformStand = true
  1152. torsy.Velocity = Vector3.new()
  1153. --end
  1154. until chold == false
  1155. ref:Destroy()
  1156. so(200632136,RootPart,.9,1)
  1157. wel:Destroy()
  1158. armp.Velocity = (ref.Position-armp.Position).unit*200+Vector3.new(0,30,0)
  1159. armp.RotVelocity = Vector3.new(10,10,10)
  1160. armp.Touched:connect(function(hit)
  1161. if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and armp:FindFirstChild("HITA")==nil then
  1162. Instance.new("BoolValue",armp).Name = "HITA"
  1163. MagnitudeDmg(armp,6,120,0,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  1164. so(386946017,armp,.95,5)
  1165. swait(120)
  1166. for i=0,1,.05 do
  1167. armp.Transparency = i
  1168. swait()
  1169. end
  1170. armp.Parent:Destroy()
  1171. end
  1172. end)
  1173. for i = 0,1,.1 do
  1174. swait()
  1175. PlayAnimationFromTable({
  1176. CFrame.new(0, -2, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  1177. 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),
  1178. 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),
  1179. 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),
  1180. CFrame.new(1.50002027, -6, -1.07288361e-06, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  1181. CFrame.new(-1.50001907, -6, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1182. }, .3, false)
  1183. torsy.CFrame = LeftArm.CFrame*CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(-90),0,0)
  1184. hum.PlatformStand = true
  1185. torsy.Velocity = Vector3.new()
  1186. end
  1187. end
  1188. attack = false
  1189. Humanoid.WalkSpeed = 8
  1190. end
  1191.  
  1192. function stomp()
  1193. attack = true
  1194. Humanoid.WalkSpeed = 2
  1195. Humanoid.JumpPower = 0
  1196. for i=0,2,.1 do
  1197. swait()
  1198. PlayAnimationFromTable({
  1199. CFrame.new(0, -2, 0.499992371, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1200. CFrame.new(0, 4.42290688, -0.504058063, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1201. CFrame.new(4.92942858, 1.05621195, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1),
  1202. CFrame.new(-4.79283428, 1.09282625, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1),
  1203. CFrame.new(1.2052269, -2.30000162, -2.06380463, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1204. CFrame.new(-1.50001597, -6, -0.499997646, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1205. }, .2, false)
  1206. end
  1207. so(536642316,RightLeg,.7,3)
  1208. Humanoid.WalkSpeed = 0
  1209. for i=0,1,.2 do
  1210. swait()
  1211. PlayAnimationFromTable({
  1212. CFrame.new(0, -1.82004941, -0.371783257, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1213. CFrame.new(0, 4.42290878, -0.504067779, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438),
  1214. 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),
  1215. 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),
  1216. CFrame.new(1.2052269, -5.38336658, -2.92564583, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1217. 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),
  1218. }, .4, false)
  1219. end
  1220. so(133680244,Torso,1,3)
  1221. CamShake(Torso,10,.5,.5)
  1222. Effects.Wave(RootPart.CFrame*CFrame.new(1,-7,-2),Vector3.new(),Vector3.new(1,.2,1),"",10,false,.05)
  1223. for _, c in pairs(workspace:GetDescendants()) do
  1224. local hum = c:FindFirstChildOfClass("Humanoid")
  1225. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  1226. local head = GetDudesTorso(c)
  1227. if head ~= nil then
  1228. local targ = head.Position - RightLeg.Position
  1229. local mag = targ.magnitude
  1230. if 4 >= mag and c ~= chara then
  1231. so(206082327,head,1,3)
  1232. for ay,ee in pairs(c:children()) do
  1233. if ee:IsA("BasePart") then
  1234. for i=1,5 do
  1235. local bl = Instance.new("Part",c)
  1236. bl.CFrame = ee.CFrame + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10)
  1237. local rand = math.random(2,7)/10
  1238. bl.Size = Vector3.new(rand,rand,rand)
  1239. bl.BrickColor = BrickColor.new("Maroon")
  1240. bl.Material = "Granite"
  1241. ee:Destroy()
  1242. end
  1243. end
  1244. end
  1245. end
  1246. end
  1247. end
  1248. end
  1249. swait(50)
  1250. Humanoid.WalkSpeed = 8
  1251. Humanoid.JumpPower = 70
  1252. attack = false
  1253. end
  1254.  
  1255. function pshoot()
  1256. attack = true
  1257. local ref = Instance.new("Part",Camera)
  1258. ref.Size = Vector3.new(0,0,0)
  1259. ref.Anchored = true
  1260. ref.CanCollide = false
  1261. ref.Transparency = 1
  1262. so(2920959,PHandaru,.8,3)
  1263. ref.CFrame = Mouse.Hit
  1264. MagnitudeDmg(ref,3,40,2,RootPart.CFrame.lookVector*20,true,"Shot",.1)
  1265. local hitpt = Instance.new("Part",EffectModel)
  1266. hitpt.Size = Vector3.new(.3,.3,1)
  1267. hitpt.CFrame = PBExit.CFrame * CFrame.Angles(math.rad(180),0,0)
  1268. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1269. local hitm = Instance.new("SpecialMesh",hitpt)
  1270. hitm.MeshId = "rbxassetid://94295100"
  1271. hitm.TextureId = "rbxassetid://94287792"
  1272. hitm.Scale = Vector3.new(7,7,7)
  1273. coroutine.wrap(function()
  1274. swait(30)
  1275. for i = 0,1,.1 do
  1276. swait()
  1277. hitpt.Transparency = i
  1278. end
  1279. hitpt:Destroy()
  1280. end)()
  1281. CamShake(PShot,10,.3,.2)
  1282. CamShake(ref,10,.3,.2)
  1283. 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)
  1284. 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)
  1285. 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)
  1286. ref:Destroy()
  1287. for i=0,1,.1 do
  1288. swait()
  1289. PlayAnimationFromTable({
  1290. CFrame.new(0, -2.03907418, 0.246627718, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1291. CFrame.new(0, 4.27438593, -0.749499321, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1292. CFrame.new(4.50001526, 2.12096167, -0.0117100477, 1, 0, 0, 0, -0.500000715, -0.86602509, 0, 0.86602509, -0.500000715),
  1293. 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),
  1294. CFrame.new(1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1295. CFrame.new(-1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1296. }, .3, false)
  1297. end
  1298. for i=0,2,.1 do
  1299. swait()
  1300. PlayAnimationFromTable({
  1301. CFrame.new(0, -2.03907442, 0.0466268957, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1302. CFrame.new(0, 4.27438593, -0.749499321, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1303. CFrame.new(4.50001526, 0.888218164, -1.46819997, 1, 0, 0, 0, 0.342019796, -0.939692855, 0, 0.939692855, 0.342019796),
  1304. 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),
  1305. CFrame.new(1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1306. CFrame.new(-1.50001526, -5.94357777, 0.444926023, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1307. }, .15, false)
  1308. end
  1309. attack = false
  1310. end
  1311.  
  1312. function sshoot()
  1313. attack = true
  1314. so(138083993,SHandaru,.8,3)
  1315. CamShake(SHandaru,10,.5,.3)
  1316. 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)
  1317. for a=1,6 do
  1318. local ref = Instance.new("Part",Camera)
  1319. ref.Size = Vector3.new(0,0,0)
  1320. ref.Anchored = true
  1321. ref.CanCollide = false
  1322. ref.Transparency = 1
  1323. ref.CFrame = Mouse.Hit*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1324. MagnitudeDmg(ref,7,50,2,RootPart.CFrame.lookVector*20,true,"Shot",0)
  1325. CamShake(ref,10,.4,.3)
  1326. 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)
  1327. 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)
  1328. ref:Destroy()
  1329. end
  1330. for i=0,2,.1 do
  1331. swait()
  1332. PlayAnimationFromTable({
  1333. 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),
  1334. 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),
  1335. 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),
  1336. 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),
  1337. 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),
  1338. 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),
  1339. }, .3, false)
  1340. end
  1341. so(2697295,SHandaru,.4,3)
  1342. for i=0,1,.1 do
  1343. swait()
  1344. PlayAnimationFromTable({
  1345. 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),
  1346. 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),
  1347. 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),
  1348. 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),
  1349. 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),
  1350. 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),
  1351. }, .2, false)
  1352. end
  1353. local hitpt = Instance.new("Part",EffectModel)
  1354. hitpt.Size = Vector3.new(.7,.6,2.1)
  1355. hitpt.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1356. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1357. hitpt.BrickColor = BrickColor.Red()
  1358. local hitm = Instance.new("SpecialMesh",hitpt)
  1359. hitm.MeshId = "rbxassetid://94248124"
  1360. hitm.Scale = Vector3.new(4,4,4)
  1361. coroutine.wrap(function()
  1362. swait(30)
  1363. for i = 0,1,.1 do
  1364. swait()
  1365. hitpt.Transparency = i
  1366. end
  1367. hitpt:Destroy()
  1368. end)()
  1369. swait(15)
  1370. so(2697295,SHandaru,.5,3)
  1371. for i=0,2,.1 do
  1372. swait()
  1373. PlayAnimationFromTable({
  1374. 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),
  1375. 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),
  1376. 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),
  1377. 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),
  1378. 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),
  1379. 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),
  1380. }, .15, false)
  1381. end
  1382. attack = false
  1383. end
  1384.  
  1385. slugged = false
  1386. function slugload()
  1387. attack = true
  1388. for i=0,1.5,.1 do
  1389. swait()
  1390. PlayAnimationFromTable({
  1391. 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),
  1392. 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),
  1393. 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),
  1394. 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),
  1395. 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),
  1396. 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),
  1397. }, .15, false)
  1398. end
  1399. local hitpt0 = Instance.new("Part",EffectModel)
  1400. hitpt0.Size = Vector3.new(.7,.6,2.1)
  1401. hitpt0.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1402. hitpt0.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1403. local hitm0 = Instance.new("SpecialMesh",hitpt0)
  1404. hitm0.MeshId = "rbxassetid://94248124"
  1405. hitm0.TextureId = "rbxassetid://94219470"
  1406. hitm0.Scale = Vector3.new(4,4,4)
  1407. local hw = Instance.new("Weld",hitpt0)
  1408. hw.Part0 = hitpt0
  1409. hw.Part1 = LeftArm
  1410. hw.C0 = CFrame.new(-1,2.5,0)
  1411. for i=0,1,.1 do
  1412. swait()
  1413. PlayAnimationFromTable({
  1414. 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),
  1415. 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),
  1416. 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),
  1417. 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),
  1418. 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),
  1419. 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),
  1420. }, .2, false)
  1421. end
  1422. hitpt0:Destroy()
  1423. so(2697295,SHandaru,.7,3)
  1424. swait(15)
  1425. for i=0,1,.1 do
  1426. swait()
  1427. PlayAnimationFromTable({
  1428. 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),
  1429. 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),
  1430. 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),
  1431. 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),
  1432. 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),
  1433. 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),
  1434. }, .2, false)
  1435. end
  1436. for i=0,1.5,.1 do
  1437. swait()
  1438. PlayAnimationFromTable({
  1439. 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),
  1440. 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),
  1441. 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),
  1442. 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),
  1443. 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),
  1444. 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),
  1445. }, .15, false)
  1446. end
  1447. local hitpt = Instance.new("Part",EffectModel)
  1448. hitpt.Size = Vector3.new(.7,.6,2.1)
  1449. hitpt.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1450. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1451. hitpt.BrickColor = BrickColor.Red()
  1452. local hitm = Instance.new("SpecialMesh",hitpt)
  1453. hitm.MeshId = "rbxassetid://94248124"
  1454. hitm.Scale = Vector3.new(4,4,4)
  1455. coroutine.wrap(function()
  1456. swait(30)
  1457. for i = 0,1,.1 do
  1458. swait()
  1459. hitpt.Transparency = i
  1460. end
  1461. hitpt:Destroy()
  1462. end)()
  1463. swait(15)
  1464. so(2697295,SHandaru,.5,3)
  1465. for i=0,2,.1 do
  1466. swait()
  1467. PlayAnimationFromTable({
  1468. 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),
  1469. 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),
  1470. 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),
  1471. 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),
  1472. 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),
  1473. 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),
  1474. }, .15, false)
  1475. end
  1476. slugged = true
  1477. attack = false
  1478. end
  1479.  
  1480. function slugshoot()
  1481. attack = true
  1482. so(138083993,SHandaru,.8,3)
  1483. CamShake(SHandaru,10,.5,.3)
  1484. 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)
  1485. local ref = Instance.new("Part",Camera)
  1486. ref.Size = Vector3.new(0,0,0)
  1487. ref.Anchored = true
  1488. ref.CanCollide = false
  1489. ref.Transparency = 1
  1490. ref.CFrame = Mouse.Hit
  1491. MagnitudeDmg(ref,3,120,0,RootPart.CFrame.lookVector*70,true,"Shot",0)
  1492. CamShake(ref,10,.4,.3)
  1493. 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)
  1494. 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)
  1495. ref:Destroy()
  1496. for i=0,2,.1 do
  1497. swait()
  1498. PlayAnimationFromTable({
  1499. 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),
  1500. 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),
  1501. 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),
  1502. 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),
  1503. 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),
  1504. 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),
  1505. }, .3, false)
  1506. end
  1507. so(2697295,SHandaru,.4,3)
  1508. for i=0,1,.1 do
  1509. swait()
  1510. PlayAnimationFromTable({
  1511. 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),
  1512. 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),
  1513. 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),
  1514. 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),
  1515. 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),
  1516. 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),
  1517. }, .2, false)
  1518. end
  1519. local hitpt = Instance.new("Part",EffectModel)
  1520. hitpt.Size = Vector3.new(.7,.6,2.1)
  1521. hitpt.CFrame = SSExit.CFrame * CFrame.Angles(0,math.rad(90),0)
  1522. hitpt.Velocity = RootPart.CFrame.rightVector*30+Vector3.new(0,20,0)
  1523. local hitm = Instance.new("SpecialMesh",hitpt)
  1524. hitm.MeshId = "rbxassetid://94248124"
  1525. hitm.TextureId = "rbxassetid://94219470"
  1526. hitm.Scale = Vector3.new(4,4,4)
  1527. coroutine.wrap(function()
  1528. swait(30)
  1529. for i = 0,1,.1 do
  1530. swait()
  1531. hitpt.Transparency = i
  1532. end
  1533. hitpt:Destroy()
  1534. end)()
  1535. swait(15)
  1536. so(2697295,SHandaru,.5,3)
  1537. for i=0,2,.1 do
  1538. swait()
  1539. PlayAnimationFromTable({
  1540. 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),
  1541. 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),
  1542. 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),
  1543. 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),
  1544. 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),
  1545. 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),
  1546. }, .15, false)
  1547. end
  1548. slugged = false
  1549. attack = false
  1550. end
  1551.  
  1552. function equippist()
  1553. attack = true
  1554. Humanoid.WalkSpeed = 2
  1555. Humanoid.JumpPower = 0
  1556. if CurrentWep == "Shotgun" then
  1557. for i=0,2,.1 do
  1558. swait()
  1559. PlayAnimationFromTable({
  1560. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1561. 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),
  1562. CFrame.new(4.50001526, 2.68827057, 0.743782997, 1, 0, 0, 0, -0.866025388, 0.500000238, 0, -0.500000238, -0.866025388),
  1563. CFrame.new(-4.79884863, 0.640861034, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1564. CFrame.new(1.50001431, -6.00000048, 3.12924385e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1565. CFrame.new(-1.5000186, -6.00000048, 9.83476639e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1566. }, .15, false)
  1567. end
  1568. SHandaru.Transparency = 1
  1569. HolShot.Transparency = 0
  1570. for i=0,1,.1 do
  1571. swait()
  1572. PlayAnimationFromTable({
  1573. 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),
  1574. 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),
  1575. 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),
  1576. CFrame.new(-4.50001621, 0.190193266, -0.9294222, 1.00000024, 0, -2.98023224e-08, 0, 0.86602515, -0.500000358, 0, 0.500000417, 0.866025329),
  1577. 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),
  1578. 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),
  1579. }, .3, false)
  1580. end
  1581. end
  1582. for i=0,2,.1 do
  1583. swait()
  1584. PlayAnimationFromTable({
  1585. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1586. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1587. 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),
  1588. 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),
  1589. 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),
  1590. 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),
  1591. }, .15, false)
  1592. end
  1593. CurrentWep = "Pistol"
  1594. PHandaru.Transparency = 0
  1595. HolPist.Transparency = 1
  1596. Humanoid.WalkSpeed = 8
  1597. Humanoid.JumpPower = 70
  1598. attack = false
  1599. end
  1600.  
  1601. function equipshot()
  1602. attack = true
  1603. Humanoid.WalkSpeed = 2
  1604. Humanoid.JumpPower = 0
  1605. if CurrentWep == "Pistol" then
  1606. for i=0,2,.1 do
  1607. swait()
  1608. PlayAnimationFromTable({
  1609. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1610. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1611. 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),
  1612. 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),
  1613. 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),
  1614. 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),
  1615. }, .15, false)
  1616. end
  1617. PHandaru.Transparency = 1
  1618. HolPist.Transparency = 0
  1619. for i=0,1,.1 do
  1620. swait()
  1621. PlayAnimationFromTable({
  1622. 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),
  1623. 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),
  1624. 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),
  1625. CFrame.new(-4.50001621, 0.190193266, -0.9294222, 1.00000024, 0, -2.98023224e-08, 0, 0.86602515, -0.500000358, 0, 0.500000417, 0.866025329),
  1626. 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),
  1627. 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),
  1628. }, .3, false)
  1629. end
  1630. end
  1631. for i=0,2,.1 do
  1632. swait()
  1633. PlayAnimationFromTable({
  1634. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1635. 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),
  1636. CFrame.new(4.50001526, 2.68827057, 0.743782997, 1, 0, 0, 0, -0.866025388, 0.500000238, 0, -0.500000238, -0.866025388),
  1637. CFrame.new(-4.79884863, 0.640861034, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1638. CFrame.new(1.50001431, -6.00000048, 3.12924385e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1639. CFrame.new(-1.5000186, -6.00000048, 9.83476639e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1640. }, .15, false)
  1641. end
  1642. CurrentWep = "Shotgun"
  1643. SHandaru.Transparency = 0
  1644. HolShot.Transparency = 1
  1645. Humanoid.WalkSpeed = 8
  1646. Humanoid.JumpPower = 70
  1647. attack = false
  1648. end
  1649.  
  1650. function unequip()
  1651. attack = true
  1652. Humanoid.WalkSpeed = 2
  1653. Humanoid.JumpPower = 0
  1654. if CurrentWep == "Pistol" then
  1655. for i=0,2,.1 do
  1656. swait()
  1657. PlayAnimationFromTable({
  1658. CFrame.new(0, -1.99700248, -0.27749458, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1659. CFrame.new(0, 4.55108547, -0.444281816, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1660. 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),
  1661. 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),
  1662. 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),
  1663. 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),
  1664. }, .15, false)
  1665. end
  1666. PHandaru.Transparency = 1
  1667. HolPist.Transparency = 0
  1668. elseif CurrentWep == "Shotgun" then
  1669. for i=0,2,.1 do
  1670. swait()
  1671. PlayAnimationFromTable({
  1672. CFrame.new(0, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1673. 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),
  1674. CFrame.new(4.50001526, 2.68827057, 0.743782997, 1, 0, 0, 0, -0.866025388, 0.500000238, 0, -0.500000238, -0.866025388),
  1675. CFrame.new(-4.79884863, 0.640861034, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1676. CFrame.new(1.50001431, -6.00000048, 3.12924385e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1677. CFrame.new(-1.5000186, -6.00000048, 9.83476639e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  1678. }, .15, false)
  1679. end
  1680. SHandaru.Transparency = 1
  1681. HolShot.Transparency = 0
  1682. end
  1683. CurrentWep = "CQC"
  1684. Humanoid.WalkSpeed = 8
  1685. Humanoid.JumpPower = 70
  1686. attack = false
  1687. end
  1688.  
  1689. Mouse.Button1Down:connect(function()
  1690. if attack == false then
  1691. if CurrentWep == "Pistol" then
  1692. pshoot()
  1693. elseif CurrentWep == "Shotgun" then
  1694. if slugged == true then
  1695. slugshoot()
  1696. else
  1697. sshoot()
  1698. end
  1699. else
  1700. smek()
  1701. end
  1702. end
  1703. end)
  1704.  
  1705. local sprintt = 0
  1706. Mouse.KeyDown:connect(function(k)
  1707. k = k:lower()
  1708. if k=='m' then
  1709. if mus.IsPlaying == true then
  1710. mus:Stop()
  1711. elseif mus.IsPaused == true then
  1712. mus:Play()
  1713. end
  1714. end
  1715. if attack == false then
  1716. if k == 'z' then
  1717. if CurrentWep == "Shotgun" and slugged == false then
  1718. slugload()
  1719. elseif CurrentWep == "CQC" then
  1720. slam()
  1721. end
  1722. elseif k == 'f' then
  1723. smek()
  1724. elseif k == 'x' then
  1725. xhold = true
  1726. if CurrentWep == "CQC" then
  1727. thesurou()
  1728. end
  1729. elseif k == 'c' then
  1730. chold = true
  1731. if CurrentWep == "CQC" then
  1732. headrip()
  1733. end
  1734. elseif k == 'v' then
  1735. stomp()
  1736. elseif k == 't' then
  1737. if CurrentWep ~= "Pistol" then
  1738. equippist()
  1739. else
  1740. unequip()
  1741. end
  1742. elseif k == 'y' then
  1743. if CurrentWep ~= "Shotgun" then
  1744. equipshot()
  1745. else
  1746. unequip()
  1747. end
  1748. end
  1749. end
  1750. end)
  1751.  
  1752. Mouse.KeyUp:connect(function(k)
  1753. if k == 'x' then
  1754. xhold = false
  1755. elseif k == 'c' then
  1756. chold = false
  1757. end
  1758. end)
  1759.  
  1760. coroutine.wrap(function()
  1761. game:GetService("RunService").RenderStepped:connect(function()
  1762. for i,v in pairs(chara:GetDescendants()) do
  1763. if v:IsA("BasePart") and v.Parent.Name ~= "FakeHeadM" and v.Name ~= "Head" and v.Parent:IsA("Accessory") == false then
  1764. v.LocalTransparencyModifier = 0
  1765. end
  1766. end
  1767. end)
  1768. end)()
  1769.  
  1770. coroutine.wrap(function()
  1771. while 1 do
  1772. swait()
  1773. if doe <= 360 then
  1774. doe = doe + 2
  1775. else
  1776. doe = 0
  1777. end
  1778. end
  1779. end)()
  1780. while true do
  1781. swait()
  1782. while true do
  1783. swait()
  1784. Head.Transparency = 1
  1785. if Head:FindFirstChild("face") then
  1786. Head:FindFirstChild("face").Transparency = 1
  1787. end
  1788. Humanoid.MaxHealth = 1000
  1789. if Humanoid.Health < 1000 then
  1790. Humanoid.Health = Humanoid.Health + 1
  1791. end
  1792. if chara:FindFirstChild("mus")==nil then
  1793. mus = Instance.new("Sound",chara)
  1794. mus.Name = "mus"
  1795. mus.SoundId = "rbxassetid://142653441"--"rbxassetid://335204822"
  1796. mus.Looped = true
  1797. mus.Volume = 1
  1798. mus:Play()
  1799. end
  1800. if sprintt >= 1 then
  1801. sprintt = sprintt - 1
  1802. end
  1803. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1804. velocity = RootPart.Velocity.y
  1805. sine = sine + change
  1806. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 12, chara)
  1807. if RootPart.Velocity.y > 1 and hit == nil then
  1808. Anim = "Jump"
  1809. if attack == false then
  1810. PlayAnimationFromTable({
  1811. CFrame.new(0, 0.0294559821, -0.246550545, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1812. CFrame.new(0, 4.29474068, 0.563813269, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1813. 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),
  1814. 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),
  1815. CFrame.new(1.50001526, -3.80000091, -1.39999759, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1816. CFrame.new(-1.50001621, -5.99999809, 1.13248825e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1817. }, .1, false)
  1818. end
  1819. elseif RootPart.Velocity.y < -1 and hit == nil then
  1820. Anim = "Fall"
  1821. if attack == false then
  1822. PlayAnimationFromTable({
  1823. 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),
  1824. CFrame.new(1.90734863e-06, 4.4037199, -0.67802453, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1825. 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),
  1826. 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),
  1827. CFrame.new(1.50001335, -3.80000305, -1.39999592, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1828. CFrame.new(-1.50002098, -6.00000477, 1.72853458e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1829. }, .1, false)
  1830. end
  1831. elseif Torsovelocity < 1 and hit ~= nil then
  1832. Anim = "Idle"
  1833. if attack == false then
  1834. change = 1
  1835. if CurrentWep == "CQC" then
  1836. PlayAnimationFromTable({
  1837. 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),
  1838. 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),
  1839. 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),
  1840. CFrame.new(-4.50001621, 0.190193266, -0.9294222, 1.00000024, 0, -2.98023224e-08, 0, 0.86602515, -0.500000358, 0, 0.500000417, 0.866025329),
  1841. 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),
  1842. 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),
  1843. }, .3, false)
  1844. elseif CurrentWep == "Shotgun" then
  1845. PlayAnimationFromTable({
  1846. 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),
  1847. 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),
  1848. 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),
  1849. 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),
  1850. 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),
  1851. 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),
  1852. }, .3, false)
  1853. elseif CurrentWep == "Pistol" then
  1854. PlayAnimationFromTable({
  1855. 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),
  1856. CFrame.new(0, 4.27439117, -0.749502182, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1857. CFrame.new(4.50001526, 0.888218164, -1.46819997, 1, 0, 0, 0, 0.342019796, -0.939692855, 0, 0.939692855, 0.342019796),
  1858. 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),
  1859. 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),
  1860. 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),
  1861. }, .3, false)
  1862. end
  1863. end
  1864. elseif Torsovelocity > 2 and hit ~= nil then
  1865. Anim = "Walk"
  1866. if attack == false then
  1867. Humanoid.WalkSpeed = 8
  1868. Humanoid.JumpPower = 70
  1869. if CurrentWep == "CQC" then
  1870. PlayAnimationFromTable({
  1871. 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),
  1872. 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),
  1873. 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),
  1874. 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),
  1875. 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),
  1876. 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),
  1877. }, .3, false)
  1878. elseif CurrentWep == "Shotgun" then
  1879. PlayAnimationFromTable({
  1880. 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),
  1881. 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),
  1882. 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),
  1883. 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),
  1884. 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),
  1885. 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),
  1886. }, .3, false)
  1887. elseif CurrentWep == "Pistol" then
  1888. PlayAnimationFromTable({
  1889. 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),
  1890. CFrame.new(0, 4.27439117, -0.749502182, 1, 0, 0, 0, 0.866025686, 0.499999642, 0, -0.499999642, 0.866025686),
  1891. CFrame.new(4.50001526, 0.888218164, -1.46819997, 1, 0, 0, 0, 0.342019796, -0.939692855, 0, 0.939692855, 0.342019796),
  1892. 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),
  1893. 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),
  1894. 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),
  1895. }, .3, false)
  1896. end
  1897. end
  1898. end
  1899. end
  1900. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement