Can anyone tell me how to make a dueling place where if you kill someone, you get teleported back to your spawn?
game:GetService("Players").ChildAdded:Connect(function(p) p.CharacterAppearanceLoaded:Connect(function(c) c:SetPrimaryPartCFrame(CFrame.new(path.to.players.spawn.Position)) end end
Sources: https://developer.roblox.com/en-us/api-reference/event/Player/CharacterAppearanceLoaded https://developer.roblox.com/en-us/api-reference/function/Model/SetPrimaryPartCFrame
Hope this gives you a good understanding.
Closed as Not Constructive by Spjureeedd, 2_MMZ, RAFA1608, and NGC4637
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?