Advertisement
cubanmixed2

agony

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