Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || π AUTHOR: @4zx16 || CONFIRM KICK || DO NOT MESS WITH THIS SCRIPT OR U WILL BREAK IT
- ]]
- local function ConfirmAction()
- local DisplayedName = script.Parent.Parent.Username.Text
- local ReasonNotice = script.Parent.Parent.Reason.Text
- if game:GetService("Players"):FindFirstChild(DisplayedName) then
- game:GetService("ReplicatedStorage").KickAction:FireServer(DisplayedName, ReasonNotice)
- end
- end
- script.Parent.MouseButton1Click:Connect(ConfirmAction)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement