Advertisement
Free-Scripts

Roblox Kick Script GUI [SOURCE CODE]

Oct 22nd, 2023
3,031
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | Source Code | 0 0
  1. -- Local Script
  2. script.Parent.BUTTON.MouseButton1Click:Connect(function()
  3.     script.Parent.REMOTEEVENT:FireServer(script.Parent.button, script.Parent.TEXTBOX.Text)
  4. end)
  5.  
  6.  
  7.  
  8.  
  9. -- Script
  10. script.Parent.REMOTEEVENT.OnServerEvent(function(plr, msg)
  11.     plr:kick(msg)
  12. end)
  13.  
  14. -- [[
  15. Kick Button: BUTTON (Rename this in the code with the name of your TextButton)
  16. Remote Event: REMOTEEVENT (Rename this in the code with the name of your remote event)
  17. Reason: REASON (Rename this in the code with the name of your TexBox)
  18. -- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement