DylanD2003

Untitled

Oct 18th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.85 KB | None | 0 0
  1. --this is not the best but it works
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Tool0 = Instance.new("Tool")
  19. Part1 = Instance.new("Part")
  20. SpecialMesh2 = Instance.new("SpecialMesh")
  21. Decal3 = Instance.new("Decal")
  22. Weld4 = Instance.new("Weld")
  23. Part5 = Instance.new("Part")
  24. SpecialMesh6 = Instance.new("SpecialMesh")
  25. Decal7 = Instance.new("Decal")
  26. Weld8 = Instance.new("Weld")
  27. Part9 = Instance.new("Part")
  28. SpecialMesh10 = Instance.new("SpecialMesh")
  29. Sound11 = Instance.new("Sound")
  30. Weld12 = Instance.new("Weld")
  31. Part13 = Instance.new("Part")
  32. SpecialMesh14 = Instance.new("SpecialMesh")
  33. Decal15 = Instance.new("Decal")
  34. Weld16 = Instance.new("Weld")
  35. Part17 = Instance.new("Part")
  36. SpecialMesh18 = Instance.new("SpecialMesh")
  37. Decal19 = Instance.new("Decal")
  38. Weld20 = Instance.new("Weld")
  39. Part21 = Instance.new("Part")
  40. SpecialMesh22 = Instance.new("SpecialMesh")
  41. Decal23 = Instance.new("Decal")
  42. Weld24 = Instance.new("Weld")
  43. Part25 = Instance.new("Part")
  44. SpecialMesh26 = Instance.new("SpecialMesh")
  45. Decal27 = Instance.new("Decal")
  46. Weld28 = Instance.new("Weld")
  47. Part29 = Instance.new("Part")
  48. SpecialMesh30 = Instance.new("SpecialMesh")
  49. Decal31 = Instance.new("Decal")
  50. Weld32 = Instance.new("Weld")
  51. Part33 = Instance.new("Part")
  52. SpecialMesh34 = Instance.new("SpecialMesh")
  53. Decal35 = Instance.new("Decal")
  54. Weld36 = Instance.new("Weld")
  55. Part37 = Instance.new("Part")
  56. SpecialMesh38 = Instance.new("SpecialMesh")
  57. Decal39 = Instance.new("Decal")
  58. Weld40 = Instance.new("Weld")
  59. Part41 = Instance.new("Part")
  60. SpecialMesh42 = Instance.new("SpecialMesh")
  61. Decal43 = Instance.new("Decal")
  62. Weld44 = Instance.new("Weld")
  63. Part45 = Instance.new("Part")
  64. SpecialMesh46 = Instance.new("SpecialMesh")
  65. Decal47 = Instance.new("Decal")
  66. Weld48 = Instance.new("Weld")
  67. Part49 = Instance.new("Part")
  68. SpecialMesh50 = Instance.new("SpecialMesh")
  69. Decal51 = Instance.new("Decal")
  70. Weld52 = Instance.new("Weld")
  71. Part53 = Instance.new("Part")
  72. SpecialMesh54 = Instance.new("SpecialMesh")
  73. Decal55 = Instance.new("Decal")
  74. LocalScript56 = Instance.new("LocalScript")
  75. LocalScript57 = Instance.new("LocalScript")
  76. Animation58 = Instance.new("Animation")
  77. Tool0.Name = "baseball bat"
  78. Tool0.Parent = mas
  79. Tool0.GripForward = Vector3.new(-0, 0.999622107, -0.0274896082)
  80. Tool0.GripPos = Vector3.new(0, -0.0500000007, -1.60000002)
  81. Tool0.GripUp = Vector3.new(0, 0.0274896082, 0.999622107)
  82. Part1.Name = "Barbed Wire"
  83. Part1.Parent = Tool0
  84. Part1.Rotation = Vector3.new(-45, -3.11999989, -179.5)
  85. Part1.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  86. Part1.FormFactor = Enum.FormFactor.Custom
  87. Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  88. Part1.CFrame = CFrame.new(-4.86351252, 2.64766264, -1.91026926, -0.998482704, 0.0087938197, -0.0543621182, -0.0446656942, -0.706741035, 0.706061065, -0.0322109461, 0.707417786, 0.706061482)
  89. Part1.BottomSurface = Enum.SurfaceType.Smooth
  90. Part1.TopSurface = Enum.SurfaceType.Smooth
  91. Part1.Position = Vector3.new(-4.86351252, 2.64766264, -1.91026926)
  92. Part1.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
  93. SpecialMesh2.Parent = Part1
  94. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  95. SpecialMesh2.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  96. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  97. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  98. SpecialMesh2.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  99. Decal3.Parent = Part1
  100. Decal3.Texture = "http://www.roblox.com/asset/?id=39468059"
  101. Decal3.Face = Enum.NormalId.Top
  102. Weld4.Name = "Barbed Wire_Weld"
  103. Weld4.Parent = Part1
  104. Weld4.C0 = CFrame.new(-3.69001698, 7.53999853, -0.125293478, 1, 1.57226239e-07, -1.1920929e-07, -1.19209247e-07, -2.55280071e-07, -1, -1.57226268e-07, 1, -2.55280042e-07)
  105. Weld4.C1 = CFrame.new(3.1606338, -7.69000006, -1.90565777, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
  106. Weld4.Part0 = Part1
  107. Weld4.Part1 = Part5
  108. Part5.Name = "Barbed Wire"
  109. Part5.Parent = Tool0
  110. Part5.Rotation = Vector3.new(-44.7000008, -33.1100006, 0.600000024)
  111. Part5.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  112. Part5.FormFactor = Enum.FormFactor.Custom
  113. Part5.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  114. Part5.CFrame = CFrame.new(-4.86182737, 2.71465468, -2.05540395, 0.837530196, -0.00879368652, -0.546320438, 0.391712248, 0.706740856, 0.589134037, 0.380926281, -0.707417965, 0.595361352)
  115. Part5.BottomSurface = Enum.SurfaceType.Smooth
  116. Part5.TopSurface = Enum.SurfaceType.Smooth
  117. Part5.Position = Vector3.new(-4.86182737, 2.71465468, -2.05540395)
  118. Part5.Orientation = Vector3.new(-36.0999985, -42.5400009, 29)
  119. SpecialMesh6.Parent = Part5
  120. SpecialMesh6.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  121. SpecialMesh6.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  122. SpecialMesh6.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  123. SpecialMesh6.MeshType = Enum.MeshType.FileMesh
  124. SpecialMesh6.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  125. Decal7.Parent = Part5
  126. Decal7.Texture = "http://www.roblox.com/asset/?id=39468059"
  127. Decal7.Face = Enum.NormalId.Top
  128. Weld8.Name = "Handle_Weld"
  129. Weld8.Parent = Part5
  130. Weld8.C0 = CFrame.new(3.1606338, -7.69000006, -1.90565777, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
  131. Weld8.C1 = CFrame.new(-0.115854159, 3.70001769, -5.9099884, 5.96046448e-08, 0.99999994, 2.156037e-17, -0.99999994, 5.96046448e-08, 1.0753348e-23, 1.0753348e-23, -2.156037e-17, 1)
  132. Weld8.Part0 = Part5
  133. Weld8.Part1 = Part9
  134. Part9.Name = "Handle"
  135. Part9.Parent = Tool0
  136. Part9.BrickColor = BrickColor.new("Dark stone grey")
  137. Part9.Reflectance = 0.40000000596046
  138. Part9.Rotation = Vector3.new(-135.029999, -0.5, -93.1200027)
  139. Part9.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  140. Part9.CanCollide = false
  141. Part9.FormFactor = Enum.FormFactor.Custom
  142. Part9.Size = Vector3.new(0.200000003, 0.200000003, 4)
  143. Part9.CFrame = CFrame.new(-4.85865021, 1.48855495, -0.764159977, -0.0543623455, 0.998482585, -0.00879368652, 0.706061184, 0.0446657762, 0.706740856, 0.706061184, 0.0322112106, -0.707417965)
  144. Part9.BottomSurface = Enum.SurfaceType.Smooth
  145. Part9.TopSurface = Enum.SurfaceType.Smooth
  146. Part9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  147. Part9.Position = Vector3.new(-4.85865021, 1.48855495, -0.764159977)
  148. Part9.Orientation = Vector3.new(-44.9700012, -179.289993, 86.3799973)
  149. Part9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  150. SpecialMesh10.Parent = Part9
  151. SpecialMesh10.MeshId = "http://www.roblox.com/asset/?id=54983181 "
  152. SpecialMesh10.Scale = Vector3.new(2.5, 2.5, 2)
  153. SpecialMesh10.TextureId = "http://www.roblox.com/asset/?id=54983107"
  154. SpecialMesh10.MeshType = Enum.MeshType.FileMesh
  155. SpecialMesh10.Scale = Vector3.new(2.5, 2.5, 2)
  156. Sound11.Parent = Part9
  157. Sound11.Pitch = 0
  158. Sound11.SoundId = "http://www.roblox.com/asset/?id=433308001"
  159. Sound11.Volume = 3
  160. Weld12.Name = "Barbed Wire_Weld"
  161. Weld12.Parent = Part9
  162. Weld12.C0 = CFrame.new(-0.115854159, 3.70001769, -5.9099884, 5.96046448e-08, 0.99999994, 2.156037e-17, -0.99999994, 5.96046448e-08, 1.0753348e-23, 1.0753348e-23, -2.156037e-17, 1)
  163. Weld12.C1 = CFrame.new(3.69001794, -8.17000294, -0.0793589354, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  164. Weld12.Part0 = Part9
  165. Weld12.Part1 = Part13
  166. Part13.Name = "Barbed Wire"
  167. Part13.Parent = Tool0
  168. Part13.Rotation = Vector3.new(-45, -3.11999989, 0.5)
  169. Part13.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  170. Part13.FormFactor = Enum.FormFactor.Custom
  171. Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  172. Part13.CFrame = CFrame.new(-4.86655521, 3.06047869, -2.38838053, 0.998482525, -0.00879368652, -0.0543622822, 0.0446657315, 0.706740856, 0.706061125, 0.0322111659, -0.707417965, 0.706061125)
  173. Part13.BottomSurface = Enum.SurfaceType.Smooth
  174. Part13.TopSurface = Enum.SurfaceType.Smooth
  175. Part13.Position = Vector3.new(-4.86655521, 3.06047869, -2.38838053)
  176. Part13.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
  177. SpecialMesh14.Parent = Part13
  178. SpecialMesh14.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  179. SpecialMesh14.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  180. SpecialMesh14.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  181. SpecialMesh14.MeshType = Enum.MeshType.FileMesh
  182. SpecialMesh14.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  183. Decal15.Parent = Part13
  184. Decal15.Texture = "http://www.roblox.com/asset/?id=39468059"
  185. Decal15.Face = Enum.NormalId.Top
  186. Weld16.Name = "Barbed Wire_Weld"
  187. Weld16.Parent = Part13
  188. Weld16.C0 = CFrame.new(3.69001794, -8.17000294, -0.0793589354, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  189. Weld16.C1 = CFrame.new(-3.69001794, 7.80000019, -0.0693897083, 1, -1.23031526e-07, 5.92093235e-16, -1.09487682e-14, -9.3804104e-08, -1, 1.23031526e-07, 1, -9.3804104e-08)
  190. Weld16.Part0 = Part13
  191. Weld16.Part1 = Part17
  192. Part17.Name = "Barbed Wire"
  193. Part17.Parent = Tool0
  194. Part17.Rotation = Vector3.new(-45, -3.11999989, -179.5)
  195. Part17.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  196. Part17.FormFactor = Enum.FormFactor.Custom
  197. Part17.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  198. Part17.CFrame = CFrame.new(-4.86275959, 2.79194403, -2.13367271, -0.998482525, 0.00879369117, -0.0543624051, -0.0446658172, -0.706740916, 0.706061065, -0.0322112516, 0.707417905, 0.706061184)
  199. Part17.BottomSurface = Enum.SurfaceType.Smooth
  200. Part17.TopSurface = Enum.SurfaceType.Smooth
  201. Part17.Position = Vector3.new(-4.86275959, 2.79194403, -2.13367271)
  202. Part17.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
  203. SpecialMesh18.Parent = Part17
  204. SpecialMesh18.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  205. SpecialMesh18.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  206. SpecialMesh18.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  207. SpecialMesh18.MeshType = Enum.MeshType.FileMesh
  208. SpecialMesh18.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  209. Decal19.Parent = Part17
  210. Decal19.Texture = "http://www.roblox.com/asset/?id=39468059"
  211. Decal19.Face = Enum.NormalId.Top
  212. Weld20.Name = "Barbed Wire_Weld"
  213. Weld20.Parent = Part17
  214. Weld20.C0 = CFrame.new(-3.69001794, 7.80000019, -0.0693897083, 1, -1.23031526e-07, 5.92093235e-16, -1.09487682e-14, -9.3804104e-08, -1, 1.23031526e-07, 1, -9.3804104e-08)
  215. Weld20.C1 = CFrame.new(3.69001794, -7.04000187, -0.0500130057, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  216. Weld20.Part0 = Part17
  217. Weld20.Part1 = Part21
  218. Part21.Name = "Barbed Wire"
  219. Part21.Parent = Tool0
  220. Part21.Rotation = Vector3.new(-45, -3.11999989, 0.5)
  221. Part21.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  222. Part21.FormFactor = Enum.FormFactor.Custom
  223. Part21.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  224. Part21.CFrame = CFrame.new(-4.85502291, 2.24114084, -1.60971761, 0.998482525, -0.00879368652, -0.0543622822, 0.0446657315, 0.706740856, 0.706061125, 0.0322111659, -0.707417965, 0.706061125)
  225. Part21.BottomSurface = Enum.SurfaceType.Smooth
  226. Part21.TopSurface = Enum.SurfaceType.Smooth
  227. Part21.Position = Vector3.new(-4.85502291, 2.24114084, -1.60971761)
  228. Part21.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
  229. SpecialMesh22.Parent = Part21
  230. SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  231. SpecialMesh22.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  232. SpecialMesh22.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  233. SpecialMesh22.MeshType = Enum.MeshType.FileMesh
  234. SpecialMesh22.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  235. Decal23.Parent = Part21
  236. Decal23.Texture = "http://www.roblox.com/asset/?id=39468059"
  237. Decal23.Face = Enum.NormalId.Top
  238. Weld24.Name = "Barbed Wire_Weld"
  239. Weld24.Parent = Part21
  240. Weld24.C0 = CFrame.new(3.69001794, -7.04000187, -0.0500130057, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  241. Weld24.C1 = CFrame.new(3.69001794, -7.48999643, -0.0540399998, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  242. Weld24.Part0 = Part21
  243. Weld24.Part1 = Part25
  244. Part25.Name = "Barbed Wire"
  245. Part25.Parent = Tool0
  246. Part25.Rotation = Vector3.new(-45, -3.11999989, 0.5)
  247. Part25.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  248. Part25.FormFactor = Enum.FormFactor.Custom
  249. Part25.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  250. Part25.CFrame = CFrame.new(-4.85919905, 2.56201363, -1.92520857, 0.998482525, -0.00879368652, -0.0543622822, 0.0446657315, 0.706740856, 0.706061125, 0.0322111659, -0.707417965, 0.706061125)
  251. Part25.BottomSurface = Enum.SurfaceType.Smooth
  252. Part25.TopSurface = Enum.SurfaceType.Smooth
  253. Part25.Position = Vector3.new(-4.85919905, 2.56201363, -1.92520857)
  254. Part25.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
  255. SpecialMesh26.Parent = Part25
  256. SpecialMesh26.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  257. SpecialMesh26.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  258. SpecialMesh26.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  259. SpecialMesh26.MeshType = Enum.MeshType.FileMesh
  260. SpecialMesh26.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  261. Decal27.Parent = Part25
  262. Decal27.Texture = "http://www.roblox.com/asset/?id=39468059"
  263. Decal27.Face = Enum.NormalId.Top
  264. Weld28.Name = "Barbed Wire_Weld"
  265. Weld28.Parent = Part25
  266. Weld28.C0 = CFrame.new(3.69001794, -7.48999643, -0.0540399998, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  267. Weld28.C1 = CFrame.new(3.69001818, -7.93999863, -0.0600000098, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  268. Weld28.Part0 = Part25
  269. Weld28.Part1 = Part29
  270. Part29.Name = "Barbed Wire"
  271. Part29.Parent = Tool0
  272. Part29.Rotation = Vector3.new(-45, -3.11999989, 0.5)
  273. Part29.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  274. Part29.FormFactor = Enum.FormFactor.Custom
  275. Part29.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  276. Part29.CFrame = CFrame.new(-4.86348057, 2.8842566, -2.23934007, 0.998482525, -0.00879368652, -0.0543622822, 0.0446657315, 0.706740856, 0.706061125, 0.0322111659, -0.707417965, 0.706061125)
  277. Part29.BottomSurface = Enum.SurfaceType.Smooth
  278. Part29.TopSurface = Enum.SurfaceType.Smooth
  279. Part29.Position = Vector3.new(-4.86348057, 2.8842566, -2.23934007)
  280. Part29.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
  281. SpecialMesh30.Parent = Part29
  282. SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  283. SpecialMesh30.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  284. SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  285. SpecialMesh30.MeshType = Enum.MeshType.FileMesh
  286. SpecialMesh30.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  287. Decal31.Parent = Part29
  288. Decal31.Texture = "http://www.roblox.com/asset/?id=39468059"
  289. Decal31.Face = Enum.NormalId.Top
  290. Weld32.Name = "Barbed Wire_Weld"
  291. Weld32.Parent = Part29
  292. Weld32.C0 = CFrame.new(3.69001818, -7.93999863, -0.0600000098, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  293. Weld32.C1 = CFrame.new(-3.69001698, 7.08999586, -0.119333521, 1, 1.57226239e-07, -1.1920929e-07, -1.19209247e-07, -2.55280071e-07, -1, -1.57226268e-07, 1, -2.55280042e-07)
  294. Weld32.Part0 = Part29
  295. Weld32.Part1 = Part33
  296. Part33.Name = "Barbed Wire"
  297. Part33.Parent = Tool0
  298. Part33.Rotation = Vector3.new(-45, -3.11999989, -179.5)
  299. Part33.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  300. Part33.FormFactor = Enum.FormFactor.Custom
  301. Part33.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  302. Part33.CFrame = CFrame.new(-4.85923147, 2.32541943, -1.59613776, -0.998482525, 0.0087938197, -0.054362122, -0.0446657054, -0.706741035, 0.706060946, -0.0322109684, 0.707417786, 0.706061304)
  303. Part33.BottomSurface = Enum.SurfaceType.Smooth
  304. Part33.TopSurface = Enum.SurfaceType.Smooth
  305. Part33.Position = Vector3.new(-4.85923147, 2.32541943, -1.59613776)
  306. Part33.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
  307. SpecialMesh34.Parent = Part33
  308. SpecialMesh34.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  309. SpecialMesh34.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  310. SpecialMesh34.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  311. SpecialMesh34.MeshType = Enum.MeshType.FileMesh
  312. SpecialMesh34.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  313. Decal35.Parent = Part33
  314. Decal35.Texture = "http://www.roblox.com/asset/?id=39468059"
  315. Decal35.Face = Enum.NormalId.Top
  316. Weld36.Name = "Barbed Wire_Weld"
  317. Weld36.Parent = Part33
  318. Weld36.C0 = CFrame.new(-3.69001698, 7.08999586, -0.119333521, 1, 1.57226239e-07, -1.1920929e-07, -1.19209247e-07, -2.55280071e-07, -1, -1.57226268e-07, 1, -2.55280042e-07)
  319. Weld36.C1 = CFrame.new(3.1636138, -7.23999739, -1.90049624, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
  320. Weld36.Part0 = Part33
  321. Weld36.Part1 = Part37
  322. Part37.Name = "Barbed Wire"
  323. Part37.Parent = Tool0
  324. Part37.Rotation = Vector3.new(-44.7000008, -33.1100006, 0.600000024)
  325. Part37.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  326. Part37.FormFactor = Enum.FormFactor.Custom
  327. Part37.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  328. Part37.CFrame = CFrame.new(-4.85754633, 2.39241147, -1.74127233, 0.837530136, -0.00879368652, -0.546320438, 0.391712248, 0.706740856, 0.589134037, 0.380926281, -0.707417965, 0.595361292)
  329. Part37.BottomSurface = Enum.SurfaceType.Smooth
  330. Part37.TopSurface = Enum.SurfaceType.Smooth
  331. Part37.Position = Vector3.new(-4.85754633, 2.39241147, -1.74127233)
  332. Part37.Orientation = Vector3.new(-36.0999985, -42.5400009, 29)
  333. SpecialMesh38.Parent = Part37
  334. SpecialMesh38.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  335. SpecialMesh38.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  336. SpecialMesh38.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  337. SpecialMesh38.MeshType = Enum.MeshType.FileMesh
  338. SpecialMesh38.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  339. Decal39.Parent = Part37
  340. Decal39.Texture = "http://www.roblox.com/asset/?id=39468059"
  341. Decal39.Face = Enum.NormalId.Top
  342. Weld40.Name = "Barbed Wire_Weld"
  343. Weld40.Parent = Part37
  344. Weld40.C0 = CFrame.new(3.1636138, -7.23999739, -1.90049624, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
  345. Weld40.C1 = CFrame.new(-3.69001722, 6.50999546, -0.125839785, 1, 1.57226239e-07, -1.1920929e-07, -1.19209247e-07, -2.55280071e-07, -1, -1.57226268e-07, 1, -2.55280042e-07)
  346. Weld40.Part0 = Part37
  347. Weld40.Part1 = Part41
  348. Part41.Name = "Barbed Wire"
  349. Part41.Parent = Tool0
  350. Part41.Rotation = Vector3.new(-45, -3.11999989, -179.5)
  351. Part41.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  352. Part41.FormFactor = Enum.FormFactor.Custom
  353. Part41.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  354. Part41.CFrame = CFrame.new(-4.85448503, 1.92010307, -1.18124139, -0.998482704, 0.0087938197, -0.054362148, -0.0446656942, -0.706741035, 0.706061065, -0.0322109759, 0.707417786, 0.706061363)
  355. Part41.BottomSurface = Enum.SurfaceType.Smooth
  356. Part41.TopSurface = Enum.SurfaceType.Smooth
  357. Part41.Position = Vector3.new(-4.85448503, 1.92010307, -1.18124139)
  358. Part41.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
  359. SpecialMesh42.Parent = Part41
  360. SpecialMesh42.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  361. SpecialMesh42.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  362. SpecialMesh42.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  363. SpecialMesh42.MeshType = Enum.MeshType.FileMesh
  364. SpecialMesh42.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  365. Decal43.Parent = Part41
  366. Decal43.Texture = "http://www.roblox.com/asset/?id=39468059"
  367. Decal43.Face = Enum.NormalId.Top
  368. Weld44.Name = "Barbed Wire_Weld"
  369. Weld44.Parent = Part41
  370. Weld44.C0 = CFrame.new(-3.69001722, 6.50999546, -0.125839785, 1, 1.57226239e-07, -1.1920929e-07, -1.19209247e-07, -2.55280071e-07, -1, -1.57226268e-07, 1, -2.55280042e-07)
  371. Weld44.C1 = CFrame.new(3.69001794, -6.90999603, -0.0605460033, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  372. Weld44.Part0 = Part41
  373. Weld44.Part1 = Part45
  374. Part45.Name = "Barbed Wire"
  375. Part45.Parent = Tool0
  376. Part45.Rotation = Vector3.new(-45, -3.11999989, 0.5)
  377. Part45.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  378. Part45.FormFactor = Enum.FormFactor.Custom
  379. Part45.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  380. Part45.CFrame = CFrame.new(-4.85445309, 2.15669727, -1.51031232, 0.998482704, -0.00879368652, -0.0543623082, 0.0446657203, 0.706740856, 0.706061244, 0.0322111733, -0.707417965, 0.706061184)
  381. Part45.BottomSurface = Enum.SurfaceType.Smooth
  382. Part45.TopSurface = Enum.SurfaceType.Smooth
  383. Part45.Position = Vector3.new(-4.85445309, 2.15669727, -1.51031232)
  384. Part45.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
  385. SpecialMesh46.Parent = Part45
  386. SpecialMesh46.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  387. SpecialMesh46.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  388. SpecialMesh46.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  389. SpecialMesh46.MeshType = Enum.MeshType.FileMesh
  390. SpecialMesh46.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  391. Decal47.Parent = Part45
  392. Decal47.Texture = "http://www.roblox.com/asset/?id=39468059"
  393. Decal47.Face = Enum.NormalId.Top
  394. Weld48.Name = "Barbed Wire_Weld"
  395. Weld48.Parent = Part45
  396. Weld48.C0 = CFrame.new(3.69001794, -6.90999603, -0.0605460033, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  397. Weld48.C1 = CFrame.new(3.69001794, -6.45999336, -0.0545869917, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  398. Weld48.Part0 = Part45
  399. Weld48.Part1 = Part49
  400. Part49.Name = "Barbed Wire"
  401. Part49.Parent = Tool0
  402. Part49.Rotation = Vector3.new(-45, -3.11999989, 0.5)
  403. Part49.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  404. Part49.FormFactor = Enum.FormFactor.Custom
  405. Part49.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  406. Part49.CFrame = CFrame.new(-4.85017204, 1.83445454, -1.19617975, 0.998482704, -0.00879368652, -0.0543623082, 0.0446657203, 0.706740856, 0.706061244, 0.0322111733, -0.707417965, 0.706061184)
  407. Part49.BottomSurface = Enum.SurfaceType.Smooth
  408. Part49.TopSurface = Enum.SurfaceType.Smooth
  409. Part49.Position = Vector3.new(-4.85017204, 1.83445454, -1.19617975)
  410. Part49.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
  411. SpecialMesh50.Parent = Part49
  412. SpecialMesh50.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  413. SpecialMesh50.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  414. SpecialMesh50.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  415. SpecialMesh50.MeshType = Enum.MeshType.FileMesh
  416. SpecialMesh50.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  417. Decal51.Parent = Part49
  418. Decal51.Texture = "http://www.roblox.com/asset/?id=39468059"
  419. Decal51.Face = Enum.NormalId.Top
  420. Weld52.Name = "Barbed Wire_Weld"
  421. Weld52.Parent = Part49
  422. Weld52.C0 = CFrame.new(3.69001794, -6.45999336, -0.0545869917, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  423. Weld52.C1 = CFrame.new(3.16036034, -6.65999699, -1.90613151, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
  424. Weld52.Part0 = Part49
  425. Weld52.Part1 = Part53
  426. Part53.Name = "Barbed Wire"
  427. Part53.Parent = Tool0
  428. Part53.Rotation = Vector3.new(-44.7000008, -33.1100006, 0.600000024)
  429. Part53.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
  430. Part53.FormFactor = Enum.FormFactor.Custom
  431. Part53.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
  432. Part53.CFrame = CFrame.new(-4.85280037, 1.98709583, -1.32637525, 0.837530255, -0.00879368652, -0.546320558, 0.391712308, 0.706740856, 0.589134157, 0.380926311, -0.707417965, 0.595361352)
  433. Part53.BottomSurface = Enum.SurfaceType.Smooth
  434. Part53.TopSurface = Enum.SurfaceType.Smooth
  435. Part53.Position = Vector3.new(-4.85280037, 1.98709583, -1.32637525)
  436. Part53.Orientation = Vector3.new(-36.0999985, -42.5400009, 29)
  437. SpecialMesh54.Parent = Part53
  438. SpecialMesh54.MeshId = "http://www.roblox.com/asset/?id=190765674 "
  439. SpecialMesh54.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  440. SpecialMesh54.TextureId = "http://www.roblox.com/asset/?id=190729868 "
  441. SpecialMesh54.MeshType = Enum.MeshType.FileMesh
  442. SpecialMesh54.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
  443. Decal55.Parent = Part53
  444. Decal55.Texture = "http://www.roblox.com/asset/?id=39468059"
  445. Decal55.Face = Enum.NormalId.Top
  446. LocalScript56.Name = "SwordScript"
  447. LocalScript56.Parent = Tool0
  448. table.insert(cors,sandbox(LocalScript56,function()
  449. -------- OMG HAX
  450.  
  451. r = game:service("RunService")
  452.  
  453.  
  454. local damage = 34
  455.  
  456.  
  457. local slash_damage = 56
  458.  
  459.  
  460. sword = script.Parent.Handle
  461. Tool = script.Parent
  462.  
  463.  
  464. local SlashSound = Instance.new("Sound")
  465. SlashSound.SoundId = "http://www.roblox.com/asset/?id=433308001"
  466. SlashSound.Parent = sword
  467. SlashSound.Volume = 3
  468.  
  469. local secondSlashSound = Instance.new("Sound")
  470. secondSlashSound.SoundId = "http://www.roblox.com/asset/?id=433308001"
  471. secondSlashSound.Parent = sword
  472. secondSlashSound.Volume = 3
  473.  
  474. local debounce = false
  475. function blow(hit)
  476. local humanoid = hit.Parent:findFirstChild("Humanoid")
  477. local vCharacter = Tool.Parent
  478. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  479. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  480. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  481. -- final check, make sure sword is in-hand
  482. if debounce == false then
  483. debounce = true
  484. local right_arm = vCharacter:FindFirstChild("Right Arm")
  485. if (right_arm ~= nil) then
  486. local joint = right_arm:FindFirstChild("RightGrip")
  487. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  488. tagHumanoid(humanoid, vPlayer)
  489. zomghit = 4
  490. humanoid:TakeDamage(zomghit)
  491. untagHumanoid(humanoid)
  492. end
  493. debounce = false
  494. end
  495. end
  496.  
  497.  
  498. end
  499. end
  500.  
  501.  
  502. function tagHumanoid(humanoid, player)
  503. local creator_tag = Instance.new("ObjectValue")
  504. creator_tag.Value = player
  505. creator_tag.Name = "creator"
  506. creator_tag.Parent = humanoid
  507. end
  508.  
  509. function untagHumanoid(humanoid)
  510. if humanoid ~= nil then
  511. local tag = humanoid:findFirstChild("creator")
  512. if tag ~= nil then
  513. tag.Parent = nil
  514. end
  515. end
  516. end
  517.  
  518.  
  519. function attack()
  520. damage = slash_damage
  521. SlashSound:play()
  522. local vCharacter = Tool.Parent
  523. local hum = vCharacter:findFirstChild("Humanoid")
  524. blah = hum:LoadAnimation(script.Parent.Slash)
  525. blah:Play()
  526. hum.WalkSpeed = 0
  527. wait(.8)
  528. secondSlashSound:play()
  529. wait(.8)
  530. hum.WalkSpeed = 18
  531. end
  532.  
  533. Tool.Enabled = true
  534.  
  535. function onActivated()
  536.  
  537. if not Tool.Enabled then
  538. return
  539. end
  540.  
  541. Tool.Enabled = false
  542.  
  543. local character = Tool.Parent;
  544. local humanoid = character.Humanoid
  545. if humanoid == nil then
  546. print("Humanoid not found")
  547. return
  548. end
  549.  
  550. attack()
  551.  
  552. wait(.5)
  553.  
  554. Tool.Enabled = true
  555. end
  556.  
  557.  
  558. function onEquipped()
  559. if Tool.Handle.UnsheathSound.isPlaying == false then
  560. Tool.Handle.UnsheathSound:play()
  561. end
  562. end
  563.  
  564. function onUnequipped()
  565.  
  566. Tool.Handle.UnsheathSound:stop()
  567.  
  568. end
  569.  
  570. script.Parent.Activated:connect(onActivated)
  571. script.Parent.Equipped:connect(onEquipped)
  572. script.Parent.Unequipped:connect(onUnequipped)
  573.  
  574. connection = sword.Touched:connect(blow)
  575.  
  576.  
  577.  
  578. end))
  579. LocalScript57.Name = "Local Gui"
  580. LocalScript57.Parent = Tool0
  581. Animation58.Name = "Slash"
  582. Animation58.Parent = Tool0
  583. Animation58.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
  584. for i,v in pairs(mas:GetChildren()) do
  585. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  586. pcall(function() v:MakeJoints() end)
  587. end
  588. mas:Destroy()
  589. for i,v in pairs(cors) do
  590. spawn(function()
  591. pcall(v)
  592. end)
  593. end
Add Comment
Please, Sign In to add comment