Hello i want to become a good scripter but first i need some help. Can someone pls give me a script i can put in the work space that kicks the local player thanks
Add a "RemoteEvent" under ReplicatedStorage then,
Make a local script and put it under StarterPack
local player = script.Parent.Parent local event = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent") event:FireServer(player)
Make a server script and put it under workspace
local event = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent") event.OnServerEvent:connect(function(player) player:Kick("cya") end)
Done.
Hey, you could actually put an admin commands gui, like kohls admin, there are a lot of commands, including kick, ban and pban that it would work really good for you!
Closed as Not Constructive by hiimgoodpack
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?