You don't have to read the whole code. It's all the same, just changes the names because it's the same for 50 different rooms.
The "----- Here -----"s were just for me to guide myself while making the script. Doesn't affect it.
Repeats this 50 times in the same script but instead of "("Room100A")" and "R100A" it says the name of the other rooms and stuff. I didn't upload the full script because I'm not allowed to go over 10k characters :)
I hope you can help me..
local player = game.Players.LocalPlayer local room = game.ServerStorage.Room100A local players = game.Players:children() function onChatted(msg, recipient) if msg == "give"..players.."room" then if recipient:GetRankInGroup(2936671) >= 13 then local enabled = true if players.Backpack:FindFirstChild(tostring("Room 100A")) == nil and enabled then room:clone().Parent = players.Backpack game.Workspace.myBoard.SurfaceGui.Rooms.R100A.Taken.Value = true enabled = false end end end end player.Chatted:connect(function(msg) onChatted(msg) end)