SHARE
TWEET

Untitled

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