Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. game.StarterGui:SetCore('SendNotification', {Title='Press Ctrl'; Text='to delete stuff.', Duration=5;});
  2. local delete = game.Players.LocalPlayer:GetMouse()
  3. function onKeyPress(inputObject, gameProcessedEvent)
  4. if inputObject.KeyCode == Enum.KeyCode.LeftControl then
  5. delete.Target:Destroy()
  6. end
  7. end
  8.  
  9. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement