Advertisement
Helgodxdd

f

Oct 23rd, 2020 (edited)
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. local knife = game.Players.LocalPlayer.Backpack:WaitForChild("Knife")
  2. local Players = game:GetService("Players")
  3. local Player = Players.LocalPlayer
  4. local noclip = true
  5. local UIS = game:GetService("UserInputService")
  6. local Mouse = game.Players.LocalPlayer:GetMouse()
  7.  
  8.  
  9. GetTarget = function()
  10. local Target = nil
  11. local TargetName = nil
  12. pcall(function()
  13. TargetName = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.UI.Target.TargetText.Text
  14. end)
  15. if TargetName then
  16. if Players:findFirstChild(TargetName) then
  17. Target = Players:findFirstChild(TargetName)
  18. end
  19. end
  20. return Target
  21. end
  22.  
  23. local args;
  24. args = {
  25. [1] = GetTarget(),
  26. [2] = "////111llllll||| ||\"\"",
  27. [4] = "stab"
  28. }
  29.  
  30. Mouse.Button1Down:Connect(function()
  31. game.Players.LocalPlayer.Character.Humanoid:EquipTool(knife)
  32. pcall(function()
  33. Player.Character.HumanoidRootPart.CFrame = GetTarget().Character.HumanoidRootPart.CFrame*CFrame.new(0,0,1.5)
  34. end)
  35. wait(1)
  36. game:GetService("ReplicatedStorage").ImportantRemotes.egg:FireServer(unpack(args))
  37. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement