Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make it so when you equip a tool, and you aren't a specific rank, it kicks you?

Asked by 2 years ago
Edited 2 years ago

Please post the script in the comments if you have the solution, I am not that good at scripting things.

local Player = game.Players.LocalPlayer local Tool = script.Parent local MiniumRank = 0 local groupId = 5470879

if Player:GetRankInGroup(5470879) >= MiniumRank then print("yas u have access") else

Player:Kick("Don't select StaffKey, doing this will cause you to be kicked")

end
0
Can you post the script in the description if you have the solution? superminer996 0 — 2y

Answer this question