jwjsnsns

mm2??

Jun 7th, 2023
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.90 KB | None | 0 0
  1. --------------------------------------------------------------------
  2.  
  3. -- Lib
  4.  
  5. local UILib = loadstring(game:HttpGet('https://raw.githubusercontent.com/inceldom/kinx/main/ui'))()
  6.  
  7. local win = UILib:Window("NBT HUB",Color3.fromRGB(44, 120, 224), Enum.KeyCode.RightControl)
  8.  
  9. --------------------------------------------------------------------
  10.  
  11. -- Sections
  12.  
  13. -- Main
  14.  
  15. local MainSection = win:Tab("Main")
  16.  
  17. local client = game.Players.LocalPlayer
  18. local char = client.Character
  19.  
  20. local noclip = false
  21.  
  22. MainSection:Slider("WalkSpeed",0,1000,16, function(t)
  23.     game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = t
  24. end)
  25.  
  26. MainSection:Slider("Jump Power",0,1000,50, function(t)
  27.     game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = t
  28. end)
  29.  
  30. MainSection:Toggle("Noclip",false, function(t)
  31.     noclip = t
  32. end)
  33.  
  34.  
  35. game:GetService("RunService").RenderStepped:Connect(function()
  36.     if noclip == true then
  37.         game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  38.     end
  39. end)
  40.  
  41. MainSection:Slider("Gravity",0,500,196, function(t)
  42.     workspace.Gravity = t
  43. end)
  44.  
  45. MainSection:Toggle("Autopick Gun",false, function(t)
  46.     if t then
  47.         sheriff.Character.Humanoid.Died:Connect(function() game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = sheriff.Character.HumanoidRootPart.CFrame end)
  48.     end
  49. end)
  50.  
  51.  
  52. MainSection:Button("Find Murder", function()
  53.     for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  54.         if v.Character:FindFirstChild("Knife") or v.Backpack:FindFirstChild("Knife") then
  55.             UILib:Notification("Notification", v.Name.."Is Murder", "Okay")    
  56.         end
  57.     end
  58. end)
  59.  
  60. MainSection:Button("Find Murder", function()
  61.     for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  62.         if v.Character:FindFirstChild("Revolver") or v.Backpack:FindFirstChild("Revolver") then
  63.             UILib:Notification("Notification", v.Name.."Is Sheriff", "Okay")    
  64.         end
  65.     end
  66. end)
  67.  
  68. MainSection:Button("Tp Tp Murder", function()
  69.     for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  70.         if v.Character:FindFirstChild("Knife") or v.Backpack:FindFirstChild("Knife") then
  71.             game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 3, 0)
  72.         end
  73.     end
  74. end)
  75.  
  76. MainSection:Button("Tp Tp Sheriff", function()
  77.     for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  78.         if v.Character:FindFirstChild("Revolver") or v.Backpack:FindFirstChild("Revolver") or v.Character:FindFirstChild("Gun") or v.Backpack:FindFirstChild("Gun") then
  79.             game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 3, 0)
  80.         end
  81.     end
  82. end)
  83.  
  84. -- Emotes
  85. local EmotesSection = win:Tab("Emotes")
  86.  
  87. EmotesSection:Button("Sit", function()
  88.     local string_1 = "sit";
  89.     local Target = game:GetService("ReplicatedStorage").PlayEmote;
  90.     Target:Fire(string_1);
  91. end)
  92.  
  93. EmotesSection:Button("Zombie", function()
  94.     local string_1 = "zombie";
  95.     local Target = game:GetService("ReplicatedStorage").PlayEmote;
  96.     Target:Fire(string_1);
  97. end)
  98.  
  99. EmotesSection:Button("Spray", function()
  100.     local string_1 = "SprayPaint";
  101.     local Target = game:GetService("ReplicatedStorage").PlayEmote;
  102.     Target:Fire(string_1);
  103. end)
  104.  
  105. EmotesSection:Button("Dab", function()
  106.     local string_1 = "dab";
  107.     local Target = game:GetService("ReplicatedStorage").PlayEmote;
  108.     Target:Fire(string_1);
  109. end)
  110.  
  111. EmotesSection:Button("Ninja", function()
  112.     local string_1 = "ninja";
  113.     local Target = game:GetService("ReplicatedStorage").PlayEmote;
  114.     Target:Fire(string_1);
  115. end)
  116.  
  117. EmotesSection:Button("Floss", function()
  118.     local string_1 = "floss";
  119.     local Target = game:GetService("ReplicatedStorage").PlayEmote;
  120.     Target:Fire(string_1);
  121. end)
  122.  
  123. EmotesSection:Button("Zen", function()
  124.     local string_1 = "zen";
  125.     local Target = game:GetService("ReplicatedStorage").PlayEmote;
  126.     Target:Fire(string_1);
  127. end)
  128.  
  129. function ReturnColor(model)
  130.     if game:GetService("Players")[model.Name].Backpack:FindFirstChild("Knife") or game:GetService("Players")[model.Name]:FindFirstChild("Knife") then return Color3.fromRGB(255,0,0) end
  131.     if game:GetService("Players")[model.Name].Backpack:FindFirstChild("Gun") or game:GetService("Players")[model.Name].Backpack:FindFirstChild("Revolver") or game:GetService("Players")[model.Name]:FindFirstChild("Revolver") or game:GetService("Players")[model.Name]:FindFirstChild("Gun") then return Color3.fromRGB(0,0,255) end
  132.     return Color3.fromRGB(0, 255, 0)
  133. end
  134.  
  135. -- ESP
  136. -- Add UI
  137. local ESPSection = win:Tab("ESP")
  138.  
  139. local ESPEnabled = false
  140. local DistanceEnabled = true
  141. local TracersEnabled = true
  142.  
  143. pcall(function()
  144.    
  145.     Camera = game:GetService("Workspace").CurrentCamera
  146.     RunService = game:GetService("RunService")
  147.     camera = workspace.CurrentCamera
  148.     Bottom = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y)
  149.  
  150.     function GetPoint(vector3)
  151.         local vector, onScreen = camera:WorldToScreenPoint(vector3)
  152.         return {Vector2.new(vector.X,vector.Y),onScreen,vector.Z}
  153.     end
  154.    
  155.     function MakeESP(model)
  156.         local CurrentParent = model.Parent
  157.    
  158.         local TopL = Drawing.new("Line")
  159.         local BottomL = Drawing.new("Line")
  160.         local LeftL = Drawing.new("Line")
  161.         local RightL = Drawing.new("Line")
  162.         local Tracer = Drawing.new("Line")
  163.         local Display = Drawing.new("Text")
  164.  
  165.         coroutine.resume(coroutine.create(function()
  166.             while model.Parent == CurrentParent and model.Humanoid.Health > 0 do
  167.                
  168.                 local Distance = (Camera.CFrame.Position - model.HumanoidRootPart.Position).Magnitude
  169.                 local GetP = GetPoint(model.Head.Position)
  170.                 local headps = model.Head.CFrame
  171.                
  172.                 if ESPEnabled and GetP[2] then
  173.                    
  174.                     -- Calculate Cords
  175.                     local topright = headps * CFrame.new(3,0.5, 0)
  176.                     local topleft = headps * CFrame.new(-3,0.5, 0)
  177.                     local bottomleft = headps * CFrame.new(-3,-7,0)
  178.                     local bottomright = headps * CFrame.new(3,-7,0)
  179.                     topright = GetPoint(topright.p)[1]
  180.                     topleft = GetPoint(topleft.p)[1]
  181.                     bottomleft = GetPoint(bottomleft.p)[1]
  182.                     bottomright = GetPoint(bottomright.p)[1]
  183.  
  184.                     teamcolor = ReturnColor(model)
  185.                     TopL.Color, BottomL.Color, RightL.Color, LeftL.Color = teamcolor, teamcolor, teamcolor, teamcolor
  186.                     TopL.From, BottomL.From, RightL.From, LeftL.From = topleft, bottomleft, topright, topleft
  187.                     TopL.To, BottomL.To, RightL.To, LeftL.To = topright, bottomright, bottomright, bottomleft
  188.                     TopL.Visible, BottomL.Visible, RightL.Visible, LeftL.Visible = true, true, true, true
  189.                 else
  190.                     TopL.Visible, BottomL.Visible, RightL.Visible, LeftL.Visible = false, false, false, false
  191.                 end
  192.                
  193.                 if ESPEnabled and TracersEnabled and GetP[2] then
  194.                     Tracer.Color = ReturnColor(model)
  195.                     Tracer.From = Bottom
  196.                     Tracer.To = GetPoint(headps.p)[1]
  197.                     Tracer.Thickness = 1.5
  198.                     Tracer.Visible = true
  199.                 else
  200.                     Tracer.Visible = false
  201.                 end
  202.                
  203.                 if ESPEnabled and DistanceEnabled and GetP[2] then
  204.                     Display.Visible = true
  205.                     Display.Position = GetPoint(headps.p + Vector3.new(0,0.5,0))[1]
  206.                     Display.Center = true
  207.                     Display.Text = tostring(math.floor(Distance)).." studs"
  208.                 else
  209.                     Display.Visible = false
  210.                 end
  211.                
  212.                 RunService.RenderStepped:Wait()
  213.             end
  214.    
  215.             TopL:Remove()
  216.             BottomL:Remove()
  217.             RightL:Remove()
  218.             LeftL:Remove()
  219.             Tracer:Remove()
  220.             Display:Remove()
  221.        
  222.         end))
  223.     end
  224.    
  225.     for _, Player in next, game:GetService("Players"):GetChildren() do
  226.         if Player.Name ~= game.Players.LocalPlayer.Name then
  227.             MakeESP(Player.Character)
  228.             Player.CharacterAdded:Connect(function()
  229.                 delay(0.5, function()
  230.                     MakeESP(Player.Character)
  231.                 end)
  232.             end)
  233.         end
  234.     end
  235.    
  236.     game:GetService("Players").PlayerAdded:Connect(function(player)
  237.         player.CharacterAdded:Connect(function()
  238.             delay(0.5, function()
  239.                 MakeESP(player.Character)
  240.             end)
  241.         end)
  242.     end)
  243.    
  244. end)
  245.  
  246. -- Enables/Disables ESP. Main toggle
  247. ESPSection:Toggle("ESP",false, function(t)
  248.     ESPEnabled = t
  249. end)
  250.  
  251. -- Toggles tracers
  252. ESPSection:Toggle("Tracers",true, function(t)
  253.     TracersEnabled = t
  254. end)
  255.  
  256. -- Toggles distance display
  257. ESPSection:Toggle("Distance Display",false, function(t)
  258.     DistanceEnabled = t
  259. end)
  260.  
  261. ---------------------------------------------------------------------------------------------------
  262.  
  263. -- Other Func
  264. -- Add UI
  265. local Settings = win:Tab("Settings")
  266.  
  267.  
  268. Settings:Label("UI Toggle Key:  Right-Ctrl")
  269.  
  270. Settings:Button("Copy Discord Invite", function()
  271.     setclipboard("https://discord.gg/4KqkXRDdGE")
  272.     UILib:Notification("Notification", "Copied!", "Okay")
  273. end)
Add Comment
Please, Sign In to add comment