Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14 boi
- wait(1)
- mouse = game.Players.LocalPlayer:GetMouse()
- chara = game.Players.LocalPlayer.Character
- local bg = Instance.new("Sound",chara.Torso)
- bg.Name = "BackgroundMusic"
- bg.SoundId = "http://www.roblox.com/asset/?id=156879167"
- bg.Looped = true
- bg.Volume = 1
- bg:Play()
- local txt = Instance.new("BillboardGui", chara)
- CV="Lime green"
- txt.Adornee = chara.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Bodoni"
- text.TextStrokeColor3 = BrickColor.new("Crimson").Color
- text.TextColor3 = BrickColor.new("Really black").Color
- text.Text = "Psychopath"
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent= chara
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=chara.Torso.CFrame
- v.BrickColor=BrickColor.new("Lime green")
- v.Transparency=1
- v.Shape="Block"
- v:Destroy()
- local shadowhead = Instance.new("Part",chara.Head)
- shadowhead.BrickColor = BrickColor.new("Really black")
- shadowhead.Size = Vector3.new(1.2, 0.6, 1)
- shadowhead.CanCollide = false
- local shadowheadmesh = Instance.new("SpecialMesh",shadowhead)
- shadowheadmesh.MeshType = "Head"
- shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
- local weld2 = Instance.new("Weld",shadowhead)
- weld2.Part0 = shadowhead
- weld2.Part1 = chara.Head
- weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- chara.Humanoid.Name = "MUSTKILL"
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Part3 = Instance.new("Part")
- Weld4 = Instance.new("Weld")
- Model0.Name = "bitch ass knife haha knife v3 reference"
- Model0.Parent = mas
- Part1.Name = "realknife"
- Part1.Parent = Model0
- Part1.Rotation = Vector3.new(0, -90, 0)
- Part1.CanCollide = false
- Part1.Size = Vector3.new(1.56900003, 0.259999305, 0.459999979)
- Part1.CFrame = CFrame.new(-20.8307228, 1.96215653, -28.7958698, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Position = Vector3.new(-20.8307228, 1.96215653, -28.7958698)
- Part1.Orientation = Vector3.new(0, -90, 0)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=121944778"
- SpecialMesh2.Scale = Vector3.new(1,1,1)
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?ID=144012208"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- SpecialMesh2.Scale = Vector3.new(1,1,1)
- local weald = Instance.new("Weld",Part1)
- weald.Part0 = Part1
- weald.Part1 = chara["Right Arm"]
- weald.C0 = CFrame.new(0, -0.800003052, 0.999999046, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0)
- Part3.Name = "hitbox"
- Part3.Parent = Model0
- Part3.Transparency = 1
- Part3.Size = Vector3.new(0.0799999982, 1, 4.23999929)
- Part3.CFrame = CFrame.new(-20.8435993, 1.97891688, -28.7396412, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Position = Vector3.new(-20.8435993, 1.97891688, -28.7396412)
- Part3.CanCollide = false
- Weld4.Parent = Part3
- Weld4.C0 = CFrame.new(0.00499999523, -0.529999495, -0.0149999857, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999809)
- Weld4.Part0 = Part3
- Weld4.Part1 = Part1
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
- local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
- humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- 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, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- 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, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
- local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- headweld.Part0 = game.Players.LocalPlayer.Character.Torso
- headweld.Part1 = game.Players.LocalPlayer.Character.Head
- headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
- game.Players.LocalPlayer.Character.Torso.Neck:Remove()
- canuse = true
- throwie = false
- damged = false
- throwval = 0
- hitwall = Instance.new("Sound", Model0.realknife)
- hitwall.SoundId = "rbxassetid://214755079"
- hitwall.Volume = 4
- throwB = Instance.new("Sound", Model0.realknife)
- throwB.SoundId = "rbxassetid://166423113"
- throwB.Volume = 4
- slash = Instance.new("Sound", Model0.realknife)
- slash.SoundId = "rbxassetid://357417055"
- slash.Volume = 4
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- function stab(key)
- if canuse then
- canuse = false
- for i = 0,1 , 0.05 do
- headweld.C0 = headweld.C0:lerp(CFrame.new(-1.90734863e-06, 1.50000036, 0, 0.532369733, 3.7252903e-09, 0.84651196, -1.86264515e-09, 0.99999994, 3.7252903e-09, -0.84651196, 9.31322575e-10, 0.532369792),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.204963252, 0.0110486243, -0.978707314, -0.0538272448, 0.998550236, 0, 0.977288425, 0.0526811182, 0.205260843),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.62274551, 0.625679851, -0.324334621, 0.892506719, 0.394126594, -0.219307721, -0.335090578, 0.253951877, -0.907316029, -0.301903814, 0.88327384, 0.358722001),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.38278389, 0.358563185, -0.35576582, 0.622085154, 0.589078009, 0.515749037, 0.520516813, 0.180908665, -0.834466279, -0.584869266, 0.787565291, -0.194084436),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- slash:Play()
- damged = true
- for i = 0,1 , 0.07 do
- weald.C0 = weald.C0:lerp(CFrame.new(-0.000253677368, -1.57838058, 0.0807287693, 0.999999166, -0.000329941511, 9.53152776e-05, -0.00030824542, -0.984514713, -0.175298288, 0.000151641667, 0.175298288, -0.984515607),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999952, -1.43051147e-06, -0.249196813, 2.23517418e-08, -0.968452811, -4.48198989e-09, 0.999999821, -2.98023224e-08, 0.968452811, 1.86264515e-09, -0.249196798),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, -0.240329295, -0.02552839, 0.97035563, -0.0975859016, 0.995224953, 0.00201342511, -0.965773642, -0.0942091718, -0.241672948),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.94862175, 0.589737892, 0.036031723, 0.437891245, 0.895518184, 0.0793625563, -0.734854102, 0.407384276, -0.542242527, -0.517919183, 0.179123357, 0.836465418),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.88391113, 0.481715679, 0.273626804, -0.245335877, -0.935992301, -0.252445042, -0.152630016, 0.29444921, -0.943399429, 0.957347453, -0.192919195, -0.215099543),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- damged = false
- canuse = true
- for i = 0,1 ,0.03 do
- weald.C0 = weald.C0:lerp(CFrame.new(0, -0.800003052, 0.999999046, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- mouse.Button1Down:connect(stab)
- function stabbystabby(part)
- --[[knifeclone.hitbox.CFrame = CFrame.new(knifeclone.hitbox.CFrame.p, thrownpos)
- knifeclone.hitbox.Weld.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- knifeclone.hitbox.CFrame = knifeclone.hitbox.CFrame--]]
- local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
- if damged and humanoid and part.Parent.Name ~= game.Players.LocalPlayer.Name then
- humanoid.Parent:BreakJoints()
- damged = false
- wait()
- local isr15 = part.Parent:findFirstChild("UpperTorso")
- if isr15 then
- if humanoid.Parent:findFirstChild("HumanoidRootPart") then
- humanoid.Parent.HumanoidRootPart.CanCollide = false
- end
- local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
- local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
- constraint.Attachment0 = attachone
- constraint.Attachment1 = attachtwo
- constraint.LimitsEnabled = true
- constraint.TwistLimitsEnabled = true
- constraint.TwistLowerAngle = lowang
- constraint.TwistUpperAngle = upperang
- constraint.UpperAngle = twist
- end
- local function makehingelimb(attachone, attachtwo, upperang, lowang)
- local constraint = Instance.new("HingeConstraint", humanoid.Parent)
- constraint.Attachment0 = attachone
- constraint.Attachment1 = attachtwo
- constraint.LimitsEnabled = true
- constraint.LowerAngle = lowang
- constraint.UpperAngle = upperang
- end
- for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
- if v.ClassName == "Accessory" then
- local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
- if findhandle then
- local attach = findhandle:findFirstChildOfClass("Attachment")
- for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
- if w.Name == "UpperTorso" or w.Name == "Head" then
- attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
- end
- end
- if attach and attach1 then
- local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
- constraint.Attachment0 = attach
- constraint.Attachment1 = attach1
- constraint.LimitsEnabled = true
- constraint.LowerAngle = 0
- constraint.UpperAngle = 0
- end
- end
- end
- end
- if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
- humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 40
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 40
- ball.TwistLowerAngle = -40
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = humanoid.Parent["Head"]
- if humanoid.Parent.Head:findFirstChild("Neck") then
- humanoid.Parent.Head.Neck:destroy()
- end
- if humanoid.Parent.Head:findFirstChild("face") then
- humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
- end
- end
- local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
- local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
- --
- local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
- local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
- --
- local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
- local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
- --
- local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
- local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
- --Foot & Hands--
- local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
- local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
- --
- local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
- local RightHand = humanoid.Parent:findFirstChild("RightHand")
- --END--
- --TORSOS--
- local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
- local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
- --END--
- if LowerTorso then
- if LeftUpperLeg then
- makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
- end
- if RightUpperLeg then
- makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
- end
- if LeftLowerLeg then
- makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
- end
- if RightLowerLeg then
- makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
- end
- if LeftFoot then
- makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
- end
- if RightFoot then
- makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
- end
- if UpperTorso then
- makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
- end
- end
- if UpperTorso then
- local hitsound = Instance.new("Sound", UpperTorso)
- hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
- hitsound:Play()
- hitsound.Volume = math.random(5,10)
- local canhit = true
- local hitval = 15
- local uptor = humanoid.Parent.UpperTorso
- if RightUpperArm then
- makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
- end
- if RightLowerArm then
- makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
- end
- if RightHand then
- makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
- end
- if LeftUpperArm then
- makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
- end
- if LeftLowerArm then
- makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
- end
- if LeftHand then
- makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
- end
- end
- elseif part.Parent:findFirstChild("Torso") then
- canspin = false
- if humanoid.Parent:findFirstChild("Health") then
- humanoid.Parent.Health:Remove()
- end
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- humanoid.PlatformStand = true
- for z,x in pairs(humanoid.Parent:GetChildren()) do
- if x.ClassName == "Accessory" then
- local handle = x:findFirstChild("Handle")
- if handle then
- local attachment = handle:findFirstChildOfClass("Attachment")
- if attachment then
- for q,w in pairs(humanoid.Parent:GetChildren()) do
- if w.Name == "Torso" or w.Name == "Head" then
- local anotherone = w:findFirstChild(attachment.Name)
- if attachment and anotherone then
- local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
- constraint.Attachment0 = attachment
- constraint.Attachment1 = anotherone
- constraint.LimitsEnabled = true
- constraint.LowerAngle = 0
- constraint.UpperAngle = 0
- end
- end
- end
- end
- end
- end
- end
- if humanoid.Parent:findFirstChild("Right Arm") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
- ball.Attachment1 = attachment
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Right Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Left Arm") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(-1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = attachment
- ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Left Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Right Leg") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
- ball.Attachment1 = attachment
- humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Right Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Left Leg") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(-0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
- ball.Attachment1 = attachment
- humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Left Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 90
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 90
- ball.TwistLowerAngle = -90
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = humanoid.Parent["Head"]
- if humanoid.Parent.Torso:findFirstChild("Neck") then
- humanoid.Parent.Torso.Neck:destroy()
- end
- if humanoid.Parent.Head:findFirstChild("face") then
- humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
- end
- local hitsound = Instance.new("Sound", humanoid.Parent.Head)
- hitsound.SoundId = "rbxassetid://186311262"
- hitsound:Play()
- hitsound.Volume = math.random(5,10)
- humanoid.Parent.HumanoidRootPart.Velocity = Part1.CFrame.lookVector / -50
- end
- if humanoid.Parent:findFirstChild("Head") then
- local aah = Instance.new("Sound", humanoid.Parent.Head)
- if aah then
- aah.Volume = 1
- local aahmath = math.random(2,8)
- if aahmath == 2 then
- aah.SoundId = "rbxassetid://884348443"
- aah:Play()
- end
- if aahmath == 3 then
- aah.SoundId = "rbxassetid://681582832"
- aah.Volume = 10
- aah:Play()
- end
- if aahmath == 4 then
- aah.SoundId = "rbxassetid://1080363252"
- aah:Play()
- end
- if aahmath == 5 then
- aah.SoundId = "rbxassetid://150245085"
- aah:Play()
- end
- if aahmath == 6 then
- aah.SoundId = "rbxassetid://345287845"
- aah.TimePosition = 2.5
- aah:Play()
- end
- if aahmath == 7 then
- aah.SoundId = "rbxassetid://147758746"
- aah.TimePosition = 1.3
- aah:Play()
- end
- if aahmath == 8 then
- aah.SoundId = "rbxassetid://131314452"
- aah:Play()
- end
- end
- end
- end
- end
- end
- Part1.Touched:connect(stabbystabby)
- function throw(key)
- key = key:lower()
- if key == "e" and canuse then
- canuse = false
- for i = 0,1 , 0.03 do
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.87712723, 0, -0.480258077, 0, 1, 0, 0.480258077, 0, 0.87712723),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.08419418, 0.439404726, -0.699457169, 0.786269963, -0.617883086, 0, 0.0533286743, 0.0678619221, -0.996268392, 0.6155774, 0.783335984, 0.0863086879),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.94801712, 0.221992493, 0.99999994, 0, 0, 0, -0.896033943, 0.443985492, 0, -0.443985522, -0.896034002),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local knifeclone = Model0:Clone()
- knifeclone.Parent = game.Players.LocalPlayer.Character
- knifeclone.hitbox:destroy()
- for i,v in pairs(knifeclone.realknife:GetChildren()) do
- if v.ClassName == "Weld" then
- v:Destroy()
- end
- end
- Part1.Transparency = 1
- local thrownpos = knifeclone.realknife.Position
- local canspin = true
- local downval = 0
- local mouselook = mouse.Hit.lookVector
- local mousepos = mouse.Hit
- throwB:Play()
- local velo = Instance.new("BodyVelocity", knifeclone.realknife)
- velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- velo.Velocity = mouse.Hit.lookVector * 110
- knifeclone.realknife.CanCollide = true
- knifeclone.realknife.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-4)
- knifeclone.realknife.CFrame = CFrame.new(knifeclone.realknife.Position, mouse.Hit.p)
- knifeclone.realknife.CFrame = knifeclone.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
- local function attach(part)
- --[[knifeclone.hitbox.CFrame = CFrame.new(knifeclone.hitbox.CFrame.p, thrownpos)
- knifeclone.hitbox.Weld.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- knifeclone.hitbox.CFrame = knifeclone.hitbox.CFrame--]]
- local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
- if humanoid and part.Parent.Name ~= game.Players.LocalPlayer.Name then
- canspin = false
- humanoid.Parent:BreakJoints()
- knifeclone:destroy()
- wait()
- local isr15 = part.Parent:findFirstChild("UpperTorso")
- if isr15 then
- if humanoid.Parent:findFirstChild("HumanoidRootPart") then
- humanoid.Parent.HumanoidRootPart.CanCollide = false
- end
- local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
- local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
- constraint.Attachment0 = attachone
- constraint.Attachment1 = attachtwo
- constraint.LimitsEnabled = true
- constraint.TwistLimitsEnabled = true
- constraint.TwistLowerAngle = lowang
- constraint.TwistUpperAngle = upperang
- constraint.UpperAngle = twist
- end
- local function makehingelimb(attachone, attachtwo, upperang, lowang)
- local constraint = Instance.new("HingeConstraint", humanoid.Parent)
- constraint.Attachment0 = attachone
- constraint.Attachment1 = attachtwo
- constraint.LimitsEnabled = true
- constraint.LowerAngle = lowang
- constraint.UpperAngle = upperang
- end
- for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
- if v.ClassName == "Accessory" then
- local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
- if findhandle then
- local attach = findhandle:findFirstChildOfClass("Attachment")
- for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
- if w.Name == "UpperTorso" or w.Name == "Head" then
- attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
- end
- end
- if attach and attach1 then
- local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
- constraint.Attachment0 = attach
- constraint.Attachment1 = attach1
- constraint.LimitsEnabled = true
- constraint.LowerAngle = 0
- constraint.UpperAngle = 0
- end
- end
- end
- end
- if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
- humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 40
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 40
- ball.TwistLowerAngle = -40
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = humanoid.Parent["Head"]
- if humanoid.Parent.Head:findFirstChild("Neck") then
- humanoid.Parent.Head.Neck:destroy()
- end
- if humanoid.Parent.Head:findFirstChild("face") then
- humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
- end
- end
- local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
- local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
- --
- local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
- local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
- --
- local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
- local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
- --
- local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
- local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
- --Foot & Hands--
- local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
- local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
- --
- local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
- local RightHand = humanoid.Parent:findFirstChild("RightHand")
- --END--
- --TORSOS--
- local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
- local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
- --END--
- if LowerTorso then
- if LeftUpperLeg then
- makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
- end
- if RightUpperLeg then
- makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
- end
- if LeftLowerLeg then
- makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
- end
- if RightLowerLeg then
- makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
- end
- if LeftFoot then
- makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
- end
- if RightFoot then
- makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
- end
- if UpperTorso then
- makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
- end
- end
- if UpperTorso then
- local vel = Instance.new("BodyVelocity", UpperTorso)
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- vel.Velocity = mouselook *25 + Vector3.new(0,10,0)
- game.Debris:AddItem(vel, 0.1)
- local hitsound = Instance.new("Sound", UpperTorso)
- hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
- hitsound:Play()
- hitsound.Volume = math.random(5,10)
- local canhit = true
- local hitval = 15
- local uptor = humanoid.Parent.UpperTorso
- if RightUpperArm then
- makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
- end
- if RightLowerArm then
- makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
- end
- if RightHand then
- makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
- end
- if LeftUpperArm then
- makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
- end
- if LeftLowerArm then
- makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
- end
- if LeftHand then
- makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
- end
- end
- elseif part.Parent:findFirstChild("Torso") then
- canspin = false
- if humanoid.Parent:findFirstChild("Health") then
- humanoid.Parent.Health:Remove()
- end
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- humanoid.PlatformStand = true
- if humanoid.Parent:findFirstChild("Right Arm") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
- ball.Attachment1 = attachment
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Right Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Left Arm") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(-1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = attachment
- ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Left Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Right Leg") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
- ball.Attachment1 = attachment
- humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Right Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Left Leg") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(-0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
- ball.Attachment1 = attachment
- humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
- collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Left Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("Torso") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 90
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 90
- ball.TwistLowerAngle = -90
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = humanoid.Parent["Head"]
- if humanoid.Parent.Torso:findFirstChild("Neck") then
- humanoid.Parent.Torso.Neck:destroy()
- end
- if humanoid.Parent.Head:findFirstChild("face") then
- humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
- end
- local hitsound = Instance.new("Sound", humanoid.Parent.Head)
- hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
- hitsound:Play()
- hitsound.Volume = math.random(5,10)
- humanoid.Parent.Torso.Velocity = Part1.CFrame.lookVector / 20
- end
- for z,x in pairs(humanoid.Parent:GetChildren()) do
- if x.ClassName == "Accessory" then
- local handle = x:findFirstChild("Handle")
- if handle then
- local attachment = handle:findFirstChildOfClass("Attachment")
- if attachment then
- for q,w in pairs(humanoid.Parent:GetChildren()) do
- if w.Name == "Torso" or w.Name == "Head" then
- local anotherone = w:findFirstChild(attachment.Name)
- if attachment and anotherone then
- local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
- constraint.Attachment0 = attachment
- constraint.Attachment1 = anotherone
- constraint.LimitsEnabled = true
- constraint.LowerAngle = 0
- constraint.UpperAngle = 0
- end
- end
- end
- end
- end
- end
- end
- if humanoid.Parent:findFirstChild("Head") then
- local aah = Instance.new("Sound", humanoid.Parent.Head)
- if aah then
- aah.Volume = 8
- local aahmath = math.random(2,8)
- if aahmath == 2 then
- aah.SoundId = "rbxassetid://884348443"
- aah:Play()
- end
- if aahmath == 3 then
- aah.SoundId = "rbxassetid://681582832"
- aah.Volume = 10
- aah:Play()
- end
- if aahmath == 4 then
- aah.SoundId = "rbxassetid://1080363252"
- aah:Play()
- end
- if aahmath == 5 then
- aah.SoundId = "rbxassetid://150245085"
- aah:Play()
- end
- if aahmath == 6 then
- aah.SoundId = "rbxassetid://345287845"
- aah.TimePosition = 2.5
- aah:Play()
- end
- if aahmath == 7 then
- aah.SoundId = "rbxassetid://147758746"
- aah.TimePosition = 1.3
- aah:Play()
- end
- if aahmath == 8 then
- aah.SoundId = "rbxassetid://131314452"
- aah:Play()
- end
- end
- end
- end
- else
- if part.Parent.ClassName ~= "Accessory" then
- canspin = false
- hitwall:Play()
- knifeclone.realknife.Anchored = true
- local knifeclonen = knifeclone:Clone()
- knifeclonen.Parent = workspace
- knifeclone:destroy()
- knifeclonen.realknife.CFrame = CFrame.new(knifeclonen.realknife.Position, thrownpos)
- knifeclonen.realknife.CFrame = knifeclonen.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- game.Debris:AddItem(knifeclonen, 10)
- end
- end
- end
- knifeclone.realknife.Touched:connect(attach)
- local function spin()
- if workspace:FindFirstChild(Model0.Name) then
- if canspin then
- downval = downval + 1
- --knifeclone.realknife.CFrame = knifeclone.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.25)
- if downval < 150 then
- --knifeclone.realknife.RotVelocity = mousepos.rightVector * -2
- velo.Velocity = velo.Velocity + Vector3.new(0,-0.7,0)
- end
- end
- end
- end
- game:GetService("RunService").RenderStepped:connect(spin)
- for i = 0.2,1 , 0.1 do
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.652971387, 0, 0.757382512, 0, 1, 0, -0.757382512, 0, 0.652971387),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.60898972, 0.1406672, -0.00325965881, 0.786269963, 0.431710958, -0.442046583, 0.0533286743, 0.665336668, 0.744636238, 0.6155774, -0.609058917, 0.500111818),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.11553216, -0.319662094, 0.99999994, 0, 0, 0, 0.768935919, -0.639325857, 0, 0.639325917, 0.768935978),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- canuse = true
- for i = 0,1 , 0.01 do
- if canuse then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.11091232, 0.239697695, -0.648029327, 0.78627032, -0.564446628, -0.251355588, 0.0533286557, 0.467276007, -0.882501543, 0.615577579, 0.68048048, 0.397506446),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.23454857, 0.183438778, -0.669290543, 0.622085392, 0.528965533, 0.577239931, 0.520516932, 0.271329552, -0.809593856, -0.584869325, 0.804099798, -0.106545292),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- Part1.Transparency = 0
- Part1.CanCollide = false
- Part3.CanCollide = false
- end
- end
- mouse.KeyDown:connect(throw)
- for i = 0,1 , 0.01 do
- if canuse then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.11091232, 0.239697695, -0.648029327, 0.78627032, -0.564446628, -0.251355588, 0.0533286557, 0.467276007, -0.882501543, 0.615577579, 0.68048048, 0.397506446),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.23454857, 0.183438778, -0.669290543, 0.622085392, 0.528965533, 0.577239931, 0.520516932, 0.271329552, -0.809593856, -0.584869325, 0.804099798, -0.106545292),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- while true do
- if canuse then
- for i = 0,1 , 0.01 do
- if canuse then
- headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.11091232, 0.239697695, -0.648029327, 0.78627032, -0.564446628, -0.251355588, 0.0533286557, 0.467276007, -0.882501543, 0.615577579, 0.68048048, 0.397506446),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.23454857, 0.183438778, -0.669290543, 0.622085392, 0.528965533, 0.577239931, 0.520516932, 0.271329552, -0.809593856, -0.584869325, 0.804099798, -0.106545292),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- for i = 0,1 , 0.01 do
- if canuse then
- headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.08373642, 0.349919796, -0.692287445, 0.78627032, -0.577653646, -0.21930784, 0.0533286557, 0.417053103, -0.907316148, 0.615577579, 0.701700509, 0.358722091),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.16544914, 0.291818857, -0.64632988, 0.622085392, 0.589078248, 0.515749276, 0.520516932, 0.180908725, -0.834466338, -0.584869325, 0.787565589, -0.19408451),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- if throwB.Parent == nil then
- throwB.Parent = Model0.realknife
- end
- if slash.Parent == nil then
- slash.Parent = Model0.realknife
- end
- if hitwall.Parent == nil then
- hitwall.Parent = Model0.realknife
- end
- wait()
- end
Add Comment
Please, Sign In to add comment