4zx16

Kick On Click

Jul 17th, 2021 (edited)
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. local player = game:GetService("Players").LocalPlayer
  2. local reason = "You clicked the button, not a smart idea!"
  3.  
  4. local function Goodbye()
  5.     player:Kick(reason)
  6. end
  7. script.Parent.MouseButton1Click:Connect(Goodbye)
Advertisement
Add Comment
Please, Sign In to add comment