So I have this command that used to teleport the player when they said it but now it has suddenly stopped working everywhere where I have been using it, any ideas why?
Code:
local players = game:GetService("Players")
local Group = 6614461
local Rank = 14
players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
if msg == "!backstage" and plr:GetRankInGroup(Group) >= Rank then
plr.Character:SetPrimaryPartCFrame(CFrame.new(Vector3.new(10,10,10)))
end
end)
end)