Advertisement
waconline

krystal dance??

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