Advertisement
waconline

john wick

Oct 27th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  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. --[[Pew pew gun thing by SezHu]]--
  153. warn("By SezHu. I like John Wick.")
  154.  
  155. wait(1 / 60)
  156. Effects = { }
  157. local Player = owner
  158. local Character = Player.Character
  159. local Humanoid = Character.Humanoid
  160. local Head = Character.Head
  161. local RootPart = Character.HumanoidRootPart
  162. local Torso = Character.Torso
  163. local LeftArm = Character["Left Arm"]
  164. local RightArm = Character["Right Arm"]
  165. local LeftLeg = Character["Left Leg"]
  166. local RightLeg = Character["Right Leg"]
  167. local Camera = game.Workspace.CurrentCamera
  168. local RootJoint = RootPart.RootJoint
  169. local Equipped = false
  170. local Attack = false
  171. local Anim = 'Idle'
  172. local Idle = 0
  173. local Combo = 1
  174. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  175. local Velocity = RootPart.Velocity.y
  176. local Sine = 0
  177. local Change = 1
  178. local lockcam = workspace.CurrentCamera
  179. lockcam.CameraType = "Custom"
  180. lockcam.CameraSubject = Head
  181.  
  182. local RbxUtility = LoadLibrary("RbxUtility")
  183. local Create = RbxUtility.Create
  184.  
  185.  
  186. Humanoid.WalkSpeed = 25
  187. Humanoid.JumpPower = 100
  188. Humanoid.Animator.Parent = nil
  189. Character.Animate.Parent = nil
  190.  
  191. local newMotor = function(part0, part1, c0, c1)
  192. local w = Create('Motor'){
  193. Parent = part0,
  194. Part0 = part0,
  195. Part1 = part1,
  196. C0 = c0,
  197. C1 = c1,
  198. }
  199. return w
  200. end
  201.  
  202.  
  203.  
  204. function clerp(a, b, t)
  205. return a:lerp(b, t)
  206. end
  207.  
  208. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  209. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  210.  
  211. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  212. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  213. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  214. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  215. RootJoint.C1 = CFrame.new(0, 0, 0)
  216. RootJoint.C0 = CFrame.new(0, 0, 0)
  217. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  218. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  219.  
  220. local rarmc1 = RW.C1
  221. local larmc1 = LW.C1
  222. local rlegc1 = RH.C1
  223. local llegc1 = LH.C1
  224.  
  225. local resetc1 = false
  226.  
  227. function PlayAnimationFromTable(table, speed, bool)
  228. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  229. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  230. RW.C0 = clerp(RW.C0, table[3], speed)
  231. LW.C0 = clerp(LW.C0, table[4], speed)
  232. RH.C0 = clerp(RH.C0, table[5], speed)
  233. LH.C0 = clerp(LH.C0, table[6], speed)
  234. if bool == true then
  235. if resetc1 == false then
  236. resetc1 = true
  237. RootJoint.C1 = RootJoint.C1
  238. Torso.Neck.C1 = Torso.Neck.C1
  239. RW.C1 = rarmc1
  240. LW.C1 = larmc1
  241. RH.C1 = rlegc1
  242. LH.C1 = llegc1
  243. end
  244. end
  245. end
  246.  
  247. ArtificialHB = Create("BindableEvent"){
  248. Parent = script,
  249. Name = "Heartbeat",
  250. }
  251.  
  252. script:WaitForChild("Heartbeat")
  253.  
  254. frame = 1 / 35
  255. tf = 0
  256. allowframeloss = false
  257. tossremainder = false
  258. lastframe = tick()
  259. script.Heartbeat:Fire()
  260.  
  261. game:GetService("RunService").Heartbeat:connect(function(s, p)
  262. tf = tf + s
  263. if tf >= frame then
  264. if allowframeloss then
  265. script.Heartbeat:Fire()
  266. lastframe = tick()
  267. else
  268. for i = 1, math.floor(tf / frame) do
  269. script.Heartbeat:Fire()
  270. end
  271. lastframe = tick()
  272. end
  273. if tossremainder then
  274. tf = 0
  275. else
  276. tf = tf - frame * math.floor(tf / frame)
  277. end
  278. end
  279. end)
  280.  
  281. function swait(num)
  282. if num == 0 or num == nil then
  283. ArtificialHB.Event:wait()
  284. else
  285. for i = 0, num do
  286. ArtificialHB.Event:wait()
  287. end
  288. end
  289. end
  290.  
  291. local m = Create("Model"){
  292. Parent = Character,
  293. Name = "WeaponModel"
  294. }
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302. function RemoveOutlines(part)
  303. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  304. end
  305.  
  306. CFuncs = {
  307. Part = {
  308. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  309. local Part = Create("Part"){
  310. Parent = Parent,
  311. Reflectance = Reflectance,
  312. Transparency = Transparency,
  313. CanCollide = false,
  314. Locked = true,
  315. BrickColor = BrickColor.new(tostring(BColor)),
  316. Name = Name,
  317. Size = Size,
  318. Material = Material,
  319. }
  320. RemoveOutlines(Part)
  321. if Size == Vector3.new() then
  322. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  323. else
  324. Part.Size = Size
  325. end
  326. return Part
  327. end;
  328. };
  329.  
  330. Mesh = {
  331. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  332. local Msh = Create(Mesh){
  333. Parent = Part,
  334. Offset = OffSet,
  335. Scale = Scale,
  336. }
  337. if Mesh == "SpecialMesh" then
  338. Msh.MeshType = MeshType
  339. Msh.MeshId = MeshId
  340. end
  341. return Msh
  342. end;
  343. };
  344.  
  345. Weld = {
  346. Create = function(Parent, Part0, Part1, C0, C1)
  347. local Weld = Create("Weld"){
  348. Parent = Parent,
  349. Part0 = Part0,
  350. Part1 = Part1,
  351. C0 = C0,
  352. C1 = C1,
  353. }
  354. return Weld
  355. end;
  356. };
  357.  
  358. Sound = {
  359. Create = function(id, par, vol, pit)
  360. local Sound = Create("Sound"){
  361. Volume = vol,
  362. Pitch = pit or 1,
  363. SoundId = "rbxassetid://" .. id,
  364. Parent = par or workspace,
  365. }
  366. Sound:play()
  367. return Sound
  368. end;
  369. };
  370.  
  371. Decal = {
  372. Create = function(Color, Texture, Transparency, Name, Parent)
  373. local Decal = Create("Decal"){
  374. Color3 = Color,
  375. Texture = "rbxassetid://" .. Texture,
  376. Transparency = Transparency,
  377. Name = Name,
  378. Parent = Parent,
  379. }
  380. return Decal
  381. end;
  382. };
  383.  
  384. BillboardGui = {
  385. Create = function(Parent, Image, Position, Size)
  386. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  387. BillPar.CFrame = CFrame.new(Position)
  388. local Bill = Create("BillboardGui"){
  389. Parent = BillPar,
  390. Adornee = BillPar,
  391. Size = UDim2.new(1, 0, 1, 0),
  392. SizeOffset = Vector2.new(Size, Size),
  393. }
  394. local d = Create("ImageLabel", Bill){
  395. Parent = Bill,
  396. BackgroundTransparency = 1,
  397. Size = UDim2.new(1, 0, 1, 0),
  398. Image = "rbxassetid://" .. Image,
  399. }
  400. return BillPar
  401. end
  402. };
  403.  
  404. ParticleEmitter = {
  405. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  406. local Particle = Create("ParticleEmitter"){
  407. Parent = Parent,
  408. Color = ColorSequence.new(Color1, Color2),
  409. LightEmission = LightEmission,
  410. Size = Size,
  411. Texture = Texture,
  412. Transparency = Transparency,
  413. ZOffset = ZOffset,
  414. Acceleration = Accel,
  415. Drag = Drag,
  416. LockedToPart = LockedToPart,
  417. VelocityInheritance = VelocityInheritance,
  418. EmissionDirection = EmissionDirection,
  419. Enabled = Enabled,
  420. Lifetime = LifeTime,
  421. Rate = Rate,
  422. Rotation = Rotation,
  423. RotSpeed = RotSpeed,
  424. Speed = Speed,
  425. VelocitySpread = VelocitySpread,
  426. }
  427. return Particle
  428. end;
  429. };
  430.  
  431. CreateTemplate = {
  432.  
  433. };
  434. }
  435.  
  436.  
  437.  
  438. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  439.  
  440. prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", reflect, 0, brickcolor, "Effect", Vector3.new(.1, 0.5, 0.1))
  441. prt.Anchored = true
  442. prt.CFrame = cframe
  443. prt.Material = "Neon"
  444. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  445. game:GetService("Debris"):AddItem(prt, 10)
  446. coroutine.resume(coroutine.create(function(Part, Mesh)
  447.  
  448. for i = 0, 1, delay do
  449. swait()
  450. Part.Transparency = i
  451. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  452. end
  453. Part.Parent = nil
  454. end
  455. ), prt, msh)
  456. end
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. New = function(Object, Parent, Name, Data)
  464. local Object = Instance.new(Object)
  465. for Index, Value in pairs(Data or {}) do
  466. Object[Index] = Value
  467. end
  468. Object.Parent = Parent
  469. Object.Name = Name
  470. return Object
  471. end
  472.  
  473. Handle2=CFuncs.Part.Create(m,Enum.Material.Plastic,1,1,"Medium stone grey","Handle2",Vector3.new(0.440000921, 0.409999877, 0.450001299))
  474. Handle2Weld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.47545052, 0.0741100311, 0.0649585724, 0.030649215, 0.998502314, 0.0453163981, -0.0977259576, 0.0481139421, -0.994049668, -0.99474138, 0.0260382295, 0.099054262))
  475. moter = New("Weld",Handle,"mot",{Part0 = LeftArm,Part1 = Handle2,})
  476.  
  477.  
  478. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Black","Handle",Vector3.new(1, 0.640000343, 0.480000138))
  479. HandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0537261963, -0.229599118, 0.664536357, 0.997408867, -0.0183529984, 0.0695609897, 0.0671602935, -0.10906899, -0.991762877, 0.0257887691, 0.993864775, -0.10755378))
  480.  
  481.  
  482. FakeHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Black","FakeHandle",Vector3.new(1, 0.640000343, 0.480000138))
  483. FakeHandleWeld=CFuncs.Weld.Create(m,Handle,FakeHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0537261963, -0.229599118, 0.664536357, 0.997408867, -0.0183529984, 0.0695609897, 0.0671602935, -0.10906899, -0.991762877, 0.0257887691, 0.993864775, -0.10755378))
  484.  
  485.  
  486. trigger=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","trigger",Vector3.new(1, 0.800000012, 1))
  487. triggerWeld=CFuncs.Weld.Create(m,FakeHandle,trigger,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.151900053, 0.239495739, 0.00701904297, 0.0134571567, 0.99990958, 2.01910734e-05, 7.38943927e-05, -2.11894512e-05, 1, 0.99990952, -0.0134571418, -7.41733238e-05))
  488. CFuncs.Mesh.Create("BlockMesh",trigger,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.5, 0.0700000003))
  489. trigger=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","trigger",Vector3.new(1, 0.800000012, 1))
  490. triggerWeld=CFuncs.Weld.Create(m,FakeHandle,trigger,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.429587066, 0.271885633, 0.00701141357, 7.24140555e-05, 4.45842743e-05, 0.99999994, -0.0134558454, -0.999909639, 4.55528498e-05, 0.99990952, -0.0134558454, -7.18068331e-05))
  491. CFuncs.Mesh.Create("BlockMesh",trigger,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.300000012, 0.0700000003))
  492. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 1))
  493. supportWeld=CFuncs.Weld.Create(m,FakeHandle,support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00704956055, -0.300316542, 0.401988506, 0.999909699, -0.0134435743, -6.93630427e-05, 6.9775153e-05, 3.03909183e-05, 1.00000012, -0.0134435818, -0.999909639, 3.13222408e-05))
  494. CFuncs.Mesh.Create("SpecialMesh",support,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.100000001, 0.0700000003))
  495. barrel=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,0,"Medium stone grey","barrel",Vector3.new(1, 1.20000005, 1))
  496. barrelWeld=CFuncs.Weld.Create(m,FakeHandle,barrel,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703048706, -0.529606879, -0.5019629, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  497. CFuncs.Mesh.Create("CylinderMesh",barrel,"","",Vector3.new(0, 0.100000001, 0.0149999997),Vector3.new(1, 0.829999983, 0.119999997))
  498. barrelcore=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","barrelcore",Vector3.new(1, 1.20000005, 1))
  499. barrelcoreWeld=CFuncs.Weld.Create(m,FakeHandle,barrelcore,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703048706, -0.529606879, -0.5019629, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  500. CFuncs.Mesh.Create("CylinderMesh",barrelcore,"","",Vector3.new(0, 0.101000004, 0.0149999997),Vector3.new(1, 0.829999983, 0.109999999))
  501. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  502. gripWeld=CFuncs.Weld.Create(m,FakeHandle,grip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703048706, -0.243692428, 0.0935220718, 0.999909699, -0.0134435743, -6.93630427e-05, 0.000538915396, 0.034927085, 0.999389827, -0.0134329498, -0.999299467, 0.0349311605))
  503. CFuncs.Mesh.Create("SpecialMesh",grip,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.449999988, 0.800000012))
  504. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  505. gripWeld=CFuncs.Weld.Create(m,FakeHandle,grip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00705337524, -0.280295193, -0.261995792, -0.999909699, 0.0134435743, 6.93630427e-05, 6.9775153e-05, 3.03909183e-05, 1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  506. CFuncs.Mesh.Create("SpecialMesh",grip,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.100000001, 0.119999997))
  507. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  508. gripWeld=CFuncs.Weld.Create(m,FakeHandle,grip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703430176, -0.0529338121, -0.133486509, 0.999909639, -0.0134445727, -6.94710761e-05, 0.012750335, 0.949891746, -0.312319487, 0.00426499359, 0.31229037, 0.949977219))
  509. CFuncs.Mesh.Create("BlockMesh",grip,"","",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.899999976, 0.349999994))
  510. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  511. gripWeld=CFuncs.Weld.Create(m,FakeHandle,grip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00706481934, -0.280296892, -0.291983843, -0.999909699, 0.0134435743, 6.93630427e-05, 6.9775153e-05, 3.03909183e-05, 1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  512. CFuncs.Mesh.Create("SpecialMesh",grip,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.200000003, 0.0700000003))
  513. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 1.20000005, 1))
  514. gripWeld=CFuncs.Weld.Create(m,FakeHandle,grip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0203292221, -0.00703430176, -0.321979046, -6.02649525e-05, -3.16947699e-05, -1.00000012, -0.999909699, 0.0134435594, 5.98318875e-05, 0.0134435594, 0.999909699, -3.25068831e-05))
  515. CFuncs.Mesh.Create("CylinderMesh",grip,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.109999999, 0.0799999982))
  516. grip6=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip6",Vector3.new(1, 1.20000005, 1))
  517. grip6Weld=CFuncs.Weld.Create(m,FakeHandle,grip6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.180281326, -0.00701904297, 0.178030491, -6.02649525e-05, -3.16947699e-05, -1.00000012, -0.999909699, 0.0134435594, 5.98318875e-05, 0.0134435594, 0.999909699, -3.25068831e-05))
  518. CFuncs.Mesh.Create("CylinderMesh",grip6,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.109999999, 0.0799999982))
  519. gripwood=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Grey","gripwood",Vector3.new(1, 0.800000012, 1))
  520. gripwoodWeld=CFuncs.Weld.Create(m,FakeHandle,gripwood,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00700759888, -0.0971788168, -0.126956403, 0.999909639, -0.0134445727, -6.94710761e-05, 0.012750335, 0.949891746, -0.312319487, 0.00426499359, 0.31229037, 0.949977219))
  521. CFuncs.Mesh.Create("BlockMesh",gripwood,"","",Vector3.new(0, -0.0299999993, 0),Vector3.new(0.130999997, 0.899999976, 0.300000012))
  522. lock=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","lock",Vector3.new(1, 1.20000005, 1))
  523. lockWeld=CFuncs.Weld.Create(m,FakeHandle,lock,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.25027138, -0.00702285767, -0.481977224, -6.77844509e-05, -2.412498e-05, -1.00000012, -0.999909759, 0.0134387538, 6.74538314e-05, 0.0134387463, 0.999909759, -2.50414014e-05))
  524. CFuncs.Mesh.Create("CylinderMesh",lock,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0500000007, 0.119999997))
  525. lock=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","lock",Vector3.new(1, 1.20000005, 1))
  526. lockWeld=CFuncs.Weld.Create(m,FakeHandle,lock,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00704574585, 0.364296615, -0.420812368, 0.999909699, -0.0134435743, -6.93630427e-05, -0.00309224986, -0.224969089, -0.974361002, 0.013083294, 0.974273205, -0.224990368))
  527. CFuncs.Mesh.Create("BlockMesh",lock,"","",Vector3.new(0, 0, 0),Vector3.new(0.0599999987, 0.201000005, 0.0500000007))
  528. mag=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","mag",Vector3.new(1, 0.800000012, 1))
  529. magWeld=CFuncs.Weld.Create(m,FakeHandle,mag,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00701904297, -0.0528812408, -0.133502185, 0.999909878, -0.0134301931, -5.27910888e-05, 0.0127419457, 0.949895918, -0.312307149, 0.00424449332, 0.31227833, 0.949981332))
  530. CFuncs.Mesh.Create("BlockMesh",mag,"","",Vector3.new(0, 0, 0),Vector3.new(0.119999997, 0.899999976, 0.200000003))
  531. pull1=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull1",Vector3.new(1, 1.20000005, 1))
  532. pull1Weld=CFuncs.Weld.Create(m,FakeHandle,pull1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00700759888, -0.619629383, -0.401958704, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  533. CFuncs.Mesh.Create("CylinderMesh",pull1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.829999983, 0.109999999))
  534. pull10=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull10",Vector3.new(1, 1.20000005, 1))
  535. pull10Weld=CFuncs.Weld.Create(m,FakeHandle,pull10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703811646, -0.32965982, -0.451967001, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  536. CFuncs.Mesh.Create("BlockMesh",pull10,"","",Vector3.new(0, 0, 0),Vector3.new(0.140000001, 0.899999976, 0.100000001))
  537. pull11=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull11",Vector3.new(1, 1.20000005, 1))
  538. pull11Weld=CFuncs.Weld.Create(m,FakeHandle,pull11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0670394897, -0.189648718, -0.501974106, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  539. CFuncs.Mesh.Create("BlockMesh",pull11,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.629999995, 0.109999999))
  540. pull12=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull12",Vector3.new(1, 1.20000005, 1))
  541. pull12Weld=CFuncs.Weld.Create(m,FakeHandle,pull12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0629768372, -0.189653218, -0.501966715, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  542. CFuncs.Mesh.Create("BlockMesh",pull12,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0.629999995, 0.109999999))
  543. pull13=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull13",Vector3.new(1, 1.20000005, 1))
  544. pull13Weld=CFuncs.Weld.Create(m,FakeHandle,pull13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00702285767, 0.150307029, -0.481988907, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  545. CFuncs.Mesh.Create("BlockMesh",pull13,"","",Vector3.new(0, 0, 0),Vector3.new(0.140000001, 0.200000003, 0.150000006))
  546. pull14=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","pull14",Vector3.new(1, 1.20000005, 1))
  547. pull14Weld=CFuncs.Weld.Create(m,FakeHandle,pull14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00701141357, 0.150305301, -0.481980801, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  548. CFuncs.Mesh.Create("BlockMesh",pull14,"","",Vector3.new(0, 0, 0),Vector3.new(0.0599999987, 0.201000005, 0.150000006))
  549. pull15=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull15",Vector3.new(1, 0.400000006, 1))
  550. pull15Weld=CFuncs.Weld.Create(m,FakeHandle,pull15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703048706, -1.04958391, -0.561964989, 0.999909699, -0.0134400427, -6.49569556e-05, -6.52852468e-05, -2.39983201e-05, -1, 0.0134400502, 0.999909818, -2.48774886e-05))
  551. CFuncs.Mesh.Create("BlockMesh",pull15,"","",Vector3.new(0, 0, 0),Vector3.new(0.00999999978, 0.129999995, 0.100000001))
  552. pull16=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull16",Vector3.new(1, 0.400000006, 1))
  553. pull16Weld=CFuncs.Weld.Create(m,FakeHandle,pull16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0270347595, 0.130312085, -0.571975708, 0.999909699, -0.0134400427, -6.49569556e-05, -6.52852468e-05, -2.39983201e-05, -1, 0.0134400502, 0.999909818, -2.48774886e-05))
  554. CFuncs.Mesh.Create("BlockMesh",pull16,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.129999995, 0.100000001))
  555. pull17=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull17",Vector3.new(1, 0.400000006, 1))
  556. pull17Weld=CFuncs.Weld.Create(m,FakeHandle,pull17,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0129585266, 0.130348355, -0.571978331, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  557. CFuncs.Mesh.Create("BlockMesh",pull17,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.129999995, 0.100000001))
  558. pull18=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull18",Vector3.new(1, 0.400000006, 1))
  559. pull18Weld=CFuncs.Weld.Create(m,FakeHandle,pull18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703048706, 0.13034448, -0.561985254, 0.999909759, -0.0134398267, -6.6944398e-05, -6.74682669e-05, -3.82959843e-05, -1, 0.0134398341, 0.999909759, -3.92049551e-05))
  560. CFuncs.Mesh.Create("BlockMesh",pull18,"","",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.129999995, 0.100000001))
  561. pull2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull2",Vector3.new(1, 1.20000005, 1))
  562. pull2Weld=CFuncs.Weld.Create(m,FakeHandle,pull2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00704574585, -0.619563699, -0.451950073, 0.999909878, -0.0134311616, -6.29704446e-05, -6.34202734e-05, -3.29688191e-05, -1, 0.0134311691, 0.999909878, -3.38107347e-05))
  563. CFuncs.Mesh.Create("BlockMesh",pull2,"","",Vector3.new(0, 0, 0),Vector3.new(0.109999999, 0.829999983, 0.109999999))
  564. pull3=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull3",Vector3.new(1, 0.800000012, 1))
  565. pull3Weld=CFuncs.Weld.Create(m,FakeHandle,pull3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703811646, -0.739553452, -0.50193429, 0.999909818, -0.0134332404, -6.21890649e-05, -6.25979155e-05, -2.99289823e-05, -1.00000012, 0.0134332553, 0.999909878, -3.07634473e-05))
  566. CFuncs.Mesh.Create("BlockMesh",pull3,"","",Vector3.new(0, 0, 0),Vector3.new(0.140000001, 0.949999988, 0.109999999))
  567. pull4=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull4",Vector3.new(1, 0.800000012, 1))
  568. pull4Weld=CFuncs.Weld.Create(m,FakeHandle,pull4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00704956055, -0.739597261, -0.541920185, 0.999909759, -0.0134378821, -6.57103956e-05, -6.59306534e-05, -1.59516931e-05, -1.00000012, 0.0134378746, 0.999909818, -1.68383121e-05))
  569. CFuncs.Mesh.Create("BlockMesh",pull4,"","",Vector3.new(0, 0, 0),Vector3.new(0.0900000036, 0.949999988, 0.109999999))
  570. pull5=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull5",Vector3.new(1, 0.800000012, 1))
  571. pull5Weld=CFuncs.Weld.Create(m,FakeHandle,pull5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00704193115, 0.0703384876, -0.541975498, 0.999909759, -0.0134378821, -6.57103956e-05, -6.59306534e-05, -1.59516931e-05, -1.00000012, 0.0134378746, 0.999909818, -1.68383121e-05))
  572. CFuncs.Mesh.Create("BlockMesh",pull5,"","",Vector3.new(0, 0, 0),Vector3.new(0.0900000036, 0.5, 0.109999999))
  573. pull6=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull6",Vector3.new(1, 0.800000012, 1))
  574. pull6Weld=CFuncs.Weld.Create(m,FakeHandle,pull6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.46642971, -0.739624321, -0.295387268, 0.503457308, -0.864020228, -3.70740891e-05, -7.86371529e-05, -2.91317701e-06, -1.00000012, 0.864020169, 0.503457367, -6.94096088e-05))
  575. CFuncs.Mesh.Create("BlockMesh",pull6,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 0.949999988, 0.0900000036))
  576. pull7=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull7",Vector3.new(1, 0.800000012, 1))
  577. pull7Weld=CFuncs.Weld.Create(m,FakeHandle,pull7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.46647644, 0.070343256, -0.295406342, 0.503451586, -0.864023566, -4.46215272e-05, -8.28690827e-05, 3.34531069e-06, -1.00000012, 0.864023507, 0.503451586, -6.99199736e-05))
  578. CFuncs.Mesh.Create("BlockMesh",pull7,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 0.5, 0.0900000036))
  579. pull8=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull8",Vector3.new(1, 0.800000012, 1))
  580. pull8Weld=CFuncs.Weld.Create(m,FakeHandle,pull8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459190369, -0.73966372, -0.307416916, 0.526499987, 0.850175321, -3.15755606e-05, -5.32302074e-05, -4.17232513e-06, -1.00000012, -0.850175142, 0.526500046, 4.30643559e-05))
  581. CFuncs.Mesh.Create("BlockMesh",pull8,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 0.949999988, 0.0900000036))
  582. pull9=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull9",Vector3.new(1, 0.800000012, 1))
  583. pull9Weld=CFuncs.Weld.Create(m,FakeHandle,pull9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.460895538, -0.129637823, -0.343458176, 0.526488483, 0.850182414, -2.8014183e-05, -4.84357588e-05, -2.96533108e-06, -1.00000012, -0.850182235, 0.526488543, 3.9614737e-05))
  584. CFuncs.Mesh.Create("BlockMesh",pull9,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 1, 0.0199999996))
  585. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 1.20000005, 1))
  586. supportWeld=CFuncs.Weld.Create(m,FakeHandle,support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00702667236, -0.309642404, -0.451959133, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  587. CFuncs.Mesh.Create("BlockMesh",support,"","",Vector3.new(0, -0.0399999991, 0),Vector3.new(0.129999995, 0.899999976, 0.100000001))
  588. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 1.20000005, 1))
  589. supportWeld=CFuncs.Weld.Create(m,FakeHandle,support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703048706, -0.209693551, -0.401955605, 0.99990958, -0.0134523436, -7.23442063e-05, -7.26664439e-05, -2.34618783e-05, -1.00000012, 0.0134523511, 0.99990958, -2.44379044e-05))
  590. CFuncs.Mesh.Create("CylinderMesh",support,"","",Vector3.new(0, 0.0599999987, 0),Vector3.new(1, 0.899999976, 0.129999995))
  591. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 1))
  592. supportWeld=CFuncs.Weld.Create(m,FakeHandle,support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00706863403, 0.27032581, -0.341987371, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  593. CFuncs.Mesh.Create("BlockMesh",support,"","",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.400000006, 0.0399999991))
  594. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 1))
  595. supportWeld=CFuncs.Weld.Create(m,FakeHandle,support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00703811646, -0.350301504, 0.382001877, 0.999909699, -0.0134444609, -7.0463866e-05, 7.08810985e-05, 3.04579735e-05, 1, -0.0134444609, -0.999909759, 3.13967466e-05))
  596. CFuncs.Mesh.Create("SpecialMesh",support,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.200000003, 0.0399999991))
  597. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 1))
  598. supportWeld=CFuncs.Weld.Create(m,FakeHandle,support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00700759888, -0.169669658, -0.381963968, 0.999909699, -0.0134435743, -6.93630427e-05, -6.9775153e-05, -3.03909183e-05, -1.00000012, 0.0134435818, 0.999909639, -3.13222408e-05))
  599. CFuncs.Mesh.Create("BlockMesh",support,"","",Vector3.new(0, -0.0399999991, 0),Vector3.new(0.129999995, 1, 0.100000001))
  600. bulletpart=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Black","bulletpart",Vector3.new(0.209999934, 0.170000002, 0.209999904))
  601. bulletpartWeld=CFuncs.Weld.Create(m,FakeHandle,bulletpart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.496771336, -1.25435734, 0.0321578979, -0.0134708509, -0.999909401, 3.74764204e-06, -7.72606581e-05, -2.71201134e-06, -1.00000012, 0.999909341, -0.013470836, -7.72150233e-05))
  602.  
  603.  
  604.  
  605.  
  606. function RayCast(Position, Direction, Range, Ignore)
  607. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  608. end
  609.  
  610. function FindNearestTorso(Position, Distance, SinglePlayer)
  611. if SinglePlayer then
  612. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  613. end
  614. local List = {}
  615. for i, v in pairs(workspace:GetChildren()) do
  616. if v:IsA("Model") then
  617. if v:findFirstChild("Torso") then
  618. if v ~= Character then
  619. if (v.Torso.Position - Position).magnitude <= Distance then
  620. table.insert(List, v)
  621. end
  622. end
  623. end
  624. end
  625. end
  626. return List
  627. end
  628.  
  629.  
  630.  
  631. function FindNearestHead(Position, Distance, SinglePlayer)
  632. if SinglePlayer then
  633. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  634. end
  635. local List = {}
  636. for i, v in pairs(workspace:GetChildren()) do
  637. if v:IsA("Model") then
  638. if v:findFirstChild("Head") then
  639. if v ~= Character then
  640. if (v.Head.Position - Position).magnitude <= Distance then
  641. table.insert(List, v)
  642. end
  643. end
  644. end
  645. end
  646. end
  647. return List
  648. end
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  657. if hit.Parent == nil then
  658. return
  659. end
  660. local h = hit.Parent:FindFirstChild("Humanoid")
  661. for _, v in pairs(hit.Parent:children()) do
  662. if v:IsA("Humanoid") then
  663. h = v
  664. end
  665. end
  666. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  667. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  668. if hit.Parent.DebounceHit.Value == true then
  669. return
  670. end
  671. end
  672. local c = Create("ObjectValue"){
  673. Name = "creator",
  674. Value = game:service("Players").LocalPlayer,
  675. Parent = h,
  676. }
  677. game:GetService("Debris"):AddItem(c, .5)
  678. if HitSound ~= nil and HitPitch ~= nil then
  679. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  680. end
  681. local Damage = math.random(minim, maxim)
  682. local blocked = false
  683. local block = hit.Parent:findFirstChild("Block")
  684. if block ~= nil then
  685. if block.className == "IntValue" then
  686. if block.Value > 0 then
  687. blocked = true
  688. block.Value = block.Value - 1
  689. print(block.Value)
  690. end
  691. end
  692. end
  693. if blocked == false then
  694. h.Health = h.Health - Damage
  695. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 6)).p + Vector3.new(0, 3, 0)), -Damage, 3, BrickColor.new(Torso.Color).Color)
  696. else
  697. h.Health = h.Health - (Damage / 2)
  698. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 6)).p + Vector3.new(0, 3, 0)), -Damage, 3, BrickColor.new(Torso.Color).Color)
  699. end
  700. if Type == "Knockdown" then
  701. local hum = hit.Parent.Humanoid
  702. hum.PlatformStand = true
  703. coroutine.resume(coroutine.create(function(HHumanoid)
  704. swait(1)
  705. HHumanoid.PlatformStand = false
  706. end), hum)
  707. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  708. local bodvol = Create("BodyVelocity"){
  709. velocity = angle * knockback,
  710. P = 5000,
  711. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  712. Parent = hit,
  713. }
  714. local rl = Create("BodyAngularVelocity"){
  715. P = 3000,
  716. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  717. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  718. Parent = hit,
  719. }
  720. game:GetService("Debris"):AddItem(bodvol, .5)
  721. game:GetService("Debris"):AddItem(rl, .5)
  722. elseif Type == "Normal" then
  723. local vp = Create("BodyVelocity"){
  724. P = 500,
  725. maxForce = Vector3.new(math.huge, 0, math.huge),
  726. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  727. }
  728. if hit.Parent.Humanoid.MaxHealth > 100 then
  729. hit.Parent:BreakJoints()
  730. end
  731. if knockback > 0 then
  732. vp.Parent = hit.Parent.Torso
  733. end
  734. game:GetService("Debris"):AddItem(vp, .5)
  735. elseif Type == "Up" then
  736. local bodyVelocity = Create("BodyVelocity"){
  737. velocity = Vector3.new(0, 20, 0),
  738. P = 5000,
  739. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  740. Parent = hit,
  741. }
  742. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  743. elseif Type == "DarkUp" then
  744. coroutine.resume(coroutine.create(function()
  745. for i = 0, 1, 0.1 do
  746. swait()
  747. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  748. end
  749. end))
  750. local bodyVelocity = Create("BodyVelocity"){
  751. velocity = Vector3.new(0, 20, 0),
  752. P = 5000,
  753. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  754. Parent = hit,
  755. }
  756. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  757. elseif Type == "Snare" then
  758. local bp = Create("BodyPosition"){
  759. P = 2000,
  760. D = 100,
  761. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  762. position = hit.Parent.Torso.Position,
  763. Parent = hit.Parent.Torso,
  764. }
  765. game:GetService("Debris"):AddItem(bp, 1)
  766. elseif Type == "Freeze" then
  767. local BodPos = Create("BodyPosition"){
  768. P = 50000,
  769. D = 1000,
  770. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  771. position = hit.Parent.Torso.Position,
  772. Parent = hit.Parent.Torso,
  773. }
  774. local BodGy = Create("BodyGyro") {
  775. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  776. P = 20e+003,
  777. Parent = hit.Parent.Torso,
  778. cf = hit.Parent.Torso.CFrame,
  779. }
  780. hit.Parent.Torso.Anchored = true
  781. coroutine.resume(coroutine.create(function(Part)
  782. swait(1.5)
  783. Part.Anchored = false
  784. end), hit.Parent.Torso)
  785. game:GetService("Debris"):AddItem(BodPos, 3)
  786. game:GetService("Debris"):AddItem(BodGy, 3)
  787. end
  788. local debounce = Create("BoolValue"){
  789. Name = "DebounceHit",
  790. Parent = hit.Parent,
  791. Value = true,
  792. }
  793. game:GetService("Debris"):AddItem(debounce, Delay)
  794. c = Create("ObjectValue"){
  795. Name = "creator",
  796. Value = Player,
  797. Parent = h,
  798. }
  799. game:GetService("Debris"):AddItem(c, .5)
  800. end
  801. end
  802.  
  803. function ShowDamage(Pos, Text, Time, Color)
  804. local Rate = (1 / 30)
  805. local Pos = (Pos or Vector3.new(0, 0, 0))
  806. local Text = (Text or "")
  807. local Time = (Time or 2)
  808. local Color = (Color or Color3.new(1, 0, 1))
  809. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  810. EffectPart.Anchored = true
  811. local BillboardGui = Create("BillboardGui"){
  812. Size = UDim2.new(3, 0, 3, 0),
  813. Adornee = EffectPart,
  814. Parent = EffectPart,
  815. }
  816. local TextLabel = Create("TextLabel"){
  817. BackgroundTransparency = 1,
  818. Size = UDim2.new(1, 0, 1, 0),
  819. Text = Text,
  820. Font = "SciFi",
  821. TextColor3 = Color,
  822. TextScaled = true,
  823. Parent = BillboardGui,
  824. }
  825. game.Debris:AddItem(EffectPart, (Time))
  826. EffectPart.Parent = game:GetService("Workspace")
  827. delay(0, function()
  828. local Frames = (Time / Rate)
  829. for Frame = 1, Frames do
  830. wait(Rate)
  831. local Percent = (Frame / Frames)
  832. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  833. TextLabel.TextTransparency = Percent
  834. end
  835. if EffectPart and EffectPart.Parent then
  836. EffectPart:Destroy()
  837. end
  838. end)
  839. end
  840.  
  841. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  842. for _, c in pairs(workspace:children()) do
  843. local hum = c:findFirstChild("Humanoid")
  844. if hum ~= nil then
  845. local head = c:findFirstChild("Torso")
  846. if head ~= nil then
  847. local targ = head.Position - Part.Position
  848. local mag = targ.magnitude
  849. if mag <= Magnitude and c.Name ~= Player.Name then
  850. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  851. end
  852. end
  853. end
  854. end
  855. end
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867. EffectModel = Create("Model"){
  868. Parent = Character,
  869. Name = "EffectModel",
  870. }
  871.  
  872.  
  873. mosic = Instance.new("Sound",Torso)
  874. mosic.SoundId = "http://www.roblox.com/asset/?id=935752515"
  875. mosic.Looped = true
  876. mosic:Play()
  877. mosic.Volume = 3
  878.  
  879. Effects = {
  880. Block = {
  881. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  882. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  883. prt.Anchored = true
  884. prt.CFrame = cframe
  885. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  886. game:GetService("Debris"):AddItem(prt, 10)
  887. if Type == 1 or Type == nil then
  888. table.insert(Effects, {
  889. prt,
  890. "Block1",
  891. delay,
  892. x3,
  893. y3,
  894. z3,
  895. msh
  896. })
  897. elseif Type == 2 then
  898. table.insert(Effects, {
  899. prt,
  900. "Block2",
  901. delay,
  902. x3,
  903. y3,
  904. z3,
  905. msh
  906. })
  907. elseif Type == 3 then
  908. table.insert(Effects, {
  909. prt,
  910. "Block3",
  911. delay,
  912. x3,
  913. y3,
  914. z3,
  915. msh,
  916. Part
  917. })
  918. elseif Type == 4 then
  919. table.insert(Effects, {
  920. prt,
  921. "Block2Fire",
  922. delay,
  923. x3,
  924. y3,
  925. z3,
  926. msh
  927. })
  928. end
  929. end
  930. };
  931.  
  932. Sphere = {
  933. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  934. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  935. prt.Anchored = true
  936. prt.CFrame = cframe
  937. if parent == nil then
  938. prt.Parent = workspace
  939. else
  940. prt.Parent = parent
  941. end
  942. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  943. game:GetService("Debris"):AddItem(prt, 10)
  944. table.insert(Effects, {
  945. prt,
  946. "Cylinder",
  947. delay,
  948. x3,
  949. y3,
  950. z3,
  951. msh
  952. })
  953. end
  954. };
  955.  
  956. Blood = {
  957. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  958. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  959. prt.Anchored = true
  960. prt.CFrame = cframe
  961. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  962. game:GetService("Debris"):AddItem(prt, 10)
  963. table.insert(Effects, {
  964. prt,
  965. "Blood",
  966. delay,
  967. x3,
  968. y3,
  969. z3,
  970. msh
  971. })
  972. end
  973. };
  974.  
  975. Blast = {
  976. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  977. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  978. prt.Anchored = true
  979. prt.CFrame = cframe
  980. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  981. game:GetService("Debris"):AddItem(prt, 10)
  982. table.insert(Effects, {
  983. prt,
  984. "Block4",
  985. delay,
  986. x3,
  987. y3,
  988. z3,
  989. msh,
  990. Part
  991. })
  992. end
  993. };
  994.  
  995. Ring = {
  996. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  997. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  998. prt.Anchored = true
  999. prt.CFrame = cframe
  1000. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1001. game:GetService("Debris"):AddItem(prt, 10)
  1002. table.insert(Effects, {
  1003. prt,
  1004. "Cylinder",
  1005. delay,
  1006. x3,
  1007. y3,
  1008. z3,
  1009. msh
  1010. })
  1011. end
  1012. };
  1013.  
  1014. Cylinder = {
  1015. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1016. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1017. prt.Anchored = true
  1018. prt.CFrame = cframe
  1019. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1020. game:GetService("Debris"):AddItem(prt, 10)
  1021. table.insert(Effects, {
  1022. prt,
  1023. "Cylinder",
  1024. delay,
  1025. x3,
  1026. y3,
  1027. z3,
  1028. msh
  1029. })
  1030. end
  1031. };
  1032.  
  1033. Head = {
  1034. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1035. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1036. prt.Anchored = true
  1037. prt.CFrame = cframe
  1038. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1039. game:GetService("Debris"):AddItem(prt, 10)
  1040. table.insert(Effects, {
  1041. prt,
  1042. "Cylinder",
  1043. delay,
  1044. x3,
  1045. y3,
  1046. z3,
  1047. msh
  1048. })
  1049. end
  1050. };
  1051.  
  1052. Wave = {
  1053. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1054. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1055. prt.Anchored = true
  1056. prt.CFrame = cframe
  1057. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1058. game:GetService("Debris"):AddItem(prt, 10)
  1059. table.insert(Effects, {
  1060. prt,
  1061. "Cylinder",
  1062. delay,
  1063. x3,
  1064. y3,
  1065. z3,
  1066. msh
  1067. })
  1068. end
  1069. };
  1070.  
  1071. Break = {
  1072. Create = function(brickcolor, cframe, x1, y1, z1)
  1073. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1074. prt.Anchored = true
  1075. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1076. game:GetService("Debris"):AddItem(prt, 10)
  1077. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1078. local num = math.random(10, 50) / 1000
  1079. table.insert(Effects, {
  1080. prt,
  1081. "Shatter",
  1082. num,
  1083. prt.CFrame,
  1084. math.random() - math.random(),
  1085. 0,
  1086. math.random(50, 100) / 100
  1087. })
  1088. end
  1089. };
  1090.  
  1091. Elec = {
  1092. Create = function(brickcolor, cff, x, y, z)
  1093. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  1094. prt.Anchored = true
  1095. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  1096. prt.CFrame = CFrame.new(prt.Position)
  1097. game:GetService("Debris"):AddItem(prt, 10)
  1098. xval = math.random() / 9
  1099. yval = math.random() / 9
  1100. zval = math.random() / 9
  1101. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1102. eul1 = math.random(-50, 50)
  1103. eul2 = math.random(-50, 50)
  1104. eul3 = math.random(-50, 50)
  1105. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  1106. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  1107. table.insert(Effects, {
  1108. prt,
  1109. "Elec",
  1110. .05,
  1111. x,
  1112. y,
  1113. z,
  1114. xval,
  1115. yval,
  1116. zval,
  1117. msh,
  1118. euld,
  1119. euld2
  1120. })
  1121. end
  1122. };
  1123.  
  1124. Elec2 = {
  1125. Create = function(brickcolor, cff, x, y, z)
  1126. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  1127. prt.Anchored = true
  1128. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  1129. prt.CFrame = CFrame.new(prt.Position)
  1130. game:GetService("Debris"):AddItem(prt, 10)
  1131. xval = math.random() / 7
  1132. yval = math.random() / 7
  1133. zval = math.random() / 7
  1134. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1135. eul1 = math.random(-50, 50)
  1136. eul2 = math.random(-50, 50)
  1137. eul3 = math.random(-50, 50)
  1138. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  1139. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  1140. table.insert(Effects, {
  1141. prt,
  1142. "Elec",
  1143. .1,
  1144. x,
  1145. y,
  1146. z,
  1147. xval,
  1148. yval,
  1149. zval,
  1150. msh,
  1151. euld,
  1152. euld2
  1153. })
  1154. end
  1155. };
  1156.  
  1157. Clone = {
  1158. Create = function()
  1159. for _, v in pairs(Torso.Parent:children()) do
  1160. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1161. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  1162. c.Anchored = true
  1163. c.CFrame = v.CFrame
  1164. game:GetService("Debris"):AddItem(c, 5)
  1165. local cmsh = nil
  1166. if v.Name == "Head" then
  1167. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  1168. else
  1169. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1170. end
  1171. table.insert(Effects, {
  1172. c,
  1173. "Cylinder",
  1174. 0.05,
  1175. 0.1,
  1176. 0.1,
  1177. 0.1,
  1178. cmsh
  1179. })
  1180. end
  1181. end
  1182. end
  1183. };
  1184.  
  1185. EffectTemplate = {
  1186.  
  1187. };
  1188. }
  1189.  
  1190.  
  1191. shoot = function(mouse, aoe , partt, SpreadAmount, multiply)
  1192.  
  1193. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1194. local MainPos = partt.Position
  1195. local MainPos2 = mouse.Hit.p + SpreadVectors
  1196. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1197. local speed = 100
  1198. local num = 500
  1199. coroutine.resume(coroutine.create(function()
  1200.  
  1201. repeat
  1202. swait()
  1203. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1204. local mag = (MainPos - pos).magnitude
  1205. Laser(BrickColor.new("Gold"), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), .2, .2, 0, .2, 0.1)
  1206. MainPos = MainPos + MouseLook.lookVector * speed
  1207. num = num - 1
  1208. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  1209. if hit ~= nil then
  1210. if hit.Name == "Torso" or hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "Right Arm" or hit.Name == "Left Arm" then
  1211. num = 0
  1212. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1213. refpart.Anchored = true
  1214. refpart.CFrame = CFrame.new(pos)
  1215. CFuncs.Sound.Create("255661850", refpart, 1, 1)
  1216. local smonk = Instance.new("ParticleEmitter",refpart)
  1217. smonk.LightEmission = .1
  1218. smonk.Size = NumberSequence.new(0.2)
  1219. smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1220. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  1221. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1222. smonk.Transparency = bbb
  1223. smonk.Size = aaa
  1224. smonk.ZOffset = 0
  1225. smonk.Acceleration = Vector3.new(0, -5, 0)
  1226. smonk.LockedToPart = false
  1227. smonk.EmissionDirection = "Back"
  1228. smonk.Lifetime = NumberRange.new(.1, .5)
  1229. smonk.Rate = 50
  1230. smonk.Rotation = NumberRange.new(-100, 100)
  1231. smonk.RotSpeed = NumberRange.new(-100, 100)
  1232. smonk.Speed = NumberRange.new(4)
  1233. smonk.VelocitySpread = 50
  1234. smonk.Enabled=true
  1235. game:GetService("Debris"):AddItem(smonk, .3)
  1236. elseif hit.Name == "Head" then
  1237. num = 0
  1238. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1239. refpart.Anchored = true
  1240. refpart.CFrame = CFrame.new(pos)
  1241. CFuncs.Sound.Create("296102734", refpart, 1, 1)
  1242. game:GetService("Debris"):AddItem(refpart, 2)
  1243. local smonk = Instance.new("ParticleEmitter",refpart)
  1244. smonk.LightEmission = .1
  1245. smonk.Size = NumberSequence.new(0.2)
  1246. smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1247. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.5)})
  1248. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1249. smonk.Transparency = bbb
  1250. smonk.Size = aaa
  1251. smonk.ZOffset = 0
  1252. smonk.Acceleration = Vector3.new(0, -5, 0)
  1253. smonk.LockedToPart = false
  1254. smonk.EmissionDirection = "Back"
  1255. smonk.Lifetime = NumberRange.new(.1, .5)
  1256. smonk.Rate = 50
  1257. smonk.Rotation = NumberRange.new(-100, 100)
  1258. smonk.RotSpeed = NumberRange.new(-100, 100)
  1259. smonk.Speed = NumberRange.new(4)
  1260. smonk.VelocitySpread = 100
  1261. smonk.Enabled=true
  1262. game:GetService("Debris"):AddItem(smonk, .3)
  1263. else
  1264. num = 0
  1265. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1266. refpart.Anchored = true
  1267. refpart.CFrame = CFrame.new(pos)
  1268. CFuncs.Sound.Create("341519743", prt, 1, 1)
  1269. game:GetService("Debris"):AddItem(refpart, .2)
  1270. end
  1271. end
  1272. do
  1273. if num <= 0 then
  1274. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1275. refpart.Anchored = true
  1276. refpart.CFrame = CFrame.new(pos)
  1277. Effects.Block.Create(BrickColor.new("Flame reddish orange"), refpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1278. if hit ~= nil then
  1279. MagnitudeDamage(refpart, aoe, 2 * multiply, 2 * multiply, 0, "Normal", "233856154", 1)
  1280. end
  1281. game:GetService("Debris"):AddItem(refpart, 0)
  1282. end
  1283. end
  1284. until num <= 0
  1285. end
  1286. ))
  1287. end
  1288.  
  1289.  
  1290.  
  1291.  
  1292. local Grabbed = false
  1293.  
  1294.  
  1295. function smear()
  1296. Attack = true
  1297.  
  1298. Humanoid.AutoRotate = false
  1299. Humanoid.JumpPower = 0
  1300. Humanoid.WalkSpeed = 0
  1301. local grab = nil
  1302. executing = true
  1303. for i = 0, 1, 0.1 do
  1304. swait()
  1305. PlayAnimationFromTable({
  1306. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1307. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1308. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1309. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1310. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1311. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1312. }, .2, false)
  1313. for i, v in pairs(FindNearestHead(Head.CFrame.p, 10)) do
  1314. if v:FindFirstChild('Head') then
  1315. Grabbed = true
  1316. grab = v
  1317. end
  1318. if Grabbed == true then
  1319. targetted = nil
  1320. grab.Humanoid.PlatformStand = true
  1321. end
  1322. end
  1323. end
  1324.  
  1325. local grab = nil
  1326.  
  1327. for i = 0, .5, 0.1 do
  1328. swait()
  1329. PlayAnimationFromTable({
  1330. CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1331. CFrame.new(0, 1.52020586, -0.279066354, 1, 0, 0, 0, 0.866024911, 0.500000954, 0, -0.500000954, 0.866024852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1332. CFrame.new(1.70777297, 0.0838996619, 0.338782728, 0.939692616, -0.342020124, 1.00488698e-07, 0.296197832, 0.813797116, 0.500001192, -0.171010554, -0.469847381, 0.866024733) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1333. CFrame.new(-0.786648035, 0.607858896, -1.09360671, 0.866025388, -0.500000238, 0, -0.171010032, -0.296197921, -0.939692736, 0.469846606, 0.813797772, -0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1334. CFrame.new(0.500007629, -2.07035375, 0.196404651, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1335. CFrame.new(-0.499992371, -1.8793813, -0.684038281, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1336. }, .3, false)
  1337. for i, v in pairs(FindNearestHead(Head.CFrame.p, 10)) do
  1338. if v:FindFirstChild('Head') then
  1339. Grabbed = true
  1340. grab = v
  1341. end
  1342. lockcam.CameraType = "Scriptable"
  1343. if Grabbed == true then
  1344. targetted = nil
  1345. grab.Humanoid.PlatformStand = true
  1346. grab.Head.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1347. end
  1348. end
  1349. Torso.Velocity=RootPart.CFrame.lookVector*100
  1350. end
  1351.  
  1352. if Grabbed == true and grab ~= nil then
  1353. targetted = nil
  1354. grab.Humanoid.PlatformStand = true
  1355. grab.Head.CFrame = Handle2.CFrame
  1356. grab.Head.CanCollide = false
  1357. local ow = CFuncs.Sound.Create("393884633", grab.Head, 2, 1)
  1358. for i = 0, .5, 0.1 do
  1359. swait()
  1360. PlayAnimationFromTable({
  1361. CFrame.new(0, 0.0116673782, -0.230620712, 1, 0, 0, 0, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1362. CFrame.new(0, 1.52020407, -0.279065013, 1, 0, 0, 0, 0.866025746, 0.499999493, 0, -0.499999493, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1363. CFrame.new(1.76213956, 0.181882262, 0.169026196, 0.939693749, -0.342016995, -3.97785186e-07, 0.296195716, 0.813798964, 0.499999344, -0.171007916, -0.469846368, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1364. CFrame.new(-0.795767486, 0.409343213, -1.44306374, 0.973481894, -0.226395503, 0.0328332447, 0.000464975834, -0.141566098, -0.989928722, 0.228763461, 0.963693023, -0.137706786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1365. CFrame.new(0.500007629, -1.95507848, 0.396064222, 1, 0, 0, 0, 0.866025746, 0.499999493, 0, -0.499999493, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1366. CFrame.new(-0.499992371, -1.69905818, -0.869703174, 1, 0, 0, 0, 0.766043782, -0.64278847, 0, 0.64278847, 0.766043782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1367. }, .3, false)
  1368. lockcam:Interpolate(RootPart.CFrame*CFrame.new(2,2,5),grab.Head.CFrame,.1)
  1369. grab.Head.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1370. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1371. end
  1372. CFuncs.Sound.Create("307379917", grab.Torso, 2, 1)
  1373. for i = 0, 4, 0.1 do
  1374. swait()
  1375. PlayAnimationFromTable({
  1376. CFrame.new(0, -0.554424644, -0.230621904, 1, 0, 0, 0, 0.173647001, 0.984807968, 0, -0.984807968, 0.173647001) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1377. CFrame.new(0, 1.26466095, -0.540713072, 1, 0, 0, 0, 0.866026163, 0.499998748, 0, -0.499998748, 0.866026163) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1378. CFrame.new(1.76214743, 0.0730022341, 0.237322643, 0.939693749, -0.342016995, -3.97785186e-07, 0.342016965, 0.939693809, -1.1920929e-06, 7.74860382e-07, 9.68575478e-07, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1379. CFrame.new(-0.848383009, 0.642179489, -1.0361222, 0.973482251, -0.194533557, -0.120370619, -0.113977194, 0.043772921, -0.992518663, 0.198347136, 0.979918718, 0.0204397887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1380. CFrame.new(0.500007629, -1.24131715, -0.550035954, 1, 0, 0, 0, 0.939693153, 0.342018843, 0, -0.342018843, 0.939693153) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1381. CFrame.new(-0.499992371, -0.981758952, -1.45210898, 1, 0, 0, 0, 0.64278692, -0.766045153, 0, 0.766045153, 0.64278692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1382. }, .3, false)
  1383. lockcam:Interpolate(RootPart.CFrame*CFrame.new(2,2,5),grab.Head.CFrame,.1)
  1384. local smonk = Instance.new("ParticleEmitter",grab.Head)
  1385. smonk.LightEmission = .1
  1386. smonk.Size = NumberSequence.new(0.2)
  1387. smonk.Texture = "http://www.roblox.com/asset/?ID=552389687"
  1388. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .1),NumberSequenceKeypoint.new(1, .5)})
  1389. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1390. smonk.Transparency = bbb
  1391. smonk.Size = aaa
  1392. smonk.ZOffset = -1
  1393. smonk.Acceleration = Vector3.new(0, -5, 0)
  1394. smonk.LockedToPart = false
  1395. smonk.EmissionDirection = "Bottom"
  1396. smonk.Lifetime = NumberRange.new(.2, 5)
  1397. smonk.Rate = 10
  1398. smonk.Rotation = NumberRange.new(-100, 100)
  1399. smonk.RotSpeed = NumberRange.new(-100, 100)
  1400. smonk.Speed = NumberRange.new(-.3)
  1401. smonk.VelocitySpread = 10
  1402. smonk.Enabled=true
  1403. game:GetService("Debris"):AddItem(smonk, 1)
  1404. Torso.Velocity=RootPart.CFrame.lookVector*40
  1405. grab.Head.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1406. end
  1407. grab.Torso.Velocity=RootPart.CFrame.lookVector*0
  1408. Torso.Velocity=RootPart.CFrame.lookVector*0
  1409. grab.Torso.CanCollide = false
  1410. --smashy
  1411. for i = 0, .7, 0.1 do
  1412. for i = 0, .4, 0.1 do
  1413. swait()
  1414. PlayAnimationFromTable({
  1415. CFrame.new(-2.62260437e-06, -0.554422975, -0.230619952, 0.642787039, -3.83130924e-07, 0.766044974, -0.754407108, 0.173647448, 0.633021772, -0.13302201, -0.984807909, 0.111618027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1416. CFrame.new(0.165599957, 1.45203376, -0.1389575, 0.888377428, 0.383021414, -0.253140748, -0.249999091, 0.866026103, 0.433011889, 0.385079265, -0.321393013, 0.86511302) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1417. CFrame.new(1.639135, 0.378064632, -0.171392277, 0.584366381, -0.700027764, 0.410459995, 0.671396554, 0.132976457, -0.729070723, 0.455788136, 0.701625764, 0.547703087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1418. CFrame.new(-1.37148404, 0.736055136, -0.588378668, 0.84817493, -0.521483123, -0.093031399, -0.120593652, -0.019078508, -0.992518544, 0.515806735, 0.853048444, -0.0790694579) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1419. CFrame.new(1.04601848, -1.78701377, -0.224999949, 0.642787039, -0.262003303, -0.719846725, -3.83130924e-07, 0.939692438, -0.342021108, 0.766044974, 0.219846994, 0.604021966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1420. CFrame.new(0.479837954, -1.03251898, -1.26565886, 0.642787039, -0.586824656, -0.492404163, -3.83130924e-07, 0.642787278, -0.766044915, 0.766044974, 0.492403895, 0.413175076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1421. }, .3, false)
  1422. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,0),grab.Head.CFrame,.1)
  1423. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1424. end
  1425. local smonk = Instance.new("ParticleEmitter",grab.Head)
  1426. smonk.LightEmission = .1
  1427. smonk.Size = NumberSequence.new(0.2)
  1428. smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
  1429. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
  1430. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1431. smonk.Transparency = bbb
  1432. smonk.Size = aaa
  1433. smonk.ZOffset = 1
  1434. smonk.Acceleration = Vector3.new(0,.3, 0)
  1435. smonk.LockedToPart = false
  1436. smonk.EmissionDirection = "Back"
  1437. smonk.Lifetime = NumberRange.new(.2, 5)
  1438. smonk.Rate = 100
  1439. smonk.Rotation = NumberRange.new(-10, 10)
  1440. smonk.RotSpeed = NumberRange.new(-10, 10)
  1441. smonk.Speed = NumberRange.new(2)
  1442. smonk.VelocitySpread = 1000
  1443. smonk.Enabled=true
  1444. game:GetService("Debris"):AddItem(smonk, .5)
  1445. for i = 0, .4, 0.1 do
  1446. swait()
  1447. PlayAnimationFromTable({
  1448. CFrame.new(-1.78813934e-06, -0.554422975, -0.230621129, 0.766044021, -9.53147946e-07, -0.642788172, 0.633023024, 0.173646212, 0.754406333, 0.111616999, -0.984808087, 0.133021265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1449. CFrame.new(-0.347562611, 1.26466119, -0.414210379, 0.766044021, -0.321392179, 0.556671917, -9.53147946e-07, 0.866026521, 0.499998033, -0.642788172, -0.383021086, 0.66341424) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1450. CFrame.new(1.65797925, -0.0622069128, -0.187585682, 0.944800258, -0.261999041, 0.196745977, 0.296194345, 0.939693809, -0.17101036, -0.140076444, 0.219845727, 0.96542567) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1451. CFrame.new(-1.72933996, 0.531819761, -0.983813822, 0.873225331, 0.487284154, 0.00563029945, -0.11397732, 0.215456128, -0.969839096, -0.473800451, 0.846246302, 0.243681118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1452. CFrame.new(-0.173988, -1.20138502, -1.24044585, 0.766044021, 0.604024172, 0.219843864, -9.53147946e-07, 0.342017144, -0.939693689, -0.642788172, 0.719846606, 0.262000799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1453. CFrame.new(-1.31641626, -0.981757283, -0.790990889, 0.766044021, 0.111620195, 0.633022487, -9.53147946e-07, 0.98480767, -0.173648924, -0.642788172, 0.133022159, 0.754406214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1454. }, .3, false)
  1455. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1456. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,0),grab.Head.CFrame,.1)
  1457. end
  1458. CFuncs.Sound.Create("710036613", grab.Torso, 1, 1)
  1459. end
  1460. for i = 0, 3, 0.1 do
  1461. swait()
  1462. PlayAnimationFromTable({
  1463. CFrame.new(-2.62260437e-06, -0.554422975, -0.230619952, 0.642787039, -3.83130924e-07, 0.766044974, -0.754407108, 0.173647448, 0.633021772, -0.13302201, -0.984807909, 0.111618027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1464. CFrame.new(0.165599957, 1.45203376, -0.1389575, 0.888377428, 0.383021414, -0.253140748, -0.249999091, 0.866026103, 0.433011889, 0.385079265, -0.321393013, 0.86511302) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1465. CFrame.new(1.639135, 0.378064632, -0.171392277, 0.584366381, -0.700027764, 0.410459995, 0.671396554, 0.132976457, -0.729070723, 0.455788136, 0.701625764, 0.547703087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1466. CFrame.new(-1.37148404, 0.736055136, -0.588378668, 0.84817493, -0.521483123, -0.093031399, -0.120593652, -0.019078508, -0.992518544, 0.515806735, 0.853048444, -0.0790694579) * CFrame.new(0 + 0.1 * math.cos(Sine/15), .5 + 0.1 * math.cos(Sine/30), 0) * CFrame.Angles(0 + 0.1 * math.cos(Sine/15), 0, 0),
  1467. CFrame.new(1.04601848, -1.78701377, -0.224999949, 0.642787039, -0.262003303, -0.719846725, -3.83130924e-07, 0.939692438, -0.342021108, 0.766044974, 0.219846994, 0.604021966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1468. CFrame.new(0.479837954, -1.03251898, -1.26565886, 0.642787039, -0.586824656, -0.492404163, -3.83130924e-07, 0.642787278, -0.766044915, 0.766044974, 0.492403895, 0.413175076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1469. }, .3, false)
  1470. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1471. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,8),grab.Head.CFrame,.8)
  1472. end
  1473. local smonk = Instance.new("ParticleEmitter",grab.Head)
  1474. smonk.LightEmission = .1
  1475. smonk.Size = NumberSequence.new(0.2)
  1476. smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
  1477. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
  1478. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1479. smonk.Transparency = bbb
  1480. smonk.Size = aaa
  1481. smonk.ZOffset = 1
  1482. smonk.Acceleration = Vector3.new(0,5, 0)
  1483. smonk.LockedToPart = false
  1484. smonk.EmissionDirection = "Back"
  1485. smonk.Lifetime = NumberRange.new(.2, 5)
  1486. smonk.Rate = 1000
  1487. smonk.Rotation = NumberRange.new(-10, 10)
  1488. smonk.RotSpeed = NumberRange.new(-10, 10)
  1489. smonk.Speed = NumberRange.new(5)
  1490. smonk.VelocitySpread = 1000
  1491. smonk.Enabled=true
  1492. game:GetService("Debris"):AddItem(smonk, .8)
  1493. CFuncs.Sound.Create("429400881", grab.Torso, 5, .8)
  1494. for i = 0, 3, 0.1 do
  1495. swait()
  1496. PlayAnimationFromTable({
  1497. CFrame.new(-1.78813934e-06, -0.554422975, -0.230621129, 0.766044021, -9.53147946e-07, -0.642788172, 0.633023024, 0.173646212, 0.754406333, 0.111616999, -0.984808087, 0.133021265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1498. CFrame.new(-0.347562611, 1.26466119, -0.414210379, 0.766044021, -0.321392179, 0.556671917, -9.53147946e-07, 0.866026521, 0.499998033, -0.642788172, -0.383021086, 0.66341424) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1499. CFrame.new(1.65797925, -0.0622069128, -0.187585682, 0.944800258, -0.261999041, 0.196745977, 0.296194345, 0.939693809, -0.17101036, -0.140076444, 0.219845727, 0.96542567) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1500. CFrame.new(-1.72933996, 0.531819761, -0.983813822, 0.873225331, 0.487284154, 0.00563029945, -0.11397732, 0.215456128, -0.969839096, -0.473800451, 0.846246302, 0.243681118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1501. CFrame.new(-0.173988, -1.20138502, -1.24044585, 0.766044021, 0.604024172, 0.219843864, -9.53147946e-07, 0.342017144, -0.939693689, -0.642788172, 0.719846606, 0.262000799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1502. CFrame.new(-1.31641626, -0.981757283, -0.790990889, 0.766044021, 0.111620195, 0.633022487, -9.53147946e-07, 0.98480767, -0.173648924, -0.642788172, 0.133022159, 0.754406214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1503. }, .3, false)
  1504. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1505. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,0),grab.Head.CFrame,.5)
  1506. end
  1507. grab.Head.Anchored = false
  1508. end
  1509. if grab ~= nil then
  1510. grab.Head:Destroy()
  1511. end
  1512. grab=nil
  1513. Grabbed = false
  1514. executing = false
  1515. Humanoid.AutoRotate = true
  1516. Humanoid.JumpPower = 100
  1517. Humanoid.WalkSpeed = 25
  1518. Attack = false
  1519. lockcam.CameraType = "Custom"
  1520. end
  1521.  
  1522.  
  1523. crosshair = Instance.new("BillboardGui",Character)
  1524. crosshair.Size = UDim2.new(10,0,10,0)
  1525. crosshair.Enabled = false
  1526. crosshair.AlwaysOnTop = true
  1527. crosshair2 = Instance.new("BillboardGui",Character)
  1528. crosshair2.Size = UDim2.new(10,0,10,0)
  1529. crosshair2.Enabled = false
  1530. crosshair2.AlwaysOnTop = true
  1531.  
  1532. imgl = Instance.new("ImageLabel",crosshair)
  1533. imgl.Position = UDim2.new(0,0,0,0)
  1534. imgl.Size = UDim2.new(1,0,1,0)
  1535. imgl.Image = "rbxassetid://1122662303"
  1536. imgl.BackgroundTransparency = 1
  1537. imgl.ImageColor3 = Color3.new(.5,0,0)
  1538.  
  1539.  
  1540. crosshair3 = Instance.new("BillboardGui",Character)
  1541. crosshair3.Size = UDim2.new(10,0,10,0)
  1542. crosshair3.Enabled = false
  1543. crosshair3.AlwaysOnTop = true
  1544.  
  1545. imgl3 = Instance.new("ImageLabel",crosshair3)
  1546. imgl3.Position = UDim2.new(0,0,0,0)
  1547. imgl3.Size = UDim2.new(1,0,1,0)
  1548. imgl3.Image = "rbxassetid://18006519"
  1549. imgl3.BackgroundTransparency = 1
  1550. imgl3.ImageColor3 = Color3.new(0,0,0)
  1551.  
  1552. imgl2 = Instance.new("ImageLabel",crosshair)
  1553. imgl2.Position = UDim2.new(0,0,0,0)
  1554. imgl2.Size = UDim2.new(1,0,1,0)
  1555. imgl2.Image = "rbxassetid://1122660386"
  1556. imgl2.BackgroundTransparency = 1
  1557. imgl2.ImageColor3 = Color3.new(0,0,0)
  1558.  
  1559. --Credit to CKBackup for his targeting system.--
  1560.  
  1561. targetted = nil
  1562.  
  1563. function TargetSelect(person)
  1564. local dd=coroutine.wrap(function()
  1565. if targetted ~= person then
  1566. targetted = person
  1567. for i = 0,8,1 do
  1568. crosshair.Size = UDim2.new(0+i,0,0+i,0)
  1569. crosshair2.Size = UDim2.new(.1+i,0,.1+i,0)
  1570. crosshair3.Size = UDim2.new(0+i,0,0+i,0)
  1571. wait(.05)
  1572. end
  1573. end
  1574. end)
  1575. dd()
  1576. end
  1577.  
  1578. function LockOn()
  1579. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Head") ~= nil then
  1580. TargetSelect(Mouse.Target.Parent.Head)
  1581. print(Mouse.Target)
  1582. CFuncs.Sound.Create("376178316", Mouse.Target.Parent.Head, 2, .8)
  1583. else end
  1584. end
  1585.  
  1586.  
  1587.  
  1588. function pepper()
  1589. Attack = true
  1590. Humanoid.AutoRotate = false
  1591. Humanoid.JumpPower = 0
  1592. Humanoid.WalkSpeed = 0
  1593.  
  1594. local grab = nil
  1595. executing = true
  1596. for i = 0, 1, 0.1 do
  1597. swait()
  1598. PlayAnimationFromTable({
  1599. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1600. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1601. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1602. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1603. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1604. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1605. }, .2, false)
  1606. end
  1607.  
  1608. local grab = nil
  1609.  
  1610. for i = 0, 1, 0.1 do
  1611. swait()
  1612. PlayAnimationFromTable({
  1613. CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1614. CFrame.new(0, 1.52020586, -0.279066354, 1, 0, 0, 0, 0.866024911, 0.500000954, 0, -0.500000954, 0.866024852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1615. CFrame.new(1.70777297, 0.0838996619, 0.338782728, 0.939692616, -0.342020124, 1.00488698e-07, 0.296197832, 0.813797116, 0.500001192, -0.171010554, -0.469847381, 0.866024733) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1616. CFrame.new(-0.786648035, 0.607858896, -1.09360671, 0.866025388, -0.500000238, 0, -0.171010032, -0.296197921, -0.939692736, 0.469846606, 0.813797772, -0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1617. CFrame.new(0.500007629, -2.07035375, 0.196404651, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1618. CFrame.new(-0.499992371, -1.8793813, -0.684038281, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1619. }, .3, false)
  1620. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1621. if v:FindFirstChild('Torso') and Grabbed ~= true then
  1622. Grabbed = true
  1623.  
  1624. grab = v
  1625. end
  1626. if Grabbed == true then
  1627. targetted = nil
  1628. grab.Humanoid.PlatformStand = true
  1629. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1630. end
  1631. end
  1632. Torso.Velocity=RootPart.CFrame.lookVector*100
  1633. end
  1634.  
  1635.  
  1636.  
  1637. if Grabbed == true and grab ~= nil then
  1638. targetted = nil
  1639. grab.Humanoid.PlatformStand = true
  1640. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1641. grab.Torso.CanCollide = false
  1642. --grab here
  1643. for i = 0, .3, 0.1 do
  1644. swait()
  1645. PlayAnimationFromTable({
  1646. CFrame.new(0, 0.0116673782, -0.230620712, 1, 0, 0, 0, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1647. CFrame.new(0, 1.52020407, -0.279065013, 1, 0, 0, 0, 0.866025746, 0.499999493, 0, -0.499999493, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1648. CFrame.new(1.76213956, 0.181882262, 0.169026196, 0.939693749, -0.342016995, -3.97785186e-07, 0.296195716, 0.813798964, 0.499999344, -0.171007916, -0.469846368, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1649. CFrame.new(-0.795767486, 0.409343213, -1.44306374, 0.973481894, -0.226395503, 0.0328332447, 0.000464975834, -0.141566098, -0.989928722, 0.228763461, 0.963693023, -0.137706786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1650. CFrame.new(0.500007629, -1.95507848, 0.396064222, 1, 0, 0, 0, 0.866025746, 0.499999493, 0, -0.499999493, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1651. CFrame.new(-0.499992371, -1.69905818, -0.869703174, 1, 0, 0, 0, 0.766043782, -0.64278847, 0, 0.64278847, 0.766043782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1652. }, .3, false)
  1653. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1654. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1655. end
  1656.  
  1657. for i = 0, 1, 0.1 do
  1658. swait()
  1659. PlayAnimationFromTable({
  1660. CFrame.new(0, -0.554424644, -0.230621904, 1, 0, 0, 0, 0.173647001, 0.984807968, 0, -0.984807968, 0.173647001) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1661. CFrame.new(0, 1.26466095, -0.540713072, 1, 0, 0, 0, 0.866026163, 0.499998748, 0, -0.499998748, 0.866026163) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1662. CFrame.new(1.76214743, 0.0730022341, 0.237322643, 0.939693749, -0.342016995, -3.97785186e-07, 0.342016965, 0.939693809, -1.1920929e-06, 7.74860382e-07, 9.68575478e-07, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1663. CFrame.new(-0.848383009, 0.642179489, -1.0361222, 0.973482251, -0.194533557, -0.120370619, -0.113977194, 0.043772921, -0.992518663, 0.198347136, 0.979918718, 0.0204397887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1664. CFrame.new(0.500007629, -1.24131715, -0.550035954, 1, 0, 0, 0, 0.939693153, 0.342018843, 0, -0.342018843, 0.939693153) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1665. CFrame.new(-0.499992371, -0.981758952, -1.45210898, 1, 0, 0, 0, 0.64278692, -0.766045153, 0, 0.766045153, 0.64278692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1666. }, .3, false)
  1667. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1668. end
  1669. lockcam.CameraType = "Scriptable"
  1670. --release here
  1671. for i = 0, .3, 0.1 do
  1672. swait()
  1673. PlayAnimationFromTable({
  1674. CFrame.new(-0, -0.790954828, 0.162615269, 1, 0, 0, 0, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1675. CFrame.new(0, 1.55287015, 0.135475516, 1, 0, 0, 0, 0.939691961, -0.342022002, 0, 0.342022002, 0.939691961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1676. CFrame.new(0.965891123, 0.600056291, -0.939134777, 0.984807968, 0.173647299, 6.93650236e-07, 1.01327896e-06, -1.7285347e-06, -1.00000012, -0.173647314, 0.984807849, -1.81794167e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1677. CFrame.new(-0.848382771, 0.642180681, -1.03612173, 0.973482251, -0.194533288, -0.120371334, -0.113977998, 0.0437724888, -0.992518544, 0.198346853, 0.979918897, 0.0204392672) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1678. CFrame.new(0.500007629, -0.797153175, -0.95421052, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1679. CFrame.new(-0.499992371, -0.700443864, -1.01739883, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1680. }, .3, false)
  1681. grab.Torso.Velocity= Vector3.new(0,0,0)
  1682. end
  1683. grab.Torso.Anchored = true
  1684. Humanoid.JumpPower = 100
  1685. Humanoid.Jump = true
  1686. Torso.Velocity=RootPart.CFrame.upVector*150
  1687. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1688. wait(.1)
  1689. for i = 0, .3, 0.1 do
  1690. Torso.Velocity=RootPart.CFrame.lookVector*40
  1691. swait()
  1692. PlayAnimationFromTable({
  1693. CFrame.new(-0, -0.486727536, -0.199950755, 1, 0, 0, 0, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1694. CFrame.new(0.0483627319, 1.54976475, 0.0516630113, 1, 0, 0, 0, 0.939691961, -0.342022002, 0, 0.342022002, 0.939691961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1695. CFrame.new(1.38765192, 1.19624639, -0.26731497, 0.98480922, 0.0301625114, -0.171000317, 1.10268593e-05, -0.984808326, -0.173645556, -0.173640087, 0.171005875, -0.969848573) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1696. CFrame.new(-1.319543, 1.38152361, -0.336561173, 0.973482132, -0.120370626, 0.194534108, -0.113977373, -0.992518663, -0.0437721014, 0.198347583, 0.0204388499, -0.979918599) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1697. CFrame.new(0.500007629, -1.27044821, -0.954210758, 1, 0, 0, 0, 0.939692497, -0.34202078, 0, 0.34202078, 0.939692497) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1698. CFrame.new(-0.499992371, -1.1737386, -1.01739967, 1, 0, 0, 0, 0.939692497, -0.34202078, 0, 0.34202078, 0.939692497) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1699. }, .3, false)
  1700. grab.Torso.Velocity= Vector3.new(0,0,0)
  1701. end
  1702. grab.Torso.Anchored = false
  1703. grab.Torso.CanCollide = true
  1704. Humanoid.JumpPower = 0
  1705. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,5)
  1706. for i = 0, .3, 0.1 do
  1707. swait()
  1708. PlayAnimationFromTable({
  1709. CFrame.new(0.428418577, -0.671607018, -0.504335344, 0.279453993, -0.262003154, 0.923720658, -0.663414001, 0.642787337, 0.383022666, -0.694109023, -0.719846487, 0.0058129211) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1710. CFrame.new(0.0483628362, 1.549775, 0.0516622961, 1, 5.96046448e-08, -2.98023224e-08, -2.98023224e-08, 0.939693034, -0.342019409, 4.61004674e-08, 0.342019379, 0.939692855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1711. CFrame.new(1.37295699, 1.17039251, -0.337434739, 0.975084543, -0.109461486, -0.192946702, -0.170998245, -0.924961448, -0.339420587, -0.141314715, 0.363957286, -0.920633197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1712. CFrame.new(-1.36459041, 0.411512792, -0.67284143, 0.973482847, -0.071649164, -0.21724999, -0.113974214, 0.671512127, -0.732176006, 0.198345765, 0.737521529, 0.645539343) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1713. CFrame.new(0.499992371, -1.23907411, -0.86791718, 1, 0, 0, -2.98023224e-08, 0.939692259, 0.342021227, 4.61004674e-08, -0.342021227, 0.939692259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1714. CFrame.new(-0.49999243, -1.17373872, -1.01739335, 1, 5.96046448e-08, -2.98023224e-08, -2.98023224e-08, 0.939693034, -0.342019409, 4.61004674e-08, 0.342019379, 0.939692855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1715. }, .3, false)
  1716. grab.Torso.Velocity= Vector3.new(0,0,0)
  1717. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1718. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1719. Torso.Velocity=RootPart.CFrame.lookVector*20
  1720. end
  1721. for i = 0, .3, 0.1 do
  1722. swait()
  1723. PlayAnimationFromTable({
  1724. CFrame.new(-0.672757447, -0.735233426, -0.293752909, -0.962360024, 0.00164131995, 0.271772951, -0.0779609978, 0.956289232, -0.281838685, -0.260356098, -0.292417973, -0.920166552) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1725. CFrame.new(0.0483631641, 1.42946541, -0.278911769, 1, -1.93715096e-07, 3.12924385e-06, -8.86619091e-07, 0.93969202, 0.342022359, -3.05473804e-06, -0.342022389, 0.939691842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1726. CFrame.new(1.37296712, 1.17040694, -0.337452441, 0.975084305, -0.109462924, -0.192946956, -0.17099987, -0.924960554, -0.3394216, -0.141314253, 0.363958538, -0.92063278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1727. CFrame.new(-1.36458802, 0.411512852, -0.672853589, 0.973482966, -0.0716485977, -0.217249781, -0.113973796, 0.671514273, -0.73217392, 0.198345542, 0.737519622, 0.645541549) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1728. CFrame.new(0.499996156, -1.23906803, -0.8679353, 1, 6.51925802e-09, 2.98023224e-08, -7.4505806e-09, 0.93969214, 0.342021704, -2.98023224e-08, -0.342021674, 0.93969214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1729. CFrame.new(-0.499984771, -1.17374265, -1.01740098, 1, 1.49011612e-08, 1.49011612e-08, -7.4505806e-09, 0.939693391, -0.342018157, -2.98023224e-08, 0.342018127, 0.939693391) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1730. }, .3, false)
  1731. grab.Torso.Velocity= Vector3.new(0,0,0)
  1732. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1733. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1734. Torso.Velocity=RootPart.CFrame.lookVector*30
  1735. end
  1736. for i = 0, 1, 0.1 do
  1737. swait()
  1738. PlayAnimationFromTable({
  1739. CFrame.new(-0.672760248, -0.525442183, -0.31977427, -0.962360263, 0.00164178992, 0.271772176, 0.0157880038, 0.998630762, 0.0498734191, -0.271318138, 0.0522869304, -0.961068571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1740. CFrame.new(0.0483647995, 1.42946613, -0.278905123, 1, 9.983778e-07, 2.77161598e-06, -1.89431012e-06, 0.939691663, 0.342023015, -2.29477882e-06, -0.342023104, 0.939691663) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1741. CFrame.new(1.09112859, 0.115017235, -1.0051564, 0.975084007, 0.192946017, -0.109467886, -0.171004131, 0.339421302, -0.924959898, -0.141311631, 0.920633078, 0.363958895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1742. CFrame.new(-0.0609193072, 0.338854641, -0.991647899, 0.297654182, -0.872375369, -0.387767076, -0.132688791, 0.364431024, -0.921728671, 0.945407808, 0.325808793, -0.00728001073) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1743. CFrame.new(0.500003815, -1.88333619, -0.430999637, 1, 7.4505806e-09, 0, 0, 0.93969208, 0.342021674, 0, -0.342021674, 0.939692259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1744. CFrame.new(-0.499977082, -1.17373788, -1.01740336, 1, 0, -2.98023224e-08, 0, 0.939693451, -0.342018157, 0, 0.342018187, 0.939693511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1745. }, .3, false)
  1746. grab.Torso.Velocity= Vector3.new(0,0,0)
  1747. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1748. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1749. Torso.Velocity=RootPart.CFrame.lookVector*40
  1750. end
  1751. --pew here
  1752. for i = 0, 1, 0.1 do
  1753. swait()
  1754. PlayAnimationFromTable({
  1755. CFrame.new(-0.672760248, -0.525442183, -0.31977427, -0.962360263, 0.00164178992, 0.271772176, 0.0157880038, 0.998630762, 0.0498734191, -0.271318138, 0.0522869304, -0.961068571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1756. CFrame.new(0.0483647995, 1.42946613, -0.278905123, 1, 9.983778e-07, 2.77161598e-06, -1.89431012e-06, 0.939691663, 0.342023015, -2.29477882e-06, -0.342023104, 0.939691663) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1757. CFrame.new(1.09112859, 0.115017235, -1.0051564, 0.975084007, 0.192946017, -0.109467886, -0.171004131, 0.339421302, -0.924959898, -0.141311631, 0.920633078, 0.363958895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1758. CFrame.new(-0.0609193072, 0.338854641, -0.991647899, 0.297654182, -0.872375369, -0.387767076, -0.132688791, 0.364431024, -0.921728671, 0.945407808, 0.325808793, -0.00728001073) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1759. CFrame.new(0.500003815, -1.88333619, -0.430999637, 1, 7.4505806e-09, 0, 0, 0.93969208, 0.342021674, 0, -0.342021674, 0.939692259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1760. CFrame.new(-0.499977082, -1.17373788, -1.01740336, 1, 0, -2.98023224e-08, 0, 0.939693451, -0.342018157, 0, 0.342018187, 0.939693511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1761. }, .3, false)
  1762. grab.Torso.Velocity= Vector3.new(0,0,0)
  1763. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1764. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1765. Effects.Block.Create(BrickColor.new("Gold"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1766. Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1767. local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Gold", "Effect", Vector3.new(.5,.8,.5))
  1768. local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3))
  1769. shell.Anchored = false
  1770. shell.Position = barrelcore.Position
  1771. shell.CanCollide = true
  1772. shell.Velocity=RootPart.CFrame.rightVector*10
  1773. CFuncs.Sound.Create("1456344653", shell, 1, 1)
  1774. game:GetService("Debris"):AddItem(shell, 2)
  1775. CFuncs.Sound.Create("356911785", bulletpart, .5, 1)
  1776. local smonk2 = Instance.new("ParticleEmitter",bulletpart)
  1777. smonk2.LightEmission = .1
  1778. smonk2.Size = NumberSequence.new(0.2)
  1779. smonk2.Texture = "http://www.roblox.com/asset/?ID=476778304"
  1780. aaa2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.1)})
  1781. bbb2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1782. smonk2.Transparency = bbb2
  1783. smonk2.Size = aaa2
  1784. smonk2.ZOffset = 0
  1785. smonk2.Acceleration = Vector3.new(0, -5, 0)
  1786. smonk2.LockedToPart = false
  1787. smonk2.EmissionDirection = "Back"
  1788. smonk2.Lifetime = NumberRange.new(.1, .5)
  1789. smonk2.Rate = 1000
  1790. smonk2.Rotation = NumberRange.new(-100, 100)
  1791. smonk2.RotSpeed = NumberRange.new(-100, 100)
  1792. smonk2.Speed = NumberRange.new(4)
  1793. smonk2.VelocitySpread = 100
  1794. smonk2.Enabled=true
  1795. game:GetService("Debris"):AddItem(smonk2, .1)
  1796. Torso.Velocity=RootPart.CFrame.lookVector*50
  1797. end
  1798. CFuncs.Sound.Create("521472140", grab.Torso, 5, 1)
  1799. ShowDamage((grab.Torso.CFrame * CFrame.new(0, 0, (grab.Torso.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Crit!", 2, BrickColor.new(Torso.Color).Color)
  1800. grab.Torso:BreakJoints()
  1801. end
  1802. lockcam.CameraType = "Custom"
  1803. grab=nil
  1804. Grabbed = false
  1805. executing = false
  1806. Humanoid.AutoRotate = true
  1807. Humanoid.JumpPower = 100
  1808. Humanoid.WalkSpeed = 25
  1809. Attack = false
  1810. end
  1811.  
  1812.  
  1813.  
  1814.  
  1815. function righthop()
  1816. Attack = true
  1817. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1818. Humanoid.Jump = true
  1819. for i = 0, .5, 0.1 do
  1820. swait()
  1821. PlayAnimationFromTable({
  1822. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1823. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1824. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1825. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1826. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1827. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1828. }, .3, false)
  1829. end
  1830. Torso.Velocity=RootPart.CFrame.rightVector*200
  1831. for i = 0, 1, 0.1 do
  1832. swait()
  1833. PlayAnimationFromTable({
  1834. CFrame.new(0.708232701, 0.127894983, 0.246774122, 0.76604414, -0.111618884, 0.633022666, 0, 0.984807849, 0.173648044, -0.642788053, -0.13302207, 0.754406214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1835. CFrame.new(0.0324593484, 1.43977821, -0.119624585, 0.995960355, -0.0868238062, -0.0229113102, 0.0894833133, 0.938373625, 0.333838284, -0.00748568773, -0.334539831, 0.942351937) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1836. CFrame.new(1.69410944, 0.329396009, -0.667013586, 0.977326989, -0.133022755, 0.164733544, 0.196574897, 0.280932605, -0.939380229, 0.0786799788, 0.95046401, 0.30071193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1837. CFrame.new(-1.50714529, 0.0157378055, -0.431941032, 0.884520769, 0.235685706, -0.402585804, -0.362369925, 0.890611291, -0.274772465, 0.29378742, 0.388926923, 0.873169541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1838. CFrame.new(0.618915975, -1.85825384, -0.515439391, 0.98480773, 0.173648864, -1.81794167e-06, -0.17101045, 0.969846725, 0.173646331, 0.0301553011, -0.171007901, 0.984808087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1839. CFrame.new(-0.523646474, -1.39458823, -0.171092927, 0.939692676, 0.342020273, 3.57627869e-07, -0.262003183, 0.719847083, 0.642786682, 0.219845772, -0.604022026, 0.766045213) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1840. }, .3, false)
  1841. end
  1842. Attack = false
  1843. end
  1844.  
  1845.  
  1846.  
  1847. function backhop()
  1848. Attack = true
  1849. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1850. Humanoid.Jump = true
  1851. for i = 0, .5, 0.1 do
  1852. swait()
  1853. PlayAnimationFromTable({
  1854. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1855. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1856. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1857. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1858. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1859. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1860. }, .3, false)
  1861. end
  1862. Torso.Velocity=RootPart.CFrame.lookVector*-200
  1863. for i = 0, 1, 0.1 do
  1864. swait()
  1865. PlayAnimationFromTable({
  1866. CFrame.new(-0.0724115372, 0.127895057, 0.313171744, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1867. CFrame.new(0.0169060901, 1.6077503, -0.180746168, 0.995960236, -0.0868240073, -0.0229110774, 0.089483425, 0.938373208, 0.333839238, -0.00748612173, -0.334540784, 0.94235158) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1868. CFrame.new(1.70837259, 0.360651702, -0.922262371, 0.97732687, -0.133022964, 0.16473335, 0.196574748, 0.280932844, -0.939380288, 0.0786801279, 0.95046401, 0.300712109) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1869. CFrame.new(-1.48861361, 0.317329109, -0.925790071, 0.994410336, -0.000923748419, -0.105581462, -0.100659929, 0.293561995, -0.950625718, 0.0318728462, 0.955939651, 0.291828096) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1870. CFrame.new(0.604445279, -1.94474173, -0.43701914, 0.94886601, -0.0119064255, -0.315454632, -0.0935085714, 0.943841219, -0.316891491, 0.301512092, 0.330185235, 0.894465506) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1871. CFrame.new(-0.577895403, -1.96714401, -0.475817055, 0.982055664, -0.0277231932, 0.186542824, 0.0885364786, 0.941134036, -0.326233506, -0.166517526, 0.336895287, 0.926700354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1872. }, .3, false)
  1873. end
  1874. Attack = false
  1875. end
  1876.  
  1877.  
  1878.  
  1879.  
  1880. function lefthop()
  1881. Attack = true
  1882. Humanoid.Jump = true
  1883. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1884. for i = 0, .5, 0.1 do
  1885. swait()
  1886. PlayAnimationFromTable({
  1887. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1888. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1889. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1890. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1891. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1892. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1893. }, .3, false)
  1894. end
  1895. Torso.Velocity=RootPart.CFrame.rightVector*-200
  1896. for i = 0, 1, 0.1 do
  1897. swait()
  1898. PlayAnimationFromTable({
  1899. CFrame.new(-0.0850991905, 0.127894506, -0.50492847, 0.866025388, 0.0868241936, -0.492404073, 0, 0.98480773, 0.173648342, 0.500000238, -0.150383845, 0.852868438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1900. CFrame.new(0.0324628651, 1.43977714, -0.119621098, 0.928060651, -0.0868241191, -0.362167478, 0.198266238, 0.938373506, 0.283100247, 0.315268338, -0.334539741, 0.888081789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1901. CFrame.new(1.82837343, 0.425938904, -0.29435727, 0.642787039, -0.663414657, 0.383022308, 0.754407167, 0.635036588, -0.166127652, -0.133021653, 0.395739436, 0.908677995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1902. CFrame.new(-0.822531939, 0.843190134, -1.47252464, 0.884521008, -0.355543315, -0.30201298, -0.362369865, -0.115946069, -0.924794376, 0.293787181, 0.927440405, -0.231394917) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1903. CFrame.new(0.63746208, -1.78279781, -0.693231404, 0.984807849, -0.173648208, -1.1920929e-07, 0.171010107, 0.969846427, 0.173647493, -0.0301534832, -0.171009362, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1904. CFrame.new(-0.471737981, -1.40906096, -0.158949912, 1.00000012, 7.15255737e-07, -5.96046448e-07, -1.56462193e-07, 0.766044557, 0.642787457, 8.64267349e-07, -0.642787457, 0.766044617) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1905. }, .3, false)
  1906. end
  1907. Attack = false
  1908. end
  1909.  
  1910.  
  1911.  
  1912. focused = false
  1913.  
  1914.  
  1915.  
  1916. function fire()
  1917. Attack = true
  1918. Humanoid.WalkSpeed = 8
  1919. Humanoid.JumpPower = 0
  1920. Humanoid.AutoRotate = false
  1921. bodygyro = Instance.new("BodyGyro",RootPart)
  1922. bodygyro.MaxTorque = Vector3.new(50000,50000,50000)
  1923. bodygyro.D = 2500
  1924. bodygyro.P = 80000
  1925. for i = 0, .5, 0.1 do
  1926. swait()
  1927. PlayAnimationFromTable({
  1928. CFrame.new(-0.285053253, 0, 0.000710010529, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1929. CFrame.new(1.62422657e-06, 1.4772042, 0.113299504, 0.984807789, -2.16066837e-07, -0.173648417, 2.38418579e-07, 1, 2.98023224e-08, 0.173648387, -7.4505806e-08, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1930. CFrame.new(0.934092045, 0.617779732, -0.808870494, 0.958027482, -0.264440954, -0.110700212, -0.158811927, -0.168076277, -0.972897351, 0.238667816, 0.949642777, -0.203018084) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1931. CFrame.new(-0.00781965256, 0.58910501, -0.971779227, 0.754009128, -0.616460741, 0.226818621, 0.069166556, -0.268873394, -0.960689008, 0.653212428, 0.740056396, -0.160094544) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1932. CFrame.new(0.597427905, -1.81130469, -0.378196716, 0.984808087, -1.49011612e-08, -0.173647672, 0.0301536024, 0.98480773, 0.171010017, 0.17100957, -0.173648089, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1933. CFrame.new(-0.500000119, -1.96961212, -0.0941648632, 1.00000024, 7.4505806e-09, 2.98023224e-08, 7.4505806e-09, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1934. }, .3, false)
  1935. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1936. end
  1937.  
  1938. local smonk = Instance.new("ParticleEmitter",bulletpart)
  1939. smonk.LightEmission = .1
  1940. smonk.Size = NumberSequence.new(0.2)
  1941. smonk.Texture = "http://www.roblox.com/asset/?ID=476778304"
  1942. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  1943. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1944. smonk.Transparency = bbb
  1945. smonk.Size = aaa
  1946. smonk.ZOffset = 0
  1947. smonk.Acceleration = Vector3.new(0, -5, 0)
  1948. smonk.LockedToPart = false
  1949. smonk.EmissionDirection = "Back"
  1950. smonk.Lifetime = NumberRange.new(.1, .3)
  1951. smonk.Rate = 50
  1952. smonk.Rotation = NumberRange.new(-100, 100)
  1953. smonk.RotSpeed = NumberRange.new(-100, 100)
  1954. smonk.Speed = NumberRange.new(4)
  1955. smonk.VelocitySpread = 100
  1956. smonk.Enabled=true
  1957.  
  1958.  
  1959. Effects.Block.Create(BrickColor.new("Gold"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1960. Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1961. local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Gold", "Effect", Vector3.new(.5,.8,.5))
  1962. local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3))
  1963. shell.Anchored = false
  1964. shell.Position = barrelcore.Position
  1965. shell.CanCollide = true
  1966. shell.Velocity=RootPart.CFrame.rightVector*10
  1967. CFuncs.Sound.Create("1456344653", shell, 1, 1)
  1968. game:GetService("Debris"):AddItem(shell, 2)
  1969. shoot(Mouse,3,bulletpart,0,10)
  1970. CFuncs.Sound.Create("356911785", bulletpart, .5, 1)
  1971. Torso.Velocity=RootPart.CFrame.lookVector*-5
  1972. for i = 0, 1, 0.1 do
  1973. swait()
  1974. PlayAnimationFromTable({
  1975. CFrame.new(-0.285053253, 0, 0.000710010529, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1976. CFrame.new(-0.0369947627, 1.48165417, 0.0668118149, 0.984807968, -0.0593912825, -0.163174778, 0.0301539991, 0.983905494, -0.176127136, 0.171009004, 0.16853103, 0.970748782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1977. CFrame.new(0.950688183, 0.676530004, -0.873103976, 0.997509122, 0.0604504608, 0.0363512188, 0.062037006, -0.506553113, -0.859974027, -0.0335720032, 0.860087097, -0.509041429) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1978. CFrame.new(-0.151879251, 0.598398328, -1.02295005, 0.881140769, -0.420461625, 0.216339961, -0.0945639759, -0.604967773, -0.790614784, 0.463301867, 0.676184893, -0.572822273) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1979. CFrame.new(0.612729192, -1.76533437, -0.18090108, 0.984807968, -0.0593911, -0.163174957, 0.0593909994, 0.998222888, -0.00488329167, 0.163175002, -0.00488201762, 0.98658514) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1980. CFrame.new(-0.514649093, -2.02197218, -0.350653172, 0.984807849, 3.4669165e-07, -0.173648134, -0.0301539954, 0.984807849, -0.171009868, 0.171009988, 0.173648044, 0.969846368) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1981. }, .3, false)
  1982. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1983. end
  1984. Attack = false
  1985. Humanoid.WalkSpeed = 25
  1986. smonk.Enabled=false
  1987. bodygyro:Destroy()
  1988. Humanoid.AutoRotate = true
  1989. Humanoid.JumpPower = 100
  1990. end
  1991.  
  1992.  
  1993.  
  1994.  
  1995. function autofire()
  1996. Attack = true
  1997. Humanoid.WalkSpeed = 0
  1998. Humanoid.JumpPower = 0
  1999. Humanoid.AutoRotate = false
  2000. focused = true
  2001. for i = 0, .5, 0.1 do
  2002. swait()
  2003. PlayAnimationFromTable({
  2004. CFrame.new(-0.285053253, 0, 0.000710010529, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2005. CFrame.new(1.62422657e-06, 1.4772042, 0.113299504, 0.984807789, -2.16066837e-07, -0.173648417, 2.38418579e-07, 1, 2.98023224e-08, 0.173648387, -7.4505806e-08, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2006. CFrame.new(0.934092045, 0.617779732, -0.808870494, 0.958027482, -0.264440954, -0.110700212, -0.158811927, -0.168076277, -0.972897351, 0.238667816, 0.949642777, -0.203018084) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2007. CFrame.new(-0.00781965256, 0.58910501, -0.971779227, 0.754009128, -0.616460741, 0.226818621, 0.069166556, -0.268873394, -0.960689008, 0.653212428, 0.740056396, -0.160094544) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2008. CFrame.new(0.597427905, -1.81130469, -0.378196716, 0.984808087, -1.49011612e-08, -0.173647672, 0.0301536024, 0.98480773, 0.171010017, 0.17100957, -0.173648089, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2009. CFrame.new(-0.500000119, -1.96961212, -0.0941648632, 1.00000024, 7.4505806e-09, 2.98023224e-08, 7.4505806e-09, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2010. }, .3, false)
  2011. end
  2012.  
  2013. local smonk = Instance.new("ParticleEmitter",bulletpart)
  2014. smonk.LightEmission = .1
  2015. smonk.Size = NumberSequence.new(0.2)
  2016. smonk.Texture = "http://www.roblox.com/asset/?ID=476778304"
  2017. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  2018. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2019. smonk.Transparency = bbb
  2020. smonk.Size = aaa
  2021. smonk.ZOffset = 0
  2022. smonk.Acceleration = Vector3.new(0, -5, 0)
  2023. smonk.LockedToPart = false
  2024. smonk.EmissionDirection = "Back"
  2025. smonk.Lifetime = NumberRange.new(.1, .3)
  2026. smonk.Rate = 50
  2027. smonk.Rotation = NumberRange.new(-100, 100)
  2028. smonk.RotSpeed = NumberRange.new(-100, 100)
  2029. smonk.Speed = NumberRange.new(4)
  2030. smonk.VelocitySpread = 100
  2031. smonk.Enabled=true
  2032.  
  2033.  
  2034. Effects.Block.Create(BrickColor.new("Gold"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  2035. Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  2036. local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Gold", "Effect", Vector3.new(.5,.8,.5))
  2037. local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3))
  2038. shell.Anchored = false
  2039. shell.Position = barrelcore.Position
  2040. shell.CanCollide = true
  2041. shell.Velocity=RootPart.CFrame.rightVector*10
  2042. CFuncs.Sound.Create("1456344653", shell, 1, 1)
  2043. game:GetService("Debris"):AddItem(shell, 2)
  2044. if targetted.Parent.Humanoid.Health > 100 then
  2045. targetted.Parent.Humanoid.Health = 0
  2046. ShowDamage((targetted.Parent.Torso.CFrame * CFrame.new(0, 0, (targetted.Parent.Torso.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "[Health fixed]", 2, BrickColor.new("Really red").Color)
  2047. elseif targetted.Parent.Humanoid.Health <= 100 then
  2048. targetted.Parent.Humanoid.Health = targetted.Parent.Humanoid.Health - 30
  2049. ShowDamage((targetted.Parent.Torso.CFrame * CFrame.new(0, 0, (targetted.Parent.Torso.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "-30", 2, BrickColor.new(Torso.Color).Color)
  2050. elseif targetted.Parent.Humanoid.Health <= 30 then
  2051.  
  2052. end
  2053.  
  2054. CFuncs.Sound.Create("356911785", bulletpart, .5, 1)
  2055. for i = 0, .5, 0.1 do
  2056. swait()
  2057. PlayAnimationFromTable({
  2058. CFrame.new(-0.285053253, 0, 0.000710010529, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2059. CFrame.new(-0.0369947627, 1.48165417, 0.0668118149, 0.984807968, -0.0593912825, -0.163174778, 0.0301539991, 0.983905494, -0.176127136, 0.171009004, 0.16853103, 0.970748782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2060. CFrame.new(0.950688183, 0.676530004, -0.873103976, 0.997509122, 0.0604504608, 0.0363512188, 0.062037006, -0.506553113, -0.859974027, -0.0335720032, 0.860087097, -0.509041429) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2061. CFrame.new(-0.151879251, 0.598398328, -1.02295005, 0.881140769, -0.420461625, 0.216339961, -0.0945639759, -0.604967773, -0.790614784, 0.463301867, 0.676184893, -0.572822273) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2062. CFrame.new(0.612729192, -1.76533437, -0.18090108, 0.984807968, -0.0593911, -0.163174957, 0.0593909994, 0.998222888, -0.00488329167, 0.163175002, -0.00488201762, 0.98658514) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2063. CFrame.new(-0.514649093, -2.02197218, -0.350653172, 0.984807849, 3.4669165e-07, -0.173648134, -0.0301539954, 0.984807849, -0.171009868, 0.171009988, 0.173648044, 0.969846368) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2064. }, .3, false)
  2065. end
  2066. Attack = false
  2067. focused = false
  2068. Humanoid.WalkSpeed = 25
  2069. smonk.Enabled=false
  2070. Humanoid.AutoRotate = true
  2071. Humanoid.JumpPower = 100
  2072. end
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080. Mouse.Button1Up:connect(function()
  2081. if Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and targetted == nil then
  2082. fire()
  2083. elseif Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and targetted ~= nil then
  2084. autofire()
  2085. end
  2086. end)
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093. Mouse.KeyDown:connect(function(Key)
  2094. Key = Key:lower()
  2095. if Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and Key == 'e' then
  2096. righthop()
  2097. elseif Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and Key == 'q' then
  2098. lefthop()
  2099. elseif Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and Key == 'r' then
  2100. backhop()
  2101. elseif Attack == false and Key == 'z' and Anim ~= "Fall" and Anim ~= "Jump" then
  2102. pepper()
  2103. elseif Attack == false and Key == 'x' and Anim ~= "Fall" and Anim ~= "Jump" then
  2104. smear()
  2105. elseif Attack == false and Key == 'f' and Anim ~= "Fall" and Anim ~= "Jump" and targetted == nil then
  2106. LockOn()
  2107. elseif Attack == false and Key == 'f' and targetted ~= nil then
  2108. targetted = nil
  2109. bodygyroo:Destroy()
  2110.  
  2111. end
  2112. end)
  2113.  
  2114.  
  2115. executing = false
  2116.  
  2117. local function OnHumanoidStateChange(oldState, newState) --last thing humanoid was doing, current thing humanoid is doing
  2118. if newState == Enum.HumanoidStateType.Landed and oldState == Enum.HumanoidStateType.Freefall and executing ~= true then --if they were falling and just landed then
  2119. if Attack == false then
  2120. Attack = true
  2121. Humanoid.AutoRotate = false
  2122. Humanoid.WalkSpeed = 0
  2123. Humanoid.JumpPower = 0
  2124. Torso.Velocity=RootPart.CFrame.lookVector*0
  2125. CFuncs.Sound.Create("608350178", Torso, 3, 1)
  2126. for i = 0, 1, 0.1 do
  2127. swait()
  2128. PlayAnimationFromTable({
  2129. CFrame.new(-0, -1.01481593, 2.98023224e-08, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2130. CFrame.new(0, 1.49999499, 1.11760201e-08, 1, 0, 0, 0, 0.999998331, -7.45067918e-09, 0, 7.45069251e-09, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2131. CFrame.new(1.50000763, -0.131187856, 0.26789096, 1, 0, 0, 0, 0.984807849, 0.173648536, 0, -0.173648536, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2132. CFrame.new(-0.934591651, -0.108145729, -0.566749334, 0.984807849, 0.173647985, 0, -0.150383562, 0.852868617, -0.500000238, -0.0868240371, 0.492404163, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2133. CFrame.new(0.5, -0.643755913, -0.994426787, 1, 0, 0, 0, 0.984807789, -0.173648715, 0, 0.173648685, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2134. CFrame.new(-0.5, -1.78364873, 0.343712032, 1, 0, 0, 0, 0.642787695, 0.766044557, 0, -0.766044557, 0.642787695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2135. }, .3, false)
  2136. end
  2137.  
  2138. end
  2139. Humanoid.AutoRotate = true
  2140. Humanoid.WalkSpeed = 25
  2141. Humanoid.JumpPower = 100
  2142. Attack = false
  2143. end
  2144. end
  2145.  
  2146.  
  2147. Humanoid.StateChanged:connect(OnHumanoidStateChange)
  2148.  
  2149.  
  2150. destroyable = false
  2151.  
  2152. spawn(function()
  2153. while true do
  2154. if targetted ~= nil and targetted.Parent.Head ~= nil then
  2155. print("ghay")
  2156. bodygyroo = Instance.new("BodyGyro",RootPart)
  2157. bodygyroo.MaxTorque = Vector3.new(50000,50000,50000)
  2158. bodygyroo.D = 2500
  2159. bodygyroo.P = 50000
  2160. while targetted ~= nil do
  2161. bodygyroo.CFrame = CFrame.new(RootPart.Position, Vector3.new(targetted.Parent.Head.Position.X,RootPart.Position,targetted.Parent.Head.Position.Z))
  2162. wait(.01)
  2163. end
  2164. elseif targetted == nil and destroyable == true then
  2165. bodygyroo:Destroy()
  2166. wait(.01)
  2167. elseif targetted ~= nil and Attack ~= true and focused ~= true then
  2168. bodygyroo:Destroy()
  2169. end
  2170. wait(.001)
  2171. end
  2172. end)
  2173.  
  2174.  
  2175.  
  2176.  
  2177. while true do
  2178. swait()
  2179. for i, v in pairs(Character:GetChildren()) do
  2180. if v:IsA("Part") then
  2181. v.Material = "SmoothPlastic"
  2182. elseif v:IsA("Accessory") then
  2183. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2184. end
  2185. end
  2186. for i, v in pairs(Character:GetChildren()) do
  2187. if v:IsA'Model' then
  2188. for _, c in pairs(v:GetChildren()) do
  2189. if c:IsA'Part' then
  2190. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2191. end
  2192. end
  2193. end
  2194. end
  2195. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2196. Velocity = RootPart.Velocity.y
  2197. Sine = Sine + Change
  2198. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2199. if RootPart.Velocity.y > 1 and hit == nil then
  2200. Anim = "Jump"
  2201. if Attack == false then
  2202. Change = 1
  2203. PlayAnimationFromTable({
  2204. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2205. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2206. CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2207. CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2208. CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2209. CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2210. }, .3, false)
  2211. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(80), math.rad(0), math.rad(0)), 0.3)
  2212.  
  2213. end
  2214. elseif RootPart.Velocity.y < -1 and hit == nil then
  2215. Anim = "Fall"
  2216. if Attack == false then
  2217. Change = 1
  2218. PlayAnimationFromTable({
  2219. CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2220. CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2221. CFrame.new(1.53209591, 0.16416876, 0.0263971146, 0.98480773, -0.173648164, -1.55591565e-07, 0.171010092, 0.969846427, 0.173648164, -0.0301535316, -0.171010077, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2222. CFrame.new(-1.64498818, 0.287739754, -0.209731221, 0.86602509, 0.500000656, 7.92254752e-07, -0.433013529, 0.750000894, -0.499998152, -0.25, 0.433010578, 0.86602664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2223. CFrame.new(0.5, -1.26449406, -1.10387921, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2224. CFrame.new(-0.5, -1.24956489, -0.292783707, 1, 0, 0, 0, 0.642787695, 0.766044557, 0, -0.766044557, 0.642787695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2225. }, .3, false)
  2226. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(80), math.rad(0), math.rad(0)), 0.3)
  2227. end
  2228. elseif TorsoVelocity < 1 and hit ~= nil then
  2229. Anim = "Idle"
  2230. if Attack == false then
  2231. Change = 1
  2232. PlayAnimationFromTable({
  2233. CFrame.new(-0.00794177782, -7.4505806e-09, 0.0224991869, 0.76604414, 0.111618884, 0.633022666, 0, 0.984807849, -0.173648044, -0.642788053, 0.13302207, 0.754406214) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/30), 0) * CFrame.Angles(0, 0, 0),
  2234. CFrame.new(-0.0413136631, 1.49691474, -0.148686588, 0.767336428, 0.138277978, -0.626158178, 0.0824353173, 0.947098911, 0.310174853, 0.635923922, -0.289626002, 0.715344429) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  2235. CFrame.new(0.825092554, 0.0104905069, -0.775937021, 0.866025388, 0.433013171, -0.249999434, -0.433012217, 0.399518192, -0.808013439, -0.250001132, 0.808012903, 0.533492804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2236. CFrame.new(-0.241498172, 0.0799458325, -0.802346468, 0.866025567, -0.469846159, 0.171009794, 0.383021832, 0.40355885, -0.830923855, 0.321393847, 0.785101831, 0.529453576) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2237. CFrame.new(0.62906158, -2.01587725, 0.0849169493, 0.939692438, 0, -0.342020959, 0.0593912601, 0.984807849, 0.163175747, 0.336824834, -0.173648044, 0.92541641) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2238. CFrame.new(-0.43440938, -2.03143525, -0.00331869721, 0.98480773, 0, 0.173648447, -0.0301537216, 0.984807849, 0.171009928, -0.171010375, -0.173648044, 0.969846368) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2239. }, .3, false)
  2240. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2241. end
  2242. elseif TorsoVelocity > 2 and hit ~= nil then
  2243. Anim = "Walk"
  2244. if Attack == false then
  2245. PlayAnimationFromTable({
  2246. CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.996187985, 0.0871556774, 0, -0.0871556699, 0.996194661) * CFrame.new(0, 0 + .1 * math.cos(Sine/35), 0) * CFrame.Angles(-.3 + 0.05 * math.cos(Sine/30), 0, 0),
  2247. CFrame.new(0, 1.49999499, 1.11760201e-08, 1, 0, 0, 0, 0.999998331, -7.45067918e-09, 0, 7.45069251e-09, 1) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/15), 0) * CFrame.Angles(0 + 0.05 * math.cos(Sine/15), 0, 0),
  2248. CFrame.new(0.825092554, 0.0104905069, -0.775937021, 0.866025388, 0.433013171, -0.249999434, -0.433012217, 0.399518192, -0.808013439, -0.250001132, 0.808012903, 0.533492804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2249. CFrame.new(-0.241498172, 0.0799458325, -0.802346468, 0.866025567, -0.469846159, 0.171009794, 0.383021832, 0.40355885, -0.830923855, 0.321393847, 0.785101831, 0.529453576) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2250. CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, .4 + .8 * math.cos((Sine) / 2), -.1 + 1 * math.cos((Sine) / 4)) * CFrame.Angles(math.rad(1.8 - 50 * math.cos((Sine) / 4)), math.rad(0), math.rad(0)),
  2251. CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, .4 + .8 * math.cos((Sine) / 2), .1 - 1 * math.cos((Sine) / 4)) * CFrame.Angles(math.rad(-1.8 + 50 * math.cos((Sine) / 4)), math.rad(0), math.rad(0)),
  2252. }, .3, false)
  2253. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2254.  
  2255. end
  2256. end
  2257. if #Effects > 0 then
  2258. for e = 1, #Effects do
  2259. if Effects[e] ~= nil then
  2260. local Thing = Effects[e]
  2261. if Thing ~= nil then
  2262. local Part = Thing[1]
  2263. local Mode = Thing[2]
  2264. local Delay = Thing[3]
  2265. local IncX = Thing[4]
  2266. local IncY = Thing[5]
  2267. if Thing[1].Transparency <= 1 then
  2268. if Thing[2] == "Block1" then
  2269. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2270. Mesh = Thing[7]
  2271. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2272. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2273. elseif Thing[2] == "Ice" then
  2274. if Thing[6] <= Thing[5] then
  2275. Thing[6] = Thing[6] + .05
  2276. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  2277. else
  2278. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2279. end
  2280. elseif Thing[2] == "Shatter" then
  2281. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2282. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2283. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2284. Thing[6] = Thing[6] + Thing[5]
  2285. elseif Thing[2] == "Block2" then
  2286. Thing[1].CFrame = Thing[1].CFrame
  2287. Mesh = Thing[7]
  2288. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2289. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2290. elseif Thing[2] == "Block3" then
  2291. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2292. Mesh = Thing[7]
  2293. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2294. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2295. elseif Thing[2] == "Block4" then
  2296. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  2297. Mesh = Thing[7]
  2298. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2299. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2300. elseif Thing[2] == "Block2Fire" then
  2301. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2302. Mesh = Thing[7]
  2303. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2304. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2305. if Thing[1].Transparency >= .3 then
  2306. Thing[1].BrickColor = BrickColor.new("Bright red")
  2307. else
  2308. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  2309. end
  2310. elseif Thing[2] == "Cylinder" then
  2311. Mesh = Thing[7]
  2312. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2313. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2314. elseif Thing[2] == "Blood" then
  2315. Mesh = Thing[7]
  2316. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  2317. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2318. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2319. elseif Thing[2] == "Elec" then
  2320. Mesh = Thing[10]
  2321. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2322. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2323. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  2324. Thing[1].Rotation = Vector3.new(0, 0, 0)
  2325. elseif Thing[2] == "Disappear" then
  2326. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2327. end
  2328. else
  2329. Part.Parent = nil
  2330. table.remove(Effects, e)
  2331. end
  2332. end
  2333. end
  2334. end
  2335. end
  2336. if Humanoid.PlatformStand == true then
  2337. Humanoid.PlatformStand = false
  2338. end
  2339. if targetted ~= nil then
  2340. destroyable = true
  2341. Humanoid.AutoRotate = false
  2342. crosshair.Adornee = targetted.Parent.Head
  2343. crosshair.Enabled = true
  2344. crosshair2.Adornee = targetted.Parent.Head
  2345. crosshair2.Enabled = true
  2346. crosshair3.Adornee = targetted.Parent.Head
  2347. crosshair3.Enabled = true
  2348. lockcam.CameraType = "Scriptable"
  2349. lockcam:Interpolate(RootPart.CFrame*CFrame.new(2,2,8),targetted.Parent.Head.CFrame,.1)
  2350. elseif targetted == nil and executing == false then
  2351. lockcam.CameraType = "Custom"
  2352. crosshair.Adornee = nil
  2353. crosshair.Enabled = false
  2354. crosshair2.Adornee = nil
  2355. crosshair2.Enabled = false
  2356. crosshair3.Adornee = nil
  2357. crosshair3.Enabled = false
  2358. Humanoid.AutoRotate = true
  2359. end
  2360. Humanoid.Health = math.huge
  2361. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement