Advertisement
L00kG00D

Untitled

Sep 17th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. wait(1 / 60)
  143. Effects = { }
  144. local Player = game.Players.localPlayer
  145. local Mouse = Player:GetMouse()
  146. local Character = Player.Character
  147. local Humanoid = Character.Humanoid
  148. local Head = Character.Head
  149. local RootPart = Character.HumanoidRootPart
  150. local Torso = Character.Torso
  151. local LeftArm = Character["Left Arm"]
  152. local RightArm = Character["Right Arm"]
  153. local LeftLeg = Character["Left Leg"]
  154. local RightLeg = Character["Right Leg"]
  155. local Camera = game.Workspace.CurrentCamera
  156. local RootJoint = RootPart.RootJoint
  157. local Equipped = false
  158. local Attack = false
  159. local Anim = 'Idle'
  160. local Idle = 0
  161. local Combo = 1
  162. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  163. local Velocity = RootPart.Velocity.y
  164. local Sine = 0
  165. local Change = 1
  166. local lockcam = workspace.CurrentCamera
  167. lockcam.CameraType = "Custom"
  168. lockcam.CameraSubject = Head
  169.  
  170. local RbxUtility = LoadLibrary("RbxUtility")
  171. local Create = RbxUtility.Create
  172.  
  173.  
  174. Humanoid.WalkSpeed = 25
  175. Humanoid.JumpPower = 100
  176. Humanoid.Animator.Parent = nil
  177. Character.Animate.Parent = nil
  178.  
  179. local newMotor = function(part0, part1, c0, c1)
  180. local w = Create('Motor'){
  181. Parent = part0,
  182. Part0 = part0,
  183. Part1 = part1,
  184. C0 = c0,
  185. C1 = c1,
  186. }
  187. return w
  188. end
  189.  
  190.  
  191.  
  192. function clerp(a, b, t)
  193. return a:lerp(b, t)
  194. end
  195.  
  196. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  197. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  198.  
  199. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  200. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  201. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  202. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  203. RootJoint.C1 = CFrame.new(0, 0, 0)
  204. RootJoint.C0 = CFrame.new(0, 0, 0)
  205. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  206. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  207.  
  208. local rarmc1 = RW.C1
  209. local larmc1 = LW.C1
  210. local rlegc1 = RH.C1
  211. local llegc1 = LH.C1
  212.  
  213. local resetc1 = false
  214.  
  215. function PlayAnimationFromTable(table, speed, bool)
  216. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  217. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  218. RW.C0 = clerp(RW.C0, table[3], speed)
  219. LW.C0 = clerp(LW.C0, table[4], speed)
  220. RH.C0 = clerp(RH.C0, table[5], speed)
  221. LH.C0 = clerp(LH.C0, table[6], speed)
  222. if bool == true then
  223. if resetc1 == false then
  224. resetc1 = true
  225. RootJoint.C1 = RootJoint.C1
  226. Torso.Neck.C1 = Torso.Neck.C1
  227. RW.C1 = rarmc1
  228. LW.C1 = larmc1
  229. RH.C1 = rlegc1
  230. LH.C1 = llegc1
  231. end
  232. end
  233. end
  234.  
  235. ArtificialHB = Create("BindableEvent"){
  236. Parent = script,
  237. Name = "Heartbeat",
  238. }
  239.  
  240. script:WaitForChild("Heartbeat")
  241.  
  242. frame = 1 / 35
  243. tf = 0
  244. allowframeloss = false
  245. tossremainder = false
  246. lastframe = tick()
  247. script.Heartbeat:Fire()
  248.  
  249. game:GetService("RunService").Heartbeat:connect(function(s, p)
  250. tf = tf + s
  251. if tf >= frame then
  252. if allowframeloss then
  253. script.Heartbeat:Fire()
  254. lastframe = tick()
  255. else
  256. for i = 1, math.floor(tf / frame) do
  257. script.Heartbeat:Fire()
  258. end
  259. lastframe = tick()
  260. end
  261. if tossremainder then
  262. tf = 0
  263. else
  264. tf = tf - frame * math.floor(tf / frame)
  265. end
  266. end
  267. end)
  268.  
  269. function swait(num)
  270. if num == 0 or num == nil then
  271. ArtificialHB.Event:wait()
  272. else
  273. for i = 0, num do
  274. ArtificialHB.Event:wait()
  275. end
  276. end
  277. end
  278.  
  279. local m = Create("Model"){
  280. Parent = Character,
  281. Name = "WeaponModel"
  282. }
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290. function RemoveOutlines(part)
  291. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  292. end
  293.  
  294. CFuncs = {
  295. Part = {
  296. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  297. local Part = Create("Part"){
  298. Parent = Parent,
  299. Reflectance = Reflectance,
  300. Transparency = Transparency,
  301. CanCollide = false,
  302. Locked = true,
  303. BrickColor = BrickColor.new(tostring(BColor)),
  304. Name = Name,
  305. Size = Size,
  306. Material = Material,
  307. }
  308. RemoveOutlines(Part)
  309. if Size == Vector3.new() then
  310. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  311. else
  312. Part.Size = Size
  313. end
  314. return Part
  315. end;
  316. };
  317.  
  318. Mesh = {
  319. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  320. local Msh = Create(Mesh){
  321. Parent = Part,
  322. Offset = OffSet,
  323. Scale = Scale,
  324. }
  325. if Mesh == "SpecialMesh" then
  326. Msh.MeshType = MeshType
  327. Msh.MeshId = MeshId
  328. end
  329. return Msh
  330. end;
  331. };
  332.  
  333. Weld = {
  334. Create = function(Parent, Part0, Part1, C0, C1)
  335. local Weld = Create("Weld"){
  336. Parent = Parent,
  337. Part0 = Part0,
  338. Part1 = Part1,
  339. C0 = C0,
  340. C1 = C1,
  341. }
  342. return Weld
  343. end;
  344. };
  345.  
  346. Sound = {
  347. Create = function(id, par, vol, pit)
  348. local Sound = Create("Sound"){
  349. Volume = vol,
  350. Pitch = pit or 1,
  351. SoundId = "rbxassetid://" .. id,
  352. Parent = par or workspace,
  353. }
  354. Sound:play()
  355. return Sound
  356. end;
  357. };
  358.  
  359. Decal = {
  360. Create = function(Color, Texture, Transparency, Name, Parent)
  361. local Decal = Create("Decal"){
  362. Color3 = Color,
  363. Texture = "rbxassetid://" .. Texture,
  364. Transparency = Transparency,
  365. Name = Name,
  366. Parent = Parent,
  367. }
  368. return Decal
  369. end;
  370. };
  371.  
  372. BillboardGui = {
  373. Create = function(Parent, Image, Position, Size)
  374. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  375. BillPar.CFrame = CFrame.new(Position)
  376. local Bill = Create("BillboardGui"){
  377. Parent = BillPar,
  378. Adornee = BillPar,
  379. Size = UDim2.new(1, 0, 1, 0),
  380. SizeOffset = Vector2.new(Size, Size),
  381. }
  382. local d = Create("ImageLabel", Bill){
  383. Parent = Bill,
  384. BackgroundTransparency = 1,
  385. Size = UDim2.new(1, 0, 1, 0),
  386. Image = "rbxassetid://" .. Image,
  387. }
  388. return BillPar
  389. end
  390. };
  391.  
  392. ParticleEmitter = {
  393. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  394. local Particle = Create("ParticleEmitter"){
  395. Parent = Parent,
  396. Color = ColorSequence.new(Color1, Color2),
  397. LightEmission = LightEmission,
  398. Size = Size,
  399. Texture = Texture,
  400. Transparency = Transparency,
  401. ZOffset = ZOffset,
  402. Acceleration = Accel,
  403. Drag = Drag,
  404. LockedToPart = LockedToPart,
  405. VelocityInheritance = VelocityInheritance,
  406. EmissionDirection = EmissionDirection,
  407. Enabled = Enabled,
  408. Lifetime = LifeTime,
  409. Rate = Rate,
  410. Rotation = Rotation,
  411. RotSpeed = RotSpeed,
  412. Speed = Speed,
  413. VelocitySpread = VelocitySpread,
  414. }
  415. return Particle
  416. end;
  417. };
  418.  
  419. CreateTemplate = {
  420.  
  421. };
  422. }
  423.  
  424.  
  425.  
  426. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  427.  
  428. prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", reflect, 0, brickcolor, "Effect", Vector3.new(.1, 0.5, 0.1))
  429. prt.Anchored = true
  430. prt.CFrame = cframe
  431. prt.Material = "Neon"
  432. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  433. game:GetService("Debris"):AddItem(prt, 10)
  434. coroutine.resume(coroutine.create(function(Part, Mesh)
  435.  
  436. for i = 0, 1, delay do
  437. swait()
  438. Part.Transparency = i
  439. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  440. end
  441. Part.Parent = nil
  442. end
  443. ), prt, msh)
  444. end
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451. New = function(Object, Parent, Name, Data)
  452. local Object = Instance.new(Object)
  453. for Index, Value in pairs(Data or {}) do
  454. Object[Index] = Value
  455. end
  456. Object.Parent = Parent
  457. Object.Name = Name
  458. return Object
  459. end
  460.  
  461. Handle2=CFuncs.Part.Create(m,Enum.Material.Plastic,1,1,"Medium stone grey","Handle2",Vector3.new(0.440000921, 0.409999877, 0.450001299))
  462. 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))
  463. moter = New("Weld",Handle,"mot",{Part0 = LeftArm,Part1 = Handle2,})
  464.  
  465.  
  466. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Black","Handle",Vector3.new(1, 0.640000343, 0.480000138))
  467. 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))
  468.  
  469.  
  470. FakeHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Black","FakeHandle",Vector3.new(1, 0.640000343, 0.480000138))
  471. 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))
  472.  
  473.  
  474. trigger=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","trigger",Vector3.new(1, 0.800000012, 1))
  475. 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))
  476. CFuncs.Mesh.Create("BlockMesh",trigger,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.5, 0.0700000003))
  477. trigger=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","trigger",Vector3.new(1, 0.800000012, 1))
  478. 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))
  479. CFuncs.Mesh.Create("BlockMesh",trigger,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.300000012, 0.0700000003))
  480. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 1))
  481. 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))
  482. CFuncs.Mesh.Create("SpecialMesh",support,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.100000001, 0.0700000003))
  483. barrel=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,0,"Medium stone grey","barrel",Vector3.new(1, 1.20000005, 1))
  484. 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))
  485. CFuncs.Mesh.Create("CylinderMesh",barrel,"","",Vector3.new(0, 0.100000001, 0.0149999997),Vector3.new(1, 0.829999983, 0.119999997))
  486. barrelcore=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","barrelcore",Vector3.new(1, 1.20000005, 1))
  487. 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))
  488. CFuncs.Mesh.Create("CylinderMesh",barrelcore,"","",Vector3.new(0, 0.101000004, 0.0149999997),Vector3.new(1, 0.829999983, 0.109999999))
  489. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  490. 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))
  491. CFuncs.Mesh.Create("SpecialMesh",grip,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.449999988, 0.800000012))
  492. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  493. 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))
  494. CFuncs.Mesh.Create("SpecialMesh",grip,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.100000001, 0.119999997))
  495. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  496. 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))
  497. CFuncs.Mesh.Create("BlockMesh",grip,"","",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.899999976, 0.349999994))
  498. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 0.800000012, 1))
  499. 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))
  500. CFuncs.Mesh.Create("SpecialMesh",grip,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.200000003, 0.0700000003))
  501. grip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip",Vector3.new(1, 1.20000005, 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.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))
  503. CFuncs.Mesh.Create("CylinderMesh",grip,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.109999999, 0.0799999982))
  504. grip6=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","grip6",Vector3.new(1, 1.20000005, 1))
  505. 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))
  506. CFuncs.Mesh.Create("CylinderMesh",grip6,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.109999999, 0.0799999982))
  507. gripwood=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Grey","gripwood",Vector3.new(1, 0.800000012, 1))
  508. 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))
  509. CFuncs.Mesh.Create("BlockMesh",gripwood,"","",Vector3.new(0, -0.0299999993, 0),Vector3.new(0.130999997, 0.899999976, 0.300000012))
  510. lock=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","lock",Vector3.new(1, 1.20000005, 1))
  511. 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))
  512. CFuncs.Mesh.Create("CylinderMesh",lock,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0500000007, 0.119999997))
  513. lock=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","lock",Vector3.new(1, 1.20000005, 1))
  514. 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))
  515. CFuncs.Mesh.Create("BlockMesh",lock,"","",Vector3.new(0, 0, 0),Vector3.new(0.0599999987, 0.201000005, 0.0500000007))
  516. mag=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","mag",Vector3.new(1, 0.800000012, 1))
  517. 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))
  518. CFuncs.Mesh.Create("BlockMesh",mag,"","",Vector3.new(0, 0, 0),Vector3.new(0.119999997, 0.899999976, 0.200000003))
  519. pull1=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull1",Vector3.new(1, 1.20000005, 1))
  520. 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))
  521. CFuncs.Mesh.Create("CylinderMesh",pull1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.829999983, 0.109999999))
  522. pull10=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull10",Vector3.new(1, 1.20000005, 1))
  523. 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))
  524. CFuncs.Mesh.Create("BlockMesh",pull10,"","",Vector3.new(0, 0, 0),Vector3.new(0.140000001, 0.899999976, 0.100000001))
  525. pull11=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull11",Vector3.new(1, 1.20000005, 1))
  526. 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))
  527. CFuncs.Mesh.Create("BlockMesh",pull11,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.629999995, 0.109999999))
  528. pull12=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull12",Vector3.new(1, 1.20000005, 1))
  529. 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))
  530. CFuncs.Mesh.Create("BlockMesh",pull12,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0.629999995, 0.109999999))
  531. pull13=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull13",Vector3.new(1, 1.20000005, 1))
  532. 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))
  533. CFuncs.Mesh.Create("BlockMesh",pull13,"","",Vector3.new(0, 0, 0),Vector3.new(0.140000001, 0.200000003, 0.150000006))
  534. pull14=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","pull14",Vector3.new(1, 1.20000005, 1))
  535. 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))
  536. CFuncs.Mesh.Create("BlockMesh",pull14,"","",Vector3.new(0, 0, 0),Vector3.new(0.0599999987, 0.201000005, 0.150000006))
  537. pull15=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull15",Vector3.new(1, 0.400000006, 1))
  538. 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))
  539. CFuncs.Mesh.Create("BlockMesh",pull15,"","",Vector3.new(0, 0, 0),Vector3.new(0.00999999978, 0.129999995, 0.100000001))
  540. pull16=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull16",Vector3.new(1, 0.400000006, 1))
  541. 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))
  542. CFuncs.Mesh.Create("BlockMesh",pull16,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.129999995, 0.100000001))
  543. pull17=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull17",Vector3.new(1, 0.400000006, 1))
  544. 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))
  545. CFuncs.Mesh.Create("BlockMesh",pull17,"","",Vector3.new(0, 0, 0),Vector3.new(0.0199999996, 0.129999995, 0.100000001))
  546. pull18=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull18",Vector3.new(1, 0.400000006, 1))
  547. 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))
  548. CFuncs.Mesh.Create("BlockMesh",pull18,"","",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.129999995, 0.100000001))
  549. pull2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull2",Vector3.new(1, 1.20000005, 1))
  550. 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))
  551. CFuncs.Mesh.Create("BlockMesh",pull2,"","",Vector3.new(0, 0, 0),Vector3.new(0.109999999, 0.829999983, 0.109999999))
  552. pull3=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull3",Vector3.new(1, 0.800000012, 1))
  553. 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))
  554. CFuncs.Mesh.Create("BlockMesh",pull3,"","",Vector3.new(0, 0, 0),Vector3.new(0.140000001, 0.949999988, 0.109999999))
  555. pull4=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull4",Vector3.new(1, 0.800000012, 1))
  556. 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))
  557. CFuncs.Mesh.Create("BlockMesh",pull4,"","",Vector3.new(0, 0, 0),Vector3.new(0.0900000036, 0.949999988, 0.109999999))
  558. pull5=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull5",Vector3.new(1, 0.800000012, 1))
  559. 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))
  560. CFuncs.Mesh.Create("BlockMesh",pull5,"","",Vector3.new(0, 0, 0),Vector3.new(0.0900000036, 0.5, 0.109999999))
  561. pull6=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull6",Vector3.new(1, 0.800000012, 1))
  562. 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))
  563. CFuncs.Mesh.Create("BlockMesh",pull6,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 0.949999988, 0.0900000036))
  564. pull7=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull7",Vector3.new(1, 0.800000012, 1))
  565. 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))
  566. CFuncs.Mesh.Create("BlockMesh",pull7,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 0.5, 0.0900000036))
  567. pull8=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull8",Vector3.new(1, 0.800000012, 1))
  568. 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))
  569. CFuncs.Mesh.Create("BlockMesh",pull8,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 0.949999988, 0.0900000036))
  570. pull9=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","pull9",Vector3.new(1, 0.800000012, 1))
  571. 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))
  572. CFuncs.Mesh.Create("BlockMesh",pull9,"","",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 1, 0.0199999996))
  573. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 1.20000005, 1))
  574. 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))
  575. CFuncs.Mesh.Create("BlockMesh",support,"","",Vector3.new(0, -0.0399999991, 0),Vector3.new(0.129999995, 0.899999976, 0.100000001))
  576. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 1.20000005, 1))
  577. 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))
  578. CFuncs.Mesh.Create("CylinderMesh",support,"","",Vector3.new(0, 0.0599999987, 0),Vector3.new(1, 0.899999976, 0.129999995))
  579. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 1))
  580. 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))
  581. CFuncs.Mesh.Create("BlockMesh",support,"","",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.400000006, 0.0399999991))
  582. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 1))
  583. 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))
  584. CFuncs.Mesh.Create("SpecialMesh",support,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.129999995, 0.200000003, 0.0399999991))
  585. support=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","support",Vector3.new(1, 0.800000012, 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.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))
  587. CFuncs.Mesh.Create("BlockMesh",support,"","",Vector3.new(0, -0.0399999991, 0),Vector3.new(0.129999995, 1, 0.100000001))
  588. bulletpart=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Black","bulletpart",Vector3.new(0.209999934, 0.170000002, 0.209999904))
  589. 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))
  590.  
  591.  
  592.  
  593.  
  594. function RayCast(Position, Direction, Range, Ignore)
  595. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  596. end
  597.  
  598. function FindNearestTorso(Position, Distance, SinglePlayer)
  599. if SinglePlayer then
  600. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  601. end
  602. local List = {}
  603. for i, v in pairs(workspace:GetChildren()) do
  604. if v:IsA("Model") then
  605. if v:findFirstChild("Torso") then
  606. if v ~= Character then
  607. if (v.Torso.Position - Position).magnitude <= Distance then
  608. table.insert(List, v)
  609. end
  610. end
  611. end
  612. end
  613. end
  614. return List
  615. end
  616.  
  617.  
  618.  
  619. function FindNearestHead(Position, Distance, SinglePlayer)
  620. if SinglePlayer then
  621. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  622. end
  623. local List = {}
  624. for i, v in pairs(workspace:GetChildren()) do
  625. if v:IsA("Model") then
  626. if v:findFirstChild("Head") then
  627. if v ~= Character then
  628. if (v.Head.Position - Position).magnitude <= Distance then
  629. table.insert(List, v)
  630. end
  631. end
  632. end
  633. end
  634. end
  635. return List
  636. end
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  645. if hit.Parent == nil then
  646. return
  647. end
  648. local h = hit.Parent:FindFirstChild("Humanoid")
  649. for _, v in pairs(hit.Parent:children()) do
  650. if v:IsA("Humanoid") then
  651. h = v
  652. end
  653. end
  654. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  655. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  656. if hit.Parent.DebounceHit.Value == true then
  657. return
  658. end
  659. end
  660. local c = Create("ObjectValue"){
  661. Name = "creator",
  662. Value = game:service("Players").LocalPlayer,
  663. Parent = h,
  664. }
  665. game:GetService("Debris"):AddItem(c, .5)
  666. if HitSound ~= nil and HitPitch ~= nil then
  667. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  668. end
  669. local Damage = math.random(minim, maxim)
  670. local blocked = false
  671. local block = hit.Parent:findFirstChild("Block")
  672. if block ~= nil then
  673. if block.className == "IntValue" then
  674. if block.Value > 0 then
  675. blocked = true
  676. block.Value = block.Value - 1
  677. print(block.Value)
  678. end
  679. end
  680. end
  681. if blocked == false then
  682. h.Health = h.Health - Damage
  683. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 6)).p + Vector3.new(0, 3, 0)), -Damage, 3, BrickColor.new(Torso.Color).Color)
  684. else
  685. h.Health = h.Health - (Damage / 2)
  686. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 6)).p + Vector3.new(0, 3, 0)), -Damage, 3, BrickColor.new(Torso.Color).Color)
  687. end
  688. if Type == "Knockdown" then
  689. local hum = hit.Parent.Humanoid
  690. hum.PlatformStand = true
  691. coroutine.resume(coroutine.create(function(HHumanoid)
  692. swait(1)
  693. HHumanoid.PlatformStand = false
  694. end), hum)
  695. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  696. local bodvol = Create("BodyVelocity"){
  697. velocity = angle * knockback,
  698. P = 5000,
  699. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  700. Parent = hit,
  701. }
  702. local rl = Create("BodyAngularVelocity"){
  703. P = 3000,
  704. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  705. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  706. Parent = hit,
  707. }
  708. game:GetService("Debris"):AddItem(bodvol, .5)
  709. game:GetService("Debris"):AddItem(rl, .5)
  710. elseif Type == "Normal" then
  711. local vp = Create("BodyVelocity"){
  712. P = 500,
  713. maxForce = Vector3.new(math.huge, 0, math.huge),
  714. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  715. }
  716. if hit.Parent.Humanoid.MaxHealth > 100 then
  717. hit.Parent:BreakJoints()
  718. end
  719. if knockback > 0 then
  720. vp.Parent = hit.Parent.Torso
  721. end
  722. game:GetService("Debris"):AddItem(vp, .5)
  723. elseif Type == "Up" then
  724. local bodyVelocity = Create("BodyVelocity"){
  725. velocity = Vector3.new(0, 20, 0),
  726. P = 5000,
  727. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  728. Parent = hit,
  729. }
  730. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  731. elseif Type == "DarkUp" then
  732. coroutine.resume(coroutine.create(function()
  733. for i = 0, 1, 0.1 do
  734. swait()
  735. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  736. end
  737. end))
  738. local bodyVelocity = Create("BodyVelocity"){
  739. velocity = Vector3.new(0, 20, 0),
  740. P = 5000,
  741. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  742. Parent = hit,
  743. }
  744. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  745. elseif Type == "Snare" then
  746. local bp = Create("BodyPosition"){
  747. P = 2000,
  748. D = 100,
  749. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  750. position = hit.Parent.Torso.Position,
  751. Parent = hit.Parent.Torso,
  752. }
  753. game:GetService("Debris"):AddItem(bp, 1)
  754. elseif Type == "Freeze" then
  755. local BodPos = Create("BodyPosition"){
  756. P = 50000,
  757. D = 1000,
  758. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  759. position = hit.Parent.Torso.Position,
  760. Parent = hit.Parent.Torso,
  761. }
  762. local BodGy = Create("BodyGyro") {
  763. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  764. P = 20e+003,
  765. Parent = hit.Parent.Torso,
  766. cf = hit.Parent.Torso.CFrame,
  767. }
  768. hit.Parent.Torso.Anchored = true
  769. coroutine.resume(coroutine.create(function(Part)
  770. swait(1.5)
  771. Part.Anchored = false
  772. end), hit.Parent.Torso)
  773. game:GetService("Debris"):AddItem(BodPos, 3)
  774. game:GetService("Debris"):AddItem(BodGy, 3)
  775. end
  776. local debounce = Create("BoolValue"){
  777. Name = "DebounceHit",
  778. Parent = hit.Parent,
  779. Value = true,
  780. }
  781. game:GetService("Debris"):AddItem(debounce, Delay)
  782. c = Create("ObjectValue"){
  783. Name = "creator",
  784. Value = Player,
  785. Parent = h,
  786. }
  787. game:GetService("Debris"):AddItem(c, .5)
  788. end
  789. end
  790.  
  791. function ShowDamage(Pos, Text, Time, Color)
  792. local Rate = (1 / 30)
  793. local Pos = (Pos or Vector3.new(0, 0, 0))
  794. local Text = (Text or "")
  795. local Time = (Time or 2)
  796. local Color = (Color or Color3.new(1, 0, 1))
  797. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  798. EffectPart.Anchored = true
  799. local BillboardGui = Create("BillboardGui"){
  800. Size = UDim2.new(3, 0, 3, 0),
  801. Adornee = EffectPart,
  802. Parent = EffectPart,
  803. }
  804. local TextLabel = Create("TextLabel"){
  805. BackgroundTransparency = 1,
  806. Size = UDim2.new(1, 0, 1, 0),
  807. Text = Text,
  808. Font = "SciFi",
  809. TextColor3 = Color,
  810. TextScaled = true,
  811. Parent = BillboardGui,
  812. }
  813. game.Debris:AddItem(EffectPart, (Time))
  814. EffectPart.Parent = game:GetService("Workspace")
  815. delay(0, function()
  816. local Frames = (Time / Rate)
  817. for Frame = 1, Frames do
  818. wait(Rate)
  819. local Percent = (Frame / Frames)
  820. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  821. TextLabel.TextTransparency = Percent
  822. end
  823. if EffectPart and EffectPart.Parent then
  824. EffectPart:Destroy()
  825. end
  826. end)
  827. end
  828.  
  829. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  830. for _, c in pairs(workspace:children()) do
  831. local hum = c:findFirstChild("Humanoid")
  832. if hum ~= nil then
  833. local head = c:findFirstChild("Torso")
  834. if head ~= nil then
  835. local targ = head.Position - Part.Position
  836. local mag = targ.magnitude
  837. if mag <= Magnitude and c.Name ~= Player.Name then
  838. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  839. end
  840. end
  841. end
  842. end
  843. end
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855. EffectModel = Create("Model"){
  856. Parent = Character,
  857. Name = "EffectModel",
  858. }
  859.  
  860.  
  861. mosic = Instance.new("Sound",Torso)
  862. mosic.SoundId = "http://www.roblox.com/asset/?id=935752515"
  863. mosic.Looped = true
  864. mosic:Play()
  865. mosic.Volume = 3
  866.  
  867. Effects = {
  868. Block = {
  869. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  870. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  871. prt.Anchored = true
  872. prt.CFrame = cframe
  873. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  874. game:GetService("Debris"):AddItem(prt, 10)
  875. if Type == 1 or Type == nil then
  876. table.insert(Effects, {
  877. prt,
  878. "Block1",
  879. delay,
  880. x3,
  881. y3,
  882. z3,
  883. msh
  884. })
  885. elseif Type == 2 then
  886. table.insert(Effects, {
  887. prt,
  888. "Block2",
  889. delay,
  890. x3,
  891. y3,
  892. z3,
  893. msh
  894. })
  895. elseif Type == 3 then
  896. table.insert(Effects, {
  897. prt,
  898. "Block3",
  899. delay,
  900. x3,
  901. y3,
  902. z3,
  903. msh,
  904. Part
  905. })
  906. elseif Type == 4 then
  907. table.insert(Effects, {
  908. prt,
  909. "Block2Fire",
  910. delay,
  911. x3,
  912. y3,
  913. z3,
  914. msh
  915. })
  916. end
  917. end
  918. };
  919.  
  920. Sphere = {
  921. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  922. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  923. prt.Anchored = true
  924. prt.CFrame = cframe
  925. if parent == nil then
  926. prt.Parent = workspace
  927. else
  928. prt.Parent = parent
  929. end
  930. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  931. game:GetService("Debris"):AddItem(prt, 10)
  932. table.insert(Effects, {
  933. prt,
  934. "Cylinder",
  935. delay,
  936. x3,
  937. y3,
  938. z3,
  939. msh
  940. })
  941. end
  942. };
  943.  
  944. Blood = {
  945. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  946. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  947. prt.Anchored = true
  948. prt.CFrame = cframe
  949. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  950. game:GetService("Debris"):AddItem(prt, 10)
  951. table.insert(Effects, {
  952. prt,
  953. "Blood",
  954. delay,
  955. x3,
  956. y3,
  957. z3,
  958. msh
  959. })
  960. end
  961. };
  962.  
  963. Blast = {
  964. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  965. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  966. prt.Anchored = true
  967. prt.CFrame = cframe
  968. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  969. game:GetService("Debris"):AddItem(prt, 10)
  970. table.insert(Effects, {
  971. prt,
  972. "Block4",
  973. delay,
  974. x3,
  975. y3,
  976. z3,
  977. msh,
  978. Part
  979. })
  980. end
  981. };
  982.  
  983. Ring = {
  984. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  985. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  986. prt.Anchored = true
  987. prt.CFrame = cframe
  988. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  989. game:GetService("Debris"):AddItem(prt, 10)
  990. table.insert(Effects, {
  991. prt,
  992. "Cylinder",
  993. delay,
  994. x3,
  995. y3,
  996. z3,
  997. msh
  998. })
  999. end
  1000. };
  1001.  
  1002. Cylinder = {
  1003. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1004. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1005. prt.Anchored = true
  1006. prt.CFrame = cframe
  1007. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1008. game:GetService("Debris"):AddItem(prt, 10)
  1009. table.insert(Effects, {
  1010. prt,
  1011. "Cylinder",
  1012. delay,
  1013. x3,
  1014. y3,
  1015. z3,
  1016. msh
  1017. })
  1018. end
  1019. };
  1020.  
  1021. Head = {
  1022. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1023. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1024. prt.Anchored = true
  1025. prt.CFrame = cframe
  1026. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1027. game:GetService("Debris"):AddItem(prt, 10)
  1028. table.insert(Effects, {
  1029. prt,
  1030. "Cylinder",
  1031. delay,
  1032. x3,
  1033. y3,
  1034. z3,
  1035. msh
  1036. })
  1037. end
  1038. };
  1039.  
  1040. Wave = {
  1041. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1042. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1043. prt.Anchored = true
  1044. prt.CFrame = cframe
  1045. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1046. game:GetService("Debris"):AddItem(prt, 10)
  1047. table.insert(Effects, {
  1048. prt,
  1049. "Cylinder",
  1050. delay,
  1051. x3,
  1052. y3,
  1053. z3,
  1054. msh
  1055. })
  1056. end
  1057. };
  1058.  
  1059. Break = {
  1060. Create = function(brickcolor, cframe, x1, y1, z1)
  1061. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1062. prt.Anchored = true
  1063. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1064. game:GetService("Debris"):AddItem(prt, 10)
  1065. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1066. local num = math.random(10, 50) / 1000
  1067. table.insert(Effects, {
  1068. prt,
  1069. "Shatter",
  1070. num,
  1071. prt.CFrame,
  1072. math.random() - math.random(),
  1073. 0,
  1074. math.random(50, 100) / 100
  1075. })
  1076. end
  1077. };
  1078.  
  1079. Elec = {
  1080. Create = function(brickcolor, cff, x, y, z)
  1081. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  1082. prt.Anchored = true
  1083. 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)
  1084. prt.CFrame = CFrame.new(prt.Position)
  1085. game:GetService("Debris"):AddItem(prt, 10)
  1086. xval = math.random() / 9
  1087. yval = math.random() / 9
  1088. zval = math.random() / 9
  1089. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1090. eul1 = math.random(-50, 50)
  1091. eul2 = math.random(-50, 50)
  1092. eul3 = math.random(-50, 50)
  1093. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  1094. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  1095. table.insert(Effects, {
  1096. prt,
  1097. "Elec",
  1098. .05,
  1099. x,
  1100. y,
  1101. z,
  1102. xval,
  1103. yval,
  1104. zval,
  1105. msh,
  1106. euld,
  1107. euld2
  1108. })
  1109. end
  1110. };
  1111.  
  1112. Elec2 = {
  1113. Create = function(brickcolor, cff, x, y, z)
  1114. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  1115. prt.Anchored = true
  1116. 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)
  1117. prt.CFrame = CFrame.new(prt.Position)
  1118. game:GetService("Debris"):AddItem(prt, 10)
  1119. xval = math.random() / 7
  1120. yval = math.random() / 7
  1121. zval = math.random() / 7
  1122. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1123. eul1 = math.random(-50, 50)
  1124. eul2 = math.random(-50, 50)
  1125. eul3 = math.random(-50, 50)
  1126. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  1127. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  1128. table.insert(Effects, {
  1129. prt,
  1130. "Elec",
  1131. .1,
  1132. x,
  1133. y,
  1134. z,
  1135. xval,
  1136. yval,
  1137. zval,
  1138. msh,
  1139. euld,
  1140. euld2
  1141. })
  1142. end
  1143. };
  1144.  
  1145. Clone = {
  1146. Create = function()
  1147. for _, v in pairs(Torso.Parent:children()) do
  1148. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1149. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  1150. c.Anchored = true
  1151. c.CFrame = v.CFrame
  1152. game:GetService("Debris"):AddItem(c, 5)
  1153. local cmsh = nil
  1154. if v.Name == "Head" then
  1155. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  1156. else
  1157. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1158. end
  1159. table.insert(Effects, {
  1160. c,
  1161. "Cylinder",
  1162. 0.05,
  1163. 0.1,
  1164. 0.1,
  1165. 0.1,
  1166. cmsh
  1167. })
  1168. end
  1169. end
  1170. end
  1171. };
  1172.  
  1173. EffectTemplate = {
  1174.  
  1175. };
  1176. }
  1177.  
  1178.  
  1179. shoot = function(mouse, aoe , partt, SpreadAmount, multiply)
  1180.  
  1181. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1182. local MainPos = partt.Position
  1183. local MainPos2 = mouse.Hit.p + SpreadVectors
  1184. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1185. local speed = 100
  1186. local num = 500
  1187. coroutine.resume(coroutine.create(function()
  1188.  
  1189. repeat
  1190. swait()
  1191. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1192. local mag = (MainPos - pos).magnitude
  1193. 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)
  1194. MainPos = MainPos + MouseLook.lookVector * speed
  1195. num = num - 1
  1196. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  1197. if hit ~= nil then
  1198. 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
  1199. num = 0
  1200. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1201. refpart.Anchored = true
  1202. refpart.CFrame = CFrame.new(pos)
  1203. CFuncs.Sound.Create("255661850", refpart, 1, 1)
  1204. local smonk = Instance.new("ParticleEmitter",refpart)
  1205. smonk.LightEmission = .1
  1206. smonk.Size = NumberSequence.new(0.2)
  1207. smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1208. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  1209. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1210. smonk.Transparency = bbb
  1211. smonk.Size = aaa
  1212. smonk.ZOffset = 0
  1213. smonk.Acceleration = Vector3.new(0, -5, 0)
  1214. smonk.LockedToPart = false
  1215. smonk.EmissionDirection = "Back"
  1216. smonk.Lifetime = NumberRange.new(.1, .5)
  1217. smonk.Rate = 50
  1218. smonk.Rotation = NumberRange.new(-100, 100)
  1219. smonk.RotSpeed = NumberRange.new(-100, 100)
  1220. smonk.Speed = NumberRange.new(4)
  1221. smonk.VelocitySpread = 50
  1222. smonk.Enabled=true
  1223. game:GetService("Debris"):AddItem(smonk, .3)
  1224. elseif hit.Name == "Head" then
  1225. num = 0
  1226. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1227. refpart.Anchored = true
  1228. refpart.CFrame = CFrame.new(pos)
  1229. CFuncs.Sound.Create("296102734", refpart, 1, 1)
  1230. game:GetService("Debris"):AddItem(refpart, 2)
  1231. local smonk = Instance.new("ParticleEmitter",refpart)
  1232. smonk.LightEmission = .1
  1233. smonk.Size = NumberSequence.new(0.2)
  1234. smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
  1235. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.5)})
  1236. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1237. smonk.Transparency = bbb
  1238. smonk.Size = aaa
  1239. smonk.ZOffset = 0
  1240. smonk.Acceleration = Vector3.new(0, -5, 0)
  1241. smonk.LockedToPart = false
  1242. smonk.EmissionDirection = "Back"
  1243. smonk.Lifetime = NumberRange.new(.1, .5)
  1244. smonk.Rate = 50
  1245. smonk.Rotation = NumberRange.new(-100, 100)
  1246. smonk.RotSpeed = NumberRange.new(-100, 100)
  1247. smonk.Speed = NumberRange.new(4)
  1248. smonk.VelocitySpread = 100
  1249. smonk.Enabled=true
  1250. game:GetService("Debris"):AddItem(smonk, .3)
  1251. else
  1252. num = 0
  1253. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1254. refpart.Anchored = true
  1255. refpart.CFrame = CFrame.new(pos)
  1256. CFuncs.Sound.Create("341519743", prt, 1, 1)
  1257. game:GetService("Debris"):AddItem(refpart, .2)
  1258. end
  1259. end
  1260. do
  1261. if num <= 0 then
  1262. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1263. refpart.Anchored = true
  1264. refpart.CFrame = CFrame.new(pos)
  1265. Effects.Block.Create(BrickColor.new("Flame reddish orange"), refpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1266. if hit ~= nil then
  1267. MagnitudeDamage(refpart, aoe, 2 * multiply, 2 * multiply, 0, "Normal", "233856154", 1)
  1268. end
  1269. game:GetService("Debris"):AddItem(refpart, 0)
  1270. end
  1271. end
  1272. until num <= 0
  1273. end
  1274. ))
  1275. end
  1276.  
  1277.  
  1278.  
  1279.  
  1280. local Grabbed = false
  1281.  
  1282.  
  1283. function smear()
  1284. Attack = true
  1285.  
  1286. Humanoid.AutoRotate = false
  1287. Humanoid.JumpPower = 0
  1288. Humanoid.WalkSpeed = 0
  1289. local grab = nil
  1290. executing = true
  1291. for i = 0, 1, 0.1 do
  1292. swait()
  1293. PlayAnimationFromTable({
  1294. 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),
  1295. 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),
  1296. 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),
  1297. 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),
  1298. 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),
  1299. 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),
  1300. }, .2, false)
  1301. for i, v in pairs(FindNearestHead(Head.CFrame.p, 10)) do
  1302. if v:FindFirstChild('Head') then
  1303. Grabbed = true
  1304. grab = v
  1305. end
  1306. if Grabbed == true then
  1307. targetted = nil
  1308. grab.Humanoid.PlatformStand = true
  1309. end
  1310. end
  1311. end
  1312.  
  1313. local grab = nil
  1314.  
  1315. for i = 0, .5, 0.1 do
  1316. swait()
  1317. PlayAnimationFromTable({
  1318. 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),
  1319. 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),
  1320. 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),
  1321. 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),
  1322. 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),
  1323. 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),
  1324. }, .3, false)
  1325. for i, v in pairs(FindNearestHead(Head.CFrame.p, 10)) do
  1326. if v:FindFirstChild('Head') then
  1327. Grabbed = true
  1328. grab = v
  1329. end
  1330. lockcam.CameraType = "Scriptable"
  1331. if Grabbed == true then
  1332. targetted = nil
  1333. grab.Humanoid.PlatformStand = true
  1334. grab.Head.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1335. end
  1336. end
  1337. Torso.Velocity=RootPart.CFrame.lookVector*100
  1338. end
  1339.  
  1340. if Grabbed == true and grab ~= nil then
  1341. targetted = nil
  1342. grab.Humanoid.PlatformStand = true
  1343. grab.Head.CFrame = Handle2.CFrame
  1344. grab.Head.CanCollide = false
  1345. local ow = CFuncs.Sound.Create("393884633", grab.Head, 2, 1)
  1346. for i = 0, .5, 0.1 do
  1347. swait()
  1348. PlayAnimationFromTable({
  1349. 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),
  1350. 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),
  1351. 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),
  1352. 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),
  1353. 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),
  1354. 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),
  1355. }, .3, false)
  1356. lockcam:Interpolate(RootPart.CFrame*CFrame.new(2,2,5),grab.Head.CFrame,.1)
  1357. grab.Head.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1358. 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)
  1359. end
  1360. CFuncs.Sound.Create("307379917", grab.Torso, 2, 1)
  1361. for i = 0, 4, 0.1 do
  1362. swait()
  1363. PlayAnimationFromTable({
  1364. 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),
  1365. 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),
  1366. 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),
  1367. 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),
  1368. 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),
  1369. 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),
  1370. }, .3, false)
  1371. lockcam:Interpolate(RootPart.CFrame*CFrame.new(2,2,5),grab.Head.CFrame,.1)
  1372. local smonk = Instance.new("ParticleEmitter",grab.Head)
  1373. smonk.LightEmission = .1
  1374. smonk.Size = NumberSequence.new(0.2)
  1375. smonk.Texture = "http://www.roblox.com/asset/?ID=552389687"
  1376. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .1),NumberSequenceKeypoint.new(1, .5)})
  1377. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1378. smonk.Transparency = bbb
  1379. smonk.Size = aaa
  1380. smonk.ZOffset = -1
  1381. smonk.Acceleration = Vector3.new(0, -5, 0)
  1382. smonk.LockedToPart = false
  1383. smonk.EmissionDirection = "Bottom"
  1384. smonk.Lifetime = NumberRange.new(.2, 5)
  1385. smonk.Rate = 10
  1386. smonk.Rotation = NumberRange.new(-100, 100)
  1387. smonk.RotSpeed = NumberRange.new(-100, 100)
  1388. smonk.Speed = NumberRange.new(-.3)
  1389. smonk.VelocitySpread = 10
  1390. smonk.Enabled=true
  1391. game:GetService("Debris"):AddItem(smonk, 1)
  1392. Torso.Velocity=RootPart.CFrame.lookVector*40
  1393. grab.Head.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1394. end
  1395. grab.Torso.Velocity=RootPart.CFrame.lookVector*0
  1396. Torso.Velocity=RootPart.CFrame.lookVector*0
  1397. grab.Torso.CanCollide = false
  1398. --smashy
  1399. for i = 0, .7, 0.1 do
  1400. for i = 0, .4, 0.1 do
  1401. swait()
  1402. PlayAnimationFromTable({
  1403. 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),
  1404. 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),
  1405. 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),
  1406. 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),
  1407. 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),
  1408. 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),
  1409. }, .3, false)
  1410. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,0),grab.Head.CFrame,.1)
  1411. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1412. end
  1413. local smonk = Instance.new("ParticleEmitter",grab.Head)
  1414. smonk.LightEmission = .1
  1415. smonk.Size = NumberSequence.new(0.2)
  1416. smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
  1417. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
  1418. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1419. smonk.Transparency = bbb
  1420. smonk.Size = aaa
  1421. smonk.ZOffset = 1
  1422. smonk.Acceleration = Vector3.new(0,.3, 0)
  1423. smonk.LockedToPart = false
  1424. smonk.EmissionDirection = "Back"
  1425. smonk.Lifetime = NumberRange.new(.2, 5)
  1426. smonk.Rate = 100
  1427. smonk.Rotation = NumberRange.new(-10, 10)
  1428. smonk.RotSpeed = NumberRange.new(-10, 10)
  1429. smonk.Speed = NumberRange.new(2)
  1430. smonk.VelocitySpread = 1000
  1431. smonk.Enabled=true
  1432. game:GetService("Debris"):AddItem(smonk, .5)
  1433. for i = 0, .4, 0.1 do
  1434. swait()
  1435. PlayAnimationFromTable({
  1436. 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),
  1437. 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),
  1438. 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),
  1439. 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),
  1440. 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),
  1441. 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),
  1442. }, .3, false)
  1443. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1444. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,0),grab.Head.CFrame,.1)
  1445. end
  1446. CFuncs.Sound.Create("710036613", grab.Torso, 1, 1)
  1447. end
  1448. for i = 0, 3, 0.1 do
  1449. swait()
  1450. PlayAnimationFromTable({
  1451. 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),
  1452. 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),
  1453. 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),
  1454. 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),
  1455. 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),
  1456. 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),
  1457. }, .3, false)
  1458. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1459. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,8),grab.Head.CFrame,.8)
  1460. end
  1461. local smonk = Instance.new("ParticleEmitter",grab.Head)
  1462. smonk.LightEmission = .1
  1463. smonk.Size = NumberSequence.new(0.2)
  1464. smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
  1465. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
  1466. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1467. smonk.Transparency = bbb
  1468. smonk.Size = aaa
  1469. smonk.ZOffset = 1
  1470. smonk.Acceleration = Vector3.new(0,5, 0)
  1471. smonk.LockedToPart = false
  1472. smonk.EmissionDirection = "Back"
  1473. smonk.Lifetime = NumberRange.new(.2, 5)
  1474. smonk.Rate = 1000
  1475. smonk.Rotation = NumberRange.new(-10, 10)
  1476. smonk.RotSpeed = NumberRange.new(-10, 10)
  1477. smonk.Speed = NumberRange.new(5)
  1478. smonk.VelocitySpread = 1000
  1479. smonk.Enabled=true
  1480. game:GetService("Debris"):AddItem(smonk, .8)
  1481. CFuncs.Sound.Create("429400881", grab.Torso, 5, .8)
  1482. for i = 0, 3, 0.1 do
  1483. swait()
  1484. PlayAnimationFromTable({
  1485. 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),
  1486. 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),
  1487. 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),
  1488. 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),
  1489. 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),
  1490. 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),
  1491. }, .3, false)
  1492. grab.Head.CFrame = LeftArm.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(-90),0)
  1493. lockcam:Interpolate(Head.CFrame*CFrame.new(2,2,0),grab.Head.CFrame,.5)
  1494. end
  1495. grab.Head.Anchored = false
  1496. end
  1497. if grab ~= nil then
  1498. grab.Head:Destroy()
  1499. end
  1500. grab=nil
  1501. Grabbed = false
  1502. executing = false
  1503. Humanoid.AutoRotate = true
  1504. Humanoid.JumpPower = 100
  1505. Humanoid.WalkSpeed = 25
  1506. Attack = false
  1507. lockcam.CameraType = "Custom"
  1508. end
  1509.  
  1510.  
  1511. crosshair = Instance.new("BillboardGui",Character)
  1512. crosshair.Size = UDim2.new(10,0,10,0)
  1513. crosshair.Enabled = false
  1514. crosshair.AlwaysOnTop = true
  1515. crosshair2 = Instance.new("BillboardGui",Character)
  1516. crosshair2.Size = UDim2.new(10,0,10,0)
  1517. crosshair2.Enabled = false
  1518. crosshair2.AlwaysOnTop = true
  1519.  
  1520. imgl = Instance.new("ImageLabel",crosshair)
  1521. imgl.Position = UDim2.new(0,0,0,0)
  1522. imgl.Size = UDim2.new(1,0,1,0)
  1523. imgl.Image = "rbxassetid://1122662303"
  1524. imgl.BackgroundTransparency = 1
  1525. imgl.ImageColor3 = Color3.new(.5,0,0)
  1526.  
  1527.  
  1528. crosshair3 = Instance.new("BillboardGui",Character)
  1529. crosshair3.Size = UDim2.new(10,0,10,0)
  1530. crosshair3.Enabled = false
  1531. crosshair3.AlwaysOnTop = true
  1532.  
  1533. imgl3 = Instance.new("ImageLabel",crosshair3)
  1534. imgl3.Position = UDim2.new(0,0,0,0)
  1535. imgl3.Size = UDim2.new(1,0,1,0)
  1536. imgl3.Image = "rbxassetid://18006519"
  1537. imgl3.BackgroundTransparency = 1
  1538. imgl3.ImageColor3 = Color3.new(0,0,0)
  1539.  
  1540. imgl2 = Instance.new("ImageLabel",crosshair)
  1541. imgl2.Position = UDim2.new(0,0,0,0)
  1542. imgl2.Size = UDim2.new(1,0,1,0)
  1543. imgl2.Image = "rbxassetid://1122660386"
  1544. imgl2.BackgroundTransparency = 1
  1545. imgl2.ImageColor3 = Color3.new(0,0,0)
  1546.  
  1547. --Credit to CKBackup for his targeting system.--
  1548.  
  1549. targetted = nil
  1550.  
  1551. function TargetSelect(person)
  1552. local dd=coroutine.wrap(function()
  1553. if targetted ~= person then
  1554. targetted = person
  1555. for i = 0,8,1 do
  1556. crosshair.Size = UDim2.new(0+i,0,0+i,0)
  1557. crosshair2.Size = UDim2.new(.1+i,0,.1+i,0)
  1558. crosshair3.Size = UDim2.new(0+i,0,0+i,0)
  1559. wait(.05)
  1560. end
  1561. end
  1562. end)
  1563. dd()
  1564. end
  1565.  
  1566. function LockOn()
  1567. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Head") ~= nil then
  1568. TargetSelect(Mouse.Target.Parent.Head)
  1569. print(Mouse.Target)
  1570. CFuncs.Sound.Create("376178316", Mouse.Target.Parent.Head, 2, .8)
  1571. else end
  1572. end
  1573.  
  1574.  
  1575.  
  1576. function pepper()
  1577. Attack = true
  1578. Humanoid.AutoRotate = false
  1579. Humanoid.JumpPower = 0
  1580. Humanoid.WalkSpeed = 0
  1581.  
  1582. local grab = nil
  1583. executing = true
  1584. for i = 0, 1, 0.1 do
  1585. swait()
  1586. PlayAnimationFromTable({
  1587. 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),
  1588. 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),
  1589. 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),
  1590. 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),
  1591. 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),
  1592. 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),
  1593. }, .2, false)
  1594. end
  1595.  
  1596. local grab = nil
  1597.  
  1598. for i = 0, 1, 0.1 do
  1599. swait()
  1600. PlayAnimationFromTable({
  1601. 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),
  1602. 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),
  1603. 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),
  1604. 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),
  1605. 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),
  1606. 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),
  1607. }, .3, false)
  1608. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1609. if v:FindFirstChild('Torso') and Grabbed ~= true then
  1610. Grabbed = true
  1611.  
  1612. grab = v
  1613. end
  1614. if Grabbed == true then
  1615. targetted = nil
  1616. grab.Humanoid.PlatformStand = true
  1617. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1618. end
  1619. end
  1620. Torso.Velocity=RootPart.CFrame.lookVector*100
  1621. end
  1622.  
  1623.  
  1624.  
  1625. if Grabbed == true and grab ~= nil then
  1626. targetted = nil
  1627. grab.Humanoid.PlatformStand = true
  1628. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1629. grab.Torso.CanCollide = false
  1630. --grab here
  1631. for i = 0, .3, 0.1 do
  1632. swait()
  1633. PlayAnimationFromTable({
  1634. 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),
  1635. 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),
  1636. 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),
  1637. 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),
  1638. 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),
  1639. 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),
  1640. }, .3, false)
  1641. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1642. 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)
  1643. end
  1644.  
  1645. for i = 0, 1, 0.1 do
  1646. swait()
  1647. PlayAnimationFromTable({
  1648. 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),
  1649. 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),
  1650. 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),
  1651. 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),
  1652. 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),
  1653. 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),
  1654. }, .3, false)
  1655. grab.Torso.CFrame = Handle2.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1656. end
  1657. lockcam.CameraType = "Scriptable"
  1658. --release here
  1659. for i = 0, .3, 0.1 do
  1660. swait()
  1661. PlayAnimationFromTable({
  1662. 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),
  1663. 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),
  1664. 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),
  1665. 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),
  1666. 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),
  1667. 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),
  1668. }, .3, false)
  1669. grab.Torso.Velocity= Vector3.new(0,0,0)
  1670. end
  1671. grab.Torso.Anchored = true
  1672. Humanoid.JumpPower = 100
  1673. Humanoid.Jump = true
  1674. Torso.Velocity=RootPart.CFrame.upVector*150
  1675. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1676. wait(.1)
  1677. for i = 0, .3, 0.1 do
  1678. Torso.Velocity=RootPart.CFrame.lookVector*40
  1679. swait()
  1680. PlayAnimationFromTable({
  1681. 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),
  1682. 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),
  1683. 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),
  1684. 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),
  1685. 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),
  1686. 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),
  1687. }, .3, false)
  1688. grab.Torso.Velocity= Vector3.new(0,0,0)
  1689. end
  1690. grab.Torso.Anchored = false
  1691. grab.Torso.CanCollide = true
  1692. Humanoid.JumpPower = 0
  1693. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,5)
  1694. for i = 0, .3, 0.1 do
  1695. swait()
  1696. PlayAnimationFromTable({
  1697. 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),
  1698. 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),
  1699. 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),
  1700. 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),
  1701. 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),
  1702. 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),
  1703. }, .3, false)
  1704. grab.Torso.Velocity= Vector3.new(0,0,0)
  1705. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1706. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1707. Torso.Velocity=RootPart.CFrame.lookVector*20
  1708. end
  1709. for i = 0, .3, 0.1 do
  1710. swait()
  1711. PlayAnimationFromTable({
  1712. 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),
  1713. 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),
  1714. 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),
  1715. 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),
  1716. 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),
  1717. 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),
  1718. }, .3, false)
  1719. grab.Torso.Velocity= Vector3.new(0,0,0)
  1720. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1721. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1722. Torso.Velocity=RootPart.CFrame.lookVector*30
  1723. end
  1724. for i = 0, 1, 0.1 do
  1725. swait()
  1726. PlayAnimationFromTable({
  1727. 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),
  1728. 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),
  1729. 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),
  1730. 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),
  1731. 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),
  1732. 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),
  1733. }, .3, false)
  1734. grab.Torso.Velocity= Vector3.new(0,0,0)
  1735. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1736. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1737. Torso.Velocity=RootPart.CFrame.lookVector*40
  1738. end
  1739. --pew here
  1740. for i = 0, 1, 0.1 do
  1741. swait()
  1742. PlayAnimationFromTable({
  1743. 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),
  1744. 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),
  1745. 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),
  1746. 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),
  1747. 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),
  1748. 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),
  1749. }, .3, false)
  1750. grab.Torso.Velocity= Vector3.new(0,0,0)
  1751. lockcam:Interpolate(Torso.CFrame*CFrame.new(3,3,5),grab.Torso.CFrame,.03)
  1752. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, RootPart.Position.Y))
  1753. Effects.Block.Create(BrickColor.new("Gold"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1754. Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1755. local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Gold", "Effect", Vector3.new(.5,.8,.5))
  1756. local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3))
  1757. shell.Anchored = false
  1758. shell.Position = barrelcore.Position
  1759. shell.CanCollide = true
  1760. shell.Velocity=RootPart.CFrame.rightVector*10
  1761. CFuncs.Sound.Create("1456344653", shell, 1, 1)
  1762. game:GetService("Debris"):AddItem(shell, 2)
  1763. CFuncs.Sound.Create("356911785", bulletpart, .5, 1)
  1764. local smonk2 = Instance.new("ParticleEmitter",bulletpart)
  1765. smonk2.LightEmission = .1
  1766. smonk2.Size = NumberSequence.new(0.2)
  1767. smonk2.Texture = "http://www.roblox.com/asset/?ID=476778304"
  1768. aaa2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.1)})
  1769. bbb2 = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1770. smonk2.Transparency = bbb2
  1771. smonk2.Size = aaa2
  1772. smonk2.ZOffset = 0
  1773. smonk2.Acceleration = Vector3.new(0, -5, 0)
  1774. smonk2.LockedToPart = false
  1775. smonk2.EmissionDirection = "Back"
  1776. smonk2.Lifetime = NumberRange.new(.1, .5)
  1777. smonk2.Rate = 1000
  1778. smonk2.Rotation = NumberRange.new(-100, 100)
  1779. smonk2.RotSpeed = NumberRange.new(-100, 100)
  1780. smonk2.Speed = NumberRange.new(4)
  1781. smonk2.VelocitySpread = 100
  1782. smonk2.Enabled=true
  1783. game:GetService("Debris"):AddItem(smonk2, .1)
  1784. Torso.Velocity=RootPart.CFrame.lookVector*50
  1785. end
  1786. CFuncs.Sound.Create("521472140", grab.Torso, 5, 1)
  1787. 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)
  1788. grab.Torso:BreakJoints()
  1789. end
  1790. lockcam.CameraType = "Custom"
  1791. grab=nil
  1792. Grabbed = false
  1793. executing = false
  1794. Humanoid.AutoRotate = true
  1795. Humanoid.JumpPower = 100
  1796. Humanoid.WalkSpeed = 25
  1797. Attack = false
  1798. end
  1799.  
  1800.  
  1801.  
  1802.  
  1803. function righthop()
  1804. Attack = true
  1805. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1806. Humanoid.Jump = true
  1807. for i = 0, .5, 0.1 do
  1808. swait()
  1809. PlayAnimationFromTable({
  1810. 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),
  1811. 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),
  1812. 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),
  1813. 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),
  1814. 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),
  1815. 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),
  1816. }, .3, false)
  1817. end
  1818. Torso.Velocity=RootPart.CFrame.rightVector*200
  1819. for i = 0, 1, 0.1 do
  1820. swait()
  1821. PlayAnimationFromTable({
  1822. 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),
  1823. 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),
  1824. 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),
  1825. 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),
  1826. 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),
  1827. 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),
  1828. }, .3, false)
  1829. end
  1830. Attack = false
  1831. end
  1832.  
  1833.  
  1834.  
  1835. function backhop()
  1836. Attack = true
  1837. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1838. Humanoid.Jump = true
  1839. for i = 0, .5, 0.1 do
  1840. swait()
  1841. PlayAnimationFromTable({
  1842. 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),
  1843. 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),
  1844. 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),
  1845. 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),
  1846. 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),
  1847. 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),
  1848. }, .3, false)
  1849. end
  1850. Torso.Velocity=RootPart.CFrame.lookVector*-200
  1851. for i = 0, 1, 0.1 do
  1852. swait()
  1853. PlayAnimationFromTable({
  1854. 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),
  1855. 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),
  1856. 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),
  1857. 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),
  1858. 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),
  1859. 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),
  1860. }, .3, false)
  1861. end
  1862. Attack = false
  1863. end
  1864.  
  1865.  
  1866.  
  1867.  
  1868. function lefthop()
  1869. Attack = true
  1870. Humanoid.Jump = true
  1871. CFuncs.Sound.Create("158149887", Torso, 1, 1)
  1872. for i = 0, .5, 0.1 do
  1873. swait()
  1874. PlayAnimationFromTable({
  1875. 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),
  1876. 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),
  1877. 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),
  1878. 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),
  1879. 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),
  1880. 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),
  1881. }, .3, false)
  1882. end
  1883. Torso.Velocity=RootPart.CFrame.rightVector*-200
  1884. for i = 0, 1, 0.1 do
  1885. swait()
  1886. PlayAnimationFromTable({
  1887. 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),
  1888. 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),
  1889. 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),
  1890. 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),
  1891. 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),
  1892. 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),
  1893. }, .3, false)
  1894. end
  1895. Attack = false
  1896. end
  1897.  
  1898.  
  1899.  
  1900. focused = false
  1901.  
  1902.  
  1903.  
  1904. function fire()
  1905. Attack = true
  1906. Humanoid.WalkSpeed = 8
  1907. Humanoid.JumpPower = 0
  1908. Humanoid.AutoRotate = false
  1909. bodygyro = Instance.new("BodyGyro",RootPart)
  1910. bodygyro.MaxTorque = Vector3.new(50000,50000,50000)
  1911. bodygyro.D = 2500
  1912. bodygyro.P = 80000
  1913. for i = 0, .5, 0.1 do
  1914. swait()
  1915. PlayAnimationFromTable({
  1916. 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),
  1917. 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),
  1918. 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),
  1919. 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),
  1920. 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),
  1921. 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),
  1922. }, .3, false)
  1923. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1924. end
  1925.  
  1926. local smonk = Instance.new("ParticleEmitter",bulletpart)
  1927. smonk.LightEmission = .1
  1928. smonk.Size = NumberSequence.new(0.2)
  1929. smonk.Texture = "http://www.roblox.com/asset/?ID=476778304"
  1930. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  1931. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1932. smonk.Transparency = bbb
  1933. smonk.Size = aaa
  1934. smonk.ZOffset = 0
  1935. smonk.Acceleration = Vector3.new(0, -5, 0)
  1936. smonk.LockedToPart = false
  1937. smonk.EmissionDirection = "Back"
  1938. smonk.Lifetime = NumberRange.new(.1, .3)
  1939. smonk.Rate = 50
  1940. smonk.Rotation = NumberRange.new(-100, 100)
  1941. smonk.RotSpeed = NumberRange.new(-100, 100)
  1942. smonk.Speed = NumberRange.new(4)
  1943. smonk.VelocitySpread = 100
  1944. smonk.Enabled=true
  1945.  
  1946.  
  1947. Effects.Block.Create(BrickColor.new("Gold"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1948. Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  1949. local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Gold", "Effect", Vector3.new(.5,.8,.5))
  1950. local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3))
  1951. shell.Anchored = false
  1952. shell.Position = barrelcore.Position
  1953. shell.CanCollide = true
  1954. shell.Velocity=RootPart.CFrame.rightVector*10
  1955. CFuncs.Sound.Create("1456344653", shell, 1, 1)
  1956. game:GetService("Debris"):AddItem(shell, 2)
  1957. shoot(Mouse,3,bulletpart,0,10)
  1958. CFuncs.Sound.Create("356911785", bulletpart, .5, 1)
  1959. Torso.Velocity=RootPart.CFrame.lookVector*-5
  1960. for i = 0, 1, 0.1 do
  1961. swait()
  1962. PlayAnimationFromTable({
  1963. 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),
  1964. 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),
  1965. 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),
  1966. 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),
  1967. 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),
  1968. 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),
  1969. }, .3, false)
  1970. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1971. end
  1972. Attack = false
  1973. Humanoid.WalkSpeed = 25
  1974. smonk.Enabled=false
  1975. bodygyro:Destroy()
  1976. Humanoid.AutoRotate = true
  1977. Humanoid.JumpPower = 100
  1978. end
  1979.  
  1980.  
  1981.  
  1982.  
  1983. function autofire()
  1984. Attack = true
  1985. Humanoid.WalkSpeed = 0
  1986. Humanoid.JumpPower = 0
  1987. Humanoid.AutoRotate = false
  1988. focused = true
  1989. for i = 0, .5, 0.1 do
  1990. swait()
  1991. PlayAnimationFromTable({
  1992. 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),
  1993. 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),
  1994. 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),
  1995. 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),
  1996. 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),
  1997. 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),
  1998. }, .3, false)
  1999. end
  2000.  
  2001. local smonk = Instance.new("ParticleEmitter",bulletpart)
  2002. smonk.LightEmission = .1
  2003. smonk.Size = NumberSequence.new(0.2)
  2004. smonk.Texture = "http://www.roblox.com/asset/?ID=476778304"
  2005. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  2006. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2007. smonk.Transparency = bbb
  2008. smonk.Size = aaa
  2009. smonk.ZOffset = 0
  2010. smonk.Acceleration = Vector3.new(0, -5, 0)
  2011. smonk.LockedToPart = false
  2012. smonk.EmissionDirection = "Back"
  2013. smonk.Lifetime = NumberRange.new(.1, .3)
  2014. smonk.Rate = 50
  2015. smonk.Rotation = NumberRange.new(-100, 100)
  2016. smonk.RotSpeed = NumberRange.new(-100, 100)
  2017. smonk.Speed = NumberRange.new(4)
  2018. smonk.VelocitySpread = 100
  2019. smonk.Enabled=true
  2020.  
  2021.  
  2022. Effects.Block.Create(BrickColor.new("Gold"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  2023. Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletpart.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
  2024. local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Gold", "Effect", Vector3.new(.5,.8,.5))
  2025. local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3))
  2026. shell.Anchored = false
  2027. shell.Position = barrelcore.Position
  2028. shell.CanCollide = true
  2029. shell.Velocity=RootPart.CFrame.rightVector*10
  2030. CFuncs.Sound.Create("1456344653", shell, 1, 1)
  2031. game:GetService("Debris"):AddItem(shell, 2)
  2032. if targetted.Parent.Humanoid.Health > 100 then
  2033. targetted.Parent.Humanoid.Health = 0
  2034. 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)
  2035. elseif targetted.Parent.Humanoid.Health <= 100 then
  2036. targetted.Parent.Humanoid.Health = targetted.Parent.Humanoid.Health - 30
  2037. 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)
  2038. elseif targetted.Parent.Humanoid.Health <= 30 then
  2039.  
  2040. end
  2041.  
  2042. CFuncs.Sound.Create("356911785", bulletpart, .5, 1)
  2043. for i = 0, .5, 0.1 do
  2044. swait()
  2045. PlayAnimationFromTable({
  2046. 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),
  2047. 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),
  2048. 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),
  2049. 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),
  2050. 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),
  2051. 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),
  2052. }, .3, false)
  2053. end
  2054. Attack = false
  2055. focused = false
  2056. Humanoid.WalkSpeed = 25
  2057. smonk.Enabled=false
  2058. Humanoid.AutoRotate = true
  2059. Humanoid.JumpPower = 100
  2060. end
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068. Mouse.Button1Up:connect(function()
  2069. if Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and targetted == nil then
  2070. fire()
  2071. elseif Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and targetted ~= nil then
  2072. autofire()
  2073. end
  2074. end)
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081. Mouse.KeyDown:connect(function(Key)
  2082. Key = Key:lower()
  2083. if Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and Key == 'e' then
  2084. righthop()
  2085. elseif Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and Key == 'q' then
  2086. lefthop()
  2087. elseif Attack == false and Anim ~= "Fall" and Anim ~= "Jump" and Key == 'r' then
  2088. backhop()
  2089. elseif Attack == false and Key == 'z' and Anim ~= "Fall" and Anim ~= "Jump" then
  2090. pepper()
  2091. elseif Attack == false and Key == 'x' and Anim ~= "Fall" and Anim ~= "Jump" then
  2092. smear()
  2093. elseif Attack == false and Key == 'f' and Anim ~= "Fall" and Anim ~= "Jump" and targetted == nil then
  2094. LockOn()
  2095. elseif Attack == false and Key == 'f' and targetted ~= nil then
  2096. targetted = nil
  2097. bodygyroo:Destroy()
  2098.  
  2099. end
  2100. end)
  2101.  
  2102.  
  2103. executing = false
  2104.  
  2105. local function OnHumanoidStateChange(oldState, newState) --last thing humanoid was doing, current thing humanoid is doing
  2106. if newState == Enum.HumanoidStateType.Landed and oldState == Enum.HumanoidStateType.Freefall and executing ~= true then --if they were falling and just landed then
  2107. if Attack == false then
  2108. Attack = true
  2109. Humanoid.AutoRotate = false
  2110. Humanoid.WalkSpeed = 0
  2111. Humanoid.JumpPower = 0
  2112. Torso.Velocity=RootPart.CFrame.lookVector*0
  2113. CFuncs.Sound.Create("608350178", Torso, 3, 1)
  2114. for i = 0, 1, 0.1 do
  2115. swait()
  2116. PlayAnimationFromTable({
  2117. 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),
  2118. 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),
  2119. 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),
  2120. 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),
  2121. 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),
  2122. 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),
  2123. }, .3, false)
  2124. end
  2125.  
  2126. end
  2127. Humanoid.AutoRotate = true
  2128. Humanoid.WalkSpeed = 25
  2129. Humanoid.JumpPower = 100
  2130. Attack = false
  2131. end
  2132. end
  2133.  
  2134.  
  2135. Humanoid.StateChanged:connect(OnHumanoidStateChange)
  2136.  
  2137.  
  2138. destroyable = false
  2139.  
  2140. spawn(function()
  2141. while true do
  2142. if targetted ~= nil and targetted.Parent.Head ~= nil then
  2143. print("ghay")
  2144. bodygyroo = Instance.new("BodyGyro",RootPart)
  2145. bodygyroo.MaxTorque = Vector3.new(50000,50000,50000)
  2146. bodygyroo.D = 2500
  2147. bodygyroo.P = 50000
  2148. while targetted ~= nil do
  2149. bodygyroo.CFrame = CFrame.new(RootPart.Position, Vector3.new(targetted.Parent.Head.Position.X,RootPart.Position,targetted.Parent.Head.Position.Z))
  2150. wait(.01)
  2151. end
  2152. elseif targetted == nil and destroyable == true then
  2153. bodygyroo:Destroy()
  2154. wait(.01)
  2155. elseif targetted ~= nil and Attack ~= true and focused ~= true then
  2156. bodygyroo:Destroy()
  2157. end
  2158. wait(.001)
  2159. end
  2160. end)
  2161.  
  2162.  
  2163.  
  2164.  
  2165. while true do
  2166. swait()
  2167. for i, v in pairs(Character:GetChildren()) do
  2168. if v:IsA("Part") then
  2169. v.Material = "SmoothPlastic"
  2170. elseif v:IsA("Accessory") then
  2171. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2172. end
  2173. end
  2174. for i, v in pairs(Character:GetChildren()) do
  2175. if v:IsA'Model' then
  2176. for _, c in pairs(v:GetChildren()) do
  2177. if c:IsA'Part' then
  2178. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2179. end
  2180. end
  2181. end
  2182. end
  2183. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2184. Velocity = RootPart.Velocity.y
  2185. Sine = Sine + Change
  2186. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2187. if RootPart.Velocity.y > 1 and hit == nil then
  2188. Anim = "Jump"
  2189. if Attack == false then
  2190. Change = 1
  2191. PlayAnimationFromTable({
  2192. 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),
  2193. 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),
  2194. 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),
  2195. 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),
  2196. 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),
  2197. 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),
  2198. }, .3, false)
  2199. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(80), math.rad(0), math.rad(0)), 0.3)
  2200.  
  2201. end
  2202. elseif RootPart.Velocity.y < -1 and hit == nil then
  2203. Anim = "Fall"
  2204. if Attack == false then
  2205. Change = 1
  2206. PlayAnimationFromTable({
  2207. 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),
  2208. 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),
  2209. 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),
  2210. 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),
  2211. 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),
  2212. 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),
  2213. }, .3, false)
  2214. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(80), math.rad(0), math.rad(0)), 0.3)
  2215. end
  2216. elseif TorsoVelocity < 1 and hit ~= nil then
  2217. Anim = "Idle"
  2218. if Attack == false then
  2219. Change = 1
  2220. PlayAnimationFromTable({
  2221. 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),
  2222. 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),
  2223. 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),
  2224. 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),
  2225. 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),
  2226. 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),
  2227. }, .3, false)
  2228. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2229. end
  2230. elseif TorsoVelocity > 2 and hit ~= nil then
  2231. Anim = "Walk"
  2232. if Attack == false then
  2233. PlayAnimationFromTable({
  2234. 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),
  2235. 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),
  2236. 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),
  2237. 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),
  2238. 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)),
  2239. 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)),
  2240. }, .3, false)
  2241. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -.1, .8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2242.  
  2243. end
  2244. end
  2245. if #Effects > 0 then
  2246. for e = 1, #Effects do
  2247. if Effects[e] ~= nil then
  2248. local Thing = Effects[e]
  2249. if Thing ~= nil then
  2250. local Part = Thing[1]
  2251. local Mode = Thing[2]
  2252. local Delay = Thing[3]
  2253. local IncX = Thing[4]
  2254. local IncY = Thing[5]
  2255. if Thing[1].Transparency <= 1 then
  2256. if Thing[2] == "Block1" then
  2257. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2258. Mesh = Thing[7]
  2259. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2260. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2261. elseif Thing[2] == "Ice" then
  2262. if Thing[6] <= Thing[5] then
  2263. Thing[6] = Thing[6] + .05
  2264. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  2265. else
  2266. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2267. end
  2268. elseif Thing[2] == "Shatter" then
  2269. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2270. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2271. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2272. Thing[6] = Thing[6] + Thing[5]
  2273. elseif Thing[2] == "Block2" then
  2274. Thing[1].CFrame = Thing[1].CFrame
  2275. Mesh = Thing[7]
  2276. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2277. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2278. elseif Thing[2] == "Block3" then
  2279. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2280. Mesh = Thing[7]
  2281. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2282. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2283. elseif Thing[2] == "Block4" then
  2284. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  2285. Mesh = Thing[7]
  2286. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2287. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2288. elseif Thing[2] == "Block2Fire" then
  2289. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2290. Mesh = Thing[7]
  2291. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2292. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2293. if Thing[1].Transparency >= .3 then
  2294. Thing[1].BrickColor = BrickColor.new("Bright red")
  2295. else
  2296. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  2297. end
  2298. elseif Thing[2] == "Cylinder" then
  2299. Mesh = Thing[7]
  2300. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2301. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2302. elseif Thing[2] == "Blood" then
  2303. Mesh = Thing[7]
  2304. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  2305. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2306. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2307. elseif Thing[2] == "Elec" then
  2308. Mesh = Thing[10]
  2309. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2310. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2311. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  2312. Thing[1].Rotation = Vector3.new(0, 0, 0)
  2313. elseif Thing[2] == "Disappear" then
  2314. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2315. end
  2316. else
  2317. Part.Parent = nil
  2318. table.remove(Effects, e)
  2319. end
  2320. end
  2321. end
  2322. end
  2323. end
  2324. if Humanoid.PlatformStand == true then
  2325. Humanoid.PlatformStand = false
  2326. end
  2327. if targetted ~= nil then
  2328. destroyable = true
  2329. Humanoid.AutoRotate = false
  2330. crosshair.Adornee = targetted.Parent.Head
  2331. crosshair.Enabled = true
  2332. crosshair2.Adornee = targetted.Parent.Head
  2333. crosshair2.Enabled = true
  2334. crosshair3.Adornee = targetted.Parent.Head
  2335. crosshair3.Enabled = true
  2336. lockcam.CameraType = "Scriptable"
  2337. lockcam:Interpolate(RootPart.CFrame*CFrame.new(2,2,8),targetted.Parent.Head.CFrame,.1)
  2338. elseif targetted == nil and executing == false then
  2339. lockcam.CameraType = "Custom"
  2340. crosshair.Adornee = nil
  2341. crosshair.Enabled = false
  2342. crosshair2.Adornee = nil
  2343. crosshair2.Enabled = false
  2344. crosshair3.Adornee = nil
  2345. crosshair3.Enabled = false
  2346. Humanoid.AutoRotate = true
  2347. end
  2348. Humanoid.Health = math.huge
  2349. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement