You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want a player to go to a seat and it is a separate for each player
- What is the issue? Include screenshots / videos if possible!
it keeps teleporting till its the same seat
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I Tried adding a wait
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
for i,v in ipairs(game.Players:GetPlayers()) do for amt,Chair in ipairs(game.Workspace:GetChildren()) do if Chair.Name == "Chair" then wait(0.2) if Chair.Seat.Occupant == nil then v.Character.Humanoid.WalkSpeed = 0 v.Character.Humanoid.JumpPower = 0 v.Character.HumanoidRootPart.CFrame = Chair.Seat.CFrame * CFrame.new(0,1.2,0) end end end end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.