memberhero

Fixed Genocider Script

Dec 18th, 2020 (edited)
869
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.76 KB | None | 0 0
  1. local Player = owner
  2. local Character = Player.Character
  3. local mouse,Mouse,MMouse = nil
  4. local RemoteEvent = Instance.new("RemoteEvent")
  5. RemoteEvent.Name = "KeyDown"
  6. RemoteEvent.Parent = Character
  7. local RemoteEvent2 = Instance.new("RemoteEvent")
  8. RemoteEvent2.Name = "ButtonDown"
  9. RemoteEvent2.Parent = Character
  10. local RemoteEvent3 = Instance.new("RemoteFunction")
  11. RemoteEvent3.Name = "MousePos"
  12. RemoteEvent3.Parent = Character
  13. function getMouseHit()
  14. return RemoteEvent3:InvokeClient (owner, 1);
  15. end;
  16. NLS([==[
  17. local Player = game.Players.LocalPlayer
  18. local mouse = Player:GetMouse()
  19. local remote = Player.Character:WaitForChild("KeyDown")
  20. local remote2 = Player.Character:WaitForChild("ButtonDown")
  21. local remote3 = Player.Character:WaitForChild("MousePos")
  22. mouse.KeyDown:Connect(function(k)
  23. k = k:lower()
  24. remote:FireServer(k)
  25. end)
  26.  
  27. mouse.Button1Down:Connect(function()
  28. remote2:FireServer()
  29. end)
  30.  
  31. remote3.OnClientInvoke = function (request, ...)
  32. if (request == 1) then
  33. return mouse.Target;
  34. end;
  35. end;
  36.  
  37.  
  38.  
  39. ]==],Player.Character)
  40. print("FE Converter By basstracker1970")
  41. wait(1 / 60)
  42. Effects = { }
  43.  
  44. local Character = Player.Character
  45. local Humanoid = Character.Humanoid
  46.  
  47. local LeftArm = Character["Left Arm"]
  48. local RightArm = Character["Right Arm"]
  49. local LeftLeg = Character["Left Leg"]
  50. local RightLeg = Character["Right Leg"]
  51. local Head = Character.Head
  52. local Torso = Character.Torso
  53. local Camera = game.Workspace.CurrentCamera
  54. local RootPart = Character.HumanoidRootPart
  55. local RootJoint = RootPart.RootJoint
  56. local attack = false
  57. local Anim = 'Idle'
  58. local attacktype = 1
  59. local delays = false
  60. local play = true
  61. local targetted = nil
  62. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  63. local velocity = RootPart.Velocity.y
  64. local sine = 0
  65. local change = 1
  66. function Create(ty)
  67. return function(data)
  68. local obj = Instance.new(ty)
  69. for k, v in pairs(data) do
  70. if type(k) == 'number' then
  71. v.Parent = obj
  72. else
  73. obj[k] = v
  74. end
  75. end
  76. return obj
  77. end
  78. end
  79. Humanoid.WalkSpeed = 8
  80. local m = Create("Model"){
  81. Parent = Character,
  82. Name = "WeaponModel",
  83. }
  84.  
  85. Humanoid.Animator.Parent = nil
  86. Character.Animate.Parent = nil
  87.  
  88. local newMotor = function(part0, part1, c0, c1)
  89. local w = Create('Motor'){
  90. Parent = part0,
  91. Part0 = part0,
  92. Part1 = part1,
  93. C0 = c0,
  94. C1 = c1,
  95. }
  96. return w
  97. end
  98.  
  99. function clerp(a, b, t)
  100. return a:lerp(b, t)
  101. end
  102.  
  103. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  104. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  105.  
  106. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  107. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  108. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  109. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  110. RootJoint.C1 = CFrame.new(0, 0, 0)
  111. RootJoint.C0 = CFrame.new(0, 0, 0)
  112. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  113. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  114.  
  115. local rarmc1 = RW.C1
  116. local larmc1 = LW.C1
  117. local rlegc1 = RH.C1
  118. local llegc1 = LH.C1
  119.  
  120. local resetc1 = false
  121.  
  122. function PlayAnimationFromTable(table, speed, bool)
  123. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  124. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  125. RW.C0 = clerp(RW.C0, table[3], speed)
  126. LW.C0 = clerp(LW.C0, table[4], speed)
  127. RH.C0 = clerp(RH.C0, table[5], speed)
  128. LH.C0 = clerp(LH.C0, table[6], speed)
  129. if bool == true then
  130. if resetc1 == false then
  131. resetc1 = true
  132. RootJoint.C1 = RootJoint.C1
  133. Torso.Neck.C1 = Torso.Neck.C1
  134. RW.C1 = rarmc1
  135. LW.C1 = larmc1
  136. RH.C1 = rlegc1
  137. LH.C1 = llegc1
  138. end
  139. end
  140. end
  141.  
  142. ArtificialHB = Create("BindableEvent", script){
  143. Parent = script,
  144. Name = "Heartbeat",
  145. }
  146.  
  147. script:WaitForChild("Heartbeat")
  148.  
  149. frame = 1 / 30
  150. tf = 0
  151. allowframeloss = false
  152. tossremainder = false
  153. lastframe = tick()
  154. script.Heartbeat:Fire()
  155.  
  156. game:GetService("RunService").Heartbeat:connect(function(s, p)
  157. tf = tf + s
  158. if tf >= frame then
  159. if allowframeloss then
  160. script.Heartbeat:Fire()
  161. lastframe = tick()
  162. else
  163. for i = 1, math.floor(tf / frame) do
  164. script.Heartbeat:Fire()
  165. end
  166. lastframe = tick()
  167. end
  168. if tossremainder then
  169. tf = 0
  170. else
  171. tf = tf - frame * math.floor(tf / frame)
  172. end
  173. end
  174. end)
  175.  
  176. function swait(num)
  177. if num == 0 or num == nil then
  178. ArtificialHB.Event:wait()
  179. else
  180. for i = 0, num do
  181. ArtificialHB.Event:wait()
  182. end
  183. end
  184. end
  185.  
  186. function RemoveOutlines(part)
  187. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  188. end
  189.  
  190. CFuncs = {
  191. ["Part"] = {
  192. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  193. local Part = Create("Part"){
  194. Parent = Parent,
  195. Reflectance = Reflectance,
  196. Transparency = Transparency,
  197. CanCollide = false,
  198. Locked = true,
  199. BrickColor = BrickColor.new(tostring(BColor)),
  200. Name = Name,
  201. Size = Size,
  202. Material = Material,
  203. }
  204. RemoveOutlines(Part)
  205. return Part
  206. end;
  207. };
  208.  
  209. ["Mesh"] = {
  210. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  211. local Msh = Create(Mesh){
  212. Parent = Part,
  213. Offset = OffSet,
  214. Scale = Scale,
  215. }
  216. if Mesh == "SpecialMesh" then
  217. Msh.MeshType = MeshType
  218. Msh.MeshId = MeshId
  219. end
  220. return Msh
  221. end;
  222. };
  223.  
  224. ["Mesh"] = {
  225. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  226. local Msh = Create(Mesh){
  227. Parent = Part,
  228. Offset = OffSet,
  229. Scale = Scale,
  230. }
  231. if Mesh == "SpecialMesh" then
  232. Msh.MeshType = MeshType
  233. Msh.MeshId = MeshId
  234. end
  235. return Msh
  236. end;
  237. };
  238.  
  239. ["Weld"] = {
  240. Create = function(Parent, Part0, Part1, C0, C1)
  241. local Weld = Create("Weld"){
  242. Parent = Parent,
  243. Part0 = Part0,
  244. Part1 = Part1,
  245. C0 = C0,
  246. C1 = C1,
  247. }
  248. return Weld
  249. end;
  250. };
  251.  
  252. ["Sound"] = {
  253. Create = function(id, par, vol, pit)
  254. coroutine.resume(coroutine.create(function()
  255. local S = Create("Sound"){
  256. Volume = vol,
  257. Pitch = pit or 1,
  258. SoundId = id,
  259. Parent = par or workspace,
  260. }
  261. wait()
  262. S:play()
  263. game:GetService("Debris"):AddItem(S, 6)
  264. end))
  265. end;
  266. };
  267.  
  268. ["ParticleEmitter"] = {
  269. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  270. local fp = Create("ParticleEmitter"){
  271. Parent = Parent,
  272. Color = ColorSequence.new(Color1, Color2),
  273. LightEmission = LightEmission,
  274. Size = Size,
  275. Texture = Texture,
  276. Transparency = Transparency,
  277. ZOffset = ZOffset,
  278. Acceleration = Accel,
  279. Drag = Drag,
  280. LockedToPart = LockedToPart,
  281. VelocityInheritance = VelocityInheritance,
  282. EmissionDirection = EmissionDirection,
  283. Enabled = Enabled,
  284. Lifetime = LifeTime,
  285. Rate = Rate,
  286. Rotation = Rotation,
  287. RotSpeed = RotSpeed,
  288. Speed = Speed,
  289. VelocitySpread = VelocitySpread,
  290. }
  291. return fp
  292. end;
  293. };
  294.  
  295. CreateTemplate = {
  296.  
  297. };
  298. }
  299.  
  300.  
  301.  
  302. New = function(Object, Parent, Name, Data)
  303. local Object = Instance.new(Object)
  304. for Index, Value in pairs(Data or {}) do
  305. Object[Index] = Value
  306. end
  307. Object.Parent = Parent
  308. Object.Name = Name
  309. return Object
  310. end
  311.  
  312.  
  313. ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  314. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  315. Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  316.  
  317. Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  318. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  319. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  320. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  321. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  322. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  323. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  324. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  325. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  326. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  327. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  328. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  329. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  330. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  331. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  332. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  333. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  334. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  335. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  336. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  337. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  338. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  339. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  340. Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  341. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  342. mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  343. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  344. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  345. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  346. Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  347. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  348. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  349. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  350. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  351. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  352. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  353. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  354. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  355. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  356. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  357. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  358. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  359. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  360. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  361. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  362. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  363. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  364. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  365. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  366. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  367. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  368. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  369. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  370. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  371. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  372. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  373. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  374. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  375. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  376. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  377. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  378. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  379. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  380.  
  381. for _,v in pairs(m:children()) do
  382. if v:IsA("Part") then
  383. v.CanCollide = false
  384. end
  385. end
  386. if Character.Name == "grgrgry21" or Character.Name == "Player1" then
  387. for _,v in pairs(Character:children()) do
  388. if v:IsA("Accessory") then
  389. v:Remove()
  390. end
  391. end
  392. Handle = New("Part",Head,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  393. Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  394. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",})
  395. mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  396. Handle1 = New("Part",Head,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  397. Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  398. mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  399. end
  400.  
  401.  
  402. function rayCast(Position, Direction, Range, Ignore)
  403. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  404. end
  405.  
  406. --[[FindNearestTorso = function(pos)
  407. local list = (game.Workspace:children())
  408. local torso = nil
  409. local dist = 1000
  410. local temp, human, temp2 = nil, nil, nil
  411. for x = 1, #list do
  412. temp2 = list[x]
  413. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  414. temp = temp2:findFirstChild("Torso")
  415. human = temp2:findFirstChild("Humanoid")
  416. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  417. local dohit = true
  418. if dohit == true then
  419. torso = temp
  420. dist = (temp.Position - pos).magnitude
  421. end
  422. end
  423. end
  424. end
  425. return torso, dist
  426. end]]
  427. function FindNearestTorso(Position, Distance, SinglePlayer)
  428. if SinglePlayer then
  429. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  430. end
  431. local List = {}
  432. for i, v in pairs(workspace:GetChildren()) do
  433. if v:IsA("Model") then
  434. if v:findFirstChild("Torso") then
  435. if v ~= Character then
  436. if (v.Torso.Position - Position).magnitude <= Distance then
  437. table.insert(List, v)
  438. end
  439. end
  440. end
  441. end
  442. end
  443. return List
  444. end
  445. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  446. if hit.Parent == nil then
  447. return
  448. end
  449. local h = hit.Parent:FindFirstChild("Humanoid")
  450. for _, v in pairs(hit.Parent:children()) do
  451. if v:IsA("Humanoid") then
  452. h = v
  453. end
  454. end
  455. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  456. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  457. if hit.Parent.DebounceHit.Value == true then
  458. return
  459. end
  460. end
  461. local c = Create("ObjectValue"){
  462. Name = "creator",
  463. Value = Player,
  464. Parent = h,
  465. }
  466. game:GetService("Debris"):AddItem(c, .5)
  467. if HitSound ~= nil and HitPitch ~= nil then
  468. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  469. end
  470. local Damage = math.random(minim, maxim)
  471. local blocked = false
  472. local block = hit.Parent:findFirstChild("Block")
  473. if block ~= nil then
  474. if block.className == "IntValue" then
  475. if block.Value > 0 then
  476. blocked = true
  477. block.Value = block.Value - 1
  478. print(block.Value)
  479. end
  480. end
  481. end
  482. if blocked == false then
  483. h.Health = h.Health - Damage
  484. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  485. else
  486. h.Health = h.Health - (Damage / 2)
  487. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  488. end
  489. if Type == "Knockdown" then
  490. local hum = hit.Parent.Humanoid
  491. hum.PlatformStand = true
  492. coroutine.resume(coroutine.create(function(HHumanoid)
  493. swait(1)
  494. HHumanoid.PlatformStand = false
  495. end), hum)
  496. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  497. local bodvol = Create("BodyVelocity"){
  498. velocity = angle * knockback,
  499. P = 5000,
  500. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  501. Parent = hit,
  502. }
  503. local rl = Create("BodyAngularVelocity"){
  504. P = 3000,
  505. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  506. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  507. Parent = hit,
  508. }
  509. game:GetService("Debris"):AddItem(bodvol, .5)
  510. game:GetService("Debris"):AddItem(rl, .5)
  511. elseif Type == "Normal" then
  512. local vp = Create("BodyVelocity"){
  513. P = 500,
  514. maxForce = Vector3.new(math.huge, 0, math.huge),
  515. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  516. }
  517. if knockback > 0 then
  518. vp.Parent = hit.Parent.Torso
  519. end
  520. game:GetService("Debris"):AddItem(vp, .5)
  521. elseif Type == "Up" then
  522. local bodyVelocity = Create("BodyVelocity"){
  523. velocity = Vector3.new(0, 20, 0),
  524. P = 5000,
  525. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  526. Parent = hit,
  527. }
  528. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  529. elseif Type == "DarkUp" then
  530. coroutine.resume(coroutine.create(function()
  531. for i = 0, 1, 0.1 do
  532. swait()
  533. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  534. end
  535. end))
  536. local bodyVelocity = Create("BodyVelocity"){
  537. velocity = Vector3.new(0, 20, 0),
  538. P = 5000,
  539. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  540. Parent = hit,
  541. }
  542. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  543. elseif Type == "Snare" then
  544. local bp = Create("BodyPosition"){
  545. P = 2000,
  546. D = 100,
  547. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  548. position = hit.Parent.Torso.Position,
  549. Parent = hit.Parent.Torso,
  550. }
  551. game:GetService("Debris"):AddItem(bp, 1)
  552. elseif Type == "Freeze" then
  553. local BodPos = Create("BodyPosition"){
  554. P = 50000,
  555. D = 1000,
  556. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  557. position = hit.Parent.Torso.Position,
  558. Parent = hit.Parent.Torso,
  559. }
  560. local BodGy = Create("BodyGyro") {
  561. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  562. P = 20e+003,
  563. Parent = hit.Parent.Torso,
  564. cframe = hit.Parent.Torso.CFrame,
  565. }
  566. hit.Parent.Torso.Anchored = true
  567. coroutine.resume(coroutine.create(function(Part)
  568. swait(1.5)
  569. Part.Anchored = false
  570. end), hit.Parent.Torso)
  571. game:GetService("Debris"):AddItem(BodPos, 3)
  572. game:GetService("Debris"):AddItem(BodGy, 3)
  573. end
  574. local debounce = Create("BoolValue"){
  575. Name = "DebounceHit",
  576. Parent = hit.Parent,
  577. Value = true,
  578. }
  579. game:GetService("Debris"):AddItem(debounce, Delay)
  580. c = Create("ObjectValue"){
  581. Name = "creator",
  582. Value = Player,
  583. Parent = h,
  584. }
  585. game:GetService("Debris"):AddItem(c, .5)
  586. end
  587. end
  588.  
  589. function ShowDamage(Pos, Text, Time, Color)
  590. local Rate = (1 / 30)
  591. local Pos = (Pos or Vector3.new(0, 0, 0))
  592. local Text = (Text or "")
  593. local Time = (Time or 2)
  594. local Color = (Color or Color3.new(1, 0, 1))
  595. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  596. EffectPart.Anchored = true
  597. local BillboardGui = Create("BillboardGui"){
  598. Size = UDim2.new(3, 0, 3, 0),
  599. Adornee = EffectPart,
  600. Parent = EffectPart,
  601. }
  602. local TextLabel = Create("TextLabel"){
  603. BackgroundTransparency = 1,
  604. Size = UDim2.new(1, 0, 1, 0),
  605. Text = Text,
  606. Font = "SciFi",
  607. TextColor3 = Color,
  608. TextScaled = true,
  609. Parent = BillboardGui,
  610. }
  611. game.Debris:AddItem(EffectPart, (Time))
  612. EffectPart.Parent = game:GetService("Workspace")
  613. delay(0, function()
  614. local Frames = (Time / Rate)
  615. for Frame = 1, Frames do
  616. wait(Rate)
  617. local Percent = (Frame / Frames)
  618. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  619. TextLabel.TextTransparency = Percent
  620. end
  621. if EffectPart and EffectPart.Parent then
  622. EffectPart:Destroy()
  623. end
  624. end)
  625. end
  626.  
  627. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  628. for _, c in pairs(workspace:children()) do
  629. local hum = c:findFirstChild("Humanoid")
  630. if hum ~= nil then
  631. local head = c:findFirstChild("Torso")
  632. if head ~= nil then
  633. local targ = head.Position - Part.Position
  634. local mag = targ.magnitude
  635. if mag <= Magnitude and c.Name ~= Player.Name then
  636. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  637. end
  638. end
  639. end
  640. end
  641. end
  642.  
  643. EffectModel = Create("Model"){
  644. Parent = Character,
  645. Name = "Effects",
  646. }
  647.  
  648. Effects = {
  649. Block = {
  650. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  651. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  652. prt.Anchored = true
  653. prt.CFrame = cframe
  654. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  655. game:GetService("Debris"):AddItem(prt, 10)
  656. if Type == 1 or Type == nil then
  657. table.insert(Effects, {
  658. prt,
  659. "Block1",
  660. delay,
  661. x3,
  662. y3,
  663. z3,
  664. msh
  665. })
  666. elseif Type == 2 then
  667. table.insert(Effects, {
  668. prt,
  669. "Block2",
  670. delay,
  671. x3,
  672. y3,
  673. z3,
  674. msh
  675. })
  676. end
  677. end;
  678. };
  679.  
  680. Cylinder = {
  681. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  682. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  683. prt.Anchored = true
  684. prt.CFrame = cframe
  685. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  686. game:GetService("Debris"):AddItem(prt, 10)
  687. table.insert(Effects, {
  688. prt,
  689. "Cylinder",
  690. delay,
  691. x3,
  692. y3,
  693. z3,
  694. msh
  695. })
  696. end;
  697. };
  698. Head = {
  699. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  700. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  701. prt.Anchored = true
  702. prt.CFrame = cframe
  703. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  704. game:GetService("Debris"):AddItem(prt, 10)
  705. table.insert(Effects, {
  706. prt,
  707. "Cylinder",
  708. delay,
  709. x3,
  710. y3,
  711. z3,
  712. msh
  713. })
  714. end;
  715. };
  716.  
  717. Sphere = {
  718. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  719. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  720. prt.Anchored = true
  721. prt.CFrame = cframe
  722. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723. game:GetService("Debris"):AddItem(prt, 10)
  724. table.insert(Effects, {
  725. prt,
  726. "Cylinder",
  727. delay,
  728. x3,
  729. y3,
  730. z3,
  731. msh
  732. })
  733. end;
  734. };
  735.  
  736. Elect = {
  737. Create = function(cff, x, y, z)
  738. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  739. prt.Anchored = true
  740. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  741. prt.CFrame = CFrame.new(prt.Position)
  742. game:GetService("Debris"):AddItem(prt, 2)
  743. local xval = math.random() / 2
  744. local yval = math.random() / 2
  745. local zval = math.random() / 2
  746. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  747. table.insert(Effects, {
  748. prt,
  749. "Elec",
  750. 0.1,
  751. x,
  752. y,
  753. z,
  754. xval,
  755. yval,
  756. zval
  757. })
  758. end;
  759.  
  760. };
  761.  
  762. Ring = {
  763. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  764. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  765. prt.Anchored = true
  766. prt.CFrame = cframe
  767. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  768. game:GetService("Debris"):AddItem(prt, 10)
  769. table.insert(Effects, {
  770. prt,
  771. "Cylinder",
  772. delay,
  773. x3,
  774. y3,
  775. z3,
  776. msh
  777. })
  778. end;
  779. };
  780.  
  781.  
  782. Wave = {
  783. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  784. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  785. prt.Anchored = true
  786. prt.CFrame = cframe
  787. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  788. game:GetService("Debris"):AddItem(prt, 10)
  789. table.insert(Effects, {
  790. prt,
  791. "Cylinder",
  792. delay,
  793. x3,
  794. y3,
  795. z3,
  796. msh
  797. })
  798. end;
  799. };
  800.  
  801. Break = {
  802. Create = function(brickcolor, cframe, x1, y1, z1)
  803. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  804. prt.Anchored = true
  805. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  806. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  807. local num = math.random(10, 50) / 1000
  808. game:GetService("Debris"):AddItem(prt, 10)
  809. table.insert(Effects, {
  810. prt,
  811. "Shatter",
  812. num,
  813. prt.CFrame,
  814. math.random() - math.random(),
  815. 0,
  816. math.random(50, 100) / 100
  817. })
  818. end;
  819. };
  820.  
  821. Fire = {
  822. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  823. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  824. prt.Anchored = true
  825. prt.CFrame = cframe
  826. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  827. game:GetService("Debris"):AddItem(prt, 10)
  828. table.insert(Effects, {
  829. prt,
  830. "Fire",
  831. delay,
  832. 1,
  833. 1,
  834. 1,
  835. msh
  836. })
  837. end;
  838. };
  839.  
  840. FireWave = {
  841. Create = function(brickcolor, cframe, x1, y1, z1)
  842. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  843. prt.Anchored = true
  844. prt.CFrame = cframe
  845. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  846. local d = Create("Decal"){
  847. Parent = prt,
  848. Texture = "rbxassetid://26356434",
  849. Face = "Top",
  850. }
  851. local d = Create("Decal"){
  852. Parent = prt,
  853. Texture = "rbxassetid://26356434",
  854. Face = "Bottom",
  855. }
  856. game:GetService("Debris"):AddItem(prt, 10)
  857. table.insert(Effects, {
  858. prt,
  859. "FireWave",
  860. 1,
  861. 30,
  862. math.random(400, 600) / 100,
  863. msh
  864. })
  865. end;
  866. };
  867.  
  868. Lightning = {
  869. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  870. local magz = (p0 - p1).magnitude
  871. local curpos = p0
  872. local trz = {
  873. -ofs,
  874. ofs
  875. }
  876. for i = 1, tym do
  877. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  878. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  879. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  880. li.Material = "Neon"
  881. if tym == i then
  882. local magz2 = (curpos - p1).magnitude
  883. li.Size = Vector3.new(th, th, magz2)
  884. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  885. table.insert(Effects, {
  886. li,
  887. "Disappear",
  888. last
  889. })
  890. else
  891. do
  892. do
  893. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  894. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  895. game.Debris:AddItem(li, 10)
  896. table.insert(Effects, {
  897. li,
  898. "Disappear",
  899. last
  900. })
  901. end
  902. end
  903. end
  904. end
  905. end
  906. };
  907.  
  908. EffectTemplate = {
  909.  
  910. };
  911. }
  912.  
  913. abss = Instance.new("BillboardGui",Character)
  914. abss.Size = UDim2.new(10,0,10,0)
  915. abss.Enabled = false
  916. imgl = Instance.new("ImageLabel",abss)
  917. imgl.Position = UDim2.new(0,0,0,0)
  918. imgl.Size = UDim2.new(1,0,1,0)
  919. imgl.Image = "rbxassetid://711463989"
  920. imgl.BackgroundTransparency = 1
  921. imgl.ImageColor3 = Color3.new(.9,0,0)
  922. img2 = Instance.new("ImageLabel",abss)
  923. img2.Position = UDim2.new(0,0,0,0)
  924. img2.Size = UDim2.new(1,0,1,0)
  925. img2.Image = "rbxassetid://711463989"
  926. img2.BackgroundTransparency = 1
  927. img2.ImageColor3 = Color3.new(.9,0,0)
  928.  
  929. function dmg(dude)
  930. dude.Humanoid.PlatformStand = true
  931.  
  932. local partasdeff = Instance.new("ParticleEmitter",dude.Torso)
  933. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  934. partasdeff.LightEmission = .1
  935. partasdeff.Size = NumberSequence.new(0.2)
  936. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  937. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  938. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  939. partasdeff.Transparency = bbb
  940. partasdeff.Size = aaa
  941. partasdeff.ZOffset = .9
  942. partasdeff.Acceleration = Vector3.new(0, -2, 0)
  943. partasdeff.LockedToPart = false
  944. partasdeff.EmissionDirection = "Back"
  945. partasdeff.Lifetime = NumberRange.new(1, 2)
  946. partasdeff.Rate = 1000
  947. partasdeff.Rotation = NumberRange.new(-100, 100)
  948. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  949. partasdeff.Speed = NumberRange.new(10)
  950. partasdeff.VelocitySpread = 20
  951. partasdeff.Enabled=true
  952. local bgf = Instance.new("BodyGyro",dude.Head)
  953. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  954. local val = Instance.new("BoolValue",dude)
  955. val.Name = "IsHit"
  956. for i = 1, 6 do
  957. local blo = Instance.new("Part",game.Workspace)
  958. blo.Size = Vector3.new(.6,.2,.6)
  959. blo.Material = "SmoothPlastic"
  960. blo.BrickColor = BrickColor.new("Crimson")
  961. blo.Position = dude.Head.Position
  962. blo.CFrame = dude.Head.CFrame
  963. game:GetService("Debris"):AddItem(blo,30)
  964. end
  965. local ds = coroutine.wrap(function()
  966. wait(.2)
  967. dude.Torso:BreakJoints()
  968. partasdeff.Enabled=false
  969. wait(2)
  970. partasdeff:Remove()
  971. end)
  972. ds()
  973. end
  974.  
  975. function attackone()
  976. attack = true
  977. Humanoid.WalkSpeed = 0
  978. for i = 0, 3, 0.1 do
  979. swait()
  980. PlayAnimationFromTable({
  981. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  982. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  983. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  984. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  985. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  986. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  987. }, .1, false)
  988. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  989. end
  990. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  991. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  992. dmg(targetted)
  993. for i = 0, 1, 0.1 do
  994. swait()
  995. PlayAnimationFromTable({
  996. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  997. CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  998. CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  999. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1000. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1001. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1002. }, .3, false)
  1003. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1004. end
  1005. for i = 0, 2, 0.1 do
  1006. swait()
  1007. PlayAnimationFromTable({
  1008. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1009. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1010. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1011. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1012. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1013. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1014. }, .3, false)
  1015. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1016. end
  1017. Humanoid.WalkSpeed = 8
  1018. attack = false
  1019. end
  1020. local Grabbed = false
  1021.  
  1022. function hedshoot()
  1023. attack = true
  1024.  
  1025. local GGyro = Instance.new("BodyPosition")
  1026. local WhoTfDidYouGrab = nil
  1027. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1028. if v:FindFirstChild('Torso') then
  1029. Grabbed = true
  1030. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8)
  1031. WhoTfDidYouGrab = v
  1032. end
  1033. end
  1034. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
  1035. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5)
  1036. for i = 0, 1, 0.1 do
  1037. swait()
  1038. if Grabbed == true then
  1039. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1040. GGyro.position = Partss.Position
  1041. GGyro.Parent = WhoTfDidYouGrab.Head
  1042. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1043. end
  1044. PlayAnimationFromTable({
  1045. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1046. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1047. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1048. CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1049. CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1050. CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1051. }, .3, false)
  1052. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1053.  
  1054. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1055. end
  1056. if Grabbed == true then
  1057. Humanoid.WalkSpeed = 0
  1058. for i = 0, 2, 0.1 do
  1059. swait()
  1060. if Grabbed == true then
  1061. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1062. GGyro.position = Partss.Position
  1063. GGyro.Parent = WhoTfDidYouGrab.Head
  1064. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1065. end
  1066. PlayAnimationFromTable({
  1067. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1068. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1069. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1070. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1071. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1072. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1073. }, .3, false)
  1074. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1075. end
  1076.  
  1077.  
  1078. for i = 0, 2, 0.1 do
  1079. swait()
  1080. if Grabbed == true then
  1081. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1082. GGyro.position = Partss.Position
  1083. GGyro.Parent = WhoTfDidYouGrab.Head
  1084. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1085. end
  1086. PlayAnimationFromTable({
  1087. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1088. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1089. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1090. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1091. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1092. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1093. }, .1, false)
  1094. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1095. end
  1096. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1097. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  1098. dmg(WhoTfDidYouGrab)
  1099. WhoTfDidYouGrab.Head.Velocity = WhoTfDidYouGrab.Head.CFrame.lookVector * -60
  1100.  
  1101. for i = 0, 1, 0.1 do
  1102. swait()
  1103. PlayAnimationFromTable({
  1104. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1105. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1106. CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1107. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1108. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1109. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1110. }, .3, false)
  1111. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1112. end
  1113. for i = 0, 2.5, 0.1 do
  1114. swait()
  1115. PlayAnimationFromTable({
  1116. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1120. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1121. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1122. }, .1, false)
  1123. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1124. end
  1125. end
  1126. GGyro.Parent = nil
  1127. attack = false
  1128. Grabbed = false
  1129. Humanoid.WalkSpeed = 8
  1130. end
  1131. function TargetSelect(person)
  1132. local dd=coroutine.wrap(function()
  1133. if targetted ~= person then
  1134. targetted = person
  1135. img2.Size = UDim2.new(1,0,1,0)
  1136. img2.ImageTransparency = 0
  1137. img2.Position = UDim2.new(0,0,0,0)
  1138. for i = 0, 2, 0.1 do
  1139. swait()
  1140. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1141. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1142. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1143. end
  1144. end
  1145. end)
  1146. dd()
  1147. end
  1148.  
  1149. function LockOn()
  1150. if getMouseHit().Parent ~= Character and getMouseHit().Parent.Parent ~= Character and getMouseHit().Parent:FindFirstChild("Humanoid") ~= nil then
  1151. TargetSelect(getMouseHit().Parent)
  1152. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8)
  1153. end
  1154. end
  1155.  
  1156.  
  1157. function ofmoosic() -- 2 lazi hoh
  1158. delays = true
  1159. while wait() and kkk and kkk.Volume >= 0.02 do
  1160. kkk.Volume = kkk.Volume - 0.05
  1161. end
  1162. wait(0.1)
  1163. kkk.Pitch = 0
  1164. kkk.PlaybackSpeed = 0
  1165. play = false
  1166. delays = false
  1167. end
  1168. function onmoosic()
  1169. delays = true
  1170. kkk.Pitch = .6
  1171. kkk.PlaybackSpeed = .6
  1172. while wait() and kkk and kkk.Volume <= 1.5 do
  1173. kkk.Volume = kkk.Volume + 0.05
  1174. end
  1175. wait(0.1)
  1176. play = true
  1177. delays = false
  1178. end
  1179. RemoteEvent2.OnServerEvent:Connect(function(plr)
  1180. if attack == false and targetted ~= nil then
  1181. attackone()
  1182. end
  1183. end)
  1184.  
  1185. RemoteEvent.OnServerEvent:Connect(function(plr,k)
  1186.  
  1187. if attack == false and k == 'q' then
  1188. LockOn()
  1189. end
  1190. if k == 'z' and attack == false then
  1191. hedshoot()
  1192. elseif k == 'm' and play == true and delays == false then
  1193. ofmoosic()
  1194. elseif k == 'm' and play == false and delays == false then
  1195. onmoosic()
  1196. end
  1197. end)
  1198.  
  1199. kkk = Instance.new("Sound",Character)
  1200. kkk.Volume = 1.5
  1201. kkk.PlaybackSpeed = 1
  1202. kkk.Pitch = .6
  1203. kkk.SoundId = "rbxassetid://583415095"
  1204. kkk:Play()
  1205. kkk.Name = "a"
  1206. kkk.Looped = true
  1207.  
  1208.  
  1209.  
  1210. while true do
  1211. swait()
  1212. for i, v in pairs(Character:GetChildren()) do
  1213. if v:IsA("Part") then
  1214. v.Material = "SmoothPlastic"
  1215. elseif v:IsA("Accessory") then
  1216. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1217. end
  1218. end
  1219. while true do
  1220. swait()
  1221. Character.Humanoid.MaxHealth = math.huge
  1222. Character.Humanoid.Health = math.huge
  1223. imgl.Rotation = imgl.Rotation + 3
  1224. img2.Rotation = img2.Rotation + 3
  1225. if targetted ~= nil then
  1226. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1227. abss.Enabled = true
  1228. elseif targetted == nil then
  1229. abss.Adornee = nil
  1230. abss.Enabled = false
  1231. end
  1232. while true and imgl.Rotation >= 360 do
  1233. imgl.Rotation = 0
  1234. img2.Rotation = 0
  1235. end
  1236. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1237. velocity = RootPart.Velocity.y
  1238. sine = sine + change
  1239. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1240. if RootPart.Velocity.y > 1 and hit == nil then
  1241. Anim = "Jump"
  1242. if attack == false then
  1243. PlayAnimationFromTable({
  1244. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1245. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1246. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1247. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1248. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1249. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1250. }, .3, false)
  1251. moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1252. end
  1253. elseif RootPart.Velocity.y < -1 and hit == nil then
  1254. Anim = "Fall"
  1255. if attack == false then
  1256. PlayAnimationFromTable({
  1257. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1258. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1259. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1260. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1261. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1262. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1263. }, .3, false)
  1264. moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1265. end
  1266. elseif Torsovelocity < 1 and hit ~= nil then
  1267. Anim = "Idle"
  1268. if attack == false then
  1269. change = 1
  1270. PlayAnimationFromTable({
  1271. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1272. CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0),
  1273. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)),
  1274. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)),
  1275. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1276. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1277. }, .3, false)
  1278. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1279. end
  1280. elseif Torsovelocity > 2 and hit ~= nil then
  1281. Anim = "Walk"
  1282. if attack == false then
  1283. PlayAnimationFromTable({
  1284. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  1285. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1286. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1287. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1288. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1289. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1290. }, .3, false)
  1291. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1292. end
  1293. end
  1294. if 0 < #Effects then
  1295. for e = 1, #Effects do
  1296. if Effects[e] ~= nil then
  1297. local Thing = Effects[e]
  1298. if Thing ~= nil then
  1299. local Part = Thing[1]
  1300. local Mode = Thing[2]
  1301. local Delay = Thing[3]
  1302. local IncX = Thing[4]
  1303. local IncY = Thing[5]
  1304. local IncZ = Thing[6]
  1305. if Thing[2] == "Shoot" then
  1306. local Look = Thing[1]
  1307. local move = 30
  1308. if Thing[8] == 3 then
  1309. move = 10
  1310. end
  1311. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1312. if Thing[10] ~= nil then
  1313. da = pos
  1314. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1315. cfa = CFrame.new(Thing[4], pos)
  1316. tehCF = cfa:lerp(cf2, 0.2)
  1317. Thing[1] = tehCF.lookVector
  1318. end
  1319. local mag = (Thing[4] - pos).magnitude
  1320. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1321. if Thing[8] == 2 then
  1322. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1323. end
  1324. Thing[4] = Thing[4] + Look * move
  1325. Thing[3] = Thing[3] - 1
  1326. if 2 < Thing[5] then
  1327. Thing[5] = Thing[5] - 0.3
  1328. Thing[6] = Thing[6] - 0.3
  1329. end
  1330. if hit ~= nil then
  1331. Thing[3] = 0
  1332. if Thing[8] == 1 or Thing[8] == 3 then
  1333. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1334. else
  1335. if Thing[8] == 2 then
  1336. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1337. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1338. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1339. ref.Anchored = true
  1340. ref.CFrame = CFrame.new(pos)
  1341. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1342. game:GetService("Debris"):AddItem(ref, 0.2)
  1343. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1344. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1345. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1346. end
  1347. end
  1348. end
  1349. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1350. ref.Anchored = true
  1351. ref.CFrame = CFrame.new(pos)
  1352. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1353. game:GetService("Debris"):AddItem(ref, 1)
  1354. end
  1355. if Thing[3] <= 0 then
  1356. table.remove(Effects, e)
  1357. end
  1358. end
  1359. do
  1360. do
  1361. if Thing[2] == "FireWave" then
  1362. if Thing[3] <= Thing[4] then
  1363. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1364. Thing[3] = Thing[3] + 1
  1365. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1366. else
  1367. Part.Parent = nil
  1368. table.remove(Effects, e)
  1369. end
  1370. end
  1371. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1372. if Thing[1].Transparency <= 1 then
  1373. if Thing[2] == "Block1" then
  1374. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1375. Mesh = Thing[7]
  1376. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1377. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1378. else
  1379. if Thing[2] == "Block2" then
  1380. Thing[1].CFrame = Thing[1].CFrame
  1381. Mesh = Thing[7]
  1382. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1383. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1384. else
  1385. if Thing[2] == "Fire" then
  1386. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1387. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1388. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1389. else
  1390. if Thing[2] == "Cylinder" then
  1391. Mesh = Thing[7]
  1392. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1393. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1394. else
  1395. if Thing[2] == "Blood" then
  1396. Mesh = Thing[7]
  1397. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1398. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1399. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1400. else
  1401. if Thing[2] == "Elec" then
  1402. Mesh = Thing[10]
  1403. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1404. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1405. else
  1406. if Thing[2] == "Disappear" then
  1407. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1408. else
  1409. if Thing[2] == "Shatter" then
  1410. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1411. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1412. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1413. Thing[6] = Thing[6] + Thing[5]
  1414. end
  1415. end
  1416. end
  1417. end
  1418. end
  1419. end
  1420. end
  1421. end
  1422. else
  1423. Part.Parent = nil
  1424. table.remove(Effects, e)
  1425. end
  1426. end
  1427. end
  1428. end
  1429. end
  1430. end
  1431. end
  1432. end
  1433. end
  1434. end
Add Comment
Please, Sign In to add comment