Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- User = game.Players.LocalPlayer
- IsHooked = false
- Char = User.Character
- cen = Instance.new("Part", User.Character)
- cen.BottomSurface = "Smooth"
- cen.TopSurface = "Smooth"
- cen.CanCollide = false
- cen.formFactor = "Symmetric"
- cen.Size = Vector3.new(1,1,1)
- cen.BrickColor = BrickColor.new("Really black")
- cen.Transparency = 1
- cen2 = Instance.new("Part", User.Character)
- cen2.BottomSurface = "Smooth"
- cen2.TopSurface = "Smooth"
- cen2.CanCollide = false
- cen2.formFactor = "Symmetric"
- cen2.Size = Vector3.new(1,1,1)
- cen2.BrickColor = BrickColor.new("Really black")
- cen2.Transparency = 1
- cen3 = Instance.new("Part", User.Character)
- cen3.BottomSurface = "Smooth"
- cen3.TopSurface = "Smooth"
- cen3.CanCollide = false
- cen3.formFactor = "Symmetric"
- cen3.Size = Vector3.new(1,1,1)
- cen3.BrickColor = BrickColor.new("Really black")
- cen3.Transparency = 1
- cen4 = Instance.new("Part", User.Character)
- cen4.BottomSurface = "Smooth"
- cen4.TopSurface = "Smooth"
- cen4.CanCollide = false
- cen4.formFactor = "Symmetric"
- cen4.Size = Vector3.new(1,1,1)
- cen4.BrickColor = BrickColor.new("Really black")
- cen4.Transparency = 1
- cenw = Instance.new("Weld", cen)
- cenw.Part0 = Char["Torso"]
- cenw.Part1 = cen
- cenw.C1 = CFrame.new(-1.5,-0.5,0)
- cenw2 = Instance.new("Weld", cen2)
- cenw2.Part0 = Char["Torso"]
- cenw2.Part1 = cen2
- cenw2.C1 = CFrame.new(1.5,-0.5,0)
- cenw3 = Instance.new("Weld", cen3)
- cenw3.Part0 = Char["Torso"]
- cenw3.Part1 = cen3
- cenw3.C1 = CFrame.new(-0.5,1.5,0)
- cenw4 = Instance.new("Weld", cen4)
- cenw4.Part0 = Char["Torso"]
- cenw4.Part1 = cen4
- cenw4.C1 = CFrame.new(0.5,1.5,0)
- haw = Instance.new("Weld", cen)
- haw.Part0 = cen
- haw.Part1 = Char["Right Arm"]
- haw.C1 = CFrame.new(0,0.5,0)
- haw2 = Instance.new("Weld", cen2)
- haw2.Part0 = cen2
- haw2.Part1 = Char["Left Arm"]
- haw2.C1 = CFrame.new(0,0.5,0)
- haw3 = Instance.new("Weld", cen3)
- haw3.Part0 = cen3
- haw3.Part1 = Char["Right Leg"]
- haw3.C1 = CFrame.new(0,0.5,0)
- haw4 = Instance.new("Weld", cen4)
- haw4.Part0 = cen4
- haw4.Part1 = Char["Left Leg"]
- haw4.C1 = CFrame.new(0,0.5,0)
- haw.Part1 = nil
- haw2.Part1 = nil
- haw3.Part1 = nil
- haw4.Part1 = nil
- sprt1 = Instance.new("Part", Char)
- sprt1.Size = Vector3.new(1,1,1)
- sprt1.CanCollide = false
- sprt1.BrickColor = BrickColor.new("Sand red")
- sprt1.TopSurface = "Smooth"
- sprt1.BottomSurface = "Smooth"
- sprtM = Instance.new("CylinderMesh", sprt1)
- sprtM.Scale = Vector3.new(0.4,1,0.4)
- sprt1:BreakJoints()
- sprtW = Instance.new("Weld", sprt1)
- sprtW.Part0 = Char["Left Arm"]
- sprtW.Part1 = sprt1
- sprtW.C1 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,math.rad(0))
- sprt2 = Instance.new("Part", Char) --blade main
- sprt2.formFactor = "Custom"
- sprt2.Size = Vector3.new(.1,4,.25)
- sprt2.BrickColor = BrickColor.new("Stone grey")
- sprt2.CanCollide = false
- sprt2.Transparency = 0
- sprt2.TopSurface = "Smooth"
- sprt2.BottomSurface = "Smooth"
- sprtM2 = Instance.new("BlockMesh", sprt2)
- sprtM2.Scale = Vector3.new(.1,1,1)
- sprt2:BreakJoints()
- sprtW2 = Instance.new("Weld", sprt2)
- sprtW2.Part0 = sprt1
- sprtW2.Part1 = sprt2
- sprtW2.C1 = CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sprt2.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= Char then
- hit.Parent.Humanoid:TakeDamage(5)
- end
- end)
- sprt7 = Instance.new("Part", Char)
- sprt7.formFactor = "Custom"
- sprt7.Size = Vector3.new(0.1,1,0.25)
- sprt7.CanCollide = false
- sprt7.Transparency = 0
- sprt7.BrickColor = BrickColor.new("Stone grey")
- sprt7.TopSurface = "Smooth"
- sprt7.BottomSurface = "Smooth"
- sprtM7 = Instance.new("SpecialMesh", sprt7)
- sprtM7.MeshType = "Wedge"
- sprtM7.Scale = Vector3.new(0.1,1,1)
- sprt7:BreakJoints()
- sprtW7 = Instance.new("Weld", sprt7)
- sprtW7.Part0 = sprt2
- sprtW7.Part1 = sprt7
- sprtW7.C1 = CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- -------
- --right hand
- ssprt1 = Instance.new("Part", Char)
- ssprt1.Size = Vector3.new(1,1,1)
- ssprt1.CanCollide = false
- ssprt1.BrickColor = BrickColor.new("Sand red")
- ssprt1.TopSurface = "Smooth"
- ssprt1.BottomSurface = "Smooth"
- ssprtM = Instance.new("CylinderMesh", ssprt1)
- ssprtM.Scale = Vector3.new(0.4,1,0.4)
- ssprt1:BreakJoints()
- ssprtW = Instance.new("Weld", ssprt1)
- ssprtW.Part0 = Char["Right Arm"]
- ssprtW.Part1 = ssprt1
- ssprtW.C1 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,math.rad(0))
- ssprt2 = Instance.new("Part", Char) --blade main
- ssprt2.formFactor = "Custom"
- ssprt2.Size = Vector3.new(.1,4,.25)
- ssprt2.BrickColor = BrickColor.new("Stone grey")
- ssprt2.CanCollide = false
- ssprt2.Transparency = 0
- ssprt2.TopSurface = "Smooth"
- ssprt2.BottomSurface = "Smooth"
- ssprtM2 = Instance.new("BlockMesh", ssprt2)
- ssprtM2.Scale = Vector3.new(.1,1,1)
- ssprt2:BreakJoints()
- ssprtW2 = Instance.new("Weld", ssprt2)
- ssprtW2.Part0 = ssprt1
- ssprtW2.Part1 = ssprt2
- ssprtW2.C1 = CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- ssprt2.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= Char then
- hit.Parent.Humanoid:TakeDamage(5)
- end
- end)
- ssprt7 = Instance.new("Part", Char)
- ssprt7.formFactor = "Custom"
- ssprt7.Size = Vector3.new(0.1,1,0.25)
- ssprt7.CanCollide = false
- ssprt7.Transparency = 0
- ssprt7.BrickColor = BrickColor.new("Stone grey")
- ssprt7.TopSurface = "Smooth"
- ssprt7.BottomSurface = "Smooth"
- ssprtM7 = Instance.new("SpecialMesh", ssprt7)
- ssprtM7.MeshType = "Wedge"
- ssprtM7.Scale = Vector3.new(0.1,1,1)
- ssprt7:BreakJoints()
- ssprtW7 = Instance.new("Weld", ssprt7)
- ssprtW7.Part0 = ssprt2
- ssprtW7.Part1 = ssprt7
- ssprtW7.C1 = CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- --fake parts for gas/sword holder
- prt1 = Instance.new("Part", Char)
- prt1.formFactor = "Custom"
- prt1.Size = Vector3.new(1,1,1)
- prt1.CanCollide = false
- prt1.BrickColor = BrickColor.new("Really black")
- prt1.TopSurface = "Smooth"
- prt1.Transparency = 1
- prt1.BottomSurface = "Smooth"
- prtM = Instance.new("BlockMesh", prt1)
- prtM.Scale = Vector3.new(1,1,1)
- prt1:BreakJoints()
- prtW = Instance.new("Weld", prt1)
- prtW.Part0 = Char.Torso
- prtW.Part1 = prt1
- prtW.C1 = CFrame.new(1,1.75,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- prt2 = Instance.new("Part", Char)
- prt2.formFactor = "Custom"
- prt2.Size = Vector3.new(1,1,1)
- prt2.CanCollide = false
- prt2.BrickColor = BrickColor.new("Really black")
- prt2.TopSurface = "Smooth"
- prt2.Transparency = 1
- prt2.BottomSurface = "Smooth"
- prt2M = Instance.new("BlockMesh", prt2)
- prt2M.Scale = Vector3.new(1,1,1)
- prt2:BreakJoints()
- prt2W = Instance.new("Weld", prt2)
- prt2W.Part0 = Char.Torso
- prt2W.Part1 = prt2
- prt2W.C1 = CFrame.new(-1,1.75,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --swordholder base
- s1 = Instance.new("Part", Char)
- s1.formFactor = "Custom"
- s1.Size = Vector3.new(.5,1,4)
- s1.CanCollide = false
- s1.BrickColor = BrickColor.new("Sand red")
- s1.TopSurface = "Smooth"
- s1.Transparency = 0
- s1.BottomSurface = "Smooth"
- sM = Instance.new("BlockMesh", s1)
- sM.Scale = Vector3.new(1,1,1)
- s1:BreakJoints()
- sW = Instance.new("Weld", s1)
- sW.Part0 = prt1
- sW.Part1 = s1
- sW.C1 = CFrame.new(0,0,-1)*CFrame.Angles(math.rad(-15),0,math.rad(0))
- --gas tank
- g1 = Instance.new("Part", Char)
- g1.formFactor = "Custom"
- g1.Size = Vector3.new(0.5,4,0.5)
- g1.CanCollide = false
- g1.BrickColor = BrickColor.new("Stone grey")
- g1.TopSurface = "Smooth"
- g1.Transparency = 0
- g1.BottomSurface = "Smooth"
- gM = Instance.new("CylinderMesh", g1)
- gM.Scale = Vector3.new(1,1,1)
- g1:BreakJoints()
- gW = Instance.new("Weld", g1)
- gW.Part0 = s1
- gW.Part1 = g1
- gW.C1 = CFrame.new(0,0,-0.75)*CFrame.Angles(math.rad(90),0,math.rad(0))
- --holderstrings(holds gas to the sword holder)
- sh1 = Instance.new("Part", Char)
- sh1.formFactor = "Custom"
- sh1.Size = Vector3.new(.5,1.5,0.1)
- sh1.CanCollide = false
- sh1.BrickColor = BrickColor.new("Dark grey")
- sh1.TopSurface = "Smooth"
- sh1.Transparency = 0
- sh1.BottomSurface = "Smooth"
- shM = Instance.new("BlockMesh", sh1)
- shM.Scale = Vector3.new(1.05,1.05,1.05)
- sh1:BreakJoints()
- shW = Instance.new("Weld", sh1)
- shW.Part0 = s1
- shW.Part1 = sh1
- shW.C1 = CFrame.new(0,-0.25,1.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sh2 = Instance.new("Part", Char)
- sh2.formFactor = "Custom"
- sh2.Size = Vector3.new(.5,1.5,0.1)
- sh2.CanCollide = false
- sh2.BrickColor = BrickColor.new("Dark grey")
- sh2.TopSurface = "Smooth"
- sh2.Transparency = 0
- sh2.BottomSurface = "Smooth"
- sh2M = Instance.new("BlockMesh", sh2)
- sh2M.Scale = Vector3.new(1.05,1.05,1.05)
- sh2:BreakJoints()
- sh2W = Instance.new("Weld", sh2)
- sh2W.Part0 = s1
- sh2W.Part1 = sh2
- sh2W.C1 = CFrame.new(0,-0.25,-1.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sh3 = Instance.new("Part", Char)
- sh3.formFactor = "Custom"
- sh3.Size = Vector3.new(.5,1.5,0.1)
- sh3.CanCollide = false
- sh3.BrickColor = BrickColor.new("Dark grey")
- sh3.TopSurface = "Smooth"
- sh3.Transparency = 0
- sh3.BottomSurface = "Smooth"
- sh3M = Instance.new("BlockMesh", sh3)
- sh3M.Scale = Vector3.new(1.05,1.05,1.05)
- sh3:BreakJoints()
- sh3W = Instance.new("Weld", sh3)
- sh3W.Part0 = s1
- sh3W.Part1 = sh3
- sh3W.C1 = CFrame.new(0,-0.25,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --extra swords
- se1 = Instance.new("Part", Char)
- se1.formFactor = "Custom"
- se1.Size = Vector3.new(.1,0.75,3.5)
- se1.CanCollide = false
- se1.BrickColor = BrickColor.new("Really black")
- se1.TopSurface = "Smooth"
- se1.Transparency = 0
- se1.BottomSurface = "Smooth"
- seM = Instance.new("BlockMesh", se1)
- seM.Scale = Vector3.new(.25,1,1)
- se1:BreakJoints()
- seW = Instance.new("Weld", se1)
- seW.Part0 = s1
- seW.Part1 = se1
- seW.C1 = CFrame.new(0,0,0.255)*CFrame.Angles(math.rad(0),0,math.rad(0))
- se2 = Instance.new("Part", Char)
- se2.formFactor = "Custom"
- se2.Size = Vector3.new(.1,0.75,3.5)
- se2.CanCollide = false
- se2.BrickColor = BrickColor.new("Really black")
- se2.TopSurface = "Smooth"
- se2.Transparency = 0
- se2.BottomSurface = "Smooth"
- se2M = Instance.new("BlockMesh", se2)
- se2M.Scale = Vector3.new(.25,1,1)
- se2:BreakJoints()
- se2W = Instance.new("Weld", se2)
- se2W.Part0 = s1
- se2W.Part1 = se2
- se2W.C1 = CFrame.new(0.1,0,0.255)*CFrame.Angles(math.rad(0),0,math.rad(0))
- se3 = Instance.new("Part", Char)
- se3.formFactor = "Custom"
- se3.Size = Vector3.new(.1,0.75,3.5)
- se3.CanCollide = false
- se3.BrickColor = BrickColor.new("Really black")
- se3.TopSurface = "Smooth"
- se3.Transparency = 0
- se3.BottomSurface = "Smooth"
- se3M = Instance.new("BlockMesh", se3)
- se3M.Scale = Vector3.new(.25,1,1)
- se3:BreakJoints()
- se3W = Instance.new("Weld", se3)
- se3W.Part0 = s1
- se3W.Part1 = se3
- se3W.C1 = CFrame.new(-0.1,0,0.255)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --the actual extra swords
- sea1 = Instance.new("Part", Char)
- sea1.formFactor = "Custom"
- sea1.Size = Vector3.new(.1,0.75,3.5)
- sea1.CanCollide = false
- sea1.BrickColor = BrickColor.new("Stone grey")
- sea1.TopSurface = "Smooth"
- sea1.Transparency = 0
- sea1.Reflectance = 0.5
- sea1.BottomSurface = "Smooth"
- seaM = Instance.new("BlockMesh", sea1)
- seaM.Scale = Vector3.new(.1,0.75,1.1)
- sea1:BreakJoints()
- seaW = Instance.new("Weld", sea1)
- seaW.Part0 = se1
- seaW.Part1 = sea1
- seaW.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sea2 = Instance.new("Part", Char)
- sea2.formFactor = "Custom"
- sea2.Size = Vector3.new(.1,0.75,3.5)
- sea2.CanCollide = false
- sea2.BrickColor = BrickColor.new("Stone grey")
- sea2.TopSurface = "Smooth"
- sea2.Transparency = 0
- sea2.Reflectance = 0.5
- sea2.BottomSurface = "Smooth"
- sea2M = Instance.new("BlockMesh", sea2)
- sea2M.Scale = Vector3.new(.1,0.75,1.1)
- sea2:BreakJoints()
- sea2W = Instance.new("Weld", sea2)
- sea2W.Part0 = se2
- sea2W.Part1 = sea2
- sea2W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sea3 = Instance.new("Part", Char)
- sea3.formFactor = "Custom"
- sea3.Size = Vector3.new(.1,0.75,3.5)
- sea3.CanCollide = false
- sea3.BrickColor = BrickColor.new("Stone grey")
- sea3.TopSurface = "Smooth"
- sea3.Transparency = 0
- sea3.Reflectance = 0.5
- sea3.BottomSurface = "Smooth"
- sea3M = Instance.new("BlockMesh", sea3)
- sea3M.Scale = Vector3.new(.1,0.75,1.1)
- sea3:BreakJoints()
- sea3W = Instance.new("Weld", sea3)
- sea3W.Part0 = se3
- sea3W.Part1 = sea3
- sea3W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --RIGHT SIDE NOW
- --swordholder base
- s1 = Instance.new("Part", Char)
- s1.formFactor = "Custom"
- s1.Size = Vector3.new(.5,1,4)
- s1.CanCollide = false
- s1.BrickColor = BrickColor.new("Sand red")
- s1.TopSurface = "Smooth"
- s1.Transparency = 0
- s1.BottomSurface = "Smooth"
- sM = Instance.new("BlockMesh", s1)
- sM.Scale = Vector3.new(1,1,1)
- s1:BreakJoints()
- sW = Instance.new("Weld", s1)
- sW.Part0 = prt2
- sW.Part1 = s1
- sW.C1 = CFrame.new(0,0,-1)*CFrame.Angles(math.rad(-15),0,math.rad(0))
- --gas tank
- g1 = Instance.new("Part", Char)
- g1.formFactor = "Custom"
- g1.Size = Vector3.new(0.5,4,0.5)
- g1.CanCollide = false
- g1.BrickColor = BrickColor.new("Stone grey")
- g1.TopSurface = "Smooth"
- g1.Transparency = 0
- g1.BottomSurface = "Smooth"
- gM = Instance.new("CylinderMesh", g1)
- gM.Scale = Vector3.new(1,1,1)
- g1:BreakJoints()
- gW = Instance.new("Weld", g1)
- gW.Part0 = s1
- gW.Part1 = g1
- gW.C1 = CFrame.new(0,0,-0.75)*CFrame.Angles(math.rad(90),0,math.rad(0))
- --holderstrings(holds gas to the sword holder)
- sh1 = Instance.new("Part", Char)
- sh1.formFactor = "Custom"
- sh1.Size = Vector3.new(.5,1.5,0.1)
- sh1.CanCollide = false
- sh1.BrickColor = BrickColor.new("Dark grey")
- sh1.TopSurface = "Smooth"
- sh1.Transparency = 0
- sh1.BottomSurface = "Smooth"
- shM = Instance.new("BlockMesh", sh1)
- shM.Scale = Vector3.new(1.05,1.05,1.05)
- sh1:BreakJoints()
- shW = Instance.new("Weld", sh1)
- shW.Part0 = s1
- shW.Part1 = sh1
- shW.C1 = CFrame.new(0,-0.25,1.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sh2 = Instance.new("Part", Char)
- sh2.formFactor = "Custom"
- sh2.Size = Vector3.new(.5,1.5,0.1)
- sh2.CanCollide = false
- sh2.BrickColor = BrickColor.new("Dark grey")
- sh2.TopSurface = "Smooth"
- sh2.Transparency = 0
- sh2.BottomSurface = "Smooth"
- sh2M = Instance.new("BlockMesh", sh2)
- sh2M.Scale = Vector3.new(1.05,1.05,1.05)
- sh2:BreakJoints()
- sh2W = Instance.new("Weld", sh2)
- sh2W.Part0 = s1
- sh2W.Part1 = sh2
- sh2W.C1 = CFrame.new(0,-0.25,-1.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sh3 = Instance.new("Part", Char)
- sh3.formFactor = "Custom"
- sh3.Size = Vector3.new(.5,1.5,0.1)
- sh3.CanCollide = false
- sh3.BrickColor = BrickColor.new("Dark grey")
- sh3.TopSurface = "Smooth"
- sh3.Transparency = 0
- sh3.BottomSurface = "Smooth"
- sh3M = Instance.new("BlockMesh", sh3)
- sh3M.Scale = Vector3.new(1.05,1.05,1.05)
- sh3:BreakJoints()
- sh3W = Instance.new("Weld", sh3)
- sh3W.Part0 = s1
- sh3W.Part1 = sh3
- sh3W.C1 = CFrame.new(0,-0.25,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --extra swords
- se1 = Instance.new("Part", Char)
- se1.formFactor = "Custom"
- se1.Size = Vector3.new(.1,0.75,3.5)
- se1.CanCollide = false
- se1.BrickColor = BrickColor.new("Really black")
- se1.TopSurface = "Smooth"
- se1.Transparency = 0
- se1.BottomSurface = "Smooth"
- seM = Instance.new("BlockMesh", se1)
- seM.Scale = Vector3.new(.25,1,1)
- se1:BreakJoints()
- seW = Instance.new("Weld", se1)
- seW.Part0 = s1
- seW.Part1 = se1
- seW.C1 = CFrame.new(0,0,0.255)*CFrame.Angles(math.rad(0),0,math.rad(0))
- se2 = Instance.new("Part", Char)
- se2.formFactor = "Custom"
- se2.Size = Vector3.new(.1,0.75,3.5)
- se2.CanCollide = false
- se2.BrickColor = BrickColor.new("Really black")
- se2.TopSurface = "Smooth"
- se2.Transparency = 0
- se2.BottomSurface = "Smooth"
- se2M = Instance.new("BlockMesh", se2)
- se2M.Scale = Vector3.new(.25,1,1)
- se2:BreakJoints()
- se2W = Instance.new("Weld", se2)
- se2W.Part0 = s1
- se2W.Part1 = se2
- se2W.C1 = CFrame.new(0.1,0,0.255)*CFrame.Angles(math.rad(0),0,math.rad(0))
- se3 = Instance.new("Part", Char)
- se3.formFactor = "Custom"
- se3.Size = Vector3.new(.1,0.75,3.5)
- se3.CanCollide = false
- se3.BrickColor = BrickColor.new("Really black")
- se3.TopSurface = "Smooth"
- se3.Transparency = 0
- se3.BottomSurface = "Smooth"
- se3M = Instance.new("BlockMesh", se3)
- se3M.Scale = Vector3.new(.25,1,1)
- se3:BreakJoints()
- se3W = Instance.new("Weld", se3)
- se3W.Part0 = s1
- se3W.Part1 = se3
- se3W.C1 = CFrame.new(-0.1,0,0.255)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --the actual extra swords
- sea12 = Instance.new("Part", Char)
- sea12.formFactor = "Custom"
- sea12.Size = Vector3.new(.1,0.75,3.5)
- sea12.CanCollide = false
- sea12.BrickColor = BrickColor.new("Stone grey")
- sea12.TopSurface = "Smooth"
- sea12.Transparency = 0
- sea12.Reflectance = 0.5
- sea12.BottomSurface = "Smooth"
- seaM2 = Instance.new("BlockMesh", sea12)
- seaM2.Scale = Vector3.new(.1,0.75,1.1)
- sea12:BreakJoints()
- seaW2 = Instance.new("Weld", sea12)
- seaW2.Part0 = se1
- seaW2.Part1 = sea12
- seaW2.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sea22 = Instance.new("Part", Char)
- sea22.formFactor = "Custom"
- sea22.Size = Vector3.new(.1,0.75,3.5)
- sea22.CanCollide = false
- sea22.BrickColor = BrickColor.new("Stone grey")
- sea22.TopSurface = "Smooth"
- sea22.Transparency = 0
- sea22.Reflectance = 0.5
- sea22.BottomSurface = "Smooth"
- sea2M2 = Instance.new("BlockMesh", sea22)
- sea2M2.Scale = Vector3.new(.1,0.75,1.1)
- sea22:BreakJoints()
- sea2W2 = Instance.new("Weld", sea22)
- sea2W2.Part0 = se2
- sea2W2.Part1 = sea22
- sea2W2.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- sea32 = Instance.new("Part", Char)
- sea32.formFactor = "Custom"
- sea32.Size = Vector3.new(.1,0.75,3.5)
- sea32.CanCollide = false
- sea32.BrickColor = BrickColor.new("Stone grey")
- sea32.TopSurface = "Smooth"
- sea32.Transparency = 0
- sea32.Reflectance = 0.5
- sea32.BottomSurface = "Smooth"
- sea3M2 = Instance.new("BlockMesh", sea32)
- sea3M2.Scale = Vector3.new(.1,0.75,1.1)
- sea32:BreakJoints()
- sea32W = Instance.new("Weld", sea32)
- sea32W.Part0 = se3
- sea32W.Part1 = sea32
- sea32W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --[[
- grm = Instance.new("Model", Char)
- grm.Name = ""
- ]]
- --things that fire grapples
- gr1 = Instance.new("Part", Char)
- gr1.formFactor = "Custom"
- gr1.Size = Vector3.new(0.1,0.1,0.1)
- gr1.CanCollide = false
- gr1.BrickColor = BrickColor.new("Sand red")
- gr1.TopSurface = "Smooth"
- gr1.Transparency = 0
- gr1.BottomSurface = "Smooth"
- grM = Instance.new("CylinderMesh", gr1)
- grM.Scale = Vector3.new(1,1,1)
- gr1:BreakJoints()
- grW = Instance.new("Weld", gr1)
- grW.Part0 = Char.Torso
- grW.Part1 = gr1
- grW.C1 = CFrame.new(-0.6,-0.5,1)*CFrame.Angles(math.rad(90),0,math.rad(0))
- grf1 = Instance.new("Part", Char)
- grf1.formFactor = "Custom"
- --grf1.Name = "Head"
- grf1.Size = Vector3.new(0.1,0.1,0.1)
- grf1.CanCollide = false
- grf1.BrickColor = BrickColor.new("Black")
- grf1.TopSurface = "Smooth"
- grf1.Transparency = 0
- grf1.BottomSurface = "Smooth"
- grfM = Instance.new("CylinderMesh", grf1)
- grfM.Scale = Vector3.new(0.75,1.1,0.75)
- grf1:BreakJoints()
- grfW = Instance.new("Weld", grf1)
- grfW.Part0 = gr1
- grfW.Part1 = grf1
- grfW.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- gr2 = Instance.new("Part", Char)
- gr2.formFactor = "Custom"
- gr2.Size = Vector3.new(0.1,0.1,0.1)
- gr2.CanCollide = false
- gr2.BrickColor = BrickColor.new("Sand red")
- gr2.TopSurface = "Smooth"
- gr2.Transparency = 0
- gr2.BottomSurface = "Smooth"
- gr2M = Instance.new("CylinderMesh", gr2)
- gr2M.Scale = Vector3.new(1,1,1)
- gr2:BreakJoints()
- gr2W = Instance.new("Weld", gr2)
- gr2W.Part0 = Char.Torso
- gr2W.Part1 = gr2
- gr2W.C1 = CFrame.new(0.6,-0.5,1)*CFrame.Angles(math.rad(90),0,math.rad(0))
- grf2 = Instance.new("Part", Char)
- grf2.formFactor = "Custom"
- grf2.Size = Vector3.new(0.1,0.1,0.1)
- grf2.CanCollide = false
- grf2.BrickColor = BrickColor.new("Black")
- grf2.TopSurface = "Smooth"
- grf2.Transparency = 0
- grf2.BottomSurface = "Smooth"
- grf2M = Instance.new("CylinderMesh", grf2)
- grf2M.Scale = Vector3.new(0.75,1.1,0.75)
- grf2:BreakJoints()
- grf2W = Instance.new("Weld", grf2)
- grf2W.Part0 = gr2
- grf2W.Part1 = grf2
- grf2W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- ---testing grapple
- Torso = Instance.new("Part", Char)
- Torso.formFactor = "Symmetric"
- Torso.BrickColor = Char.Torso.BrickColor
- Torso.Size = Char.Torso.Size
- Torso.Transparency = 1
- Torso.Reflectance = 0
- Torso:BreakJoints()
- Torsow = Instance.new("Weld", Torso)
- Torsow.Part0 = Char["Torso"]
- Torsow.Part1 = Torso
- Torsow.C1 = CFrame.Angles(0,math.rad(0),0)
- Hw = Instance.new("Weld", Torso)
- Hw.Part0 = Torso
- Hw.Part1 = Char.Head
- Hw.C1 = CFrame.new(0,-1.5,0)
- --------------------------------------------
- function GrappleE_Start(m)
- IsHooked = true
- par = Instance.new("Part", Char)
- par.formFactor = "Custom"
- par.Size = Vector3.new(1,1,1)
- par.CanCollide = false
- par.Anchored = true
- par.Transparency = 1
- par.Position = m.Hit.p
- gra = Instance.new("SelectionPartLasso", Char)
- gra.Humanoid = Char.Humanoid
- gra.Part = par
- gra.Color = BrickColor.new("Really black")
- so = Instance.new("Sound", Char.Torso)
- so.SoundId = "rbxassetid://167199184"
- so.Pitch = math.random(80,150)/100
- so:Play()
- --go!!
- bv = Instance.new("BodyVelocity", Char.Torso)
- bv.maxForce = Vector3.new(15000,15000,15000)
- bg = Instance.new("BodyGyro", Char.Torso)
- bg.maxTorque = Vector3.new(50000,50000,50000)
- bg.P = 1000000
- --Char.Humanoid.PlatformStand = true
- --Char:MoveTo(Char.Torso.Position + Vector3.new(0,1,0))
- delay(0, function()
- while true do
- bv.velocity = Char.Torso.CFrame.lookVector * 5000
- bg.cframe = CFrame.new(Char.Torso.Position,par.Position)
- wait()
- end
- end)
- end
- function GrappleE_End()
- IsHooked = false
- par:Remove()
- gra:Remove()
- so:Remove()
- --hum1:Remove()
- bv:Remove()
- bg:Remove()
- --gr1.Name = "Part"
- end
- function Make(m)
- par2 = Instance.new("Part", workspace)
- par2.formFactor = "Custom"
- par2.Size = Vector3.new(50,100,50)
- par2.CanCollide = true
- par2.Anchored = true
- par2.Transparency = 0
- par2.Position = m.Hit.p
- end
- function MoveArms()
- haw.Part1 = Char["Right Arm"]
- haw2.Part1 = Char["Left Arm"]
- for i = 1,40,10 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(i),0,math.rad(-i/2))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(i),0,math.rad(i/2))
- wait()
- end
- end
- function MoveArms_()
- for i = 1,40,10 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(30-i),0,math.rad(-15 + i/2))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(30-i),0,math.rad(15 - i/2))
- wait()
- end
- haw.Part1 = nil
- haw2.Part1 = nil
- end
- IsSpin = false
- function Spin()
- IsSpin = true
- spins = Instance.new("Sound", Char.Torso)
- spins.SoundId = "rbxassetid://147722270"
- spins.PlayOnRemove = true
- haw.Part1 = Char["Right Arm"]
- haw2.Part1 = Char["Left Arm"]
- for i = 1,120,30 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),0,math.rad(-i))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-i/2),0,math.rad(i))
- wait()
- end
- Torso.Transparency = 0
- Char.Torso.Transparency = 1
- cenw.Part0 = Torso
- cenw2.Part0 = Torso
- cenw3.Part0 = Torso
- cenw4.Part0 = Torso
- haw3.Part1 = Char["Right Leg"]
- haw4.Part1 = Char["Left Leg"]
- prt2W.Part0 = Torso
- prtW.Part0 = Torso
- spins:Remove()
- for i = 1,420,60 do
- Torsow.C1 = CFrame.Angles(0,math.rad(i),0)
- wait()
- end
- for i = 1,120,30 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),0,math.rad(-90+i))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-45+i/2),0,math.rad(90-i))
- wait()
- end
- Torso.Transparency = 1
- Char.Torso.Transparency = 0
- cenw.Part0 = Char.Torso
- cenw2.Part0 = Char.Torso
- cenw3.Part0 = Char.Torso
- cenw4.Part0 = Char.Torso
- haw.Part1 = nil
- haw2.Part1 = nil
- haw3.Part1 = nil
- haw4.Part1 = nil
- prt2W.Part0 = Char.Torso
- prtW.Part0 = Char.Torso
- IsSpin = false
- end
- ---------------------------------------------------
- function BlaThrow()
- IsSpin = true
- haw.Part1 = Char["Right Arm"]
- haw2.Part1 = Char["Left Arm"]
- for i = 1,225,45 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-i),0,math.rad(0))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-i),0,math.rad(0))
- wait()
- end
- Torso.Transparency = 0
- Char.Torso.Transparency = 1
- cenw.Part0 = Torso
- cenw2.Part0 = Torso
- cenw3.Part0 = Torso
- cenw4.Part0 = Torso
- haw3.Part1 = Char["Right Leg"]
- haw4.Part1 = Char["Left Leg"]
- prt2W.Part0 = Torso
- prtW.Part0 = Torso
- spins2 = Instance.new("Sound", Char.Torso)
- spins2.SoundId = "rbxassetid://147722270"
- spins2.PlayOnRemove = true
- spins2:Remove()
- for i = 1,780,60 do
- Torsow.C1 = CFrame.Angles(math.rad(i),math.rad(0),0)
- wait()
- end
- Torso.Transparency = 1
- Char.Torso.Transparency =0
- cenw.Part0 = Char.Torso
- cenw2.Part0 = Char.Torso
- cenw3.Part0 = Char.Torso
- cenw4.Part0 = Char.Torso
- prt2W.Part0 = Char.Torso
- prtW.Part0 = Char.Torso
- haw3.Part1 = nil
- haw4.Part1 = nil
- haw.Part1 = nil
- haw2.Part1 = nil
- IsSpin = false
- end
- -----------------------------------------------
- function BlaSlice(m)
- IsSpin = true
- haw.Part1 = Char["Right Arm"]
- haw2.Part1 = Char["Left Arm"]
- for i = 1,225,45 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-i),0,math.rad(0))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-i),0,math.rad(0))
- wait()
- end
- --
- for i = 1,135,45 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-180 + i),0,math.rad(0))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-180 + i),0,math.rad(0))
- wait()
- end
- for i = 1,135,45 do
- haw.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90 + i),0,math.rad(0))
- haw2.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90 + i),0,math.rad(0))
- wait()
- end
- haw.Part1 = nil
- haw2.Part1 = nil
- IsSpin = false
- end
- --------------------------------------------
- running = false
- local _ = false
- if not script.Parent:IsA("HopperBin") then
- h = Instance.new("HopperBin", User.Backpack)
- h.Name = "HopperBin"
- script.Parent = h
- end
- smActive = false
- script.Parent.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function()
- if IsSpin == false then
- BlaSlice()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- delay(0,function()
- MoveArms()
- end)
- GrappleE_Start(mouse)
- elseif key == "q" then
- Make(mouse)
- elseif key == "y" then
- if smActive == true then
- smActive = false
- elseif smActive == false then
- smActive = true
- end
- elseif key == "s" then
- --Char.Humanoid.PlatformStand = false
- elseif key == "z" and IsSpin == false then
- BlaThrow()
- elseif key == "r" then
- if running == false then
- running = true
- Char.Humanoid.WalkSpeed = 50
- delay(0,function()
- MoveArms()
- end)
- elseif running == true then
- running = false
- Char.Humanoid.WalkSpeed = 16
- delay(0,function()
- MoveArms_()
- end)
- end
- elseif key == "t" and IsSpin == false then
- Spin()
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "e" then
- delay(0,function()
- MoveArms_()
- end)
- GrappleE_End()
- elseif key == "q" then
- end
- end)
- end)
- script.Parent.Deselected:connect(function()
- end)
- delay(0, function()
- while true do
- if IsHooked == true and smActive == true then
- local fe = Instance.new("Part", Char)
- fe.formFactor = "Custom"
- fe.Size = Vector3.new(3,3,3)
- fe.BrickColor = BrickColor.new("Institutional white")
- fe.Transparency = 0
- fe.Anchored = true
- fe.CanCollide = false
- fe.CFrame = Char.Torso.CFrame
- local fem = Instance.new("BlockMesh", fe)
- delay(0, function()
- for i = 1,10 do
- fe.Transparency = fe.Transparency + 0.1
- wait(.1)
- end
- fe:Remove()
- end)
- end
- wait()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement