My code:
wait(2)
game.Players.PlayerAdded:connect(function(newPlayer) -- Player who just connected (newPlayer)
if newPlayer:IsInGroup(3846293) then -- Check if (newPlayer) is in the group, (The Blue Coat Mercenaries) then do this
end
end)
My problem: So to teleport a player you do ``game.Workspace..LowerTorso/UpperTorso.CFrame = CFrame.new(Coordinates)
But I can't seem to be able to do that without actually using the so i'm trying to find the LocalPlayer and CFrame them if they are actually in the group.

5 comments
This isn't working I get this "16:00:09.052 - CoreGui.RobloxGui.DeveloperConsole.Interior.WindowContainer.Window.Body.ActionBindings.ScrollingFrame.UIListLayout: SortOrder.Custom is deprecated, please switch to LayoutOrder" - Not sure if it's normal but either way the script does not work.
That error isn't pretaining to this script at all. That comes up in my output from time to time too, it isn't because of your script.
Did you make sure to put the code in a Server Script in ServerScriptService?
Yeah I did
I add Vector3() inside of CFrame but either way it doesn't work, I can do just a normal CFrame and it still wouldn't work.