Okay, so this part of the script was designed to work when a player steps on a part.
The problem I'm having (I think, anyways) is connecting the player to the brick when he/she touches it.
function onTouched(part)
local humanoid = part.Parent:FindFirstChild("Humanoid")
if (humanoid ~= nil) then
local a = Instance.new('Message', workspace)
player.Character.Torso.Anchored = true
a.Text = "Tutorial Loading."
wait(.5)
a.Text = "Tutorial Loading.."
wait(.5)
a.Text = "Tutorial Loading..."
local clon = game.Lighting.Sofa:Clone()
clon.Parent = game.Workspace
clon:MoveTo(Vector3.new(3.301, 0.7, 36.088)) --Models don't have position. To move a model use :MoveTo(Vector3.new())
wait(.2)
player.Character.Torso.Anchored = false
end
end
print '4'

1 comment
Oh, I had player defined in an earlier part of the script, I just left it out since this was the area needed to be fixed. Sorry for not clearing that up beforehand.