Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --LemonHead's Stabber Script!
- --Made by; you guessed it, LemonHead on V3rmillion
- bloodcolor = "Crimson" --By default set to Crimson. Roblox Color; like Deep blue. See http://wiki.roblox.com/index.php?title=BrickColor_codes
- bloodtransparency = 0 --How clear the blood is. Usally set to 0.
- --Don't change the following stuff unless you know what you are doing.
- amountkilled = 0
- floataway = false
- permakill = false
- fire = false
- controltoggle = false
- airslicing = true
- backpack = game.Players.LocalPlayer.Backpack
- lpname = game.Players.LocalPlayer.Name
- Stabber = Instance.new("Tool", backpack)
- Stabber.Name = "Stabber"
- Stabber.GripForward = Vector3.new(0, 0, -1)
- Stabber.GripPos = Vector3.new(0, -0.103, 0.034)
- Stabber.GripRight = Vector3.new(1, 0, 0)
- Stabber.GripUp = Vector3.new(0, 1, 0)
- Handle = Instance.new("Part", Stabber)
- Handle.Size = Vector3.new(0.3, 1, 0.3)
- Handle.Name = "Handle"
- Handle.Color = Color3.fromRGB(24, 0, 0)
- Handle.Position = Vector3.new(-33.855, 0.5, -37.14)
- Handle.CanCollide = false
- BladeBase = Instance.new("Part", Stabber)
- BladeBase.Size = Vector3.new(0.1, 1, 0.2)
- BladeBase.Position = Vector3.new(-33.855, 1.499, -37.14)
- BladeBase.CanCollide = false
- HandleBaseWeld = Instance.new("WeldConstraint", Handle)
- HandleBaseWeld.Part0 = Handle
- HandleBaseWeld.Part1 = BladeBase
- BladeTip = Instance.new("WedgePart", Stabber)
- BladeTip.Size = Vector3.new(0.1, 0.33, 0.2)
- BladeTip.Position = Vector3.new(-33.855, 2.164, -37.14)
- BladeTip.CanCollide = false
- BaseTipWeld = Instance.new("WeldConstraint", BladeBase)
- BaseTipWeld.Part0 = BladeBase
- BaseTipWeld.Part1 = BladeTip
- HitBox = Instance.new("Part", Stabber)
- HitBoxHandleWeld = Instance.new("WeldConstraint", HitBox)
- HitBoxHandleWeld.Part0 = HitBox
- HitBoxHandleWeld.Part1 = Handle
- HitBox.Size = Vector3.new(0.3, 2.33, 0.3)
- HitBox.Position = Vector3.new(-33.855, 1.15, -37.14)
- HitBox.Transparency = 1 --Change to 1 after hitbox testing is complete.
- HitBox.CanCollide = false
- AttachmentOne = Instance.new("Attachment", BladeBase)
- AttachmentOne.Position = Vector3.new(0, -0.5, 0)
- AttachmentTwo = Instance.new("Attachment", BladeTip)
- AttachmentTwo.Position = Vector3.new(0, 0, 0)
- ChangeableSound = Instance.new("Sound")
- ChangeableSound.Parent = game.Players.LocalPlayer.Character.Torso
- OutputGui = Instance.new("ScreenGui")
- OutputGui.Parent = game.Players.LocalPlayer.PlayerGui
- OutputGui.Name = "KnifeGui"
- OutputFrame = Instance.new("Frame")
- OutputFrame.Parent = OutputGui
- OutputFrame.Name = "OutputFrame"
- OutputLabel = Instance.new("TextLabel")
- OutputLabel.Parent = OutputFrame
- Output = Instance.new("TextLabel")
- Output.Parent = OutputFrame
- OutputFrame.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
- OutputFrame.BackgroundTransparency = 0.4
- OutputFrame.Position = UDim2.new(0, 0,0.35, 0)
- OutputFrame.Size = UDim2.new(0, 300,0, 200)
- OutputLabel.BackgroundTransparency = 1
- OutputLabel.Position = UDim2.new(0.15, 0,0, 0)
- OutputLabel.Size = UDim2.new(0, 200,0, 50)
- OutputLabel.Text = "Output"
- OutputLabel.TextColor3 = Color3.fromRGB(27, 42, 53)
- OutputLabel.TextScaled = true
- OutputLabel.TextWrapped = true
- Output.BackgroundTransparency = 1
- Output.Name = "Output"
- Output.Position = UDim2.new(0.05, 0,0.25, 0) --Out position is (-0.5, 0,0.35, 0)
- Output.Size = UDim2.new(0, 280,0, 150)
- Output.TextColor3 = Color3.fromRGB(27, 42, 53)
- Output.TextScaled = true
- Output.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- Output.TextStrokeTransparency = 0
- Output.TextWrapped = true
- Output.Text = "Please wait..."
- local Toggle = Instance.new("Frame")
- local ToggleLabel = Instance.new("TextButton")
- local Controls = Instance.new("Frame")
- local ControlLabel = Instance.new("TextLabel")
- local Label = Instance.new("TextLabel")
- local Label_2 = Instance.new("TextLabel")
- local Label_3 = Instance.new("TextLabel")
- local Label_4 = Instance.new("TextLabel")
- local Label_5 = Instance.new("TextLabel")
- local Label_6 = Instance.new("TextLabel")
- local Label_7 = Instance.new("TextLabel")
- local Label_8 = Instance.new("TextLabel")
- local Whoosh = Instance.new("Sound")
- --Vars n' stuff
- Whoosh.Parent = OutputGui
- Whoosh.SoundId = "rbxassetid://624706518"
- Toggle.Name = "Toggle"
- Toggle.Parent = OutputGui
- Toggle.BackgroundColor3 = Color3.new(0, 0.333333, 1)
- Toggle.BackgroundTransparency = 0.30000001192093
- Toggle.Position = UDim2.new(0.910000026, 0, 0.100000001, 0)
- Toggle.Size = UDim2.new(0, 100, 0, 100)
- ToggleLabel.Name = "ToggleLabel"
- ToggleLabel.Parent = Toggle
- ToggleLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ToggleLabel.BackgroundTransparency = 1
- ToggleLabel.Size = UDim2.new(0, 100, 0, 100)
- ToggleLabel.Font = Enum.Font.SourceSans
- ToggleLabel.FontSize = Enum.FontSize.Size14
- ToggleLabel.Text = "Toggle Showing Controls"
- ToggleLabel.TextScaled = true
- ToggleLabel.TextSize = 14
- ToggleLabel.TextWrapped = true
- ToggleLabel.MouseButton1Click:connect(function()
- if controltoggle == false then
- Whoosh:Play()
- wait(0.45)
- Whoosh:Stop()
- controltoggle = true
- Controls.Visible = true
- TweenService = game:GetService("TweenService")
- blur = Instance.new("BlurEffect", workspace.CurrentCamera)
- blur.Size = 0
- goal = {}
- goal.Size = 100
- tweenInfo = TweenInfo.new(1)
- tween = TweenService:Create(blur, tweenInfo, goal)
- tween:Play()
- else
- controltoggle = false
- Controls.Visible = false
- blur.Size = 100
- goal1 = {}
- goal1.Size = 0
- tween1 = TweenService:Create(blur, tweenInfo, goal1)
- tween1:Play()
- wait(0.15)
- Whoosh:Play()
- wait(0.45)
- Whoosh:Stop()
- end
- end)
- Controls.Name = "Controls"
- Controls.Parent = OutputGui
- Controls.BackgroundColor3 = Color3.new(0.462745, 0.462745, 0.462745)
- Controls.BackgroundTransparency = 0.30000001192093
- Controls.Position = UDim2.new(0.800000012, 0, 0.30000003, 0)
- Controls.Size = UDim2.new(0, 225, 0, 400)
- Controls.Visible = false
- ControlLabel.Name = "ControlLabel"
- ControlLabel.Parent = Controls
- ControlLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ControlLabel.BackgroundTransparency = 1
- ControlLabel.Size = UDim2.new(0, 225, 0, 50)
- ControlLabel.Font = Enum.Font.SourceSans
- ControlLabel.FontSize = Enum.FontSize.Size14
- ControlLabel.Text = "Controls"
- ControlLabel.TextScaled = true
- ControlLabel.TextSize = 14
- ControlLabel.TextWrapped = true
- Label.Name = "Label"
- Label.Parent = Controls
- Label.BackgroundColor3 = Color3.new(1, 1, 1)
- Label.BackgroundTransparency = 1
- Label.Position = UDim2.new(0, 0, 0.100000001, 0)
- Label.Size = UDim2.new(0, 225, 0, 50)
- Label.Font = Enum.Font.SourceSans
- Label.FontSize = Enum.FontSize.Size32
- Label.Text = "Z = Permakill mode"
- Label.TextSize = 30
- Label.TextWrapped = true
- Label_2.Name = "Label"
- Label_2.Parent = Controls
- Label_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Label_2.BackgroundTransparency = 1
- Label_2.Position = UDim2.new(0, 0, 0.180000007, 0)
- Label_2.Size = UDim2.new(0, 225, 0, 50)
- Label_2.Font = Enum.Font.SourceSans
- Label_2.FontSize = Enum.FontSize.Size28
- Label_2.Text = "Leaves the ragdoll frozen until the player leaves"
- Label_2.TextSize = 25
- Label_2.TextWrapped = true
- Label_3.Name = "Label"
- Label_3.Parent = Controls
- Label_3.BackgroundColor3 = Color3.new(1, 1, 1)
- Label_3.BackgroundTransparency = 1
- Label_3.Position = UDim2.new(0, 0, 0.379999995, 0)
- Label_3.Size = UDim2.new(0, 225, 0, 50)
- Label_3.Font = Enum.Font.SourceSans
- Label_3.FontSize = Enum.FontSize.Size28
- Label_3.Text = "The players you kill ascend."
- Label_3.TextSize = 25
- Label_3.TextWrapped = true
- Label_4.Name = "Label"
- Label_4.Parent = Controls
- Label_4.BackgroundColor3 = Color3.new(1, 1, 1)
- Label_4.BackgroundTransparency = 1
- Label_4.Position = UDim2.new(0, 0, 0.300000012, 0)
- Label_4.Size = UDim2.new(0, 225, 0, 50)
- Label_4.Font = Enum.Font.SourceSans
- Label_4.FontSize = Enum.FontSize.Size32
- Label_4.Text = "X = Floataway mode"
- Label_4.TextSize = 30
- Label_4.TextWrapped = true
- Label_5.Name = "Label"
- Label_5.Parent = Controls
- Label_5.BackgroundColor3 = Color3.new(1, 1, 1)
- Label_5.BackgroundTransparency = 1
- Label_5.Position = UDim2.new(0, 0, 0.5, 0)
- Label_5.Size = UDim2.new(0, 225, 0, 50)
- Label_5.Font = Enum.Font.SourceSans
- Label_5.FontSize = Enum.FontSize.Size32
- Label_5.Text = "Q = Fire mode"
- Label_5.TextSize = 30
- Label_5.TextWrapped = true
- Label_6.Name = "Label"
- Label_6.Parent = Controls
- Label_6.BackgroundColor3 = Color3.new(1, 1, 1)
- Label_6.BackgroundTransparency = 1
- Label_6.Position = UDim2.new(0, 0, 0.579999983, 0)
- Label_6.Size = UDim2.new(0, 225, 0, 50)
- Label_6.Font = Enum.Font.SourceSans
- Label_6.FontSize = Enum.FontSize.Size28
- Label_6.Text = "Your Knife appears to be on fire. NOTE: This is only a visual thing and serves no use."
- Label_6.TextSize = 25
- Label_6.TextWrapped = true
- Label_7.Name = "Label"
- Label_7.Parent = Controls
- Label_7.BackgroundColor3 = Color3.new(1, 1, 1)
- Label_7.BackgroundTransparency = 1
- Label_7.Position = UDim2.new(0, 0, 0.779999971, 0)
- Label_7.Size = UDim2.new(0, 225, 0, 50)
- Label_7.Font = Enum.Font.SourceSans
- Label_7.FontSize = Enum.FontSize.Size28
- Label_7.Text = 'Toggles the "Air Slicing"'
- Label_7.TextSize = 25
- Label_7.TextWrapped = true
- Label_8.Name = "Label"
- Label_8.Parent = Controls
- Label_8.BackgroundColor3 = Color3.new(1, 1, 1)
- Label_8.BackgroundTransparency = 1
- Label_8.Position = UDim2.new(0, 0, 0.700000011, 0)
- Label_8.Size = UDim2.new(0, 225, 0, 50)
- Label_8.Font = Enum.Font.SourceSans
- Label_8.FontSize = Enum.FontSize.Size32
- Label_8.Text = "E = Air Slicing"
- Label_8.TextSize = 30
- Label_8.TextWrapped = true
- local function Alert(message)
- Output.Text = message
- end
- local function Intro()
- Alert("Thank you for trying LemonHead's Stabber Script!")
- wait(3)
- Alert("If you find any bugs message me on V3rmillion!")
- wait(5)
- Alert("Thank you for trying LemonHead's Stabber Script!")
- end
- Intro()
- if game.Workspace.FilteringEnabled == true then
- Alert("...")
- wait(3)
- Alert("Wait a sec...")
- wait(2)
- Alert("EEK! This game is Filtering Enabled!")
- wait(3)
- Alert("Im Outta here!")
- wait(1)
- ex1 = Instance.new("Explosion", game.Players.LocalPlayer.Character.Torso)
- ex1.Position = game.Players.LocalPlayer.Character.Torso.Position
- wait(0.1)
- ex2 = Instance.new("Explosion", game.Players.LocalPlayer.Character.Torso)
- ex2.Position = game.Players.LocalPlayer.Character.Torso.Position
- wait(0.1)
- ex3 = Instance.new("Explosion", game.Players.LocalPlayer.Character.Torso)
- ex3.Position = game.Players.LocalPlayer.Character.Torso.Position
- wait(0.4)
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end
- --Animation
- local animation = Instance.new("Animation")
- animation.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
- local animTrack = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(animation)
- local function onActivate()
- if animTrack.IsPlaying == false then
- if airslicing == true then
- if Stabber:FindFirstChild("Trail") then
- DestroyMee = Stabber:FindFirstChild("Trail")
- end
- SwipeTrail = Instance.new("Trail", Stabber)
- SwipeTrail.Lifetime = 0.5
- SwipeTrail.Color = ColorSequence.new(Color3.fromRGB(197, 255, 255))
- SwipeTrail.Attachment0 = AttachmentOne
- SwipeTrail.Attachment1 = AttachmentTwo
- end
- animTrack:Play()
- wait(2)
- if airslicing == true then
- SwipeTrail:Destroy()
- DestroyMee:Destroy()
- end
- end
- end
- local animation = Instance.new("Animation")
- animation.AnimationId = "http://www.roblox.com/Asset?ID=28090053"
- local animTrack = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- Stabber.Activated:connect(onActivate)
- --Rip Bowtie 12/17/2017 - 12/17/2017
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Z then
- if permakill == false then
- permakill = true
- fire = false
- floataway = false
- Alert("Permakill mode is active!")
- else
- permakill = false
- Alert("Nothing is active.")
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.E then
- if airslicing == false then
- airslicing = true
- Alert("Airslicing has been enabled!")
- else
- airslicing = false
- Alert("Airslicing has been disabled.")
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Q then
- if fire == false then
- fire = true
- FireObject = Instance.new("Fire")
- FireObject.Parent = BladeBase
- Alert("Fire has been enabled!")
- else
- fire = false
- FireObject:Destroy()
- Alert("Fire has been disabled.")
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- --buhbye (Ascending)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.X then
- if floataway == false then
- floataway = true
- fire = false
- permakill = false
- Alert("Floataway mode is active!")
- else
- floataway = false
- Alert("Nothing is active.")
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- --OnDed
- HitBox.Touched:connect(function(p)
- if p.Parent:FindFirstChild("Humanoid") then
- if p.Parent.Name ~= lpname then
- plrmodel = p.Parent
- if not p.Parent:FindFirstChild("Stabbed") then--p.Parent.Humanoid.Health ~= 0 then --if not plrmodel:FindFirstChild("Stabbed") then
- Stabbed = Instance.new("StringValue", plrmodel)
- Stabbed.Name = "Stabbed"
- --blood
- plrmodel.Archivable = true
- local Char = plrmodel
- local Hum = Char:FindFirstChild("Humanoid")
- local Tor = Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso")
- local Health = Hum.Health
- local M = math.random
- local R = math.rad
- local rates = {.05, .075, .1, .15}
- local smooth = function(P)
- local SM = Enum.SurfaceType.SmoothNoOutlines
- P.TopSurface = SM
- P.BottomSurface = SM
- P.RightSurface = SM
- P.LeftSurface = SM
- P.FrontSurface = SM
- P.BackSurface = SM
- end
- local function BloodPool(Part,Size)
- local Pool = Instance.new("Part",game.Workspace)
- Pool.TopSurface = 0
- Pool.CanCollide = false
- Pool.BrickColor = BrickColor.new(bloodcolor)
- Pool.Transparency = bloodtransparency
- Instance.new("CylinderMesh",Pool)
- Pool.Anchored = true
- Pool.Name = "BloodPoolPart"
- smooth(Pool)
- Pool.FormFactor = Enum.FormFactor.Custom
- Pool.Size = Size
- local c = Part.CFrame*CFrame.new(M(-3.01,3.01),-2.9,M(-3.01,3.01))
- coroutine.resume(coroutine.create(function()
- local rate = rates[M(1,#rates)]
- game.Debris:AddItem(Pool,15)
- for i = 1,M(25,70) do
- wait()
- Pool.CFrame = c
- Pool.Size = Pool.Size+Vector3.new(rate,0,rate)
- end
- wait(5)
- Pool:Destroy()
- end))
- end
- local function BloodDrops(Size,Area)
- local Blood = Instance.new("Part",game.Workspace)
- Blood.BrickColor = BrickColor.new("Crimson")
- Blood.Parent = plrmodel
- Blood.TopSurface = 0
- Blood.CanCollide = false
- Blood.Anchored = false
- Blood.FormFactor = Enum.FormFactor.Custom
- Blood.Size = Size
- Blood.CFrame = Area*CFrame.new(M(-1.00,1.00),M(-1.00,1.00),M(-1.00,1.00))
- return Blood
- end
- Hum.Changed:connect(function()
- if Hum.Health < Health then
- Health = Hum.Health
- for i = 1, math.random(4,10)do
- local Size = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
- local Blood = BloodDrops(Size,Tor.CFrame)
- local Stopper = false
- local Size2 = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
- BloodPool(Tor,Size2)
- end
- end
- end)
- end
- --Ragdoll
- if floataway == false then
- wait()
- function getAttachment0(attachmentName)
- for _,child in next,plrmodel:GetChildren() do
- local attachment = child:FindFirstChild(attachmentName)
- if attachment then
- return attachment
- end
- end
- end
- plrmodel.Humanoid.Died:Connect(function(var)
- local removeHRP = true
- local head = plrmodel["Head"]
- local leftarm = plrmodel["Left Arm"]
- local leftleg = plrmodel["Left Leg"]
- local rightleg = plrmodel["Right Leg"]
- local rightarm = plrmodel["Right Arm"]
- local torso = plrmodel.Torso
- local root = plrmodel.HumanoidRootPart
- if removeHRP == true then
- root:Destroy()
- end
- local rootA =Instance.new("Attachment")
- local HeadA = Instance.new("Attachment")
- local LeftArmA = Instance.new("Attachment")
- local LeftLegA = Instance.new("Attachment")
- local RightArmA = Instance.new("Attachment")
- local RightLegA = Instance.new("Attachment")
- local TorsoA = Instance.new("Attachment")
- local TorsoA1 = Instance.new("Attachment")
- local TorsoA2 = Instance.new("Attachment")
- local TorsoA3 = Instance.new("Attachment")
- local TorsoA4 = Instance.new("Attachment")
- local TorsoA5 = Instance.new("Attachment")
- local function set1()
- HeadA.Name = "HeadA"
- HeadA.Parent = head
- HeadA.Position = Vector3.new(0, -0.5, 0)
- HeadA.Rotation = Vector3.new(0, 0, 0)
- HeadA.Axis = Vector3.new(1, 0, 0)
- HeadA.SecondaryAxis = Vector3.new(0, 1, 0)
- LeftArmA.Name = "LeftArmA"
- LeftArmA.Parent = leftarm
- LeftArmA.Position = Vector3.new(0.5, 1, 0)
- LeftArmA.Rotation = Vector3.new(0, 0, 0)
- LeftArmA.Axis = Vector3.new(1, 0, 0)
- LeftArmA.SecondaryAxis = Vector3.new(0, 1, 0)
- LeftLegA.Name = "LeftLegA"
- LeftLegA.Parent = leftleg
- LeftLegA.Position = Vector3.new(0, 1, 0)
- LeftLegA.Rotation = Vector3.new(0, 0, 0)
- LeftLegA.Axis = Vector3.new(1, 0, 0)
- LeftLegA.SecondaryAxis = Vector3.new(0, 1, 0)
- RightArmA.Name = "RightArmA"
- RightArmA.Parent = rightarm
- RightArmA.Position = Vector3.new(-0.5, 1, 0)
- RightArmA.Rotation = Vector3.new(0, 0, 0)
- RightArmA.Axis = Vector3.new(1, 0, 0)
- RightArmA.SecondaryAxis = Vector3.new(0, 1, 0)
- RightLegA.Name = "RightLegA"
- RightLegA.Parent = rightleg
- RightLegA.Position = Vector3.new(0, 1, 0)
- RightLegA.Rotation = Vector3.new(0, 0, 0)
- RightLegA.Axis = Vector3.new(1, 0, 0)
- RightLegA.SecondaryAxis = Vector3.new(0, 1, 0)
- rootA.Name= "rootA"
- rootA.Parent = root
- rootA.Position = Vector3.new(0, 0, 0)
- rootA.Rotation = Vector3.new(0, 90, 0)
- rootA.Axis = Vector3.new(0, 0, -1)
- rootA.SecondaryAxis = Vector3.new(0, 1, 0)
- end
- local function set2()
- TorsoA.Name = "TorsoA"
- TorsoA.Parent = torso
- TorsoA.Position = Vector3.new(0.5, -1, 0)
- TorsoA.Rotation = Vector3.new(0, 0, 0)
- TorsoA.Axis = Vector3.new(1, 0, 0)
- TorsoA.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA1.Name = "TorsoA1"
- TorsoA1.Parent = torso
- TorsoA1.Position = Vector3.new(-0.5, -1, 0)
- TorsoA1.Rotation = Vector3.new(0, 0, 0)
- TorsoA1.Axis = Vector3.new(1, 0, 0)
- TorsoA1.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA2.Name = "TorsoA2"
- TorsoA2.Parent = torso
- TorsoA2.Position = Vector3.new(-1, 1, 0)
- TorsoA2.Rotation = Vector3.new(0, 0, 0)
- TorsoA2.Axis = Vector3.new(1, 0, 0)
- TorsoA2.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA3.Name = "TorsoA3"
- TorsoA3.Parent = torso
- TorsoA3.Position = Vector3.new(1, 1, 0)
- TorsoA3.Rotation = Vector3.new(0, 0, 0)
- TorsoA3.Axis = Vector3.new(1, 0, 0)
- TorsoA3.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA4.Name = "TorsoA4"
- TorsoA4.Parent = torso
- TorsoA4.Position = Vector3.new(0, 1, 0)
- TorsoA4.Rotation = Vector3.new(0, 0, 0)
- TorsoA4.Axis = Vector3.new(1, 0, 0)
- TorsoA4.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA5.Name = "TorsoA5"
- TorsoA5.Parent = torso
- TorsoA5.Position = Vector3.new(0, 0, 0)
- TorsoA5.Rotation = Vector3.new(0, 90, 0)
- TorsoA5.Axis = Vector3.new(0, 0, -1)
- TorsoA5.SecondaryAxis = Vector3.new(0, 1, 0)
- end
- local function set3()
- end
- spawn(set1);
- spawn(set2);
- local HA = Instance.new("HingeConstraint")
- HA.Parent = head
- HA.Attachment0 = HeadA
- HA.Attachment1 = TorsoA4
- HA.Enabled = true
- HA.LimitsEnabled=true
- HA.LowerAngle=0
- HA.UpperAngle=0
- local LAT = Instance.new("BallSocketConstraint")
- LAT.Parent = leftarm
- LAT.Attachment0 = LeftArmA
- LAT.Attachment1 = TorsoA2
- LAT.Enabled = true
- LAT.LimitsEnabled=true
- LAT.UpperAngle=90
- local RAT = Instance.new("BallSocketConstraint")
- RAT.Parent = rightarm
- RAT.Attachment0 = RightArmA
- RAT.Attachment1 = TorsoA3
- RAT.Enabled = true
- RAT.LimitsEnabled=true
- RAT.UpperAngle=90
- local HA = Instance.new("BallSocketConstraint")
- HA.Parent = head
- HA.Attachment0 = HeadA
- HA.Attachment1 = TorsoA4
- HA.Enabled = true
- local TLL = Instance.new("BallSocketConstraint")
- TLL.Parent = torso
- TLL.Attachment0 = TorsoA1
- TLL.Attachment1 = LeftLegA
- TLL.Enabled = true
- TLL.LimitsEnabled=true
- TLL.UpperAngle=90
- local TRL = Instance.new("BallSocketConstraint")
- TRL.Parent = torso
- TRL.Attachment0 = TorsoA
- TRL.Attachment1 = RightLegA
- TRL.Enabled = true
- TRL.LimitsEnabled=true
- TRL.UpperAngle=90
- local RTA = Instance.new("BallSocketConstraint")
- RTA.Parent = root
- RTA.Attachment0 = rootA
- RTA.Attachment1 = TorsoA5
- RTA.Enabled = true
- RTA.LimitsEnabled=true
- RTA.UpperAngle=0
- head.Velocity = head.CFrame.lookVector*30
- for _,child in next,plrmodel:GetChildren() do
- if child:IsA("Accoutrement") then
- for _,part in next,child:GetChildren() do
- if part:IsA("BasePart") then
- part.Parent = plrmodel
- child:remove()
- local attachment1 = part:FindFirstChildOfClass("Attachment")
- local attachment0 = getAttachment0(attachment1.Name)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = plrmodel
- end
- end
- end
- end
- end
- end)
- end
- --SFX
- RandomSoundChoice = math.random(4) --This chooses a random stab sound to play when someone gets stabbed.
- if plrmodel.Humanoid.Health ~= 0 then --if plrmodel.Humanoid.Health ~= 0 then
- if RandomSoundChoice == 1 then
- ChangeableSound.SoundId = "rbxassetid://220833967"
- ChangeableSound:Play()
- end
- if RandomSoundChoice == 2 then
- ChangeableSound.SoundId = "rbxassetid://220833976"
- ChangeableSound:Play()
- end
- if RandomSoundChoice == 3 then
- ChangeableSound.SoundId = "rbxassetid://220834000"
- ChangeableSound:Play()
- end
- if RandomSoundChoice == 4 then
- ChangeableSound.SoundId = "rbxassetid://220834019"
- ChangeableSound:Play()
- end
- end
- --Permakill/Floataway/Other functions
- amountkilled = amountkilled+1
- if floataway == false then
- plrmodel.Humanoid.Health = 0
- end
- if permakill == true then
- plrmodel.Humanoid.Health = 100
- end
- --Alerts first blood (and then thanks them personally)
- if amountkilled == 1 then
- Alert("First blood!")
- wait(1.5)
- Alert("Thank you for trying LemonHead's Stabber Script, ".. game.Players.LocalPlayer.Name.. "!")
- end
- --Permakill
- if permakill == true then
- wait(0.5)
- plrmodel.Humanoid:Destroy()
- end
- --Ascending (pretty hard to make but it was worth it.)
- if floataway == true then
- if plrmodel.Torso:FindFirstChild("KnifeAscend") then
- else
- plrmodel["Head"].Transparency = 0.3
- plrmodel["Left Arm"].Transparency = 0.3
- plrmodel["Left Leg"].Transparency = 0.3
- plrmodel["Right Arm"].Transparency = 0.3
- plrmodel["Right Leg"].Transparency = 0.3
- plrmodel["Torso"].Transparency = 0.3
- plrmodel["Head"].CanCollide = false
- plrmodel["Left Arm"].CanCollide = false
- plrmodel["Left Leg"].CanCollide = false
- plrmodel["Right Arm"].CanCollide = false
- plrmodel["Right Leg"].CanCollide = false
- plrmodel["Torso"].CanCollide = false
- plrmodel["HumanoidRootPart"].CanCollide = false
- AscendSound = Instance.new("Sound")
- AscendSound.Parent = plrmodel.Torso
- AscendSound.SoundId = "rbxassetid://139100774"
- AscendSound:Play()
- AscendLight = Instance.new("PointLight")
- AscendLight.Parent = plrmodel.Torso
- AscendLight.Brightness = 10
- AscendLight.Range = 20
- floater = Instance.new("BodyVelocity")
- floater.Parent = plrmodel.Torso
- floater.Name = "KnifeAscend"
- floater.Velocity = Vector3.new(0, 2.5, 0)
- wait(7)
- floater.Velocity = Vector3.new(0, 20, 0)
- wait(5)
- floater.Velocity = Vector3.new(0, 500, 0)
- wait(5)
- plrmodel.Humanoid.Health = 0
- wait(0.2)
- for index, child in pairs(plrmodel()) do
- if child.Name == "BloodPoolPart" then
- child:Destroy()
- end
- end
- AscendSound:Stop()
- --print("Okay, it got past both of the velocitys and the wait") this was a debugging thing. Don't ask.
- --Firee
- if fire == true then
- OnFireObject = Instance.new("Fire")
- OnFireObject.Parent = plrmodel.Torso
- OnFireObject.Name = "OnFireObject"
- while plrmodel.Humanoid.Health ~= 0 do
- wait(0.2)
- plrmodel.Humanoid.Health = plrmodel.Humanoid.Health -1
- end
- end
- end
- end
- end
- end
- end) --Note to self: put--Illuminati Confirmed.-- somewhere.
Add Comment
Please, Sign In to add comment