Advertisement
MrMysteryMyth1

Delete On Click

May 20th, 2019
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local char = script.Parent
  3. local mouse = player:GetMouse()
  4.  
  5. mouse.Button1Down:Connect(function()
  6. mouse.Target:Destroy()
  7. end)
  8.  
  9. When you click it will destroy ingame parts certain parts cant be destroyed though
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement