Advertisement
PasterXIV

Untitled

Sep 2nd, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.42 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local MainCmd = "script"
  3. local CmdSub = #MainCmd + 1
  4.  
  5. for _, Child in pairs(script:GetChildren()) do
  6. if Child:IsA("Script") then
  7. Child.Disabled = true
  8. end
  9. end
  10.  
  11. function OnChatted(owner, message)
  12. if message:sub(1, CmdSub) == MainCmd .."/" then
  13. local scriptChildren = script:GetChildren()
  14. for _, Child in pairs(scriptChildren) do
  15. if message:sub(CmdSub + 1) == Child.Name:lower() then
  16. local New = Child:Clone()
  17. New.Parent = owner.Backpack or owner.PlayerGui
  18. New.Disabled = false
  19. end
  20. end
  21. end
  22. end
  23.  
  24. function ConnectPlr(name)
  25. for _, PossiblePlayer in pairs(Players:GetChildren()) do
  26. if PossiblePlayer:IsA("Player") then
  27. local Player = PossiblePlayer
  28. if Player.Name == name then
  29. Player.Chatted:Connect(function(MESSAGE)
  30. OnChatted(Player, MESSAGE:lower())
  31. end)
  32. else
  33. error("No player found!")
  34. end
  35. end
  36. end
  37. end
  38.  
  39. local Player = owner
  40. local Character = Player.Character
  41. local Humanoid = Character.Humanoid
  42. local LeftArm = Character["Left Arm"]
  43. local RightArm = Character["Right Arm"]
  44. local LeftLeg = Character["Left Leg"]
  45. local RightLeg = Character["Right Leg"]
  46. local Head = Character.Head
  47. local Torso = Character.Torso
  48. local Camera = game.Workspace.CurrentCamera
  49. local RootPart = Character.HumanoidRootPart
  50. local RootJoint = RootPart.RootJoint
  51. local attack = false
  52. local Anim = 'Idle'
  53. local attacktype = 1
  54. local delays = false
  55. local play = true
  56. local targetted = nil
  57. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  58. local velocity = RootPart.Velocity.y
  59. local sine = 0
  60. local change = 1
  61. local Create = LoadLibrary("RbxUtility").Create
  62. Humanoid.WalkSpeed = 8
  63. local m = Create("Model"){
  64. Parent = Character,
  65. Name = "WeaponModel",
  66. }
  67.  
  68. Humanoid.Animator.Parent = nil
  69. Character.Animate.Parent = nil
  70.  
  71. local newMotor = function(part0, part1, c0, c1)
  72. local w = Create('Motor'){
  73. Parent = part0,
  74. Part0 = part0,
  75. Part1 = part1,
  76. C0 = c0,
  77. C1 = c1,
  78. }
  79. return w
  80. end
  81.  
  82. function clerp(a, b, t)
  83. return a:lerp(b, t)
  84. end
  85.  
  86. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  87. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  88.  
  89. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  90. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  91. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  92. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  93. RootJoint.C1 = CFrame.new(0, 0, 0)
  94. RootJoint.C0 = CFrame.new(0, 0, 0)
  95. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  96. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  97.  
  98. local rarmc1 = RW.C1
  99. local larmc1 = LW.C1
  100. local rlegc1 = RH.C1
  101. local llegc1 = LH.C1
  102.  
  103. local resetc1 = false
  104.  
  105. function PlayAnimationFromTable(table, speed, bool)
  106. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  107. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  108. RW.C0 = clerp(RW.C0, table[3], speed)
  109. LW.C0 = clerp(LW.C0, table[4], speed)
  110. RH.C0 = clerp(RH.C0, table[5], speed)
  111. LH.C0 = clerp(LH.C0, table[6], speed)
  112. if bool == true then
  113. if resetc1 == false then
  114. resetc1 = true
  115. RootJoint.C1 = RootJoint.C1
  116. Torso.Neck.C1 = Torso.Neck.C1
  117. RW.C1 = rarmc1
  118. LW.C1 = larmc1
  119. RH.C1 = rlegc1
  120. LH.C1 = llegc1
  121. end
  122. end
  123. end
  124.  
  125. ArtificialHB = Create("BindableEvent", script){
  126. Parent = script,
  127. Name = "Heartbeat",
  128. }
  129.  
  130. script:WaitForChild("Heartbeat")
  131.  
  132. frame = 1 / 30
  133. tf = 0
  134. allowframeloss = false
  135. tossremainder = false
  136. lastframe = tick()
  137. script.Heartbeat:Fire()
  138.  
  139. game:GetService("RunService").Heartbeat:connect(function(s, p)
  140. tf = tf + s
  141. if tf >= frame then
  142. if allowframeloss then
  143. script.Heartbeat:Fire()
  144. lastframe = tick()
  145. else
  146. for i = 1, math.floor(tf / frame) do
  147. script.Heartbeat:Fire()
  148. end
  149. lastframe = tick()
  150. end
  151. if tossremainder then
  152. tf = 0
  153. else
  154. tf = tf - frame * math.floor(tf / frame)
  155. end
  156. end
  157. end)
  158.  
  159. function swait(num)
  160. if num == 0 or num == nil then
  161. ArtificialHB.Event:wait()
  162. else
  163. for i = 0, num do
  164. ArtificialHB.Event:wait()
  165. end
  166. end
  167. end
  168.  
  169. function RemoveOutlines(part)
  170. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  171. end
  172.  
  173. CFuncs = {
  174. ["Part"] = {
  175. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  176. local Part = Create("Part"){
  177. Parent = Parent,
  178. Reflectance = Reflectance,
  179. Transparency = Transparency,
  180. CanCollide = false,
  181. Locked = true,
  182. BrickColor = BrickColor.new(tostring(BColor)),
  183. Name = Name,
  184. Size = Size,
  185. Material = Material,
  186. }
  187. RemoveOutlines(Part)
  188. return Part
  189. end;
  190. };
  191.  
  192. ["Mesh"] = {
  193. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  194. local Msh = Create(Mesh){
  195. Parent = Part,
  196. Offset = OffSet,
  197. Scale = Scale,
  198. }
  199. if Mesh == "SpecialMesh" then
  200. Msh.MeshType = MeshType
  201. Msh.MeshId = MeshId
  202. end
  203. return Msh
  204. end;
  205. };
  206.  
  207. ["Mesh"] = {
  208. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  209. local Msh = Create(Mesh){
  210. Parent = Part,
  211. Offset = OffSet,
  212. Scale = Scale,
  213. }
  214. if Mesh == "SpecialMesh" then
  215. Msh.MeshType = MeshType
  216. Msh.MeshId = MeshId
  217. end
  218. return Msh
  219. end;
  220. };
  221.  
  222. ["Weld"] = {
  223. Create = function(Parent, Part0, Part1, C0, C1)
  224. local Weld = Create("Weld"){
  225. Parent = Parent,
  226. Part0 = Part0,
  227. Part1 = Part1,
  228. C0 = C0,
  229. C1 = C1,
  230. }
  231. return Weld
  232. end;
  233. };
  234.  
  235. ["Sound"] = {
  236. Create = function(id, par, vol, pit)
  237. coroutine.resume(coroutine.create(function()
  238. local S = Create("Sound"){
  239. Volume = vol,
  240. Pitch = pit or 1,
  241. SoundId = id,
  242. Parent = par or workspace,
  243. }
  244. wait()
  245. S:play()
  246. game:GetService("Debris"):AddItem(S, 6)
  247. end))
  248. end;
  249. };
  250.  
  251. ["ParticleEmitter"] = {
  252. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  253. local fp = Create("ParticleEmitter"){
  254. Parent = Parent,
  255. Color = ColorSequence.new(Color1, Color2),
  256. LightEmission = LightEmission,
  257. Size = Size,
  258. Texture = Texture,
  259. Transparency = Transparency,
  260. ZOffset = ZOffset,
  261. Acceleration = Accel,
  262. Drag = Drag,
  263. LockedToPart = LockedToPart,
  264. VelocityInheritance = VelocityInheritance,
  265. EmissionDirection = EmissionDirection,
  266. Enabled = Enabled,
  267. Lifetime = LifeTime,
  268. Rate = Rate,
  269. Rotation = Rotation,
  270. RotSpeed = RotSpeed,
  271. Speed = Speed,
  272. VelocitySpread = VelocitySpread,
  273. }
  274. return fp
  275. end;
  276. };
  277.  
  278. CreateTemplate = {
  279.  
  280. };
  281. }
  282.  
  283.  
  284.  
  285. New = function(Object, Parent, Name, Data)
  286. local Object = Instance.new(Object)
  287. for Index, Value in pairs(Data or {}) do
  288. Object[Index] = Value
  289. end
  290. Object.Parent = Parent
  291. Object.Name = Name
  292. return Object
  293. end
  294.  
  295.  
  296. 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),})
  297. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  298. 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),})
  299.  
  300. 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,})
  301. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  302. 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,})
  303. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  304. 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),})
  305. 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,})
  306. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  307. 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),})
  308. 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,})
  309. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  310. 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),})
  311. 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,})
  312. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  313. 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),})
  314. 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,})
  315. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  316. 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),})
  317. 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,})
  318. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  319. 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),})
  320. 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,})
  321. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  322. 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),})
  323. 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),})
  324. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  325. 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),})
  326. 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,})
  327. 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,})
  328. 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),})
  329. 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),})
  330. 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),})
  331. 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,})
  332. 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),})
  333. 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,})
  334. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  335. 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),})
  336. 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,})
  337. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  338. 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),})
  339. 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,})
  340. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  341. 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),})
  342. 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,})
  343. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  344. 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),})
  345. 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,})
  346. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  347. 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),})
  348. 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,})
  349. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  350. 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),})
  351. 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,})
  352. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  353. 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),})
  354. 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),})
  355. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  356. 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),})
  357. 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,})
  358. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  359. 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),})
  360. 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),})
  361. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  362. 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),})
  363.  
  364. for _,v in pairs(m:children()) do
  365. if v:IsA("Part") then
  366. v.CanCollide = false
  367. end
  368. end
  369. if Character.Name == "grgrgry21" or Character.Name == "Player1" then
  370. for _,v in pairs(Character:children()) do
  371. if v:IsA("Accessory") then
  372. v:Remove()
  373. end
  374. end
  375. 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),})
  376. Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  377. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",})
  378. 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),})
  379. 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),})
  380. 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,})
  381. 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),})
  382. end
  383.  
  384.  
  385. function rayCast(Position, Direction, Range, Ignore)
  386. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  387. end
  388.  
  389. --[[FindNearestTorso = function(pos)
  390. local list = (game.Workspace:children())
  391. local torso = nil
  392. local dist = 1000
  393. local temp, human, temp2 = nil, nil, nil
  394. for x = 1, #list do
  395. temp2 = list[x]
  396. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  397. temp = temp2:findFirstChild("Torso")
  398. human = temp2:findFirstChild("Humanoid")
  399. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  400. local dohit = true
  401. if dohit == true then
  402. torso = temp
  403. dist = (temp.Position - pos).magnitude
  404. end
  405. end
  406. end
  407. end
  408. return torso, dist
  409. end]]
  410. function FindNearestTorso(Position, Distance, SinglePlayer)
  411. if SinglePlayer then
  412. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  413. end
  414. local List = {}
  415. for i, v in pairs(workspace:GetChildren()) do
  416. if v:IsA("Model") then
  417. if v:findFirstChild("Torso") then
  418. if v ~= Character then
  419. if (v.Torso.Position - Position).magnitude <= Distance then
  420. table.insert(List, v)
  421. end
  422. end
  423. end
  424. end
  425. end
  426. return List
  427. end
  428. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  429. if hit.Parent == nil then
  430. return
  431. end
  432. local h = hit.Parent:FindFirstChild("Humanoid")
  433. for _, v in pairs(hit.Parent:children()) do
  434. if v:IsA("Humanoid") then
  435. h = v
  436. end
  437. end
  438. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  439. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  440. if hit.Parent.DebounceHit.Value == true then
  441. return
  442. end
  443. end
  444. local c = Create("ObjectValue"){
  445. Name = "creator",
  446. Value = owner,
  447. Parent = h,
  448. }
  449. game:GetService("Debris"):AddItem(c, .5)
  450. if HitSound ~= nil and HitPitch ~= nil then
  451. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  452. end
  453. local Damage = math.random(minim, maxim)
  454. local blocked = false
  455. local block = hit.Parent:findFirstChild("Block")
  456. if block ~= nil then
  457. if block.className == "IntValue" then
  458. if block.Value > 0 then
  459. blocked = true
  460. block.Value = block.Value - 1
  461. print(block.Value)
  462. end
  463. end
  464. end
  465. if blocked == false then
  466. h.Health = h.Health - Damage
  467. 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)
  468. else
  469. h.Health = h.Health - (Damage / 2)
  470. 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)
  471. end
  472. if Type == "Knockdown" then
  473. local hum = hit.Parent.Humanoid
  474. hum.PlatformStand = true
  475. coroutine.resume(coroutine.create(function(HHumanoid)
  476. swait(1)
  477. HHumanoid.PlatformStand = false
  478. end), hum)
  479. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  480. local bodvol = Create("BodyVelocity"){
  481. velocity = angle * knockback,
  482. P = 5000,
  483. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  484. Parent = hit,
  485. }
  486. local rl = Create("BodyAngularVelocity"){
  487. P = 3000,
  488. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  489. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  490. Parent = hit,
  491. }
  492. game:GetService("Debris"):AddItem(bodvol, .5)
  493. game:GetService("Debris"):AddItem(rl, .5)
  494. elseif Type == "Normal" then
  495. local vp = Create("BodyVelocity"){
  496. P = 500,
  497. maxForce = Vector3.new(math.huge, 0, math.huge),
  498. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  499. }
  500. if knockback > 0 then
  501. vp.Parent = hit.Parent.Torso
  502. end
  503. game:GetService("Debris"):AddItem(vp, .5)
  504. elseif Type == "Up" then
  505. local bodyVelocity = Create("BodyVelocity"){
  506. velocity = Vector3.new(0, 20, 0),
  507. P = 5000,
  508. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  509. Parent = hit,
  510. }
  511. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  512. elseif Type == "DarkUp" then
  513. coroutine.resume(coroutine.create(function()
  514. for i = 0, 1, 0.1 do
  515. swait()
  516. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  517. end
  518. end))
  519. local bodyVelocity = Create("BodyVelocity"){
  520. velocity = Vector3.new(0, 20, 0),
  521. P = 5000,
  522. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  523. Parent = hit,
  524. }
  525. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  526. elseif Type == "Snare" then
  527. local bp = Create("BodyPosition"){
  528. P = 2000,
  529. D = 100,
  530. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  531. position = hit.Parent.Torso.Position,
  532. Parent = hit.Parent.Torso,
  533. }
  534. game:GetService("Debris"):AddItem(bp, 1)
  535. elseif Type == "Freeze" then
  536. local BodPos = Create("BodyPosition"){
  537. P = 50000,
  538. D = 1000,
  539. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  540. position = hit.Parent.Torso.Position,
  541. Parent = hit.Parent.Torso,
  542. }
  543. local BodGy = Create("BodyGyro") {
  544. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  545. P = 20e+003,
  546. Parent = hit.Parent.Torso,
  547. cframe = hit.Parent.Torso.CFrame,
  548. }
  549. hit.Parent.Torso.Anchored = true
  550. coroutine.resume(coroutine.create(function(Part)
  551. swait(1.5)
  552. Part.Anchored = false
  553. end), hit.Parent.Torso)
  554. game:GetService("Debris"):AddItem(BodPos, 3)
  555. game:GetService("Debris"):AddItem(BodGy, 3)
  556. end
  557. local debounce = Create("BoolValue"){
  558. Name = "DebounceHit",
  559. Parent = hit.Parent,
  560. Value = true,
  561. }
  562. game:GetService("Debris"):AddItem(debounce, Delay)
  563. c = Create("ObjectValue"){
  564. Name = "creator",
  565. Value = Player,
  566. Parent = h,
  567. }
  568. game:GetService("Debris"):AddItem(c, .5)
  569. end
  570. end
  571.  
  572. function ShowDamage(Pos, Text, Time, Color)
  573. local Rate = (1 / 30)
  574. local Pos = (Pos or Vector3.new(0, 0, 0))
  575. local Text = (Text or "")
  576. local Time = (Time or 2)
  577. local Color = (Color or Color3.new(1, 0, 1))
  578. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  579. EffectPart.Anchored = true
  580. local BillboardGui = Create("BillboardGui"){
  581. Size = UDim2.new(3, 0, 3, 0),
  582. Adornee = EffectPart,
  583. Parent = EffectPart,
  584. }
  585. local TextLabel = Create("TextLabel"){
  586. BackgroundTransparency = 1,
  587. Size = UDim2.new(1, 0, 1, 0),
  588. Text = Text,
  589. Font = "SciFi",
  590. TextColor3 = Color,
  591. TextScaled = true,
  592. Parent = BillboardGui,
  593. }
  594. game.Debris:AddItem(EffectPart, (Time))
  595. EffectPart.Parent = game:GetService("Workspace")
  596. delay(0, function()
  597. local Frames = (Time / Rate)
  598. for Frame = 1, Frames do
  599. wait(Rate)
  600. local Percent = (Frame / Frames)
  601. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  602. TextLabel.TextTransparency = Percent
  603. end
  604. if EffectPart and EffectPart.Parent then
  605. EffectPart:Destroy()
  606. end
  607. end)
  608. end
  609.  
  610. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  611. for _, c in pairs(workspace:children()) do
  612. local hum = c:findFirstChild("Humanoid")
  613. if hum ~= nil then
  614. local head = c:findFirstChild("Torso")
  615. if head ~= nil then
  616. local targ = head.Position - Part.Position
  617. local mag = targ.magnitude
  618. if mag <= Magnitude and c.Name ~= Player.Name then
  619. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  620. end
  621. end
  622. end
  623. end
  624. end
  625.  
  626. EffectModel = Create("Model"){
  627. Parent = Character,
  628. Name = "Effects",
  629. }
  630.  
  631. Effects = {
  632. Block = {
  633. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  634. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  635. prt.Anchored = true
  636. prt.CFrame = cframe
  637. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  638. game:GetService("Debris"):AddItem(prt, 10)
  639. if Type == 1 or Type == nil then
  640. table.insert(Effects, {
  641. prt,
  642. "Block1",
  643. delay,
  644. x3,
  645. y3,
  646. z3,
  647. msh
  648. })
  649. elseif Type == 2 then
  650. table.insert(Effects, {
  651. prt,
  652. "Block2",
  653. delay,
  654. x3,
  655. y3,
  656. z3,
  657. msh
  658. })
  659. end
  660. end;
  661. };
  662.  
  663. Cylinder = {
  664. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  665. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  666. prt.Anchored = true
  667. prt.CFrame = cframe
  668. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  669. game:GetService("Debris"):AddItem(prt, 10)
  670. table.insert(Effects, {
  671. prt,
  672. "Cylinder",
  673. delay,
  674. x3,
  675. y3,
  676. z3,
  677. msh
  678. })
  679. end;
  680. };
  681. Head = {
  682. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  683. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  684. prt.Anchored = true
  685. prt.CFrame = cframe
  686. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  687. game:GetService("Debris"):AddItem(prt, 10)
  688. table.insert(Effects, {
  689. prt,
  690. "Cylinder",
  691. delay,
  692. x3,
  693. y3,
  694. z3,
  695. msh
  696. })
  697. end;
  698. };
  699.  
  700. Sphere = {
  701. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  702. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  703. prt.Anchored = true
  704. prt.CFrame = cframe
  705. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  706. game:GetService("Debris"):AddItem(prt, 10)
  707. table.insert(Effects, {
  708. prt,
  709. "Cylinder",
  710. delay,
  711. x3,
  712. y3,
  713. z3,
  714. msh
  715. })
  716. end;
  717. };
  718.  
  719. Elect = {
  720. Create = function(cff, x, y, z)
  721. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  722. prt.Anchored = true
  723. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  724. prt.CFrame = CFrame.new(prt.Position)
  725. game:GetService("Debris"):AddItem(prt, 2)
  726. local xval = math.random() / 2
  727. local yval = math.random() / 2
  728. local zval = math.random() / 2
  729. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  730. table.insert(Effects, {
  731. prt,
  732. "Elec",
  733. 0.1,
  734. x,
  735. y,
  736. z,
  737. xval,
  738. yval,
  739. zval
  740. })
  741. end;
  742.  
  743. };
  744.  
  745. Ring = {
  746. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  747. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  748. prt.Anchored = true
  749. prt.CFrame = cframe
  750. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  751. game:GetService("Debris"):AddItem(prt, 10)
  752. table.insert(Effects, {
  753. prt,
  754. "Cylinder",
  755. delay,
  756. x3,
  757. y3,
  758. z3,
  759. msh
  760. })
  761. end;
  762. };
  763.  
  764.  
  765. Wave = {
  766. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  767. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  768. prt.Anchored = true
  769. prt.CFrame = cframe
  770. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  771. game:GetService("Debris"):AddItem(prt, 10)
  772. table.insert(Effects, {
  773. prt,
  774. "Cylinder",
  775. delay,
  776. x3,
  777. y3,
  778. z3,
  779. msh
  780. })
  781. end;
  782. };
  783.  
  784. Break = {
  785. Create = function(brickcolor, cframe, x1, y1, z1)
  786. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  787. prt.Anchored = true
  788. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  789. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  790. local num = math.random(10, 50) / 1000
  791. game:GetService("Debris"):AddItem(prt, 10)
  792. table.insert(Effects, {
  793. prt,
  794. "Shatter",
  795. num,
  796. prt.CFrame,
  797. math.random() - math.random(),
  798. 0,
  799. math.random(50, 100) / 100
  800. })
  801. end;
  802. };
  803.  
  804. Fire = {
  805. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  806. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  807. prt.Anchored = true
  808. prt.CFrame = cframe
  809. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  810. game:GetService("Debris"):AddItem(prt, 10)
  811. table.insert(Effects, {
  812. prt,
  813. "Fire",
  814. delay,
  815. 1,
  816. 1,
  817. 1,
  818. msh
  819. })
  820. end;
  821. };
  822.  
  823. FireWave = {
  824. Create = function(brickcolor, cframe, x1, y1, z1)
  825. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  826. prt.Anchored = true
  827. prt.CFrame = cframe
  828. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  829. local d = Create("Decal"){
  830. Parent = prt,
  831. Texture = "rbxassetid://26356434",
  832. Face = "Top",
  833. }
  834. local d = Create("Decal"){
  835. Parent = prt,
  836. Texture = "rbxassetid://26356434",
  837. Face = "Bottom",
  838. }
  839. game:GetService("Debris"):AddItem(prt, 10)
  840. table.insert(Effects, {
  841. prt,
  842. "FireWave",
  843. 1,
  844. 30,
  845. math.random(400, 600) / 100,
  846. msh
  847. })
  848. end;
  849. };
  850.  
  851. Lightning = {
  852. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  853. local magz = (p0 - p1).magnitude
  854. local curpos = p0
  855. local trz = {
  856. -ofs,
  857. ofs
  858. }
  859. for i = 1, tym do
  860. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  861. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  862. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  863. li.Material = "Neon"
  864. if tym == i then
  865. local magz2 = (curpos - p1).magnitude
  866. li.Size = Vector3.new(th, th, magz2)
  867. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  868. table.insert(Effects, {
  869. li,
  870. "Disappear",
  871. last
  872. })
  873. else
  874. do
  875. do
  876. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  877. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  878. game.Debris:AddItem(li, 10)
  879. table.insert(Effects, {
  880. li,
  881. "Disappear",
  882. last
  883. })
  884. end
  885. end
  886. end
  887. end
  888. end
  889. };
  890.  
  891. EffectTemplate = {
  892.  
  893. };
  894. }
  895.  
  896. abss = Instance.new("BillboardGui",Character)
  897. abss.Size = UDim2.new(10,0,10,0)
  898. abss.Enabled = false
  899. imgl = Instance.new("ImageLabel",abss)
  900. imgl.Position = UDim2.new(0,0,0,0)
  901. imgl.Size = UDim2.new(1,0,1,0)
  902. imgl.Image = "rbxassetid://711463989"
  903. imgl.BackgroundTransparency = 1
  904. imgl.ImageColor3 = Color3.new(.9,0,0)
  905. img2 = Instance.new("ImageLabel",abss)
  906. img2.Position = UDim2.new(0,0,0,0)
  907. img2.Size = UDim2.new(1,0,1,0)
  908. img2.Image = "rbxassetid://711463989"
  909. img2.BackgroundTransparency = 1
  910. img2.ImageColor3 = Color3.new(.9,0,0)
  911.  
  912. function dmg(dude)
  913. dude.Humanoid.PlatformStand = true
  914.  
  915. local partasdeff = Instance.new("ParticleEmitter",dude.Torso)
  916. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  917. partasdeff.LightEmission = .1
  918. partasdeff.Size = NumberSequence.new(0.2)
  919. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  920. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  921. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  922. partasdeff.Transparency = bbb
  923. partasdeff.Size = aaa
  924. partasdeff.ZOffset = .9
  925. partasdeff.Acceleration = Vector3.new(0, -2, 0)
  926. partasdeff.LockedToPart = false
  927. partasdeff.EmissionDirection = "Back"
  928. partasdeff.Lifetime = NumberRange.new(1, 2)
  929. partasdeff.Rate = 1000
  930. partasdeff.Rotation = NumberRange.new(-100, 100)
  931. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  932. partasdeff.Speed = NumberRange.new(10)
  933. partasdeff.VelocitySpread = 20
  934. partasdeff.Enabled=true
  935. local bgf = Instance.new("BodyGyro",dude.Head)
  936. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  937. local val = Instance.new("BoolValue",dude)
  938. val.Name = "IsHit"
  939. for i = 1, 6 do
  940. local blo = Instance.new("Part",game.Workspace)
  941. blo.Size = Vector3.new(.6,.2,.6)
  942. blo.Material = "SmoothPlastic"
  943. blo.BrickColor = BrickColor.new("Crimson")
  944. blo.Position = dude.Head.Position
  945. blo.CFrame = dude.Head.CFrame
  946. game:GetService("Debris"):AddItem(blo,30)
  947. end
  948. local ds = coroutine.wrap(function()
  949. wait(.2)
  950. dude.Torso:BreakJoints()
  951. partasdeff.Enabled=false
  952. wait(2)
  953. partasdeff:Remove()
  954. end)
  955. ds()
  956. end
  957.  
  958. function attackone()
  959. attack = true
  960. Humanoid.WalkSpeed = 0
  961. for i = 0, 3, 0.1 do
  962. swait()
  963. PlayAnimationFromTable({
  964. 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),
  965. 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),
  966. 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),
  967. 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),
  968. 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),
  969. 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),
  970. }, .1, false)
  971. 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)
  972. end
  973. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  974. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  975. dmg(targetted)
  976. for i = 0, 1, 0.1 do
  977. swait()
  978. PlayAnimationFromTable({
  979. 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),
  980. 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),
  981. 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),
  982. 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),
  983. 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),
  984. 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),
  985. }, .3, false)
  986. 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)
  987. end
  988. for i = 0, 2, 0.1 do
  989. swait()
  990. PlayAnimationFromTable({
  991. 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),
  992. 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),
  993. 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),
  994. 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),
  995. 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),
  996. 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),
  997. }, .3, false)
  998. 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)
  999. end
  1000. Humanoid.WalkSpeed = 8
  1001. attack = false
  1002. end
  1003. local Grabbed = false
  1004.  
  1005. function hedshoot()
  1006. attack = true
  1007.  
  1008. local GGyro = Instance.new("BodyPosition")
  1009. local WhoTfDidYouGrab = nil
  1010. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1011. if v:FindFirstChild('Torso') then
  1012. Grabbed = true
  1013. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8)
  1014. WhoTfDidYouGrab = v
  1015. end
  1016. end
  1017. 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)
  1018. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5)
  1019. for i = 0, 1, 0.1 do
  1020. swait()
  1021. if Grabbed == true then
  1022. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1023. GGyro.position = Partss.Position
  1024. GGyro.Parent = WhoTfDidYouGrab.Head
  1025. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1026. end
  1027. PlayAnimationFromTable({
  1028. 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),
  1029. 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),
  1030. 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),
  1031. 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),
  1032. 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),
  1033. 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),
  1034. }, .3, false)
  1035. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1036.  
  1037. 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)
  1038. end
  1039. if Grabbed == true then
  1040. Humanoid.WalkSpeed = 0
  1041. for i = 0, 2, 0.1 do
  1042. swait()
  1043. if Grabbed == true then
  1044. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1045. GGyro.position = Partss.Position
  1046. GGyro.Parent = WhoTfDidYouGrab.Head
  1047. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1048. end
  1049. PlayAnimationFromTable({
  1050. 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),
  1051. 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),
  1052. 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),
  1053. 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),
  1054. 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),
  1055. 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),
  1056. }, .3, false)
  1057. 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)
  1058. end
  1059.  
  1060.  
  1061. for i = 0, 2, 0.1 do
  1062. swait()
  1063. if Grabbed == true then
  1064. WhoTfDidYouGrab.Humanoid.PlatformStand = true
  1065. GGyro.position = Partss.Position
  1066. GGyro.Parent = WhoTfDidYouGrab.Head
  1067. WhoTfDidYouGrab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(90),0)
  1068. end
  1069. PlayAnimationFromTable({
  1070. 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),
  1071. 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),
  1072. 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),
  1073. 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),
  1074. 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),
  1075. 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),
  1076. }, .1, false)
  1077. 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)
  1078. end
  1079. Effects.Block.Create(BrickColor.new("New Yeller"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1080. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  1081. dmg(WhoTfDidYouGrab)
  1082. WhoTfDidYouGrab.Head.Velocity = WhoTfDidYouGrab.Head.CFrame.lookVector * -60
  1083.  
  1084. for i = 0, 1, 0.1 do
  1085. swait()
  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.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),
  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. }, .3, false)
  1094. 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)
  1095. end
  1096. for i = 0, 2.5, 0.1 do
  1097. swait()
  1098. PlayAnimationFromTable({
  1099. 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),
  1100. 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),
  1101. 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),
  1102. 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),
  1103. 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),
  1104. 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),
  1105. }, .1, false)
  1106. 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)
  1107. end
  1108. end
  1109. GGyro.Parent = nil
  1110. attack = false
  1111. Grabbed = false
  1112. Humanoid.WalkSpeed = 8
  1113. end
  1114. function TargetSelect(person)
  1115. local dd=coroutine.wrap(function()
  1116. if targetted ~= person then
  1117. targetted = person
  1118. img2.Size = UDim2.new(1,0,1,0)
  1119. img2.ImageTransparency = 0
  1120. img2.Position = UDim2.new(0,0,0,0)
  1121. for i = 0, 2, 0.1 do
  1122. swait()
  1123. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1124. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1125. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1126. end
  1127. end
  1128. end)
  1129. dd()
  1130. end
  1131.  
  1132. function LockOn()
  1133. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1134. TargetSelect(Mouse.Target.Parent)
  1135. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8)
  1136. end
  1137. end
  1138.  
  1139.  
  1140. function ofmoosic() -- 2 lazi hoh
  1141. delays = true
  1142. while wait() and kkk and kkk.Volume >= 0.02 do
  1143. kkk.Volume = kkk.Volume - 0.05
  1144. end
  1145. wait(0.1)
  1146. kkk.Pitch = 0
  1147. kkk.PlaybackSpeed = 0
  1148. play = false
  1149. delays = false
  1150. end
  1151. function onmoosic()
  1152. delays = true
  1153. kkk.Pitch = .6
  1154. kkk.PlaybackSpeed = .6
  1155. while wait() and kkk and kkk.Volume <= 1.5 do
  1156. kkk.Volume = kkk.Volume + 0.05
  1157. end
  1158. wait(0.1)
  1159. play = true
  1160. delays = false
  1161. end
  1162. Mouse.Button1Down:connect(function()
  1163. if attack == false and targetted ~= nil then
  1164. attackone()
  1165. end
  1166. end)
  1167.  
  1168. Mouse.KeyDown:connect(function(k)
  1169. k = k:lower()
  1170. if attack == false and k == 'q' then
  1171. LockOn()
  1172. end
  1173. if k == 'z' and attack == false then
  1174. hedshoot()
  1175. elseif k == 'm' and play == true and delays == false then
  1176. ofmoosic()
  1177. elseif k == 'm' and play == false and delays == false then
  1178. onmoosic()
  1179. end
  1180. end)
  1181.  
  1182. kkk = Instance.new("Sound",Character)
  1183. kkk.Volume = 1.5
  1184. kkk.PlaybackSpeed = 1
  1185. kkk.Pitch = .6
  1186. kkk.SoundId = "rbxassetid://583415095"
  1187. kkk:Play()
  1188. kkk.Name = "a"
  1189. kkk.Looped = true
  1190.  
  1191.  
  1192.  
  1193. while true do
  1194. swait()
  1195. for i, v in pairs(Character:GetChildren()) do
  1196. if v:IsA("Part") then
  1197. v.Material = "SmoothPlastic"
  1198. elseif v:IsA("Accessory") then
  1199. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1200. end
  1201. end
  1202. while true do
  1203. swait()
  1204. Character.Humanoid.MaxHealth = math.huge
  1205. Character.Humanoid.Health = math.huge
  1206. imgl.Rotation = imgl.Rotation + 3
  1207. img2.Rotation = img2.Rotation + 3
  1208. if targetted ~= nil then
  1209. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1210. abss.Enabled = true
  1211. elseif targetted == nil then
  1212. abss.Adornee = nil
  1213. abss.Enabled = false
  1214. end
  1215. while true and imgl.Rotation >= 360 do
  1216. imgl.Rotation = 0
  1217. img2.Rotation = 0
  1218. end
  1219. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1220. velocity = RootPart.Velocity.y
  1221. sine = sine + change
  1222. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1223. if RootPart.Velocity.y > 1 and hit == nil then
  1224. Anim = "Jump"
  1225. if attack == false then
  1226. PlayAnimationFromTable({
  1227. 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),
  1228. 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),
  1229. 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),
  1230. 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),
  1231. 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),
  1232. 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),
  1233. }, .3, false)
  1234. 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)
  1235. end
  1236. elseif RootPart.Velocity.y < -1 and hit == nil then
  1237. Anim = "Fall"
  1238. if attack == false then
  1239. PlayAnimationFromTable({
  1240. 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),
  1241. 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),
  1242. 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),
  1243. 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),
  1244. 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),
  1245. 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),
  1246. }, .3, false)
  1247. 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)
  1248. end
  1249. elseif Torsovelocity < 1 and hit ~= nil then
  1250. Anim = "Idle"
  1251. if attack == false then
  1252. change = 1
  1253. PlayAnimationFromTable({
  1254. 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),
  1255. 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),
  1256. 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)),
  1257. 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)),
  1258. 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),
  1259. 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),
  1260. }, .3, false)
  1261. 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)
  1262. end
  1263. elseif Torsovelocity > 2 and hit ~= nil then
  1264. Anim = "Walk"
  1265. if attack == false then
  1266. PlayAnimationFromTable({
  1267. 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),
  1268. 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),
  1269. 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),
  1270. 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),
  1271. 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),
  1272. 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),
  1273. }, .3, false)
  1274. 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)
  1275. end
  1276. end
  1277. if 0 < #Effects then
  1278. for e = 1, #Effects do
  1279. if Effects[e] ~= nil then
  1280. local Thing = Effects[e]
  1281. if Thing ~= nil then
  1282. local Part = Thing[1]
  1283. local Mode = Thing[2]
  1284. local Delay = Thing[3]
  1285. local IncX = Thing[4]
  1286. local IncY = Thing[5]
  1287. local IncZ = Thing[6]
  1288. if Thing[2] == "Shoot" then
  1289. local Look = Thing[1]
  1290. local move = 30
  1291. if Thing[8] == 3 then
  1292. move = 10
  1293. end
  1294. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1295. if Thing[10] ~= nil then
  1296. da = pos
  1297. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1298. cfa = CFrame.new(Thing[4], pos)
  1299. tehCF = cfa:lerp(cf2, 0.2)
  1300. Thing[1] = tehCF.lookVector
  1301. end
  1302. local mag = (Thing[4] - pos).magnitude
  1303. 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)
  1304. if Thing[8] == 2 then
  1305. 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)
  1306. end
  1307. Thing[4] = Thing[4] + Look * move
  1308. Thing[3] = Thing[3] - 1
  1309. if 2 < Thing[5] then
  1310. Thing[5] = Thing[5] - 0.3
  1311. Thing[6] = Thing[6] - 0.3
  1312. end
  1313. if hit ~= nil then
  1314. Thing[3] = 0
  1315. if Thing[8] == 1 or Thing[8] == 3 then
  1316. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1317. else
  1318. if Thing[8] == 2 then
  1319. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1320. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1321. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1322. ref.Anchored = true
  1323. ref.CFrame = CFrame.new(pos)
  1324. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1325. game:GetService("Debris"):AddItem(ref, 0.2)
  1326. 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)
  1327. 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)
  1328. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1329. end
  1330. end
  1331. end
  1332. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1333. ref.Anchored = true
  1334. ref.CFrame = CFrame.new(pos)
  1335. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1336. game:GetService("Debris"):AddItem(ref, 1)
  1337. end
  1338. if Thing[3] <= 0 then
  1339. table.remove(Effects, e)
  1340. end
  1341. end
  1342. do
  1343. do
  1344. if Thing[2] == "FireWave" then
  1345. if Thing[3] <= Thing[4] then
  1346. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1347. Thing[3] = Thing[3] + 1
  1348. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1349. else
  1350. Part.Parent = nil
  1351. table.remove(Effects, e)
  1352. end
  1353. end
  1354. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1355. if Thing[1].Transparency <= 1 then
  1356. if Thing[2] == "Block1" then
  1357. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1358. Mesh = Thing[7]
  1359. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1360. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1361. else
  1362. if Thing[2] == "Block2" then
  1363. Thing[1].CFrame = Thing[1].CFrame
  1364. Mesh = Thing[7]
  1365. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1366. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1367. else
  1368. if Thing[2] == "Fire" then
  1369. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1370. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1371. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1372. else
  1373. if Thing[2] == "Cylinder" then
  1374. Mesh = Thing[7]
  1375. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1376. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1377. else
  1378. if Thing[2] == "Blood" then
  1379. Mesh = Thing[7]
  1380. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1381. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1382. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1383. else
  1384. if Thing[2] == "Elec" then
  1385. Mesh = Thing[10]
  1386. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1387. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1388. else
  1389. if Thing[2] == "Disappear" then
  1390. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1391. else
  1392. if Thing[2] == "Shatter" then
  1393. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1394. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1395. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1396. Thing[6] = Thing[6] + Thing[5]
  1397. end
  1398. end
  1399. end
  1400. end
  1401. end
  1402. end
  1403. end
  1404. end
  1405. else
  1406. Part.Parent = nil
  1407. table.remove(Effects, e)
  1408. end
  1409. end
  1410. end
  1411. end
  1412. end
  1413. end
  1414. end
  1415. end
  1416. end
  1417. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement