SuperDragonFost

Untitled

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