Advertisement
JacksoMykalJunior

Random

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