Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This script is made by Subaru112.
- local char = owner.Character
- renders = game:GetService("RunService").Heartbeat
- -- Intro
- local target = nil
- char.Torso.roblox.Texture = "rbxassetid://305296807"
- local rhandweld = Instance.new("Weld", owner.Character.Torso)
- rhandweld.Part0 = owner.Character.Torso
- rhandweld.Part1 = owner.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 lhandweld = Instance.new("Weld", owner.Character.Torso)
- lhandweld.Part0 = owner.Character.Torso
- lhandweld.Part1 = owner.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 llegclone = owner.Character.Torso["Left Hip"]:Clone()
- owner.Character.Torso["Left Hip"]:Remove()
- local llegweld = Instance.new("Weld", owner.Character.Torso)
- llegweld.Part0 = owner.Character.Torso
- llegweld.Part1 = owner.Character["Left Leg"]
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- local rlegclone = owner.Character.Torso["Right Hip"]:Clone()
- owner.Character.Torso["Right Hip"]:Remove()
- local rlegweld = Instance.new("Weld", owner.Character.Torso)
- rlegweld.Part0 = owner.Character.Torso
- rlegweld.Part1 = owner.Character["Right Leg"]
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- local rootjointclone = owner.Character.HumanoidRootPart.RootJoint:Clone()
- owner.Character.HumanoidRootPart.RootJoint:Remove()
- local humanoidrootpart = Instance.new("Weld", owner.Character.Torso)
- humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
- humanoidrootpart.Part1 = owner.Character.Torso
- local heed = owner.Character.Torso["Neck"]:Clone()
- local headweld = Instance.new("Weld", owner.Character.Torso)
- headweld.Part0 = owner.Character.Torso
- headweld.Part1 = owner.Character.Head
- headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
- local gunshot = Instance.new("Sound",char.Torso)
- gunshot.Name = "BANG"
- gunshot.SoundId = "rbxassetid://213603013"
- gunshot.Volume = 2
- gunshot:Play()
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- for i = 0,1 , 0.01 do
- renders:wait()
- end
- wait(0.1)
- local scream = Instance.new("Sound",char.Torso)
- scream.SoundId = "rbxassetid://165487479"
- scream.Volume = 4
- scream:Play()
- for i = 0,1 , 0.010 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.52452374, 0.510128379, -0.901310444, -0.0983733907, 0.0243432298, 0.994851828, 0.995149672, 0.00240636896, 0.0983439684, 2.91038305e-08, 0.999700963, -0.0244618785),i)
- renders:wait()
- end
- wait(0.1)
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
- renders:wait()
- end
- wait(0)
- for i = 0,1 , 0.05 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
- renders:wait()
- end
- lhandweld:Destroy()
- llegweld:Destroy()
- rhandweld:Destroy()
- rlegweld:Destroy()
- headweld:Destroy()
- humanoidrootpart:Destroy()
- llegclone.Parent = char.Torso
- rlegclone.Parent = char.Torso
- heed.Parent = char.Torso
- rootjointclone.Parent = char.HumanoidRootPart
- char.Humanoid.WalkSpeed = 30
- char.Humanoid.JumpPower = 50
- local plr = owner
- local char = plr.Character
- char.Head.face.Texture = "http://www.roblox.com/asset/?id=1051212050"
- local hum = char:FindFirstChildOfClass("Humanoid")
- local idleanim = Instance.new("Animation")
- idleanim.Name = "Roblox Idle Animation"
- idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- local idleanimplay = hum:LoadAnimation(idleanim)
- idleanimplay:Play()
- wait(0.1)
- if char:FindFirstChild("Animate") then
- char.Animate:Destroy()
- end
- local remote = Instance.new("RemoteEvent", char)
- remote.Name = "ReplicationEvent"
- local client = NLS([==[
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- spawn(function()
- while game:GetService("RunService").Heartbeat:Wait() do
- remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- end
- end)
- game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
- if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
- remote:FireServer(1, input.KeyCode)
- end
- end)
- mouse.Button1Down:Connect(function()
- remote:FireServer(2)
- print("Finding target...")
- target = mouse.Target
- print(mouse.Target)
- print(target)
- if not(mouse.Target.Name) == "Base" then
- print("Target found!")
- end
- end)
- remote.OnClientEvent:Connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(mouse.Hit.Position.X, mouse.Hit.Position.Y, mouse.Hit.Position.Z))
- end)
- ]==], char)
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local rootj = char.HumanoidRootPart.RootJoint
- local throwbutton = false
- local throw = false
- local normalanim = true
- local attackd = false
- local animpose = "Idle"
- local timepos = 0
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local rootjnor = rootj.C0
- local a = false
- local timepos = nil
- local mus = Instance.new("Sound",char)
- mus:Destroy()
- ---------------------------------
- --------------Set up-------------
- ---------------------------------
- local sur = Instance.new("BillboardGui", char.Head)
- sur.Name = "Billboard"
- sur.Adornee = char.Head
- sur.Size = UDim2.new(10, 0, 5, 0)
- sur.StudsOffset = Vector3.new(0, 5, 0)
- local text = Instance.new("TextLabel", sur)
- text.Text = "Murderer.exe"
- text.Size = UDim2.new(1, 0, 1, 0)
- text.TextScaled = true
- text.BackgroundTransparency = 1
- text.Font = Enum.Font.SourceSansLight
- text.TextColor3 = Color3.new(1, 1, 1)
- text.TextStrokeTransparency = 0
- ---------------------------------
- -------------Attacks-------------
- ---------------------------------
- char.Head.Touched:Connect(function(hit)
- if hit.Parent and not(hit.Parent == char) then
- if a == true then
- a = false
- local character = hit.Parent
- local k = Instance.new("Model",char)
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
- local bdpos = Instance.new("BodyPosition",hit)
- bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
- hit.Parent = k
- hit.Name = "kill"
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("White")
- hit.Anchored = false
- hit.CanCollide = true
- hit:BreakJoints()
- end
- end
- end
- wait(5)
- k:Destroy()
- end
- end
- end)
- remote.OnServerEvent:Connect(function(Player, number, key)
- if number == 1 and plr.Name == Player.Name and attackd == false then
- if key == Enum.KeyCode.V then
- if target then
- target:Destroy()
- end
- end
- if key == Enum.KeyCode.Z then
- hum.WalkSpeed = 0
- wait(0.1)
- remote:FireClient(plr)
- hum.WalkSpeed = 30
- end
- if key == Enum.KeyCode.X then
- a = true
- wait(0.5)
- a = false
- end
- if key == Enum.KeyCode.C then
- game:GetService("Chat"):Chat(char.Head, "Laser!", Enum.ChatColor.White)
- wait(1)
- local la = Instance.new("Part",char)
- la.BrickColor = BrickColor.new("White")
- la.Material = "Neon"
- la.Transparency = 0.5
- la.Size = Vector3.new(10, 1, 1)
- la.CanCollide = false
- local w = Instance.new("Weld",la)
- w.Part0 = char.Torso
- w.Part1 = la
- w.C0 = CFrame.new(0, 0, -5.60000038, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- hum.WalkSpeed = 1
- la.Touched:Connect(function(hit)
- if hit.Parent and not(hit.Parent == char) then
- local character = hit.Parent
- local k = Instance.new("Model",char)
- for i,hit in pairs(character:GetChildren()) do
- if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
- if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
- local bdpos = Instance.new("BodyPosition",hit)
- bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
- hit.Parent = k
- hit.Name = "kill"
- hit.Material = "Neon"
- hit.BrickColor = BrickColor.new("White")
- hit.Anchored = false
- hit.CanCollide = true
- hit:BreakJoints()
- end
- end
- end
- wait(5)
- k:Destroy()
- end
- end)
- wait(3)
- la:Destroy()
- hum.WalkSpeed = 30
- end
- end
- end)
- ---------------------------------
- -----------Wrapping up-----------
- ---------------------------------
- while game:GetService("RunService").Heartbeat:Wait() do
- hum.Health = 999999999
- hum.MaxHealth = 999999999
- if mus.Parent == char then
- mus.SoundId = "rbxassetid://142720946"
- timepos = mus.TimePosition
- mus.Pitch = 0.6
- mus.Volume = 2.5
- else
- mus = Instance.new("Sound", char)
- mus.Playing = true
- mus.Looped = true
- mus.TimePosition = timepos
- end
- if remote.Parent == char then
- remote.Name = "ReplicationEvent"
- else
- remote = Instance.new("RemoteEvent", char)
- end
- local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
- if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
- animpose = "Walking"
- elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
- animpose = "Jumping"
- elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
- animpose = "Falling"
- else
- animpose = "Idle"
- end
- if animpose == "Idle" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0.3, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0.3, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.1, 0, 0), 0.10)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.1, 0, 0), 0.10)
- elseif animpose == "Walking" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(1.3, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- elseif animpose == "Jumping" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor, 0.15)
- LH.C0 = LH.C0:Lerp(LHnor, 0.15)
- elseif animpose == "Falling" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement