Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --madiik
- vip = game.Players.DeadDefense
- char = vip.Character
- hedm = char.Head.Mesh
- char.Torso.Transparency = 1
- char["Right Leg"].Transparency = 1
- char["Left Leg"].Transparency = 1
- char["Right Arm"].Transparency = 1
- char["Left Arm"].Transparency = 1
- hedm.MeshType = "FileMesh"
- hedm.MeshId = "http://www.roblox.com/asset/?id=16973748"
- hedm.TextureId = "http://www.roblox.com/asset/?id=16973739"
- hedm.Scale = Vector3.new(0.8, 0.8, 0.7)
- Tor = Instance.new("Part")
- Tor.Size = Vector3.new(1,1,1)
- Tor.Color = Color3.new("Really black")
- Tor.Reflectance = 0
- Tor.Transparency = 0
- Tor.CanCollide = false
- Tor.Parent = char
- Mesh = Instance.new("SpecialMesh")
- Mesh.MeshId = "http://www.roblox.com/asset/?id=16952952"
- Mesh.Scale = Vector3.new(1.05,1.05,1.05)
- Mesh.Parent = Tor
- w = Instance.new("Weld")
- w.Parent = char["Head"]
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0.35,0)
- --Torso--
- local h = Instance.new("Part")
- h.Name = "a"
- h.Parent = char
- h.Size = Vector3.new(2,2,1)
- h.formFactor = "Brick"
- h.BrickColor = BrickColor.new("Really black")
- h.TopSurface = "Smooth"
- h.BottomSurface = "Smooth"
- h.Transparency = 0
- h.Reflectance = 0
- ---------------------mesh
- m = Instance.new("BlockMesh")
- m.Parent = h
- m.Scale = Vector3.new(1, 1, 1)
- -----------------------------------------weldling
- w1 = Instance.new("Weld")
- w1.Parent = char.Torso
- w1.Part0 = h
- w1.Part1 = char.Torso
- w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
- --Torso--
- local h = Instance.new("Part")
- h.Name = "b"
- h.Parent = char
- h.Size = Vector3.new(1,2,1)
- h.formFactor = "Brick"
- h.BrickColor = BrickColor.new("Really black")
- h.TopSurface = "Smooth"
- h.BottomSurface = "Smooth"
- h.Transparency = 0
- h.Reflectance = 0
- ---------------------mesh
- m = Instance.new("BlockMesh")
- m.Parent = h
- m.Scale = Vector3.new(1, 1, 1)
- -----------------------------------------weldling
- w1 = Instance.new("Weld")
- w1.Parent = char["Right Arm"]
- w1.Part0 = h
- w1.Part1 = char["Right Arm"]
- w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
- --Torso--
- local h = Instance.new("Part")
- h.Name = "c"
- h.Parent = char
- h.Size = Vector3.new(1,2,1)
- h.formFactor = "Brick"
- h.BrickColor = BrickColor.new("Really black")
- h.TopSurface = "Smooth"
- h.BottomSurface = "Smooth"
- h.Transparency = 0
- h.Reflectance = 0
- ---------------------mesh
- m = Instance.new("BlockMesh")
- m.Parent = h
- m.Scale = Vector3.new(1, 1, 1)
- -----------------------------------------weldling
- w1 = Instance.new("Weld")
- w1.Parent = char["Right Leg"]
- w1.Part0 = h
- w1.Part1 = char["Right Leg"]
- w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
- --Torso--
- local h = Instance.new("Part")
- h.Name = "d"
- h.Parent = char
- h.Size = Vector3.new(1,2,1)
- h.formFactor = "Brick"
- h.BrickColor = BrickColor.new("Really black")
- h.TopSurface = "Smooth"
- h.BottomSurface = "Smooth"
- h.Transparency = 0
- h.Reflectance = 0
- ---------------------mesh
- m = Instance.new("BlockMesh")
- m.Parent = h
- m.Scale = Vector3.new(1, 1, 1)
- -----------------------------------------weldling
- w1 = Instance.new("Weld")
- w1.Parent = char["Left Leg"]
- w1.Part0 = h
- w1.Part1 = char["Left Leg"]
- w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
- --Torso--
- local h = Instance.new("Part")
- h.Name = "e"
- h.Parent = char
- h.Size = Vector3.new(1,2,1)
- h.formFactor = "Brick"
- h.BrickColor = BrickColor.new("Really black")
- h.TopSurface = "Smooth"
- h.BottomSurface = "Smooth"
- h.Transparency = 0
- h.Reflectance = 0
- ---------------------mesh
- m = Instance.new("BlockMesh")
- m.Parent = h
- m.Scale = Vector3.new(1, 1, 1)
- -----------------------------------------weldling
- w1 = Instance.new("Weld")
- w1.Parent = char["Left Arm"]
- w1.Part0 = h
- w1.Part1 = char["Left Arm"]
- w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
- t = Instance.new("Tool")
- t.Parent = game.Players.acb227.Backpack
- t.Name = "Sword"
- local handlee = Instance.new("Part")
- handlee.Name = "Handle"
- handlee.Parent = t
- handlee.formFactor = "Plate"
- handlee.BrickColor = BrickColor.new("Brown")
- handlee.Size = Vector3.new(1, 1, 1)
- handlee.TopSurface = "Smooth"
- handlee.BottomSurface = "Smooth"
- handlee.Transparency = 1
- handlee.Reflectance = 0
- -----------------------------------------mesh
- m = Instance.new("BlockMesh")
- m.Parent = handlee
- m.Scale = Vector3.new(0.5, 1.5, 0.3)
- -----------------------------------------Brick2
- local brick2 = Instance.new("Part")
- brick2.Name = "Part"
- brick2.Parent = t
- brick2.formFactor = "Plate"
- brick2.BrickColor = BrickColor.new("Brown")
- brick2.Size = Vector3.new(1, 5, 1)
- brick2.TopSurface = "Smooth"
- brick2.BottomSurface = "Smooth"
- brick2.Transparency = 0
- brick2.Reflectance = 0
- -----------------------------------------mesh
- m = Instance.new("SpecialMesh")
- m.Parent = brick2
- m.Scale = Vector3.new(0.2, 1, 0.2)
- -----------------------------------------weld
- w2 = Instance.new("Weld")
- w2.Parent = handlee
- w2.Part0 = brick2
- w2.Part1 = handlee
- w2.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, -1, 0)
- -----------------------------------------Brick2
- local brick1 = Instance.new("Part")
- brick1.Name = "Part"
- brick1.Parent = t
- brick1.formFactor = "Plate"
- brick1.BrickColor = BrickColor.new("Dark stone grey")
- brick1.Size = Vector3.new(1, 1, 1)
- brick1.TopSurface = "Smooth"
- brick1.BottomSurface = "Smooth"
- brick1.Transparency = 0
- brick1.Reflectance = 0
- -----------------------------------------mesh
- m = Instance.new("SpecialMesh")
- m.Parent = brick1
- m.MeshType = "Wedge"
- m.Scale = Vector3.new(0.15, 1, 1.5)
- -----------------------------------------weld
- w2 = Instance.new("Weld")
- w2.Parent = handlee
- w2.Part0 = brick1
- w2.Part1 = brick2
- w2.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, -2, 0.75)
- ---------------------Part 2
- ---------------------Part 2
- ---------------------Part 2
- r = game:service("RunService")
- local damage = 100000
- local slash_damage = 100000
- sword = brick2
- Tool = t
- function attack()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- function swordUp()
- Tool.GripForward = Vector3.new(-1,0,0)
- Tool.GripRight = Vector3.new(0,1,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(0,0,1)
- Tool.GripRight = Vector3.new(0,-1,0)
- Tool.GripUp = Vector3.new(-1,0,0)
- 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()
- Tool.Enabled = true
- end
- function onEquipped()
- end
- ------part 3
- ------part 3
- ------part 3
- function onTouched(hit)
- h = hit.Parent:findFirstChild("Humanoid")
- if h ~= nil then
- h:TakeDamage(math.random(15, 35))
- end
- end
- Tool.Activated:connect(onActivated)
- Tool.Equipped:connect(onEquipped)
- sword.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement