SHARE
TWEET

Untitled

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