null nil 0 true 0 0 0 1 0 0 0 1 0 0 0 1 Model null true 0 2 true 0 0 -1.5 0 0 1 1 0 0 0 1 0 Darkheart Ice Dagger true false SwordScript -------- OMG HAX r = game:service("RunService") local damage = 7 local slash_damage = 17 local lunge_damage = 24 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 local LungeSound = Instance.new("Sound") LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" LungeSound.Parent = sword LungeSound.Volume = .6 local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1 function DarkKill(character, humanoid, attacker) if (character:FindFirstChild("ForceField") ~= nil) then return end local childs = character:GetChildren() local colors = {} tagHumanoid(humanoid, attacker) humanoid.Health = 0 for i=1,#childs do if (childs[i].className == "Part") then colors[i] = childs[i].BrickColor childs[i].BrickColor = BrickColor.new(26) childs[i].CanCollide = true childs[i].Anchored = true end end wait(.25) for i=1,#childs do if (childs[i].className == "Part") then local b = Instance.new("BodyVelocity") b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80 b.maxForce = Vector3.new(1e5,1e5,1e5) b.Parent = childs[i] end end for i=1,#childs do if (childs[i].className == "Part") then childs[i].Anchored = false end end end 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 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 hum.Health = hum.Health + (damage * .3) if humanoid.Health > damage then tagHumanoid(humanoid, vPlayer) humanoid:TakeDamage(damage) wait(1) untagHumanoid(humanoid) else DarkKill(humanoid.Parent, humanoid, vPlayer) end 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 anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end function lunge() damage = lunge_damage LungeSound:play() local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Lunge" anim.Parent = Tool local force = Instance.new("BodyVelocity") force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80 force.Parent = Tool.Parent.Torso wait(.25) swordOut() wait(.25) force.Parent = nil wait(.5) swordUp() damage = slash_damage 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 function swordAcross() -- parry end Tool.Enabled = true local last_attack = 0 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 t = r.Stepped:wait() if (t - last_attack < .2) then lunge() else attack() end last_attack = t --wait(.5) Tool.Enabled = true end function onEquipped() UnsheathSound:play() end script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped) connection = sword.Touched:connect(blow) true false -0.5 0.5 0 0 -0.5 0.5 0 0 199 -147.5 63.9953537 214.400009 1 2.13553839e-018 8.54358194e-017 8.54358194e-017 3.42285418e-008 -0.99999994 -2.13553963e-018 0.99999994 3.42285418e-008 true 0 true false 0.5 2 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0.699999988 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 1 1 0.800000012 4 rbxasset://fonts/sword.mesh 5 Mesh 0.800000012 0.800000012 1 rbxasset://textures/SwordTexture.png 0 0 0 true false Sound -1 false rbxasset://sounds\swordslash.wav 0.699999988 true false Sound -1 false rbxasset://sounds\swordlunge.wav 0.600000024 true false Sound -1 false rbxasset://sounds\unsheath.wav 1 true false rbxasset://../../../shareddata/scripts/1014476.lua Local Gui true 0 2 true 0 0 -2 0 0 1 1 0 0 0 1 0 Firebrand Big Sword true false SwordScript -------- OMG HAX r = game:service("RunService") local damage = 5 local slash_damage = 10 local lunge_damage = 20 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 local LungeSound = Instance.new("Sound") LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" LungeSound.Parent = sword LungeSound.Volume = .6 local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1 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 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) humanoid:TakeDamage(damage) wait(1) untagHumanoid(humanoid) 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 anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end function lunge() damage = lunge_damage LungeSound:play() local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Lunge" anim.Parent = Tool local force = Instance.new("BodyVelocity") force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80 force.Parent = Tool.Parent.Torso wait(.25) swordOut() wait(.25) force.Parent = nil wait(.5) swordUp() damage = slash_damage 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 function swordAcross() -- parry end Tool.Enabled = true local last_attack = 0 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 t = r.Stepped:wait() if (t - last_attack < 2) then lunge() else attack() end last_attack = t --wait(.5) Tool.Enabled = true end function onEquipped() UnsheathSound:play() end script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped) connection = sword.Touched:connect(blow) true false -0.5 0.5 0 0 -0.5 0.5 0 0 199 -185.400009 353.795288 -156.5 0 -1 0 0 0 -1 1 0 0 true 0 true false 0.5 2 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0.699999988 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 1 1 0.800000012 6 rbxasset://fonts/sword.mesh 5 Mesh 1.5 1.5 1.5 rbxasset://textures/SwordTexture.png 0.5 0 0 true false Sound -1 false rbxasset://sounds\swordslash.wav 0.699999988 true false Sound -1 false rbxasset://sounds\swordlunge.wav 0.600000024 true false Sound -1 false rbxasset://sounds\unsheath.wav 1 true false rbxasset://../../../shareddata/scripts/1014476.lua Local Gui true 0 2 true 0 0 -1.5 0 0 1 1 0 0 0 1 0 Ghostwalker Ice Dagger true false GhostSwordScript -------- OMG HAX r = game:service("RunService") local damage = 10 local damage_base = 10 local damage_max = 40 local slash_damage = 10 local lunge_damage = 20 sword = script.Parent.Handle Tool = script.Parent local ghostEffect = nil local ghostChar = nil local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass local gravity = .75 -- things float at > 1 local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 local LungeSound = Instance.new("Sound") LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" LungeSound.Parent = sword LungeSound.Volume = .6 local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1 function recursiveGetMass(node) local m = 0 local c = node:GetChildren() for i=1,#c do if c[i].className == "Part" then m = m + c[i]:GetMass() end m = m + recursiveGetMass(c[i]) end return m end function makeMeGhostly(trans) if ghostChar == nil then return end local parts = {"Head", "Torso", "Left Leg", "Right Leg", "Left Arm", "Right Arm"} for i=1,#parts do local p = ghostChar:FindFirstChild(parts[i]) if p ~= nil then p.Transparency = trans end end end function UpdateGhostState(isUnequipping) if isUnequipping == true then makeMeGhostly(0) ghostEffect.Parent = nil ghostEffect = nil ghostChar = nil else if ghostEffect == nil then local char = Tool.Parent if char == nil then return end ghostEffect = Instance.new("BodyForce") ghostEffect.Name = "GhostEffect" ghostEffect.force = Vector3.new(0, recursiveGetMass(char) * equalizingForce * gravity,0) ghostEffect.Parent = char.Head ghostChar = char end local power = script.Parent.Kills.Value if power > 9 then power = 9 end script.Parent.Name = "Ghostwalker (" .. power .. ")" slash_damage = damage_base + (damage_max - damage_base) * (power / 9) lunge_damage = 2 * (damage_base + (damage_max - damage_base) * (power / 9)) makeMeGhostly(.2 + ((power / 9) * .8)) end end 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 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) and humanoid.Health > 0) then tagHumanoid(humanoid, vPlayer) humanoid:TakeDamage(damage) if (humanoid.Health <= 0) then script.Parent.Kills.Value = script.Parent.Kills.Value + 1 local sound = script.Parent.Handle:findFirstChild("GhostSound") if sound == nil then sound = Instance.new("Sound") sound.Name = "GhostSound" sound.SoundId = "rbxasset://sounds\\HalloweenGhost.wav" sound.Parent = script.Parent.Handle end sound:play() UpdateGhostState(false) end wait(1) untagHumanoid(humanoid) 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 anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end function lunge() damage = lunge_damage LungeSound:play() local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Lunge" anim.Parent = Tool local force = Instance.new("BodyVelocity") force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80 force.Parent = Tool.Parent.Torso wait(.25) swordOut() wait(.25) force.Parent = nil wait(.5) swordUp() damage = slash_damage 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 function swordAcross() -- parry end Tool.Enabled = true local last_attack = 0 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 t = r.Stepped:wait() if (t - last_attack < .2) then lunge() else attack() end last_attack = t --wait(.5) Tool.Enabled = true end function onEquipped() UnsheathSound:play() UpdateGhostState(false) end function onUnequipped() UpdateGhostState(true) end script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped) script.Parent.Unequipped:connect(onUnequipped) connection = sword.Touched:connect(blow) true false -0.5 0.5 0 0 -0.5 0.5 0 0 1 410.600006 23.1945381 114.5 0 -1 0 0 0 -1 1 0 0 true 0 true false 0.5 2 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0.699999988 0 0 0 true 1 1 0.800000012 4 rbxasset://fonts/sword.mesh 5 Mesh 1 1 1 1 1 0 true false Sound -1 false rbxasset://sounds\swordslash.wav 0.699999988 true false Sound -1 false rbxasset://sounds\swordlunge.wav 0.600000024 true false Sound -1 false rbxasset://sounds\unsheath.wav 1 true false rbxasset://../../../shareddata/scripts/1014476.lua Local Gui true Kills 0 true 0 2 true 0 0 -0.75 0 0 1 1 0 0 0 1 0 Ice Dagger Ice Dagger true false SwordScript -------- OMG HAX r = game:service("RunService") local damage = 5 local slash_damage = 10 local lunge_damage = 15 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 local LungeSound = Instance.new("Sound") LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" LungeSound.Parent = sword LungeSound.Volume = .6 local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1 local isDeadly = false function toggleDeadly(on) isDeadly = on if (on == true) then Tool.Handle.BrickColor = BrickColor.new(23) else Tool.Handle.BrickColor = BrickColor.new(1) end end function FreezeKill(character, humanoid, attacker) if (character:FindFirstChild("ForceField") ~= nil) then return end if (character:FindFirstChild("Firebrand") ~= nil) then return end tagHumanoid(humanoid, attacker) -- make sure this dude dies (edge case when ice dagger wielder gets killed, we may not get back here) local dies = script.MakeSureDudeDies:clone() dies.Disabled = false dies.Parent = character local childs = character:GetChildren() local colors = {} for i=1,#childs do if (childs[i].className == "Part") then colors[i] = childs[i].BrickColor childs[i].BrickColor = BrickColor.new(11) childs[i].Transparency = .5 childs[i].Anchored = true end end wait(2) for i=1,#childs do if (childs[i].className == "Part") then childs[i].Anchored = false end end humanoid.Health = 0 end 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 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 if (isDeadly == true) then FreezeKill(humanoid.Parent, humanoid, vPlayer) else tagHumanoid(humanoid, vPlayer) humanoid:TakeDamage(damage) wait(1) untagHumanoid(humanoid) end 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 anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end function lunge() damage = lunge_damage LungeSound:play() local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Lunge" anim.Parent = Tool local force = Instance.new("BodyVelocity") force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80 force.Parent = Tool.Parent.Torso wait(.25) swordOut() wait(.25) force.Parent = nil wait(.5) swordUp() damage = slash_damage 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 function swordAcross() -- parry end Tool.Enabled = true local last_attack = 0 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 t = r.Stepped:wait() if (t - last_attack < .2) then lunge() else attack() end last_attack = t --wait(.5) Tool.Enabled = true end function onEquipped() toggleDeadly(false) wait(3) toggleDeadly(true) UnsheathSound:play() end function onUnequipped() toggleDeadly(false) end script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped) script.Parent.Unequipped:connect(onUnequipped) connection = sword.Touched:connect(blow) true true MakeSureDudeDies wait(2) -- we're in the character model script.Parent.Humanoid.Health = 0 true false -0.5 0.5 0 0 -0.5 0.5 0 0 1 45.5 250.594955 326.399994 1 -5.37268128e-019 2.26713171e-019 2.26713171e-019 3.42285418e-008 -0.99999994 5.37268128e-019 0.99999994 3.42285418e-008 true 0 true false 0.5 2 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 1 1 0.800000012 2 rbxasset://fonts/sword.mesh 5 Mesh 0.5 0.5 0.5 0 0 1 true false Sound -1 false rbxasset://sounds\swordslash.wav 0.699999988 true false Sound -1 false rbxasset://sounds\swordlunge.wav 0.600000024 true false Sound -1 false rbxasset://sounds\unsheath.wav 1 true false rbxasset://../../../shareddata/scripts/1014476.lua Local Gui true 0 2 true 0 0 -1.5 0 0 1 1 0 0 0 1 0 Illumina Ice Dagger true false SwordScript -------- OMG HAX r = game:service("RunService") local damage = 10 local slash_damage = 20 local lunge_damage = 40 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 local LungeSound = Instance.new("Sound") LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" LungeSound.Parent = sword LungeSound.Volume = .6 local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1 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 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) humanoid:TakeDamage(damage) wait(1) untagHumanoid(humanoid) 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 anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end function lunge() damage = lunge_damage LungeSound:play() local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Lunge" anim.Parent = Tool local force = Instance.new("BodyVelocity") force.velocity = Vector3.new(0,80,0) force.Parent = Tool.Parent.Torso wait(.25) force.velocity = (Tool.Parent.Torso.CFrame.lookVector * 120) + Vector3.new(0, 60,0) swordOut() wait(.5) force.Parent = nil wait(.5) swordUp() damage = slash_damage 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 function swordAcross() -- parry end Tool.Enabled = true local last_attack = 0 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 t = r.Stepped:wait() if (t - last_attack < .2) then lunge() else attack() end last_attack = t --wait(.5) Tool.Enabled = true end function onEquipped() UnsheathSound:play() end script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped) connection = sword.Touched:connect(blow) true false -0.5 0.5 0 0 -0.5 0.5 0 0 199 -426.600006 392.794556 68.5 0 1 0 0 0 -1 -1 0 0 true 0 true false 0.5 2 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0.699999988 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 1 1 0.800000012 4 rbxasset://fonts/sword.mesh 5 Mesh 1 1 1 1 1 0 true true Sparkles true false Sound -1 false rbxasset://sounds\swordslash.wav 0.699999988 true false Sound -1 false rbxasset://sounds\swordlunge.wav 0.600000024 true false Sound -1 false rbxasset://sounds\unsheath.wav 1 true false rbxasset://../../../shareddata/scripts/1014476.lua Local Gui true 0 2 true 0 0 1 1 0 0 0 1 0 0 0 1 MedKit rbxasset://Textures\MedKit.png true false HealScript Tool = script.Parent local field = nil function Heal() local vCharacter = Tool.Parent local childs = vCharacter:GetChildren() local colors = {} for i=1,#childs do if (childs[i].className == "Part") then colors[i] = childs[i].BrickColor childs[i].BrickColor = BrickColor.new(1) end end wait(1) local human = vCharacter:FindFirstChild("Humanoid") if (human ~= nil) then human.Health = human.MaxHealth end for i=1,#childs do if (childs[i].className == "Part") then childs[i].BrickColor = colors[i] end end end Tool.Enabled = true function onActivated() if not Tool.Enabled then return end Tool.Enabled = false Heal() Tool.Parent = nil end script.Parent.Activated:connect(onActivated) true false -0.5 0.5 0 0 -0.5 0.5 0 0 1 138 341.09549 89 1 -1.38258289e-019 -2.21169007e-024 1.38258289e-019 1 -1.38258289e-019 2.21169007e-024 1.38258289e-019 1 true 0 true false 1 0 0 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 1 2 1 2 1 Decal 20 0 rbxasset://Textures\MedKit.png true false Local Gui local Tool = script.Parent; enabled = true function onButton1Down(mouse) if not enabled then return end enabled = false mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(.5) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end function onEquippedLocal(mouse) if mouse == nil then print("Mouse not found") return end mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end Tool.Equipped:connect(onEquippedLocal) true 0 2 true 0 0 0 1 0 0 0 1 0 0 0 1 ShadowSphere true false CloakScript Tool = script.Parent local field = nil local face, shirt = nil local isVisible = true local invisibleChar = nil local pants, fullshirt = nil function setTrans(trans, character) local childs = character:GetChildren() for i=1,#childs do if (childs[i].className == "Part") then childs[i].Transparency = trans end if (childs[i].className == "Hat" or childs[i].className == "Tool") then if (childs[i].Name == "ShadowSphere" and trans == 0) then childs[i].Handle.Transparency = .5 else childs[i].Handle.Transparency = trans end end end end function invisible() isVisible = false invisibleChar = Tool.Parent setTrans(1, Tool.Parent) face = Tool.Parent.Head.face:clone() shirt = Tool.Parent.Torso.roblox:clone() Tool.Parent.Head.face.Parent = nil Tool.Parent.Torso.roblox.Parent = nil pants = nil fullshirt = nil local childs = invisibleChar:GetChildren() for i=1,#childs do if (childs[i].className == "Pants") then pants = childs[i] pants.Parent = nil end if (childs[i].className == "Shirt") then fullshirt = childs[i] fullshirt.Parent = nil end end end function visible() if (isVisible == true) then return end isVisible = true --local char = nil --if (Tool.Parent.className == "Backpack") then -- char = Tool.Parent.Parent.Character --else -- char = Tool.Parent --end if (invisibleChar ~= nil) then setTrans(0, invisibleChar) if (face ~= nil) then face:clone().Parent = invisibleChar.Head end if (shirt ~= nil) then shirt:clone().Parent = invisibleChar.Torso end if (pants ~= nil) then pants.Parent = invisibleChar end if (fullshirt ~= nil) then fullshirt.Parent = invisibleChar end Tool.Handle.Transparency = .5 end invisibleChar = nil end Tool.Enabled = true function onActivated() if not Tool.Enabled then return end Tool.Enabled = false invisible() wait(6) visible() wait(4) Tool.Enabled = true end script.Parent.Activated:connect(onActivated) Tool.Unequipped:connect(visible) true false -0.5 0.5 0 0 -0.5 0.5 0 0 26 -159 470.994141 255 0 1 0 0 0 1 1 0 0 true 0 true false 1 0 0 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0.5 0 0 0 true 0 2 2 2 false Local Gui local Tool = script.Parent; enabled = true function onButton1Down(mouse) if not enabled then return end enabled = false mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(10) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end function onEquippedLocal(mouse) if mouse == nil then print("Mouse not found") return end mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end Tool.Equipped:connect(onEquippedLocal) true 0 2 true 0 0 0 1 0 0 0 1 0 0 0 1 ShieldSphere rbxasset://Textures\CameraZoomIn.png true false ShieldScript Tool = script.Parent local field = nil function shieldsUp() if (field == nil) then Tool.Handle.Boing:play() local vCharacter = Tool.Parent Tool.Handle.BrickColor = BrickColor.new(24) -- yellow field = Instance.new("ForceField") field.Parent = vCharacter end end function shieldsDown() if (field ~= nil) then field.Parent = nil field = nil Tool.Handle.BrickColor = BrickColor.new(104) -- purple end end Tool.Enabled = true function onActivated() if not Tool.Enabled then return end Tool.Enabled = false shieldsUp() wait(8) shieldsDown() wait(2) Tool.Enabled = true end script.Parent.Activated:connect(onActivated) Tool.Unequipped:connect(shieldsDown) true false -0.5 0.5 0 0 -0.5 0.5 0 0 104 196 139.794159 196 0 1 0 0 0 1 1 0 0 true 0 true false 1 0 0 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0.5 0 0 0 true 0 2 2 2 false Boing -1 false rbxasset://sounds\\short spring sound.wav 1 true false Local Gui local Tool = script.Parent; enabled = true function onButton1Down(mouse) if not enabled then return end enabled = false mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(10) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end function onEquippedLocal(mouse) if mouse == nil then print("Mouse not found") return end mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end Tool.Equipped:connect(onEquippedLocal) true 0 2 true 0 0 0 1 0 0 0 1 0 0 0 1 Touchstone true false TouchstoneScript Tool = script.Parent function teleport() local char = Tool.Parent if (char == nil) then return end local t = char:FindFirstChild("Torso") if t == nil then return end local dx = math.random(-10,10) local dz = math.random(-10,10) local pos = game.Workspace.TouchstoneLocus.Position local dest = Vector3.new(pos.x + dx, pos.y - 15, pos.z + dz) local g = Instance.new("BodyAngularVelocity") g.maxTorque = Vector3.new(1e5,1e5,1e5) g.angularvelocity = Vector3.new(0,0,0) g.Parent = t t.CFrame = CFrame.new(dest) t.Velocity = Vector3.new(0,0,0) t.RotVelocity = Vector3.new(0,0,0) wait(1) g.Parent = nil end Tool.Enabled = true function onActivated() if not Tool.Enabled then return end Tool.Enabled = false teleport() wait(10) Tool.Enabled = true end script.Parent.Activated:connect(onActivated) true false -0.5 0.5 0 0 -0.5 0.5 0 0 28 -169 275.394135 -78 0 1 0 0 0 1 1 0 0 true 0 true false 1 0 0 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0.5 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 0 2 2 2 false Boing -1 false rbxasset://sounds\\short spring sound.wav 1 true false Local Gui local Tool = script.Parent; enabled = true function onButton1Down(mouse) if not enabled then return end enabled = false mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(10) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end function onEquippedLocal(mouse) if mouse == nil then print("Mouse not found") return end mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end Tool.Equipped:connect(onEquippedLocal) true 0 2 true 0 0 -2 0 0 1 1 0 0 0 1 0 Venomshank Ice Dagger true false SwordScript -------- OMG HAX r = game:service("RunService") local damage = 5 local slash_damage = 10 local lunge_damage = 20 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 local LungeSound = Instance.new("Sound") LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" LungeSound.Parent = sword LungeSound.Volume = .6 local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1 function Poison(character, attacker) if (character:FindFirstChild("ForceField") ~= nil) then return end if (character:FindFirstChild("Poison") == nil ) then local s = script.Parent.Poison:clone() s.Disabled = false s.Parent = character end end 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 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 Poison(humanoid.Parent, attacker) tagHumanoid(humanoid, vPlayer) humanoid:TakeDamage(damage) wait(1) untagHumanoid(humanoid) 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 anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end function lunge() damage = lunge_damage LungeSound:play() local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Lunge" anim.Parent = Tool local force = Instance.new("BodyVelocity") force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80 force.Parent = Tool.Parent.Torso wait(.25) swordOut() wait(.25) force.Parent = nil wait(.5) swordUp() damage = slash_damage 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 function swordAcross() -- parry end Tool.Enabled = true local last_attack = 0 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 t = r.Stepped:wait() if (t - last_attack < 2) then lunge() else attack() end last_attack = t --wait(.5) Tool.Enabled = true end function onEquipped() UnsheathSound:play() end script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped) connection = sword.Touched:connect(blow) true false -0.5 0.5 0 0 -0.5 0.5 0 0 199 227.600006 227.795181 47.5 0 -1 0 0 0 -1 1 0 0 true 0 true false 0.5 2 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0.699999988 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 1 1 0.800000012 6 rbxasset://fonts/sword.mesh 5 Mesh 1.5 1.5 1.5 rbxasset://textures/SwordTexture.png 0.300000012 1 0.300000012 true false Sound -1 false rbxasset://sounds\swordslash.wav 0.699999988 true false Sound -1 false rbxasset://sounds\swordlunge.wav 0.600000024 true false Sound -1 false rbxasset://sounds\unsheath.wav 1 true false rbxasset://../../../shareddata/scripts/1014476.lua Local Gui true true Poison function Poison() local character = script.Parent local humanoid = character:FindFirstChild("Humanoid") if (character:FindFirstChild("ForceField") ~= nil) then return end local childs = character:GetChildren() local colors = {} for i=1,#childs do if (childs[i].className == "Part") then colors[i] = childs[i].BrickColor childs[i].BrickColor = BrickColor.new(119) end end wait(1) for i=1,#childs do if (childs[i].className == "Part") then childs[i].BrickColor = colors[i] end end --tagHumanoid(humanoid, attacker) humanoid:TakeDamage(humanoid.Health / 4) wait(1) --untagHumanoid(humanoid) end for i=1,5 do Poison() wait(.2) end script.Parent = nil true 0 2 true 0 0 -1.75 0 0 1 1 0 0 0 1 0 Windforce Ice Dagger true false SwordScript -------- OMG HAX r = game:service("RunService") local damage = 10 local slash_damage = 15 local lunge_damage = 30 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = .7 local LungeSound = Instance.new("Sound") LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav" LungeSound.Parent = sword LungeSound.Volume = .6 local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = sword UnsheathSound.Volume = 1 function windforce(dir, victimTorso) if (victimTorso.Parent:FindFirstChild("ForceField") ~= nil) then return end if victimTorso:FindFirstChild("WindEffect") == nil then local force = Instance.new("BodyVelocity") force.Name = "WindEffect" force.maxForce = Vector3.new(1e7, 1e7, 1e7) force.P = 125 force.velocity = (dir * 100) + Vector3.new(0, 30,0) force.Parent = victimTorso game.Debris:AddItem(force, .25) end end 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 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) humanoid:TakeDamage(damage) local d = vCharacter.Torso.CFrame.lookVector windforce(Vector3.new(d.x, d.y, d.z), hit.Parent.Torso) wait(1) untagHumanoid(humanoid) 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 anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Slash" anim.Parent = Tool end function lunge() damage = lunge_damage LungeSound:play() local anim = Instance.new("StringValue") anim.Name = "toolanim" anim.Value = "Lunge" anim.Parent = Tool local force = Instance.new("BodyVelocity") force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80 force.Parent = Tool.Parent.Torso wait(.25) swordOut() wait(.25) force.Parent = nil wait(.5) swordUp() damage = slash_damage 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 function swordAcross() -- parry end Tool.Enabled = true local last_attack = 0 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 t = r.Stepped:wait() if (t - last_attack < .2) then lunge() else attack() end last_attack = t --wait(.5) Tool.Enabled = true end function onEquipped() UnsheathSound:play() end script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped) connection = sword.Touched:connect(blow) true false -0.5 0.5 0 0 -0.5 0.5 0 0 102 129.5 641.5 -302.600006 1 0 -0 0 0 -1 0 1 -0 true 0 true false 0.5 2 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false Handle 0.300000012 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 true 1 1 0.800000012 5 rbxasset://fonts/sword.mesh 5 Mesh 1.20000005 1.20000005 1.20000005 1 1 0 true false Sound -1 false rbxasset://sounds\swordslash.wav 0.699999988 true false Sound -1 false rbxasset://sounds\swordlunge.wav 0.600000024 true false Sound -1 false rbxasset://sounds\unsheath.wav 1 true false rbxasset://../../../shareddata/scripts/1014476.lua Local Gui true