carlosname

Untitled

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