Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -8970,13 +8970,17 @@ addcmd("goto", {"to"}, function(args, speaker)
local character = speaker and speaker.Character
local humanoid = character and character:FindFirstChildWhichIsA("Humanoid")
local players = getPlayer(args[1], speaker)
for _, v in pairs(players) do
for _, v in players do
if Players[v].Character ~= nil then
if humanoid and humanoid.SeatPart then
humanoid.Sit = false
task.wait(0.1)
end
getRoot(speaker.Character).CFrame = getRoot(Players[v].Character):GetPivot() + Vector3.new(3, 1, 0)
if workspace.StreamingEnabled then
speaker:RequestStreamAroundAsync(Vector3.new(speaker.Character:GetPivot()), 0.1)
RunService.Heartbeat:Wait()
end
speaker.Character:PivotTo(Players[v].Character:GetPivot() + Vector3.new(3, 1, 0))
end
end
execCmd("breakvelocity")
Expand Down