if game.Workspace.lobby.beverageIntaker.SeatB1.Seat:FindFirstChild("SeatWeld") then
game.Workspace.lobby.beverageIntaker.SeatB1.Seat:FindFirstChild("SeatWeld"):Destroy()
print("destroyed sitting1")
end
if game.Workspace.lobby.beverageIntaker.SeatB2.Seat:FindFirstChild("SeatWeld") then
game.Workspace.lobby.beverageIntaker.SeatB2.Seat:FindFirstChild("SeatWeld"):Destroy()
print("destroyed sitting2")
end
if game.Workspace.lobby.beverageIntaker.SeatB3.Seat:FindFirstChild("SeatWeld") then
game.Workspace.lobby.beverageIntaker.SeatB3.Seat:FindFirstChild("SeatWeld"):Destroy()
print("destroyed sitting3")
end
if game.Workspace.lobby.beverageIntaker.SeatB4.Seat:FindFirstChild("SeatWeld") then
game.Workspace.lobby.beverageIntaker.SeatB4.Seat:FindFirstChild("SeatWeld"):Destroy()
print("destroyed sitting4")
end
if game.Workspace.lobby.beverageIntaker.SeatB5.Seat:FindFirstChild("SeatWeld") then
game.Workspace.lobby.beverageIntaker.SeatB5.Seat:FindFirstChild("SeatWeld"):Destroy()
print("destroyed sitting5")
end
v.Character.Humanoid.Sit = false
v.Character:MoveTo(randomMap.spawns["spawn"..math.random(1,3)].Position)
So this script basically checks if anyone is sitting in a chair before teleporting them to a place. However, this does not work, even after my attempts of making the character humanoid not sit and even deleting its weld to the chair, i know it even works since it prints, it still does not teleport the character and the character stays in the exact same spot except not sitting. When the character wasn’t sitting in the first place, then they do get teleported. Any suggestions on how to fix this?
