Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print([[
- ----------------------------------------
- Diced Swords Script v1
- ----------------------------------------
- Script by: SlayKillerX66
- Ideas by: My brain
- ----------------------------------------
- Al... Thats old, stop it.
- ----------------------------------------
- ]])
- sword = true
- shield = false
- dagger = false
- local id = {502270913,925412603,918971862,220211718,656478412}
- local player = game.Players.LocalPlayer
- local C = player.Character
- local mouse = player:GetMouse()
- local humanoid = C:WaitForChild("Humanoid")
- local Music = Instance.new("Sound")
- Music.SoundId = "http://www.roblox.com/asset/?id="..id[1]
- Music.Name = "Music"
- Music.Parent = C.Torso
- Music.Volume = 1
- Music:play()
- Music.Looped = true
- local trail = Instance.new("Beam")
- trail.Color = ColorSequence.new(Color3.new(0.0666667, 0.0666667, 0.0666667), Color3.new(0.0666667, 0.0666667, 0.0666667))
- trail.Parent = C.Torso
- trail.Attachment0 = C:FindFirstChild("Left Arm").LeftGripAttachment
- trail.Attachment1 = nil
- local trail1 = Instance.new("Trail")
- trail1.Color = ColorSequence.new(Color3.new(0.0666667, 0.0666667, 0.0666667), Color3.new(0.0666667, 0.0666667, 0.0666667))
- trail1.Parent = C.Torso
- trail1.Lifetime = 0.5
- trail1.Attachment0 = C:FindFirstChild("Torso").NeckAttachment
- trail1.Attachment1 = C:FindFirstChild("Torso").WaistCenterAttachment
- local particleemitter = Instance.new("ParticleEmitter")
- particleemitter.LightInfluence = 1
- particleemitter.Lifetime = NumberRange.new(0.05, 0.1)
- particleemitter.Speed = NumberRange.new(50)
- particleemitter.Rate = 0.2
- particleemitter.Texture = "rbxassetid://1028077058"
- particleemitter.SpreadAngle = Vector2.new(255, 255)
- particleemitter.VelocitySpread = 255
- particleemitter.Parent = C.Torso
- C.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=28440069'
- p=game:service"InsertService":LoadAsset(106690045)
- p.Parent=C
- p:MoveTo(C.Torso.Position)
- p:MakeJoints()
- local shirtid=360358649
- local pantsid=360358755
- function kill(nam, parent) if parent:FindFirstChild(nam) then
- parent[nam]:Destroy()
- end end
- kill("roblox", C.Torso)
- kill("Shirt", C)
- kill("Pants", C)
- local s=Instance.new("Shirt")
- s.Parent=C
- s.ShirtTemplate="http://www.roblox.com/asset/?id="..(shirtid-1)
- local t=Instance.new("Pants")
- t.Parent=C
- t.PantsTemplate="http://www.roblox.com/asset/?id="..(pantsid-1)
- mouse.KeyDown:connect(function(key)
- if key == "c" then
- local animation=Instance.new("Animation",C)
- animation.Name="LocalAnimation"
- animation.AnimationId = "http://www.roblox.com/Asset?ID=28488254"
- local anim=humanoid:LoadAnimation(animation)
- anim:Play()
- C.LocalAnimation:remove()
- end
- if key == "p" then
- C.Torso.Music:Remove()
- local Music = Instance.new("Sound")
- Music.SoundId = "rbxassetid://"..id[math.random(1,5)]
- Music.Name = "Music"
- Music.Parent = C.Torso
- Music.Volume = 1
- Music:play()
- Music.Looped = true
- end
- if key == "e" then
- local Sound = Instance.new("Sound")
- Sound.SoundId = "http://www.roblox.com/asset/?id=287614966"
- Sound.Parent = workspace
- Sound.Volume = 10
- Sound:play()
- local animation=Instance.new("Animation",C)
- animation.Name="LocalAnimation"
- animation.AnimationId = "http://www.roblox.com/Asset?ID=52155728"
- local anim=humanoid:LoadAnimation(animation)
- anim:Play()
- C.LocalAnimation:remove()
- wait(2)
- anim:Stop()
- end
- if key == "f" then
- if sword == true then
- local animation=Instance.new("Animation",C)
- animation.Name="LocalAnimation"
- animation.AnimationId = "http://www.roblox.com/Asset?ID=30188122"
- local anim=humanoid:LoadAnimation(animation)
- anim:Play()
- C.LocalAnimation:remove()
- wait(0.5)
- local ball = Instance.new("Part")
- ball.Parent = C
- ball.Color = Color3.new(0.152941, 0.27451, 0.176471)
- ball.Size = Vector3.new(1, 1, 1)
- ball.Shape = Enum.PartType.Ball
- ball.CanCollide = false
- ball.Anchored = true
- ball.Transparency = 0.1
- ball.Material = Enum.Material.Granite
- ball.CFrame = CFrame.new(C.Torso.Position)
- function onTouch(part)
- local humanoid = part.Parent:findFirstChild("Humanoid")
- if (humanoid ~=nil) then
- humanoid.Health = humanoid.Health - 2
- end
- end
- C.Part.Touched:connect(onTouch)
- local Music = Instance.new("Sound")
- Music.SoundId = "http://www.roblox.com/asset/?id=1087356234"
- Music.Parent = workspace
- Music.Volume = 10
- Music:play()
- for i=1,50 do
- ball.Size = ball.Size + Vector3.new(2, 2, 2)
- wait(0.01)
- end
- ball:Remove()
- Music:Remove()
- end
- if dagger == true then
- local animation=Instance.new("Animation",C)
- animation.Name="LocalAnimation"
- animation.AnimationId = "http://www.roblox.com/Asset?ID=30188122"
- local anim=humanoid:LoadAnimation(animation)
- anim:Play()
- C.LocalAnimation:remove()
- wait(0.5)
- local ball = Instance.new("Part")
- local mesh = Instance.new("SpecialMesh")
- ball.Parent = C
- ball.Color = Color3.new(0.458824, 0, 0)
- ball.Size = Vector3.new(1, 1, 1)
- ball.Shape = Enum.PartType.Ball
- ball.CanCollide = false
- ball.Anchored = true
- ball.Transparency = 0.1
- ball.Material = Enum.Material.Neon
- ball.CFrame = CFrame.new(C.Torso.Position)
- mesh.Parent = ball
- mesh.MeshId = "rbxassetid://689879827"
- mesh.Scale = Vector3.new(0.001, 0.001, 0.001)
- function onTouch(part)
- local humanoid = part.Parent:findFirstChild("Humanoid")
- if (humanoid ~=nil) then
- humanoid.Health = humanoid.Health - 0.25
- end
- end
- C.Part.Touched:connect(onTouch)
- local Music = Instance.new("Sound")
- Music.SoundId = "http://www.roblox.com/asset/?id=280247455"
- Music.Parent = workspace
- Music.Volume = 10
- Music:play()
- for i=1,100 do
- mesh.Scale = mesh.Scale + Vector3.new(0.08, 0.08, 0.08)
- ball.Size = ball.Size + Vector3.new(7, 7, 7)
- wait(0.015)
- end
- ball:Remove()
- Music:Remove()
- anim:remove()
- end
- end
- if key == "z" then
- C.sword.Mesh.MeshId = "rbxassetid://524503990"
- C.sword.Mesh.TextureId = "rbxassetid://524504010"
- C.sword.Mesh.Scale = Vector3.new(0.005, 0.005, 0.005)
- C.sword.Mesh.Offset = Vector3.new(0, -1, 0)
- dagger = true
- sword = false
- end
- if key == "x" then
- C.sword.Mesh.MeshId = "rbxassetid://500489601"
- C.sword.Mesh.TextureId = "rbxassetid://500489609"
- C.sword.Mesh.Scale = Vector3.new(0.01, 0.01, 0.01)
- C.sword.Mesh.Offset = Vector3.new(0, 0, 0)
- dagger = false
- sword = true
- end
- if key == "q" then
- local LS = C.Torso["Left Shoulder"]
- local mt = mouse.Target
- local hl = mt.Parent:findFirstChild("Humanoid")
- if hl == nil then return end
- for i=1,15 do
- LS.C0 = LS.C0 * CFrame.Angles(0, 0, -0.1)
- wait(0.01)
- end
- local hit = Instance.new("Attachment")
- hit.Parent = mt.Parent:FindFirstChild("Torso")
- trail.Attachment1 = hit
- local Music = Instance.new("Sound")
- Music.SoundId = "http://www.roblox.com/asset/?id=821439273"
- Music.Parent = C.Torso
- Music.Volume = 0.5
- Music:play()
- hl.WalkSpeed = 3
- hl.Health = hl.Health - 55
- for i=1,15 do
- LS.C0 = LS.C0 * CFrame.Angles(0, 0, 0.1)
- wait(0.01)
- end
- trail.Attachment1 = nil
- wait(2.5)
- hl.WalkSpeed = 16
- end
- function onButton1Down(mouse)
- if sword == true then
- local animation=Instance.new("Animation",C)
- animation.Name="LocalAnimation"
- animation.AnimationId = "http://www.roblox.com/Asset?ID=186934658"
- local anim=humanoid:LoadAnimation(animation)
- anim:Play()
- C.LocalAnimation:remove()
- local mt = mouse.Target
- local hl = mt.Parent:findFirstChild("Humanoid")
- if hl == nil then return end
- if (C.Torso.Position - mt.Position).magnitude < 8 then
- wait(0.33)
- local Music = Instance.new("Sound")
- Music.SoundId = "http://www.roblox.com/asset/?id=566593606"
- Music.Parent = C.Torso
- Music.Volume = 10
- Music:play()
- hl.Health = 0
- end
- end
- if dagger == true then
- local animation=Instance.new("Animation",C)
- animation.Name="LocalAnimation"
- animation.AnimationId = "http://www.roblox.com/Asset?ID=94161333"
- local anim=humanoid:LoadAnimation(animation)
- anim:Play()
- C.LocalAnimation:remove()
- local mt = mouse.Target
- local hl = mt.Parent:findFirstChild("Humanoid")
- if hl == nil then return end
- if (C.Torso.Position - mt.Position).magnitude < 8 then
- wait(0.33)
- local Music = Instance.new("Sound")
- Music.SoundId = "http://www.roblox.com/asset/?id=566593606"
- Music.Parent = C.Torso
- Music.Volume = 10
- Music:play()
- hl.Health = 0
- end
- end
- end
- end)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- C.Humanoid.MaxHealth = math.huge
- C.Humanoid.Health = math.huge
- C.Humanoid.WalkSpeed = 12
- local sword = Instance.new("Part")
- local weld = Instance.new("Weld")
- local mesh = Instance.new("SpecialMesh")
- local Pullout = Instance.new("Sound")
- local RS = C.Torso["Right Shoulder"]
- local N = C.Torso["Neck"]
- local LS = C.Torso["Left Shoulder"]
- local RH = C.Torso["Right Hip"]
- local LH = C.Torso["Left Hip"]
- N.C0 = N.C0 * CFrame.Angles(0.1,0,0)
- RH.C0 = RH.C0 * CFrame.Angles(-0.07,0,0)
- LS.C0 = LS.C0 * CFrame.Angles(-0.07,0,0)
- RS.C0 = RS.C0 * CFrame.Angles(-0.07,0,0)
- LH.C0 = LH.C0 * CFrame.Angles(-0.07,0,0)
- sword.Name = "sword"
- sword.Size = Vector3.new(0.8, 2, 0.1)
- Pullout.SoundId = "http://www.roblox.com/asset/?id=169310310"
- Pullout.Parent = C.Torso
- Pullout.Volume = 10
- Pullout:play()
- C.Animate.idle.Animation2:remove()
- sword.Parent = C
- sword.Anchored = false
- sword.CanCollide = false
- weld.Parent = C.Torso
- weld.Part0 = sword
- weld.Part1 = C:FindFirstChild("Right Arm")
- weld.C1 = CFrame.fromEulerAnglesXYZ(-1.5, -1.5, 0)
- weld.C0 = CFrame.new(1.15, -2, 0)
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.Scale = Vector3.new(0.01, 0.01, 0.01)
- mesh.MeshId = "rbxassetid://500489601"
- mesh.TextureId = "rbxassetid://500489609"
- mesh.Parent = sword
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement