Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rs = game:GetService("RunService")
- local plr = game:GetService("Players").LocalPlayer
- local mouse = plr:GetMouse()
- local debounce = true
- local cam = workspace.CurrentCamera
- function killTarget()
- if mouse.Target.Parent:FindFirstChild'HumanoidRootPart' then
- if debounce then
- local hit = mouse.Target
- debounce = false
- oldpos = plr.Character.HumanoidRootPart.CFrame
- cam.CameraType = "Fixed"
- wait()
- rs:BindToRenderStep("ZeezyKillSword",1,function()
- plr.Character.HumanoidRootPart.CFrame = hit.Parent.HumanoidRootPart.CFrame * CFrame.new(-1.5,-3.7,0.3) * CFrame.Angles(math.rad(90),0,0)
- end)
- wait(0.9)
- rs:UnbindFromRenderStep("ZeezyKillSword")
- plr.Character.HumanoidRootPart.CFrame = oldpos + Vector3.new(0,4,0)
- wait()
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Seated")
- wait()
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- cam.CameraType = "Follow"
- debounce = true
- end
- end
- end
- game:GetService("ContextActionService"):BindAction("ZeezyKill",killTarget,false,Enum.KeyCode.X)
- print("SwordKill loaded, created by Zeezy#7203 / zeezy alt#9892")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement