How to Make a KICK SYSTEM - Roblox Studio
Автор: Blufinity
Загружено: 2021-10-17
Просмотров: 1417
In this video, I will be teaching y'all how to make a KICK SYSTEM in Roblox Studio.
Roblox Profile: https://web.roblox.com/users/11031899...
Roblox Group: https://web.roblox.com/groups/1068508...
Roblox Group 2: https://web.roblox.com/groups/1198920...
Discord Server: / discord
LocalScript, Open (TextButton):
script.Parent.MouseButton1Click:Connect(function()
if script.Parent.Parent.KickFrame.Visible == true then
script.Parent.Parent.KickFrame.Visible = false
script.Parent.Text = "Kick Player"
else
script.Parent.Parent.KickFrame.Visible = true
script.Parent.Text = "Close"
end
end)
LocalScript, Kick (TextButton):
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.Kick:FireServer(script.Parent.Parent.Username.Text, script.Parent.Parent.Reason.Text)
end)
Script, ServerScriptService/Workspace:
game.ReplicatedStorage.Kick.OnServerEvent:Connect(function(plr, username, reason)
game.Players:FindFirstChild(username):Kick(reason)
end)
Kick GUI: https://www.roblox.com/library/776552...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: