Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --this is not the best but it works
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Decal3 = Instance.new("Decal")
- Weld4 = Instance.new("Weld")
- Part5 = Instance.new("Part")
- SpecialMesh6 = Instance.new("SpecialMesh")
- Decal7 = Instance.new("Decal")
- Weld8 = Instance.new("Weld")
- Part9 = Instance.new("Part")
- SpecialMesh10 = Instance.new("SpecialMesh")
- Sound11 = Instance.new("Sound")
- Weld12 = Instance.new("Weld")
- Part13 = Instance.new("Part")
- SpecialMesh14 = Instance.new("SpecialMesh")
- Decal15 = Instance.new("Decal")
- Weld16 = Instance.new("Weld")
- Part17 = Instance.new("Part")
- SpecialMesh18 = Instance.new("SpecialMesh")
- Decal19 = Instance.new("Decal")
- Weld20 = Instance.new("Weld")
- Part21 = Instance.new("Part")
- SpecialMesh22 = Instance.new("SpecialMesh")
- Decal23 = Instance.new("Decal")
- Weld24 = Instance.new("Weld")
- Part25 = Instance.new("Part")
- SpecialMesh26 = Instance.new("SpecialMesh")
- Decal27 = Instance.new("Decal")
- Weld28 = Instance.new("Weld")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Decal31 = Instance.new("Decal")
- Weld32 = Instance.new("Weld")
- Part33 = Instance.new("Part")
- SpecialMesh34 = Instance.new("SpecialMesh")
- Decal35 = Instance.new("Decal")
- Weld36 = Instance.new("Weld")
- Part37 = Instance.new("Part")
- SpecialMesh38 = Instance.new("SpecialMesh")
- Decal39 = Instance.new("Decal")
- Weld40 = Instance.new("Weld")
- Part41 = Instance.new("Part")
- SpecialMesh42 = Instance.new("SpecialMesh")
- Decal43 = Instance.new("Decal")
- Weld44 = Instance.new("Weld")
- Part45 = Instance.new("Part")
- SpecialMesh46 = Instance.new("SpecialMesh")
- Decal47 = Instance.new("Decal")
- Weld48 = Instance.new("Weld")
- Part49 = Instance.new("Part")
- SpecialMesh50 = Instance.new("SpecialMesh")
- Decal51 = Instance.new("Decal")
- Weld52 = Instance.new("Weld")
- Part53 = Instance.new("Part")
- SpecialMesh54 = Instance.new("SpecialMesh")
- Decal55 = Instance.new("Decal")
- LocalScript56 = Instance.new("LocalScript")
- LocalScript57 = Instance.new("LocalScript")
- Animation58 = Instance.new("Animation")
- Tool0.Name = "baseball bat"
- Tool0.Parent = mas
- Tool0.GripForward = Vector3.new(-0, 0.999622107, -0.0274896082)
- Tool0.GripPos = Vector3.new(0, -0.0500000007, -1.60000002)
- Tool0.GripUp = Vector3.new(0, 0.0274896082, 0.999622107)
- Part1.Name = "Barbed Wire"
- Part1.Parent = Tool0
- Part1.Rotation = Vector3.new(-45, -3.11999989, -179.5)
- Part1.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Position = Vector3.new(-4.86351252, 2.64766264, -1.91026926)
- Part1.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh2.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- SpecialMesh2.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal3.Parent = Part1
- Decal3.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal3.Face = Enum.NormalId.Top
- Weld4.Name = "Barbed Wire_Weld"
- Weld4.Parent = Part1
- 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)
- Weld4.C1 = CFrame.new(3.1606338, -7.69000006, -1.90565777, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
- Weld4.Part0 = Part1
- Weld4.Part1 = Part5
- Part5.Name = "Barbed Wire"
- Part5.Parent = Tool0
- Part5.Rotation = Vector3.new(-44.7000008, -33.1100006, 0.600000024)
- Part5.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Position = Vector3.new(-4.86182737, 2.71465468, -2.05540395)
- Part5.Orientation = Vector3.new(-36.0999985, -42.5400009, 29)
- SpecialMesh6.Parent = Part5
- SpecialMesh6.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh6.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh6.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh6.MeshType = Enum.MeshType.FileMesh
- SpecialMesh6.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal7.Parent = Part5
- Decal7.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal7.Face = Enum.NormalId.Top
- Weld8.Name = "Handle_Weld"
- Weld8.Parent = Part5
- Weld8.C0 = CFrame.new(3.1606338, -7.69000006, -1.90565777, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
- 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)
- Weld8.Part0 = Part5
- Weld8.Part1 = Part9
- Part9.Name = "Handle"
- Part9.Parent = Tool0
- Part9.BrickColor = BrickColor.new("Dark stone grey")
- Part9.Reflectance = 0.40000000596046
- Part9.Rotation = Vector3.new(-135.029999, -0.5, -93.1200027)
- Part9.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part9.CanCollide = false
- Part9.FormFactor = Enum.FormFactor.Custom
- Part9.Size = Vector3.new(0.200000003, 0.200000003, 4)
- 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)
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part9.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part9.Position = Vector3.new(-4.85865021, 1.48855495, -0.764159977)
- Part9.Orientation = Vector3.new(-44.9700012, -179.289993, 86.3799973)
- Part9.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh10.Parent = Part9
- SpecialMesh10.MeshId = "http://www.roblox.com/asset/?id=54983181 "
- SpecialMesh10.Scale = Vector3.new(2.5, 2.5, 2)
- SpecialMesh10.TextureId = "http://www.roblox.com/asset/?id=54983107"
- SpecialMesh10.MeshType = Enum.MeshType.FileMesh
- SpecialMesh10.Scale = Vector3.new(2.5, 2.5, 2)
- Sound11.Parent = Part9
- Sound11.Pitch = 0
- Sound11.SoundId = "http://www.roblox.com/asset/?id=433308001"
- Sound11.Volume = 3
- Weld12.Name = "Barbed Wire_Weld"
- Weld12.Parent = Part9
- 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)
- Weld12.C1 = CFrame.new(3.69001794, -8.17000294, -0.0793589354, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld12.Part0 = Part9
- Weld12.Part1 = Part13
- Part13.Name = "Barbed Wire"
- Part13.Parent = Tool0
- Part13.Rotation = Vector3.new(-45, -3.11999989, 0.5)
- Part13.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part13.FormFactor = Enum.FormFactor.Custom
- Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.Position = Vector3.new(-4.86655521, 3.06047869, -2.38838053)
- Part13.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
- SpecialMesh14.Parent = Part13
- SpecialMesh14.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh14.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh14.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh14.MeshType = Enum.MeshType.FileMesh
- SpecialMesh14.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal15.Parent = Part13
- Decal15.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal15.Face = Enum.NormalId.Top
- Weld16.Name = "Barbed Wire_Weld"
- Weld16.Parent = Part13
- Weld16.C0 = CFrame.new(3.69001794, -8.17000294, -0.0793589354, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- 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)
- Weld16.Part0 = Part13
- Weld16.Part1 = Part17
- Part17.Name = "Barbed Wire"
- Part17.Parent = Tool0
- Part17.Rotation = Vector3.new(-45, -3.11999989, -179.5)
- Part17.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part17.FormFactor = Enum.FormFactor.Custom
- Part17.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Position = Vector3.new(-4.86275959, 2.79194403, -2.13367271)
- Part17.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
- SpecialMesh18.Parent = Part17
- SpecialMesh18.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh18.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh18.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh18.MeshType = Enum.MeshType.FileMesh
- SpecialMesh18.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal19.Parent = Part17
- Decal19.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal19.Face = Enum.NormalId.Top
- Weld20.Name = "Barbed Wire_Weld"
- Weld20.Parent = Part17
- 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)
- Weld20.C1 = CFrame.new(3.69001794, -7.04000187, -0.0500130057, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld20.Part0 = Part17
- Weld20.Part1 = Part21
- Part21.Name = "Barbed Wire"
- Part21.Parent = Tool0
- Part21.Rotation = Vector3.new(-45, -3.11999989, 0.5)
- Part21.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part21.FormFactor = Enum.FormFactor.Custom
- Part21.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part21.Position = Vector3.new(-4.85502291, 2.24114084, -1.60971761)
- Part21.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
- SpecialMesh22.Parent = Part21
- SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh22.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh22.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh22.MeshType = Enum.MeshType.FileMesh
- SpecialMesh22.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal23.Parent = Part21
- Decal23.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal23.Face = Enum.NormalId.Top
- Weld24.Name = "Barbed Wire_Weld"
- Weld24.Parent = Part21
- Weld24.C0 = CFrame.new(3.69001794, -7.04000187, -0.0500130057, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld24.C1 = CFrame.new(3.69001794, -7.48999643, -0.0540399998, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld24.Part0 = Part21
- Weld24.Part1 = Part25
- Part25.Name = "Barbed Wire"
- Part25.Parent = Tool0
- Part25.Rotation = Vector3.new(-45, -3.11999989, 0.5)
- Part25.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part25.FormFactor = Enum.FormFactor.Custom
- Part25.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.Position = Vector3.new(-4.85919905, 2.56201363, -1.92520857)
- Part25.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
- SpecialMesh26.Parent = Part25
- SpecialMesh26.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh26.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh26.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh26.MeshType = Enum.MeshType.FileMesh
- SpecialMesh26.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal27.Parent = Part25
- Decal27.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal27.Face = Enum.NormalId.Top
- Weld28.Name = "Barbed Wire_Weld"
- Weld28.Parent = Part25
- Weld28.C0 = CFrame.new(3.69001794, -7.48999643, -0.0540399998, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld28.C1 = CFrame.new(3.69001818, -7.93999863, -0.0600000098, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld28.Part0 = Part25
- Weld28.Part1 = Part29
- Part29.Name = "Barbed Wire"
- Part29.Parent = Tool0
- Part29.Rotation = Vector3.new(-45, -3.11999989, 0.5)
- Part29.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Position = Vector3.new(-4.86348057, 2.8842566, -2.23934007)
- Part29.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh30.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh30.MeshType = Enum.MeshType.FileMesh
- SpecialMesh30.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal31.Parent = Part29
- Decal31.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal31.Face = Enum.NormalId.Top
- Weld32.Name = "Barbed Wire_Weld"
- Weld32.Parent = Part29
- Weld32.C0 = CFrame.new(3.69001818, -7.93999863, -0.0600000098, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- 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)
- Weld32.Part0 = Part29
- Weld32.Part1 = Part33
- Part33.Name = "Barbed Wire"
- Part33.Parent = Tool0
- Part33.Rotation = Vector3.new(-45, -3.11999989, -179.5)
- Part33.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part33.FormFactor = Enum.FormFactor.Custom
- Part33.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Position = Vector3.new(-4.85923147, 2.32541943, -1.59613776)
- Part33.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
- SpecialMesh34.Parent = Part33
- SpecialMesh34.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh34.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh34.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh34.MeshType = Enum.MeshType.FileMesh
- SpecialMesh34.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal35.Parent = Part33
- Decal35.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal35.Face = Enum.NormalId.Top
- Weld36.Name = "Barbed Wire_Weld"
- Weld36.Parent = Part33
- 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)
- Weld36.C1 = CFrame.new(3.1636138, -7.23999739, -1.90049624, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
- Weld36.Part0 = Part33
- Weld36.Part1 = Part37
- Part37.Name = "Barbed Wire"
- Part37.Parent = Tool0
- Part37.Rotation = Vector3.new(-44.7000008, -33.1100006, 0.600000024)
- Part37.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part37.FormFactor = Enum.FormFactor.Custom
- Part37.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Position = Vector3.new(-4.85754633, 2.39241147, -1.74127233)
- Part37.Orientation = Vector3.new(-36.0999985, -42.5400009, 29)
- SpecialMesh38.Parent = Part37
- SpecialMesh38.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh38.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh38.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh38.MeshType = Enum.MeshType.FileMesh
- SpecialMesh38.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal39.Parent = Part37
- Decal39.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal39.Face = Enum.NormalId.Top
- Weld40.Name = "Barbed Wire_Weld"
- Weld40.Parent = Part37
- Weld40.C0 = CFrame.new(3.1636138, -7.23999739, -1.90049624, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
- 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)
- Weld40.Part0 = Part37
- Weld40.Part1 = Part41
- Part41.Name = "Barbed Wire"
- Part41.Parent = Tool0
- Part41.Rotation = Vector3.new(-45, -3.11999989, -179.5)
- Part41.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part41.FormFactor = Enum.FormFactor.Custom
- Part41.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part41.BottomSurface = Enum.SurfaceType.Smooth
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.Position = Vector3.new(-4.85448503, 1.92010307, -1.18124139)
- Part41.Orientation = Vector3.new(-44.9199982, -4.4000001, -176.380005)
- SpecialMesh42.Parent = Part41
- SpecialMesh42.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh42.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh42.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh42.MeshType = Enum.MeshType.FileMesh
- SpecialMesh42.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal43.Parent = Part41
- Decal43.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal43.Face = Enum.NormalId.Top
- Weld44.Name = "Barbed Wire_Weld"
- Weld44.Parent = Part41
- 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)
- Weld44.C1 = CFrame.new(3.69001794, -6.90999603, -0.0605460033, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld44.Part0 = Part41
- Weld44.Part1 = Part45
- Part45.Name = "Barbed Wire"
- Part45.Parent = Tool0
- Part45.Rotation = Vector3.new(-45, -3.11999989, 0.5)
- Part45.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part45.FormFactor = Enum.FormFactor.Custom
- Part45.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.Position = Vector3.new(-4.85445309, 2.15669727, -1.51031232)
- Part45.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
- SpecialMesh46.Parent = Part45
- SpecialMesh46.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh46.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh46.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh46.MeshType = Enum.MeshType.FileMesh
- SpecialMesh46.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal47.Parent = Part45
- Decal47.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal47.Face = Enum.NormalId.Top
- Weld48.Name = "Barbed Wire_Weld"
- Weld48.Parent = Part45
- Weld48.C0 = CFrame.new(3.69001794, -6.90999603, -0.0605460033, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld48.C1 = CFrame.new(3.69001794, -6.45999336, -0.0545869917, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld48.Part0 = Part45
- Weld48.Part1 = Part49
- Part49.Name = "Barbed Wire"
- Part49.Parent = Tool0
- Part49.Rotation = Vector3.new(-45, -3.11999989, 0.5)
- Part49.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part49.FormFactor = Enum.FormFactor.Custom
- Part49.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part49.BottomSurface = Enum.SurfaceType.Smooth
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.Position = Vector3.new(-4.85017204, 1.83445454, -1.19617975)
- Part49.Orientation = Vector3.new(-44.9199982, -4.4000001, 3.61999989)
- SpecialMesh50.Parent = Part49
- SpecialMesh50.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh50.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh50.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh50.MeshType = Enum.MeshType.FileMesh
- SpecialMesh50.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal51.Parent = Part49
- Decal51.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal51.Face = Enum.NormalId.Top
- Weld52.Name = "Barbed Wire_Weld"
- Weld52.Parent = Part49
- Weld52.C0 = CFrame.new(3.69001794, -6.45999336, -0.0545869917, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld52.C1 = CFrame.new(3.16036034, -6.65999699, -1.90613151, -0.866025448, 0.50000006, 0, 0, 0, 1, 0.50000006, 0.866025448, -0)
- Weld52.Part0 = Part49
- Weld52.Part1 = Part53
- Part53.Name = "Barbed Wire"
- Part53.Parent = Tool0
- Part53.Rotation = Vector3.new(-44.7000008, -33.1100006, 0.600000024)
- Part53.Velocity = Vector3.new(1.64596518e-41, 0, 8.61798556e-43)
- Part53.FormFactor = Enum.FormFactor.Custom
- Part53.Size = Vector3.new(0.200000003, 0.200000003, 0.220000029)
- 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)
- Part53.BottomSurface = Enum.SurfaceType.Smooth
- Part53.TopSurface = Enum.SurfaceType.Smooth
- Part53.Position = Vector3.new(-4.85280037, 1.98709583, -1.32637525)
- Part53.Orientation = Vector3.new(-36.0999985, -42.5400009, 29)
- SpecialMesh54.Parent = Part53
- SpecialMesh54.MeshId = "http://www.roblox.com/asset/?id=190765674 "
- SpecialMesh54.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- SpecialMesh54.TextureId = "http://www.roblox.com/asset/?id=190729868 "
- SpecialMesh54.MeshType = Enum.MeshType.FileMesh
- SpecialMesh54.Scale = Vector3.new(0.389999986, 0.389999986, 0.389999986)
- Decal55.Parent = Part53
- Decal55.Texture = "http://www.roblox.com/asset/?id=39468059"
- Decal55.Face = Enum.NormalId.Top
- LocalScript56.Name = "SwordScript"
- LocalScript56.Parent = Tool0
- table.insert(cors,sandbox(LocalScript56,function()
- -------- OMG HAX
- r = game:service("RunService")
- local damage = 34
- local slash_damage = 56
- sword = script.Parent.Handle
- Tool = script.Parent
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=433308001"
- SlashSound.Parent = sword
- SlashSound.Volume = 3
- local secondSlashSound = Instance.new("Sound")
- secondSlashSound.SoundId = "http://www.roblox.com/asset/?id=433308001"
- secondSlashSound.Parent = sword
- secondSlashSound.Volume = 3
- local debounce = false
- function blow(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
- if humanoid~=nil and humanoid ~= hum and hum ~= nil then
- -- final check, make sure sword is in-hand
- if debounce == false then
- debounce = true
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm ~= nil) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
- tagHumanoid(humanoid, vPlayer)
- zomghit = 4
- humanoid:TakeDamage(zomghit)
- untagHumanoid(humanoid)
- end
- debounce = false
- end
- end
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local vCharacter = Tool.Parent
- local hum = vCharacter:findFirstChild("Humanoid")
- blah = hum:LoadAnimation(script.Parent.Slash)
- blah:Play()
- hum.WalkSpeed = 0
- wait(.8)
- secondSlashSound:play()
- wait(.8)
- hum.WalkSpeed = 18
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- attack()
- wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- if Tool.Handle.UnsheathSound.isPlaying == false then
- Tool.Handle.UnsheathSound:play()
- end
- end
- function onUnequipped()
- Tool.Handle.UnsheathSound:stop()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- script.Parent.Unequipped:connect(onUnequipped)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript57.Name = "Local Gui"
- LocalScript57.Parent = Tool0
- Animation58.Name = "Slash"
- Animation58.Parent = Tool0
- Animation58.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment