Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --A Sword + Ragdoll Death
- --Credit To Rufus14 For The Original Script
- --I just edit replaced the mesh and buffed the damage ^-^
- local Player = game.Players.localPlayer
- local Character = Player.Character
- ded = false
- initalizing = true
- --local Create = LoadLibrary("RbxUtility").Create
- --[[local sound = Instance.new("Sound",game.Players.LocalPlayer.Character.Torso) -- Editing Chatacter Starts NOW!
- sound.SoundId = "rbxassetid://518673637"
- sound:Play()
- sound.Name = "a"
- sound.Looped = true]]
- local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
- local shirt = 722195568
- local pants = 472771345
- wait(0.5) -- Required to not cause duplicated stuff
- local h = Character:findFirstChild("Shirt")
- if h ~= nil then
- h.ShirtTemplate = basetemplate..shirt
- else
- local i = Instance.new("Shirt")
- i.Name = "Shirt"
- i.ShirtTemplate = basetemplate..shirt
- i.Parent = Character
- end
- local p = Character:findFirstChild("Pants")
- if p ~= nil then
- p.PantsTemplate = basetemplate..pants
- else
- local np = Instance.new("Pants")
- np.PantsTemplate = basetemplate..pants
- np.Name = "Pants"
- np.Parent = Character
- end
- local h = Character:findFirstChild("Body Colors")
- if h ~= nil then
- h.HeadColor = BrickColor.new("Pastel brown")
- h.TorsoColor = BrickColor.new("Pastel brown")
- h.RightLegColor = BrickColor.new("Pastel brown")
- h.LeftLegColor = BrickColor.new("Pastel brown")
- h.RightArmColor = BrickColor.new("Pastel brown")
- h.LeftArmColor = BrickColor.new("Pastel brown")
- else
- local i = Instance.new("BodyColors")
- i.Name = "Body Colors"
- i.Parent = Character
- i.HeadColor = BrickColor.new("Pastel brown")
- i.TorsoColor = BrickColor.new("Pastel brown")
- i.RightLegColor = BrickColor.new("Pastel brown")
- i.LeftLegColor = BrickColor.new("Pastel brown")
- i.RightArmColor = BrickColor.new("Pastel brown")
- i.LeftArmColor = BrickColor.new("Pastel brown")
- end
- for i,v in pairs(Character:children()) do -- Remove Hats, Accessories, And Hair
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- local hair = Instance.new("Hat", Character) -- Make Hair
- local part = Instance.new("Part", hair)
- local attach = Instance.new("Attachment", part)
- local weld = Instance.new("Weld", part)
- local weld2 = Instance.new("Weld", Character.Head)
- local weld3 = Instance.new("Weld", Character)
- local mesh = Instance.new("FileMesh", part)
- local vector = Instance.new("Vector3Value", part)
- hair.AttachmentForward = Vector3.new(0, -0.1, -0.995)
- hair.AttachmentPos = Vector3.new(0, 0.9, 0)
- hair.AttachmentRight = Vector3.new(1, 0, 0)
- hair.AttachmentUp = Vector3.new(0, 0.995, -0.1)
- part.Size = Vector3.new(2,2,2)
- part.Name = "Handle"
- attach.Name = "HairAttachment"
- vector.Name = "OriginalSize"
- weld.Part0 = part
- weld.Part1 = Character.Head
- weld2.Name = "HeadWeld"
- weld2.Part0 = Character.Head
- weld2.Part1 = part
- weld3.Part0 = Character.Head
- weld3.Part1 = part
- mesh.MeshId = "http://www.roblox.com/asset/?id=13070796"
- mesh.TextureId= "http://www.roblox.com/asset/?id=14765363"
- mesh.Offset = Vector3.new(0,-0.4,0)
- vector.Value = Vector3.new(2,2,2)
- local dec2 = Instance.new("Decal", Character)
- dec2.Face = "Front"
- dec2.Texture = "rbxassetid://379315128"
- dec2.Parent = Character.Head
- local deca = Instance.new("Decal", Character)
- deca.Face = "Front"
- deca.Texture = "http://www.roblox.com/asset/?id=378934601"
- deca.Parent = Character.Head
- Character.Head.face.Texture = "rbxassetid://363558541"
- -------------------------------------------------------------------------------------------------------------------------
- function bleed(frick)
- wait() -- Dont BREAK
- while frick.Parent ~= nil do
- wait(0.01)
- local reeee = coroutine.wrap(function()
- local thing = Instance.new('Part',game.Workspace)
- thing.Size = Vector3.new(0.2,0.2,0.2)
- thing.CFrame = frick.CFrame
- thing.Shape = Enum.PartType.Ball
- thing.CFrame = frick.CFrame
- thing.Transparency = 1
- thing.BrickColor = BrickColor.new('Maroon')
- thing.Material = Enum.Material.SmoothPlastic
- thing.Name = "Blood"
- thing.CanCollide =false
- local rawrxd = Instance.new('BodyForce',thing)
- rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
- local coru = coroutine.wrap(function()
- wait(0.01)
- rawrxd:Destroy()
- end)
- coru()
- local ree = Instance.new('ParticleEmitter',thing)
- --print("eek")
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))})
- ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
- ree.Texture = 'rbxassetid://867743272'
- ree.Lifetime = NumberRange.new(0.4)
- ree.Rate = 50
- ree.LockedToPart = true
- ree.Speed = NumberRange.new(0, 2)
- thing.Touched:connect(function(tou)
- wait() -- Dont BREAK
- if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= Character and tou.Parent.ClassName ~= "Accessory" and tou.Name ~= "Thicc Sword" then
- local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
- thing:Destroy()
- if tou.Name == "BloodPuddle" then
- local reee = tou.CFrame
- if tou.Transparency > -0.2 then
- tou.Transparency = tou.Transparency -0.1
- end
- if tou.Size.X < 10 then
- tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
- tou.CFrame = reee
- end
- else
- local bloodlol = Instance.new('Part',workspace)
- bloodlol.Size=Vector3.new(1,0.2,1)
- bloodlol.Name = "BloodPuddle"
- bloodlol.Anchored = true
- bloodlol.CanCollide = false
- bloodlol.Material = Enum.Material.SmoothPlastic
- bloodlol.BrickColor = BrickColor.new('Maroon')
- local cyl = Instance.new('CylinderMesh',bloodlol)
- cyl.Scale = Vector3.new(1,0.1,1)
- bloodlol.CFrame = CFrame.new(pos)
- local coru=coroutine.wrap(function()
- while bloodlol.Parent ~= nil do
- if bloodlol.Transparency < 1 then
- bloodlol.Transparency = bloodlol.Transparency+0.05
- else
- bloodlol:Destroy()
- end
- wait(0.1)
- end
- end)
- coru()
- end
- end
- end)
- local coru = coroutine.wrap(function()
- wait(1)
- thing:Destroy()
- --game:GetService("Debris"):AddItem(thing, 1)
- end)
- coru()
- end)
- reeee()
- wait()
- end
- end
- --------------------------------------------------------------------
- function say(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Cartoon"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = BrickColor.new("Hot pink").Color
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- --[[local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Cartoon"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = BrickColor.new("Hot white").Color
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- tecks3.Size = UDim2.new(1,0,0.5,0)]]
- for i = 1,string.len(text),1 do
- --[[local s = Instance.new("Sound", Character)
- s.SoundId = "http://www.roblox.com/asset/?id=606862847"
- s:Play()
- game:GetService("Debris"):AddItem(s,0.085)]]
- tecks2.Text = string.sub(text,1,i)
- --tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- say(msg)
- end
- Player.Chatted:connect(onChatted)
- mouse = game.Players.LocalPlayer:GetMouse()
- using = false
- hit = false
- bat = Instance.new("Part", game.Players.LocalPlayer.Character)
- bat.Name = "Thicc Sword"
- bat.Size = Vector3.new(1, 1, 3)
- bat.Rotation = Vector3.new(0, 0, 0)
- bat.CanCollide = false
- bat:BreakJoints()
- --[[laughing = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- laughing.Volume = 6
- laughing.SoundId = "rbxassetid://617500399"
- ooh = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- ooh .Volume = 6
- ooh .SoundId = "rbxasset://sounds/swoosh.wav"]]
- baseballhit = Instance.new("Sound", bat)
- baseballhit.Volume = 10
- baseballhit.SoundId = "rbxassetid://93706376"
- baseballhit1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- baseballhit1.Volume = 20
- baseballhit1.SoundId = "rbxassetid://93706376"
- swinging = Instance.new("Sound", bat)
- swinging.Volume = 10
- swinging.PlaybackSpeed = 1.2
- swinging.SoundId = "rbxasset://sounds/swoosh.wav"
- weld = Instance.new("Weld", bat)
- weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weld.Part1 = bat
- local batcritical = Instance.new("Sound", bat)
- batcritical.SoundId = "rbxassetid://296102734"
- batcritical.Volume = 5
- weld.C0 = weld.C0 * CFrame.Angles(0,3.15,0) * CFrame.new(0,-0.95,1.9)
- print(weld.C0)
- mesh = Instance.new("SpecialMesh", bat)
- mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
- mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
- mesh.Scale = Vector3.new(1.7, 1.7, 1.7)
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- function hit()
- if not using and not initalizing then
- using = true
- for i = 0,1 , 0.1 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.35),i)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.35),i)
- rhandweld.C0 = rhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.3),i)
- lhandweld.C0 = lhandweld.C0 * CFrame.new():lerp(CFrame.Angles(-0.15,0,0),i)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
- end
- wait(0.2)
- swinging:Play()
- local se = Instance.new("Part", bat)
- se.Size = Vector3.new(1, 1, 3)
- se:BreakJoints()
- se.Transparency = 1
- se.CanCollide = false
- local dmgweld = Instance.new("Weld", se)
- dmgweld.Part0 = bat
- dmgweld.Part1 = se
- dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
- local function dmg(part)
- local hum = part.Parent:findFirstChild("Humanoid")
- if hum ~= nil then
- se:destroy()
- baseballhit:Play()
- baseballhit1:Play()
- --hum.Health = hum.Health - math.random(55,80)
- --hum.Health = 0
- decals = {263033191,189728908,178269340,181477718,498948943,485362831,360385366,144325140}
- decals2 = {284846352,191089587}
- local e = Instance.new("Decal",bat)
- e.Texture = "rbxassetid://"..decals[math.random(1,#decals)]
- e.Face = "Left"
- local e2 = Instance.new("Decal",bat)
- e2.Texture = e.Texture
- e2.Face = "Right"
- local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
- local shirt = 442081908
- local pants = 540138654
- local h = Character:findFirstChild("Shirt")
- h.ShirtTemplate = basetemplate..shirt
- local p = Character:findFirstChild("Pants")
- p.PantsTemplate = basetemplate..pants
- local bleedpart = Instance.new("Part", part.Parent.Torso)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = part.Parent.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", Character["Thicc Sword"])
- bleedpartweld.Part0 = part.Parent.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local cuntruu=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- local thicc = coroutine.wrap(function()
- wait(3)
- bleedpart:Remove()
- end)
- cuntruu()
- thicc()
- hum.PlatformStand = true
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- if part.Parent:FindFirstChild("HumanoidRootPart") ~= nil and part.Parent:FindFirstChild("HumanoidRootPart"):FindFirstChild("RootJoint") ~= nil then
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-1)
- end
- else
- part.Anchored = true
- end
- while hum.Health > 0 do
- wait()
- hum.Health = hum.Health -1
- end
- local tor = part.Parent:findFirstChild("Torso")
- local dmgmat = math.random(1,4)
- if dmgmat == 3 then
- batcritical:Play()
- --hum.Health = hum.Health - math.random(243,499)
- ---hum.Health = 0
- end
- if tor then
- tor.RotVelocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34
- tor.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34
- end
- --[[wait(2)
- hum.PlatformStand = false]]
- hit = false
- end
- end
- se.Touched:connect(dmg)
- for i = 0,1 , 0.2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.7),i)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.70),i)
- rhandweld.C0 = rhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.6),i)
- lhandweld.C0 = lhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0.30,0,0),i)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.3)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.4)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.05)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.2)
- end
- wait(0.2)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.05)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.06)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.2)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
- end
- se:destroy()
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.05)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- using = false
- end
- end
- --[[function combo(key)
- key = key:lower()
- if key == "q" then
- if not using and not initalizing then
- using = true
- swinging:Play()
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
- end
- for i = 1,3 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.47)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.47)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
- end
- wait(0.4)
- swinging:Play()
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
- end
- for i = 1,3 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(0.33,0,0.1) * CFrame.new(0,-0.66,0.3)
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.2,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.2,0,0)
- end
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
- end
- wait(0.5)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.1)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.2)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.4)
- end
- swinging:Play()
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.8)
- end
- local se = Instance.new("Part", bat)
- se.Size = Vector3.new(1, 1, 3)
- se:BreakJoints()
- se.Transparency = 1
- se.CanCollide = false
- local dmgweld = Instance.new("Weld", se)
- dmgweld.Part0 = bat
- dmgweld.Part1 = se
- dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
- local function dmg(part)
- if not hit then
- hit = true
- local hum = part.Parent:findFirstChild("Humanoid")
- if hum ~= nil then
- baseballhit:Play()
- --baseballhit1:Play()
- decals = {263033191,189728908,178269340,181477718,498948943,485362831,360385366,144325140}
- decals2 = {284846352,191089587}
- local e = Instance.new("Decal",bat)
- e.Texture = "rbxassetid://"..decals[math.random(1,#decals)]
- e.Face = "Left"
- local e2 = Instance.new("Decal",bat)
- e2.Texture = e.Texture
- e2.Face = "Right"
- local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
- local shirt = 442081908
- local pants = 540138654
- local h = Character:findFirstChild("Shirt")
- h.ShirtTemplate = basetemplate..shirt
- local p = Character:findFirstChild("Pants")
- p.PantsTemplate = basetemplate..pants
- local bleedpart = Instance.new("Part", part.Parent)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = part.Parent.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", part.Parent.Torso)
- bleedpartweld.Part0 = part.Parent.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local cuntruu=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- local thicc = coroutine.wrap(function()
- wait(3)
- bleedpart:Remove()
- end)
- cuntruu()
- -- thicc()
- hum.PlatformStand = true
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- if part.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-1)
- end
- end
- wait(3)
- hum.Health = 0
- local tor = part.Parent:findFirstChild("Torso")
- if tor then
- local vel = Instance.new("BodyVelocity", tor)
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 35
- wait(0.1)
- vel:destroy()
- hit = false
- end
- wait(0.2)
- hit = false
- wait(1.5)
- hum.PlatformStand = false
- end
- end
- end
- se.Touched:connect(dmg)
- for i = 1,20 do
- swinging:Play()
- for i = 1,10 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.9)
- end
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
- end
- for i = 1,3 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.47)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.47)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
- end
- wait(0.4)
- swinging:Play()
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
- end
- for i = 1,3 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.2,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.2,0,0)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
- end
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
- end
- for i = 1,3 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(-0.33,0,-0.1) * CFrame.new(0,0.66,-0.3)
- end
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
- end
- weld.C0 = CFrame.new(-0.0159739517, -0.949999988, -1.89993286, -0.999964654, 0, -0.00840734318, 0, 1, 0, 0.00840734318, 0, -0.999964654)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- using = false
- se:destroy()
- end
- end
- end
- --[[function laugh(key)
- key = key:lower()
- if key == "h" then
- local lahmath = math.random(1,2)
- if lahmath == 1 then
- laughing:Play()
- end
- if lahmath == 2 then
- ooh:Play()
- end
- end
- end]]
- function kys(key) -- Why press Esc > R > Enter when you can just press K
- if ded ~= true then
- key = key:lower()
- else
- key = "k"
- end
- if key == "k" or ded == true then
- if not using then
- using = true
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
- end
- for i = 1,3 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.47)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.47)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(.5,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(.5,0,0)
- weld.C0 = weld.C0 * CFrame.Angles(-0.4,0.05,1.75) * CFrame.new(.6,0,0)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,-.5,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,.5,0)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.2,0,0.3)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.2,0,-0.3)
- weld.C0 = weld.C0 * CFrame.Angles(0.34,0.0,0.0) * CFrame.new(0,-0.05,-1)
- end
- swinging:Play()
- wait(2)
- baseballhit:Play()
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.2,0,-0.3)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.2,0,0.3)
- weld.C0 = weld.C0 * CFrame.Angles(-0.325,0.0,0.0) * CFrame.new(0,-0.3,1)
- end
- decals = {263033191,189728908,178269340,181477718,498948943,485362831,360385366,144325140}
- decals2 = {284846352,191089587}
- local e = Instance.new("Decal",bat)
- e.Texture = "rbxassetid://"..decals[math.random(1,#decals)]
- e.Face = "Left"
- local e2 = Instance.new("Decal",bat)
- e2.Texture = e.Texture
- e2.Face = "Right"
- local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
- local shirt = 442081908
- local pants = 540138654
- local h = Character:findFirstChild("Shirt")
- h.ShirtTemplate = basetemplate..shirt
- local p = Character:findFirstChild("Pants")
- p.PantsTemplate = basetemplate..pants
- local bleedpart = Instance.new("Part", Character)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = part.Parent.Parent.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld",Character.Torso)
- bleedpartweld.Part0 = Character.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local cuntruu=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- local thicc = coroutine.wrap(function()
- wait(3)
- bleedpart:Remove()
- end)
- cuntruu()
- -- thicc()
- wait(1)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-1)
- end
- wait(3)
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end
- end
- end
- if Player.UserId ~= 65006475 and Player.UserId ~= -1 then -- Anti Skid Script
- ded = true
- warn("Script Logger Detected")
- Character.Humanoid.WalkSpeed = 0
- say("IM GONA KYS NOW BECAUSE IM A SCRIPT LOGGER")
- wait(2)
- say("My name is "..Player.Name.." and im a dumb script logger")
- wait(3)
- kys()
- else
- say("Yandere Simulator 2018 By lotushomerun")
- wait(3)
- say("Last edited in 8/21/2017")
- wait(3)
- say("Have A Fun!")
- initalizing = false
- end
- --[[function boom(key)
- key = key:lower()
- if key == "f" then
- if not using and not initalizing then
- using = true
- swinging:Play()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 8
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
- end
- for i = 1,3 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.47)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.47)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
- end
- wait(0.4)
- swinging:Play()
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
- end
- for i = 1,3 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(0.33,0,0.1) * CFrame.new(0,-0.66,0.3)
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.2,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.2,0,0)
- end
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
- end
- wait(2)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
- end
- swinging:Play()
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.1)
- end
- local se = Instance.new("Part", bat)
- se.Size = Vector3.new(1, 1, 3)
- se:BreakJoints()
- se.Transparency = 1
- se.CanCollide = false
- local dmgweld = Instance.new("Weld", se)
- dmgweld.Part0 = bat
- dmgweld.Part1 = se
- dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
- local function dmg(part)
- if not hit then
- hit = true
- se:destroy()
- local hum = part.Parent:findFirstChild("Humanoid")
- if hum ~= nil then
- batcritical:Play()
- baseballhit1:Play()
- decals = {263033191,189728908,178269340,181477718,498948943,485362831,360385366,144325140}
- decals2 = {284846352,191089587}
- local e = Instance.new("Decal",bat)
- e.Texture = "rbxassetid://"..decals[math.random(1,#decals)]
- e.Face = "Left"
- local e2 = Instance.new("Decal",bat)
- e2.Texture = e.Texture
- e2.Face = "Right"
- local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
- local shirt = 442081908
- local pants = 540138654
- local h = Character:findFirstChild("Shirt")
- h.ShirtTemplate = basetemplate..shirt
- local p = Character:findFirstChild("Pants")
- p.PantsTemplate = basetemplate..pants
- local bleedpart = Instance.new("Part", part.Parent)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = part.Parent.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", part.Parent.Torso)
- bleedpartweld.Part0 = part.Parent.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local cuntruu=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- local thicc = coroutine.wrap(function()
- wait(3)
- bleedpart:Remove()
- end)
- cuntruu()
- -- thicc()
- hum.PlatformStand = true
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- if part.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-.5)
- end
- for i = 1,2 do
- wait()
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
- part.Parent.HumanoidRootPart.RootJoint.C0 = part.Parent.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-1)
- end
- end
- wait(3)
- hum.Health = 0
- local tor = part.Parent:findFirstChild("Torso")
- if tor then
- hum.Jump = true
- local vel1 = Instance.new("BodyVelocity", tor)
- vel1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- vel1.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 130
- wait(0.1)
- vel1:destroy()
- hit = false
- end
- wait(0.2)
- hit = false
- wait(1.5)
- hum.PlatformStand = false
- end
- end
- end
- se.Touched:connect(dmg)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.2)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.4)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.8)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.9)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-1.1)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-1.1)
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-1.1)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.8)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.6)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.3)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.1)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
- end
- wait(0.5)
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.05)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.2)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.2)
- end
- for i = 1,2 do
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.05)
- end
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
- end
- for i = 1,3 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.47)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.47)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
- end
- wait(0.4)
- swinging:Play()
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
- end
- for i = 1,3 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.2,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.2,0,0)
- end
- for i = 1,2 do
- wait()
- lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
- end
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
- end
- for i = 1,3 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(-0.33,0,-0.1) * CFrame.new(0,0.66,-0.3)
- end
- for i = 1,2 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
- end
- weld.C0 = CFrame.new(-0.0159739517, -0.949999988, -1.89993286, -0.999964654, 0, -0.00840734318, 0, 1, 0, 0.00840734318, 0, -0.999964654)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- using = false
- se:destroy()
- end
- end
- end]]
- mouse.KeyDown:connect(kys)
- --[[mouse.KeyDown:connect(boom)
- mouse.KeyDown:connect(combo)
- mouse.KeyDown:connect(laugh)]]
- mouse.Button1Down:connect(hit)
- --[[
- local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
- vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- --]]
- --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
- --die plz
- mouse = game.Players.LocalPlayer:GetMouse()
- function ragdoll()
- --sound:Stop()
- game.Players.LocalPlayer.Character.Archivable = true
- clone = game.Players.LocalPlayer.Character:Clone()
- clone.Parent = workspace
- for i,v in pairs(clone:GetChildren()) do
- if v.ClassName == "Script" or v.ClassName == "LocalScript" then
- v:destroy()
- end
- for i,p in pairs(v:GetChildren()) do
- if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
- p:destroy()
- end
- end
- end
- for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
- t:destroy()
- end
- end
- vel = Instance.new("BodyVelocity", clone.Torso)
- vel.Velocity = clone.Torso.CFrame.lookVector * -5
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- --clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
- using = false
- hit = Instance.new("Sound", clone.Torso)
- hit.SoundId = "rbxassetid://260430060"
- hit.Volume = 5
- hit1 = Instance.new("Sound", clone.Torso)
- hit1.SoundId = "rbxassetid://138087186"
- hit1.Volume = 5
- hit2 = Instance.new("Sound", clone.Torso)
- hit2.SoundId = "rbxassetid://131237241"
- hit2.Volume = 5
- hit3 = Instance.new("Sound", clone.Torso)
- hit3.SoundId = "rbxassetid://278062209"
- hit3.Volume = 5
- hit3.TimePosition = 0.33
- ded = Instance.new("Sound", clone.Torso)
- ded.SoundId = "rbxassetid://163154423"
- ded.Volume = 5
- local leftarm = clone:findFirstChild("Left Arm")
- local rightrm = clone:findFirstChild("Right Arm")
- local leftleg = clone:findFirstChild("Left Leg")
- local rightleg = clone:findFirstChild("Right Leg")
- local head = clone:findFirstChild("Head")
- local welding = Instance.new("Weld", clone.Torso)
- welding.Part0 = clone.Torso
- welding.Part1 = head
- welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
- for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if g.ClassName == "Part" then
- g:destroy()
- end
- end
- for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if h.ClassName == "Accesory" then
- h:destroy()
- end
- end
- game.Workspace.CurrentCamera.CameraSubject = head
- if leftleg ~= nil then
- local glue = Instance.new("Glue", clone.Torso)
- glue.Part0 = clone.Torso
- glue.Part1 = leftleg
- glue.Name = "Left leg"
- local collider = Instance.new("Part", leftleg)
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.7, 1, 1)
- collider.Shape = "Cylinder"
- local weld = Instance.new("Weld", collider)
- weld.Part0 = leftleg
- weld.Part1 = collider
- weld.C0 = CFrame.Angles(0, 0, 80)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- collider.Transparency = 1
- end
- ------------
- if rightleg ~= nil then
- local glue1 = Instance.new("Glue", clone.Torso)
- glue1.Part0 = clone.Torso
- glue1.Part1 = rightleg
- glue1.Name = "Right leg"
- local collider1 = Instance.new("Part", rightleg)
- collider1.Position = Vector3.new(0,999,0)
- collider1.Size = Vector3.new(1.7, 1, 1)
- collider1.Shape = "Cylinder"
- local weld1 = Instance.new("Weld", collider1)
- weld1.Part0 = rightleg
- weld1.Part1 = collider1
- weld1.C0 = CFrame.Angles(0, 0, 80)
- collider1.TopSurface = "Smooth"
- collider1.BottomSurface = "Smooth"
- collider1.formFactor = "Symmetric"
- glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- collider1.Transparency = 1
- end
- ------------
- if rightrm ~= nil then
- local glue11 = Instance.new("Glue", clone.Torso)
- glue11.Part0 = clone.Torso
- glue11.Part1 = rightrm
- glue11.Name = "Right shoulder"
- local collider11 = Instance.new("Part", rightrm)
- collider11.Position = Vector3.new(0,9999,0)
- collider11.Size = Vector3.new(1.8,1,1)
- collider11.Shape = "Cylinder"
- local weld11 = Instance.new("Weld", collider11)
- weld11.Part0 = rightrm
- weld11.Part1 = collider11
- weld11.C0 = CFrame.Angles(0, 0, 80)
- collider11.TopSurface = "Smooth"
- collider11.BottomSurface = "Smooth"
- collider11.formFactor = "Symmetric"
- glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- collider11.Transparency = 1
- end
- ------------
- if leftarm ~= nil then
- local glue111 = Instance.new("Glue", clone.Torso)
- glue111.Part0 = clone.Torso
- glue111.Part1 = leftarm
- glue111.Name = "Left shoulder"
- local collider111 = Instance.new("Part", leftarm)
- collider111.Position = Vector3.new(0,9999,0)
- collider111.Size = Vector3.new(1.8,1,1)
- collider111.Shape = "Cylinder"
- local weld111 = Instance.new("Weld", collider111)
- weld111.Part0 = leftarm
- weld111.Part1 = collider111
- weld111.C0 = CFrame.Angles(0, 0, 80)
- collider111.TopSurface = "Smooth"
- collider111.BottomSurface = "Smooth"
- collider111.formFactor = "Symmetric"
- glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- collider111.Transparency = 1
- ----------------
- sensoring = Instance.new("Part", clone.Torso)
- sensoring.Size = Vector3.new(1.2,1.1,0.8)
- sensoring.CanCollide = false
- sensoring.Position = clone.Torso.Position
- local welder = Instance.new("Weld", sensoring)
- welder.Part0 = clone.Torso
- welder.Part1 = sensoring
- welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
- sensoring.Transparency = 1
- -----------------
- sensoring1 = Instance.new("Part", clone.Torso)
- sensoring1.Size = Vector3.new(1.2,1.1,0.8)
- sensoring1.CanCollide = false
- sensoring1.Position = clone.Torso.Position
- local welder1 = Instance.new("Weld", sensoring)
- welder1.Part0 = clone.Torso
- welder1.Part1 = sensoring1
- welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
- sensoring1.Transparency = 1
- end
- clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
- ded:Play()
- vel:destroy()
- wait(0.5)
- local function touch()
- if not using then
- using = true
- local Math = math.random(1,4)
- if Math == 1 then
- hit:Play()
- end
- if Math == 2 then
- hit1:Play()
- end
- if Math == 3 then
- hit2:Play()
- end
- if Math == 4 then
- hit3:Play()
- end
- wait(0.1)
- using = false
- end
- end
- sensoring.Touched:connect(touch)
- sensoring1.Touched:connect(touch)
- wait(4.47)
- hit1.Volume = 0
- hit2.Volume = 0
- hit3.Volume = 0
- hit.Volume = 0
- end
- game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
- --di ent
Add Comment
Please, Sign In to add comment