Advertisement
rrixh

F11

Jul 14th, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. getgenv().keytoclick = "F11"
  2. tool = Instance.new("Tool")
  3. tool.RequiresHandle = false
  4. tool.Name = keytoclick
  5. tool.Activated:connect(function()
  6. local vim = game:service("VirtualInputManager")
  7. vim:SendKeyEvent(true, keytoclick, false, game)
  8. end)
  9. tool.Parent = game.Players.LocalPlayer.Backpack
  10.  
  11. game.StarterGui:SetCore("SendNotification", {
  12. Title = "lulaslollipop#0140 / rrixh";
  13. Text = "🍭🍭🍭";
  14.  
  15. })
  16.  
  17. local player = game.Players.LocalPlayer
  18.  
  19. local function connectCharacterAdded()
  20. player.CharacterAdded:Connect(onCharacterAdded)
  21. end
  22.  
  23. connectCharacterAdded()
  24.  
  25. player.CharacterRemoving:Connect(function()
  26. tool.Parent = game.Players.LocalPlayer.Backpack
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement