im new to scripting lua, any help would be massively apprectated, thanks.
Here's a few things you would want to learn to accomplish this;
How to use GetChildren() . This will be used to make a Table of all Players in the game. game.Players:GetChildren()
. Then you would want to learn how to actually access that Table;
Info on Tables here. Then you would simply move that Player's Character using :MoveTo(Position). Here's the Info on that.
If you don't know how to code Lua, I wouldn't recommend learning Tables first. I would start with learning the basics, and come back to this when everything I've stated above makes a little more sense. There are plenty of helpful guides and videos online.
If you still have any questions feel free to ask!
Closed as Non-Descriptive by DeceptiveCaster and JakyeRU
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?