Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make if 3 players sit on a sofa, it teleports them?

Hello, I'm a beginner scripter and I'm stuck on making this sofa.

Script:

  local Seat1 = game.Workspace.Seat1

    local Seat2 = game.Workspace.Seat2

     local Seat3 = game.Workspace.Seat3

     Seat1 and Seat2 and Seat3.Touched:Connect(function(hit)

        if hit and hit.Parent:FindFirstChild("HumanoidRootPart") then

        hit.Parent.HumanoidRootPart.CFrame = CFrame.new(0, 0.5, -14)

           end
    end)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.