I'm trying to make a script, in which, when you say a word. Like: "abracadabra" and are in the group and a certain rank you would be teleported somewhere in the game. I've been working on this for hours and I'm a bit confused. Can anyone help me with the script?
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
if msg == "Lounge" then
game.Player.Character.Torso.CFrame = CFrame.new(-144.48, 0.5, -57.96)
end
end)
end)
